wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Flutter

Total questions: 98

Worksheet time: 49mins

Name
Class
Date
1.

Enlist Some Major Features in flutter?

a)

Fast Development

b)

Expressive and flexible

c)

All the above

d)

Native Performance

2.

The first version of Flutter was known as codename __________ and ran on the Android operating system

a)

Sky

b)

Flut

c)

Cloud

d)

Rain

3.

Which of the following widgets use for layout ?

a)

Expanded

b)

Column

c)

Inkwell

d)

Text

4.

The example of the Stateless widget ?

a)

Text

b)

Statebuild widget

c)

Color

d)

None of the above

5.

Which widget has various properties like title, elevation,brightness

a)

AppBar

b)

Stateless

c)

Stack

d)

Container

6.

A container can be decorated with a _____________, such as a background, a border, or a shadow

a)

BoxDecoration

b)

boxDecorator

c)

None of the above

d)

Both can be used

7.

MyAppBar uses a __________layout to organize its children

a)

Column

b)

Container

c)

Row

d)

Layout

8.

Flutter use platform primitives

a)

True

b)

False

9.

Are stateless widgets mutable or immutable?

a)

mutable

b)

immutable

c)

None of the above

d)

Both

10.

Flutter is not a language; it is an SDK

a)

True

b)

False

11.

Flutter cannot be used to develop apps for which of the following?

a)

Web

b)

Voice Assistants

c)

Desktop

d)

Mobile

12.

Which one of the following is a disadvantage of flutter?

a)

Hot Reload

b)

Hot Restart

c)

Increased App Size

d)

Increased Productivity

13.

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

14.

Which of these functions contain the code which houses the widgets of your app?

a)

debug()

b)

build()

c)

random()

d)

runApp()

15.

Which of these components is not a built-in widget of Flutter?

a)

FloatingButton

b)

AppBar

c)

TextTransformer

d)

TextStyle

16.

Which of the following widgets use for layout ?

a)

Text

b)

Column

c)

Expanded

d)

Inkwell

17.

Which function is responsible for starting the program?

a)

runApp()

b)

run()

c)

flutter()

d)

main()

18.

The ________ operator is used to evaluate and returns the value between two expressions

a)

?

b)

&

c)

&&

d)

??

19.

How many types of widgets are there in Flutter?

a)

2

b)

1

c)

5

d)

3

20.

The function is responsible for returning the widgets that are attached to the screen

a)

Container

b)

SizedBox

c)

main()

d)

runApp()

21.

Which of these is NOT a pro for Flutter?

a)

free and open source

b)

Highly productive and high performance

c)

Develop for iOS and Android from a single codebase

d)

More testing

22.

Flutter is used to develop applications for (a)   .

23.

Flutter is an (a)   mobile application development framework created by Google.

24.

The first version of Flutter was known as codename (a)   and ran on the Android operating system.

25.

Flutter’s engine, written primarily in C++, provides low-level rendering support using Google’s Skia graphics library.

a)

True

b)

False

26.

Flutter apps are written in the (a)   language and make use of many of the language’s more advanced features.

27.

Due to App Store restrictions on dynamic code execution, Flutter apps use (a)   compilation on iOS.

28.

A notable feature of the Dart platform is its support for hot reload

a)

True

b)

False

29.

Is Flutter Free?

a)

Yes

b)

No

30.

what are the best editors for flutter development?

a)

Android studio

b)

visual studio

c)

intelliJ IDEA

d)

Xcode

31.

Are stateless widgets mutable or immutable?

a)

mutable

b)

immutable

32.

what file allows you to set constraints to your app?

(a)  

33.

List different types of widgets available in Flutter?

a)

stateless

b)

stageless

c)

statefull

d)

stagefull

34.

Enlist Some Major Features in flutter?

a)

Fast Development

b)

Expressive and flexible

c)

Native Performance

d)

All the above

35.

What are build modes in flutter?

a)

Debug

b)

Profile

c)

Release

d)

All the above

36.

Name the popular database package used in the Flutter?

a)

sqflite database

b)

