0% found this document useful (0 votes)
64 views2 pages

MidTerm2 MobileApplication

This document is a midterm exam for the Mobile Application Development course at Benha National University, scheduled for April 30, 2025. It consists of two questions, with the first being a multiple-choice section worth 5 marks and the second requiring descriptive answers worth 10 marks. The exam assesses students' knowledge of Flutter widgets and their functionalities.

Uploaded by

vip7hax
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views2 pages

MidTerm2 MobileApplication

This document is a midterm exam for the Mobile Application Development course at Benha National University, scheduled for April 30, 2025. It consists of two questions, with the first being a multiple-choice section worth 5 marks and the second requiring descriptive answers worth 10 marks. The exam assesses students' knowledge of Flutter widgets and their functionalities.

Uploaded by

vip7hax
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Benha National University

Faculty of Computer Science


2nd Term (March 2025) Midterm no. 2
Program: Software and Application Development
Course Name: Mobile Application Course Code: SAD307 Level: 3rd
Development level
Date: 30/04/2025 Time: 45 Minutes
Total Marks: 15 Marks

Student’s Name: ……………………………… Student’s ID: …………………………


Answer all the Following Questions [ 2 questions in 2 pages]:
Question No. 1 [ILOs: A3,A11,B1, B6,D3] [5 Marks]

- Put your choices in this table


1. 2. 3. 4. 5.
6. 7. 8. 9. 10.

1- What is the type of parameter passed to the build method of a StatelessWidget?


a- WidgetContext b- BuildContext
c- StateContext d- None of the above
2- What is the root widget of most Flutter applications?
a- Text b- Scaffold
c- AppBar d- MaterialApp
3- Which widget helps avoid system UI intrusions (like notches)?
a- SizedBox b- Padding
c- SafeArea d- AppBar
4- What happens if you place too many widgets in a Row without scrolling?
a- App crashes b- Overflow error
c- Widgets wrap automatically d- They get compressed
5- ………….. is used to show a line or a paragraph with multiple styles
a- TextField widget b- Text widget
c- RichText widget d- Buttons Widget.
6- Which widget allows placing one widget over another?
a- Row b- Wrap
c- Stack d- Column
7- Which widget in Flutter is used to display a long list of items?
a- Column b- GridView
c- Row d- ListView
8- What is the purpose of the Container widget in Flutter?
a- To define a single child widget with b- To create a scrollable list
padding, margin and constrains
c- To organize the app’s routes d- To handle user input

Page 1 of 2
9- Which of the following is used to load images from the flutter project’s assets?
a- Image c- Image.asset
b- Image.file d- Image.memory
10- Which command used to check that everything is installed successfully?
a- Flutter console b- Flutter doctor
c- Flutter run d- None of them

Question No. 2 [ILOs: A2, A11,B1,B5,D3] [10 Marks]

2-a What is Scaffold in Flutter? Briefly describe five key elements commonly used within a Scaffold
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
2-b What is a ListView.builder in Flutter?
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
2-c What is the difference between main() and runApp() in Flutter?
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
2-d What is the purpose of the MediaQuery widget in Flutter?
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
2-E Explain the benefits of using a Container widget in Flutter.
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------

End of Exam
GOOD LUCK
Dr. Amr M. Nagy

Page 2 of 2

You might also like