You are on page 1of 12

‫جميع أسئلة التطبيقات‬

Q1: Choose the Correct Answer from the Multiple-Choice List.


1. Who developed the Flutter Framework and continues to maintain it
today?
‫ وما زال يحتفظ به حتى يومنا هذا؟‬Flutter ‫ من قام بتطوير إطار عمل‬.1
A. Facebook ‫ الفيسبوك‬-‫أ‬
B. Microsoft ‫ مايكروسوفت‬-‫ب‬
‫ جوجل‬-‫ج‬
C. Google
‫ أوراكل‬-‫د‬
D. Oracle
2. How many types of widgets are there in Flutter?
A. 2 ‫؟‬Flutter ‫ ما عدد أنواع األدوات الموجودة في‬.2

B. 4
C. 6
D. 8+
3. MaterialApp has two important properties, appBar to show the
header of the application and body to show the actual content of the
application.
‫ إلظهار رأس التطبيق والنص إلظهار المحتوى الفعلي‬appBar ،‫ على خاصيتين مهمتين‬MaterialApp ‫ يحتوي‬.3
.‫للتطبيق‬
A. True
‫ صحيح‬.‫أ‬
B. False
‫ خطأ‬-‫ب‬
4. Which function will return the widgets attached to the screen as a
root of the widget tree to be rendered on screen?
A. main() ‫ ما هي الوظيفة التي ستعيد عناصر واجهة المستخدم المرفقة بالشاشة كجذر لشجرة عناصر‬.4
‫واجهة المستخدم ليتم عرضها على الشاشة؟‬
B. runApp()
C. container()
D. root()
‫جميع أسئلة التطبيقات‬
5. Which component allows us to specify the distance between widgets
on the screen?
A. SafeArea ‫ ما هو المكون الذي يسمح لنا بتحديد المسافة بين عناصر واجهة المستخدم على‬.5
‫الشاشة؟‬
B. SizedBox
C. table
D. AppBar
6. What command would you run to verify your Flutter install and
ensure your environment is set up correctly?
A. Flutter run ‫ والتأكد من إعداد بيئتك بشكل‬Flutter ‫ ما األمر الذي ستقوم بتشغيله للتحقق من تثبيت‬.6
‫صحيح؟‬
B. Flutter build
C. Flutter doctor
D. Flutter help
7. The following code is used to add a floating action button to a Flutter
app interface
floatingActionButton: FloatingActioButton( child: Icon
(Icon(Icon.phone).),
Which of the following function or method can be used to add an
action to this button if the app user taps this button?
A. GoTo Flutter ‫ يتم استخدام الكود التالي إلضافة زر إجراء عائم إلى واجهة تطبيق‬.7
B. onPressed ( ‫ أيقونة (أيقونة‬:‫ (الطفل‬ActionButton: FloatingActioButton‫العائمة‬
،).)Icon.phone
C. JumupNow
‫أي من الوظائف أو الطرق التالية يمكن استخدامها إلضافة إجراء إلى هذا الزر إذا قام مستخدم‬
D. fly To ‫التطبيق بالنقر فوق هذا الزر؟‬
‫جميع أسئلة التطبيقات‬

8. How many child widgets can be added to the Container widget?


A. Unlimited children widgets
B. 1 ‫ ما هو عدد عناصر واجهة المستخدم التي يمكن إضافتها إلى عنصر واجهة‬.8
C. 2 ‫المستخدم الخاص بالحاوية؟‬

D. 3
9. We can easily apply themes on buttons, shapes, color, animation,
and behavior. .‫ يمكننا بسهولة تطبيق السمات على األزرار واألشكال واأللوان والرسوم المتحركة والسلوك‬.9
A. True ‫ صحيح‬.‫أ‬
‫ خطأ‬-‫ب‬
B. False
10. The purpose of the setState method is to create a part of the UI of
the application.
.‫ هو إنشاء جزء من واجهة المستخدم الخاصة بالتطبيق‬setState ‫ الغرض من طريقة‬.10
A. True ‫ صحيح‬.‫أ‬
B. False ‫ خطأ‬-‫ب‬
11. Which of the following choices is the property and what property
value should one add to the password TextField widget to get this type
of secure input?
A.obscure Text: true ‫ أي من االختيارات التالية يمثل الخاصية وما هي قيمة الخاصية التي يجب‬.11
‫ لكلمة المرور للحصول على هذا‬TextField ‫إضافتها إلى عنصر واجهة مستخدم‬
C. password:stars ‫النوع من اإلدخال اآلمن؟‬
B. secureText.yes
D. password:hide
‫جميع أسئلة التطبيقات‬
Q2: Define all the following (answer 4 only)
circle Avatar

Flat Button
It is a text label button that does not have much decoration and
displayed without any elevation.
‫ زر مسطح‬.1
.‫إنه زر تسمية نصية ال يحتوي على الكثير من الزخرفة ويتم عرضه بدون أي ارتفاع‬
Throw
Platform-specific native applications
Platform specific widgets:
Flutter has widgets specific to a particular platform - Android or iOS.
Android specific widgets are designed in accordance with Material
design guideline by Android OS.
:‫عناصر واجهة المستخدم الخاصة بالمنصة‬
‫ تم‬.iOS ‫ أو‬Android - ‫ على عناصر واجهة مستخدم خاصة بمنصة معينة‬Flutter ‫يحتوي‬
‫ وفًق ا إلرشادات التصميم متعدد‬Android ‫تصميم عناصر واجهة المستخدم الخاصة بنظام‬
.Android ‫األبعاد لنظام التشغيل‬

Scaffold
Scaffold widget: is a class in flutter which provides many widgets or we
can say APIs like Drawer, SnackBar, BottomNavigationBar,
FloatingActionButton, AppBar, etc.
‫جميع أسئلة التطبيقات‬
‫ هي فئة في الرفرفة توفر العديد من األدوات أو يمكننا أن نقول واجهات‬:Scaffold ‫أداة‬
‫ و‬BottomNavigationBar‫ و‬SnackBar‫ و‬Drawer ‫برمجة التطبيقات مثل‬
.‫ وما إلى ذلك‬AppBar‫ و‬FloatingActionButton
Q3: Answer all the following:
1- Speak about TextFiled widget and all the different types of button
available in Flutter with code Examples.
Types of Flutter Buttons Following are the different types of button available in Flutter:
- Flat Button :Flutter ‫أنواع أزرار الرفرفة فيما يلي األنواع المختلفة لألزرار المتوفرة في‬

- Raised Button ‫ زر مسطح‬-


‫ زر مرفوع‬-
- Floating Button
‫ الزر العائم‬-
- Drop Down Button
‫ زر القائمة المنسدلة‬-
- Icon Button
‫ زر األيقونة‬-
- Inkwell Button
‫ زر محبرة‬-
- Popup Menu Button
‫ زر القائمة المنبثقة‬-
- Outline Button ‫ زر المخطط التفصيلي‬-

2- Write dart program to check if given number N is prime number or


not.
2- What is the function of the following (onPressed, Table,
container)
The onPressed() is a function that will be called when the button is pressed
and the statements inside the function will be executed

‫() هي دالة سيتم استدعاؤها عند الضغط على الزر وسيتم تنفيذ البيانات الموجودة داخل الوظيفة‬onPressed
‫جميع أسئلة التطبيقات‬

‫س‪ :3‬أجب عن كل ما يلي‪:‬‬


‫‪ -1‬تحدث عن عنصر واجهة المستخدم ‪ TextFiled‬وجميع أنواع األزرار المختلفة المتوفرة في ‪ Flutter‬مع‬
‫أمثلة التعليمات البرمجية‪.‬‬
‫‪ -2‬اكتب برنامج رمي السهام للتحقق مما إذا كان الرقم المعطى ‪ N‬هو عدد أولي أم ال‪.‬‬
‫‪ -3‬ما وظيفة ما يلي (‪)onPressed, Table, Container‬‬

‫‪Group 1‬‬
‫‪Q1: Write simple code to the stateful widget main overrides of description‬‬
‫‪method as follows:‬‬
‫‪1. Called when this object is removed from the tree permanently.‬‬
‫‪2. Called when the widget configuration changes.‬‬

‫‪Q2: Speak about pubspec. yaml and lib directory.‬‬

‫‪Q3: Speak about three available Row widget properties with example code.‬‬
‫س‪ :1‬اكتب تعليمات برمجية بسيطة للتجاوزات الرئيسية لعنصر واجهة المستخدم ذات الحالة‬
‫الخاصة بطريقة الوصف كما يلي‪:‬‬
‫‪ .1‬يتم استدعاؤه عند إزالة هذا الكائن من الشجرة نهائًيا‪.‬‬
‫جميع أسئلة التطبيقات‬
‫‪ .2‬يتم االتصال به عندما يتغير تكوين عنصر واجهة المستخدم‪.‬‬

‫س‪ :2‬تحدث عن ‪ .pubspec‬دليل ‪ yaml‬و ‪.lib‬‬

‫س‪ :3‬تحدث عن ثالث خصائص متاحة لعنصر واجهة المستخدم للصف مع رمز المثال‪.‬‬

‫‪Group 2‬‬
‫‪Q1: List five flutter commands you could use them in windows PowerShell with‬‬
‫‪explain each one.‬‬
‫‪Q2: Speak about three available Container widget properties with example‬‬
‫‪code.‬‬
‫?‪Q3: what are the Advantages of Flutter‬‬
‫المجموعة ‪2‬‬
‫س‪ :1‬قم بإدراج خمسة أوامر رفرفة يمكنك استخدامها في ‪ Windows PowerShell‬مع شرح كل‬
‫منها‪.‬‬
‫س‪ :2‬تحدث عن ثالث خصائص متاحة لعنصر واجهة مستخدم الحاوية مع رمز المثال‪.‬‬
‫س‪ :3‬ما هي مميزات الرفرفة؟‬
‫‪Group 3‬‬
‫جميع أسئلة التطبيقات‬
Q1: What the different between stateless and stateful widgets in figures and
code.
Q2: Speak about three available Theme Data widget properties with example
code.
Q3: explain the modes of execution of Dart code operates.

3 ‫المجموعة‬
‫ ما الفرق بين عناصر واجهة المستخدم عديمة الحالة واألدوات ذات الحالة في األشكال‬:1 ‫س‬
.‫والتعليمات البرمجية‬
.‫ تحدث عن ثالث خصائص متاحة لعنصر واجهة مستخدم بيانات السمة مع رمز المثال‬:2‫س‬
.‫ شرح طرق تنفيذ دارت كود‬:3‫س‬

Q1\\A\\ choose the correct answer:


1- .............. Include defining and documenting functional requirements for
the application.
a-Design .‫ تشمل تحديد وتوثيق المتطلبات الوظيفية للتطبيق‬.............. -1
‫تصميم‬
c- Testing
‫ االختبار‬-‫ج‬
d- Analysis
‫ التحليل‬-‫د‬
b – Construction ‫ب – البناء‬

.ios ‫ كود المصدر الذي تم إنشاؤه تلقائًيا إلنشاء تطبيق‬-2


2-Auto generated source code to create ios application.
‫ لوس‬-‫أ‬
a- los
‫ ليب‬-‫ب‬
‫ بوبسبيك‬-‫ه‬
d-pubspec
‫جميع أسئلة التطبيقات‬
b- lib
e- pubspec
d-pubspec

3- Android specific widgets are called as


a-Material widgets ‫ باسم‬Android ‫ تسمى عناصر واجهة المستخدم الخاصة بنظام‬-3

b- Cupertino widgets ‫ الحاجيات المادية‬-‫أ‬


‫ الحاجيات كوبرتينو‬-‫ب‬
c-Center
‫مركز سي‬
d- Text
‫ النص‬-‫د‬

Q1\\B\\ state true or false and correct the false one:


1- Widgets describe what their view should look like given their current
configuration and state. T
2- The runApp () function takes the center Widget and makes it the root
of the widget tree. T
3- Widgets cannot be grouped into multiple categories based on their
features. F
:‫\\ اذكر صح أو خطأ وصحح الخطأ‬Q1\\B
.‫تصف األدوات الشكل الذي يجب أن يبدو عليه العرض الخاص بها نظًر ا لتكوينها وحالتها الحالية‬ -1
.‫() القطعة المركزية وتجعلها جذر شجرة القطعة‬runApp ‫تأخذ الدالة‬ -2
.‫ال يمكن تجميع األدوات في فئات متعددة بناًء على ميزاتها‬ -3
‫جميع أسئلة التطبيقات‬

3. What is the functionality of the following widgets


b- Container . ‫ما هي وظيفة الحاجيات التالية‬
e- Column ‫ الحاوية‬-‫ب‬
d-bottomNavigationBar ‫ العمود‬-‫ه‬
a- Center d-bottomNavigationBar
e-floatingActionButton ‫ المركز‬-‫أ‬
f- MaterialApp ‫زر اإلجراء العائم اإللكتروني‬
g-Scaffold MaterialApp ‫ز‬
-Scaffold

Q1. When you press the setting button and move towards removing a check
mark from the guide indentation. What will happen then?
‫جميع أسئلة التطبيقات‬

.‫ عند الضغط على زر اإلعداد والتحرك نحو إزالة عالمة االختيار من المسافة البادئة للدليل‬.1‫س‬
‫ماذا سيحدث بعد ذلك؟‬
Q2. What does each of the following lines of code do?
1- EdgeInsets.symmetric(vertical:8.0)
2- Matrix4.rotationZ(0.3)
3- TextDecoration.line Through
2- FlatButton(child:Text('FA',), onPressed(){}.)
‫ ماذا يفعل كل سطر من أسطر التعليمات البرمجية التالية؟‬.2‫س‬
)8.0:‫متناظر(عمودي‬.EdgeInsets -1
Z(0.3)‫روتيشن‬.4‫ ماتريكس‬-2
‫ من خالل‬TextDecoration.line -3
FlatButton(child:Text('FA',), onPressed(){}.) -4

Q3. Write a program that enters the name of a person whose number does
not exceed 12 characters in a text box, and the other text box contains a
summary explanation of the person, such as the place of residence, email, and
phone number, provided that, it does not exceed 3 lines. Then, two
checkboxes are included to be activated at startup, noting that the activation
has been removed from filling in each box.

‫ والمربع‬،‫ حرفا في مربع نص‬12 ‫ كتابة برنامج يقوم بإدخال اسم الشخص الذي ال يتجاوز عدده‬.3‫س‬
،‫النصي اآلخر يحتوي على شرح مختصر للشخص مثل مكان اإلقامة والبريد اإللكتروني ورقم الهاتف‬
‫ مع مالحظة‬،‫ ثم يتم تضمين خانتين اختيار ليتم تفعيلهما عند بدء التشغيل‬.‫ أسطر‬3 ‫ ال يتجاوز‬، ‫على أن‬
.‫أنه تم حذف التفعيل من ملء كل خانة‬
‫جميع أسئلة التطبيقات‬

Q4. What are the most common libraries that dart provides, with an
?explanatory description of each
‫ ما هي المكتبات األكثر شيوعا التي توفرها دارت مع وصف توضيحي لكل منها؟‬.4 ‫س‬

You might also like