wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GDSC day 3

Total questions: 31

Worksheet time: 16mins

Name
Class
Date
1.

Flutter allows you to instantly reflect small changes in the app as you edit the code base. This is called -

a)

Hot Restart

b)

Hot Reload

c)

Hot Quickstart

d)

Hot Rerun

2.

What are the building blocks of a Flutter Application?

a)

Widgets

b)

Containers

c)

Buttons

d)

Text

3.

Flutter Apps can run on

a)

Windows

b)

Linux

c)

Android

d)

All of these

4.

What is the Widget used to call an App bar?

a)

AppBar()

b)

App()

c)

TopBar()

d)

Header()

5.

The backbone widget of a Flutter App is -

a)

Scaffold()

b)

Container()

c)

Child()

d)

Header()

6.

Which one is correct?

a)

void foo1() async{

int x = await foo2();

}

b)

void foo1() await{

int x = async foo2();

}

c)

void foo1() async{

int x = async foo2();

}

d)

void foo1() await{

int x = await foo2();

}

7.

Flutter is _____.

a)

Single Codebase.

b)

Open-Source UI.

c)

Cross Platform.

d)

All of the above.

8.

from what we can read input from user?

a)

cin>>;

b)

readlinesync();

c)

console.readline();

d)

stdin.readlinesync();

9.

var a = 9;

var b = 5;

print(a>b && 4>7);

what is the output of this code?

a)

9>5 && 4>7

b)

a>b && 4>7

c)

Error

d)

false

10.

Unit of composition in flutter would be

a)

Widget

b)

UI

c)

Layer

11.

The rendering process is

a)

How Flutter turns UI code into pixels

b)

A core concept for Flutter UI development

c)

The pieces from which Flutter is constructed

12.

تفتكر لما تكبر هتبقا ايه

a)
b)
13.

What operating systems can you install the Flutter development environment on?

a)

Windows

b)

Mac

c)

Linux

d)

Chrome OS

14.

What is a String?

a)

Text

b)

Numbers

c)

Yes / No

d)

Date / Time

15.

What is the name of the command you use to verify you have setup your flutter environment correctly?

a)

flutter run

b)

flutter doctor

c)

flutter surgeon

d)

dart export

16.

What is not true about Stateless widgets?

a)

Stateless widgets are not state-sensitive and remain static throughout its lifecycle.

b)

Stateless widgets can't keep track of changes and update the UI based on these changes.

c)

Stateless widgets can never show updated content.

17.

How do you apply color to a widget?

a)

color : Colors.blue

b)

color : Colors.blueColor

c)

color : blue

d)

color : blue.Colors

18.

how can we create a flutter project with command line?

a)

flutter create <app_name>

b)

flutter new <app_name>

c)

dart create <app_name>

d)

dart new <app_name>

19.

what is the main folders in a simple flutter project?

a)

android, ios, lib, test

b)

assets, android, lib, test

c)

android, ios, lib, config

d)

android, ios, lib, docs

20.

مين احسن حارس في مصر دلوقتي

a)

صاحبي فى حجز خماسي

b)

الشناوي

c)

ابو جبل

d)

عصام الحضري

21.

دي معلش سوال تافه بس زوق معايا الكويزايه البتاعة

a)

ايلاينر

b)

مسكرا

c)

ولد ومعرفش

22.

which one is true about main() function?

a)

you must have exactly one main function in your program.

b)

main function is required.

c)

In general, main function will initiate any pre-processing needed for the app.

d)

all options are correct .

23.

What is the full form of GDSC?

a)

Google Developer Student Clubs

b)

Google Development for Students CS

c)

Google Student Developer Clubs

d)

Google Developers Club for Students

24.

It describes the structure of the widgets inside your app

a)

Images

b)

Widgets

c)

Text

d)

Widget Tree

25.

What do you call the widgets that are immutable, or widgets that cannot be changed over the lifetime of the widget

a)

StatelessWidget

b)

StatefulWidget

26.

Which of the following is not considered in the category of Basic Widgets?

a)

Text

b)

Row

c)

Image

d)

Icon

27.

Given this widget tree, which of the following is not true?

a)

AppBar widget contains a Text Widget

b)

Center widget contains a Column Widget

c)

Column widget contains a Text Widget

d)

Center widget has 2 child (Column and Text)

28.

What layout widget is used to have this outcome?

a)

Row

b)

Column

c)

Grid View

d)

Expanded Row

29.

Which is wrong about Multiple child widget?

a)

Can only have 1 child

b)

Can have 2 child

c)

Can have 3 child

d)

Can have 4 child

30.

what is the output of this code?

const R = 3.1;

R=5;

print(R);

a)

3.1

b)

5

c)

Error

d)

3

31.

Which operator can be used to compare two values?

a)

==

b)

=

c)

><

d)

<>