Firebase database

c)

Both

d)

None

37.

What is the output of this code?

const double PI=3.1416;

printf("%.2f",PI);

a)

3.141

b)

3.14

c)

3.1416

d)

3.1

38.

What is the output of this code?

int count=1;

for(int i=0;i<10;i++){

for(int j=0;j<=10;j++){

count++;

}

}

printf("%i",count);

(a)  

39.

What is the output of this code?

int a=2;

int b=4;

a=b/a;

b=a+b;

a=a*b;

printf("%d",a);

(a)  

40.

What is the output of this code?

int x=1;

x%=3;

printf("%d",x);

(a)  

41.

C language support classes and objects

a)

True

b)

False

42.

Fill in the blanks to calculate the sum of all elements in the array arr, which contains 7 elements:

int sum=0;

_(int x=0; x<_; x++){

sum+=arr[ _ ];

}

printf("%d",sum);

(a)  

43.

What is the output of this code?

int i=(1,2,3);

printf("%d",i);

(a)  

44.

What is the output of this code?

char str[10]="Hello";

printf("%d",sizeof(str));

(a)  

45.

Which statement is used to terminate the loop?

a)

continue

b)

break

c)

exit

d)

switch

46.

What is the output of this code?

int min(int a, int b, int c){

int m=a;

if(b<m) { m=b; }

if(c<m) { m=c; }

return c;

}

int main() {

printf("%d",min(9,3,12));

}

(a)  

47.

What will be the output of the following C code?

#include <stdio.h>

void main()

{

int x = 5;

if (x < 1)

printf("hello");

if (x == 5)

printf("hi");

else

printf("no");

}

a)

hi

b)

hello

c)

no

d)

error

48.

What will be the output of the following C code?

#include <stdio.h>

int main()

{

int x = 0;

if (x == 1)

if (x == 0)

printf("inside if\n");

else

printf("inside else if\n");

else

printf("inside else\n");

}

a)

inside if

b)

inside else if

c)

inside else

d)

compile time error

49.

What will be the output of the following C code?

#include <stdio.h>

int main()

{

int x = 0;

if (x == 1)

if (x >= 0)

printf("true\n");

else

printf("false\n");

}

a)

Depends on the compiler

b)

No print statement

c)

True

d)

False

50.

The switch statement takes a given integer value then seeks a matching value among a number of _______ statements.

a)

break

b)

case

c)

switch

d)

goto

51.

How many loops are there in C

a)

1

b)

3

c)

2

d)

4

52.

Which of the following is an exit control statement

a)

for

b)

while

c)

do while

d)

continue

53.

The value of i after the execution of the following segment is

i = 2;

for( i=0; i>10; i=i+1);

a)

1

b)

2

c)

0

d)

11

54.

The output of the following segment is

int k, n=20;

k=(n>5?(n<=10?100:200):500);

printf("%d",n);

a)

100

b)

200

c)

300

d)

20

55.

C language developed at _____?

a)

AT & T's Bell Laboratories of USA in 1972

b)

AT & T's Bell Laboratories of USA in 1970

c)

Sun Microsystems in 1973

d)

Cambridge University in 1972

56.

which is the only function all C programs must contain?

a)

start()

b)

sys()

c)

main()

d)

scanf()

57.

Which of the following is not a correct variable type?

a)

float

b)

real

c)

int

d)

double

58.

What will be the output of the following C code?

#include <stdio.h>

int main()

{

int a = 1, b = 1, c;

c = a++ + b;

printf("%d, %d", a, b);

}

a)

a=1, b=1

b)

a=2, b=1

c)

a=1, b=2

d)

a=2, b=2

59.

What will be the output of the following C code?

#include <stdio.h>

int main()

{

int i = 0;

int j = i++ + i;

printf("%d\n", j);

}

a)

0

b)

1

c)

2

d)

compile time error

60.

What will be the output of the following C code?

#include <stdio.h>

int main()

{

int a = 1, b = 1;

switch (a)

{

case a*b:

printf("yes ");

case a-b:

printf("no\n");

break;

}

}

a)

yes

b)

no

c)

yes no

d)

compile time error

61.

Library function pow() belongs to which header file?

a)

math.h

b)

square.h

c)

stdio.h

d)

conio.h

62.

Is it possible to run program without main() function?

a)

yes

b)

no

c)

may be

63.

How many main() function we can have in our project?

a)

1

b)

2

c)

no limit

d)

depends on the program

64.

int x = 10;


int main()

{

int x = 0;

printf("%d",x);

return 0;

}

a)

10

b)

0

c)

compile error

d)

undefined

65.

What should be the output:

int main()

{

int a = 10/3;

printf("%d",a);

return 0;

}

a)

3.33

b)

3.0

c)

3

d)

0

66.

#include "stdio.h"

int main()

{

int a = 10;

printf("%d", a);

int a = 20;

printf("%d",a);

return 0;

}

a)

1020

b)

1010

c)

2020

d)

Error: Redeclaration of a

67.

People have used the word ________ to mean computer information that is transmitted or stored.

a)

Beta

b)

Data

c)

Database

d)

None of above

68.

_____________ specifies how we enter data into our programs and what type of data we enter.

a)

data type

b)

data

c)

datum

d)

all of above

69.

void is __________ data type.

a)

primary

b)

derived

c)

user defined

d)

none of above

70.

int is __________ data type.

a)

user defined

b)

derived

c)

primary

d)

all of above

71.

Array is ___________ data type.

a)

user defined

b)

primary

c)

derived

d)

all of above

72.

Pointer is __________ data type

a)

derived

b)

primary

c)

user defined

d)

none of above

73.

In ____________ data structure, the data items are arranged in a linear sequence.

a)

linear

b)

non linear

c)

both a and b

d)

all of above

74.

In ___________ data structures all elements may or may not be of same type.

a)

linear

b)

non linear

c)

homogeneous

d)

non- homogeneous

75.

In ___________ data structure data items are not in sequence.

a)

non linear

b)

linear

c)

non-homogeneous

d)

all of above

76.

____________data structures are those whose sizes and structures associated memory locations are fixed at compile time.

a)

linear

b)

homogeneous

c)

static

d)

dynamic

77.

Stack uses __________ data structure as the element that was inserted last is the first one to be taken out.

a)

LIPO

b)

FIFO

c)

LIFO

d)

FIPO

78.

Full form of LIFO is ____________

a)

Last Inside First Outside

b)

Last Innner First Outer

c)

Last In First Out

d)

Last Impact First Out

79.

Every stack has a variable _________ associated with it.

a)

TOP

b)

BOT

c)

POT

d)

none of the above

80.

_________ operation adds an element to the top of the stack.

a)

pop

b)

push

c)

peep

d)

all of the above

81.

_________ operation removes the element from the top of the stack.

a)

push

b)

pop

c)

update

d)

none of the above

82.

_________ operation returns the value of the topmost element of the stack.

a)

push

b)

pop

c)

peep

d)

update

83.

_________ operation changes the value of element given by user of the stack.

a)

push

b)

pop

c)

peep

d)

update

84.

A function calls itself is called ___________.

a)

queue

b)

recursion

c)

function

d)

none of above

85.

A queue is a _________ data structure in which each element that was inserted first is the first one to be taken out.

a)

FITO

b)

FIFO

c)

FISO

d)

FIVO

86.

The elements in a queue are added at one end called ________.

a)

front

b)

rear

c)

near

d)

none of above

87.



(a)  

88.

a)

a

b)

b

c)

c

d)

d

89.

There was a plane crash, every single person died then who survived

(a)  

90.

a)

1

b)

2

c)

3

91.

a)

a

b)

b

c)

c

d)

d

92.

a)

a

b)

b

c)

c

d)

d

93.

a)

1

b)

2

c)

3

d)

4

94.



(a)  

95.

What comes once in a minute, twice in a moment and never in a thousand years

(a)  

96.

In this room two people go in and three come out, what am I ?

(a)  

97.
a)

a

b)

b

c)

c

d)

d

98.



(a)