0% found this document useful (0 votes)
0 views4 pages

MidTerm1 MobileApplication

This document is a midterm exam for the Mobile Application Development course at Benha National University, scheduled for March 26, 2025. It consists of three questions, covering topics such as Flutter widgets, BuildContext, and programming tasks in Dart. The total marks for the exam are 15, and students are required to answer all questions within 60 minutes.

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)
0 views4 pages

MidTerm1 MobileApplication

This document is a midterm exam for the Mobile Application Development course at Benha National University, scheduled for March 26, 2025. It consists of three questions, covering topics such as Flutter widgets, BuildContext, and programming tasks in Dart. The total marks for the exam are 15, and students are required to answer all questions within 60 minutes.

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
You are on page 1/ 4

Benha National University

Faculty of Computer Science


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

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


Answer all the Following Questions [ 3 questions in 2 pages]:

Question No. 1 [ILOs: A1,A3,A16,B1,B7,D1, D9] [5 Marks]

- Put your choices in this table


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

1- Which of the following best explains the flutter?


a- It is an open-source database management b- This is an open-source UI toolkit
system
c- This is an open-source backend toolkit d- None of the above
2- Which of the following are the advantages of Flutter?
a- Minimal code b- Faster Development
c- Cross-platform Development d- All of them
3- A widget can change appearance in response to events triggered by user interactions
a- Stateful widget a- Stateless widget
b- Map c- None of them.
4- When you want to create a Flutter app, you need to configure a lot of widgets and change
their format. You don't need to create everything from scratch. You can easily add the
Scaffold class or widget to your app. This class implements the basic material design visual
layout structure for your app.
a- True b- False
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- What is the purpose of the runApp() function in Flutter?
a- To define the layout of the user interface b- To handle user input
c- To start the Flutter application d- Managing the state of the application
7- What property is placed at the bottom right corner by default?
a- title. b- appBar.
c- FloatingActionButton. d- header.

Page 1 of 4
8- pubspec.yaml file does not contain?
a- Project general settings b- Project language
c- Project assets d- Project dependencies
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 is 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: A1,A3,A16,B4,B6,D1, D9] [4 Marks]

2-a What are widgets in Flutter, and what are the different types of widgets available?
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
2-b Explain BuildContext.
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------

Page 2 of 4
Question No. 3 [ILOs: A3,A16,B7,C1,C2,C9,C13,D2,D4] [6 Marks]

3-a Write a Dart program to find the most frequent number in a list?
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------

Page 3 of 4
3-b Write a program to show the interface design of the following flutter application? Verify
your answer by drawing a widget tree of the interface.
Flutter Program: -

-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
------------------------------------------------------------------- Imagine this as an image.
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
------------------------------------------------------------------- Flutter widget tree breakdown (Draw)
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------
-------------------------------------------------------------------

End of Exam
GOOD LUCK
Dr. Amr M. Nagy

Page 4 of 4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy