wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Flutter Q_0

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

what is the output of this code?

const R = 3.1;

R=5;

print(R)

a)

3.1

b)

5

c)

3

d)

Error

2.

Fill the gaps.

___Declaring an integer

and printing it___

int x = 42;

print(x);

a)

//.........//

b)

<----...................----->

c)

?-------------?

d)

/*............*/

3.

which one print 10?

a)

int num =9;

print ("the number is $num + 1");

b)

int num =9;

print ("the number is ${num + 1}");

c)

int num =9;

print ("the number is num +1");

d)

int num =9;

print ("the number is " + (num +1));

4.

var a ="4";

var b ="2";

print(a+b);

what is the output of this code?

a)

6

b)

4+2

c)

42

d)

a+b

5.

 

Which operator is used to determine the remainder?

a)

/

b)

%

c)

*

d)

!

6.

var a = 9;

var b = 5;

print("a>b");

what is the output of this code?

a)

true

b)

9>5

c)

a>b

d)

error

7.

var a = 9;

var b = 5;

print(a>b);

what is the output of this code?

a)

false

b)

true

c)

Error

d)

a>b && 4>7

8.

 Dart is an open source programming language developed by ......?

a)

Google

b)

Microsoft

c)

Oracle

9.

if you initialize a variable as var,once assigned type cannot change?

a)

True

b)

False

10.

Semicolons are .....?

a)

Required

b)

Optional

11.

Dart is not an Object-oriented language ?

a)

true

b)

false

12.

dart is native language?

a)

true

b)

false

13.

print("20"+"30");

What is the output?

a)

50

b)

50.0

c)

50.00

d)

20+30

14.

num x=18.0;

what is the data type of the variable x;

a)

num

b)

double

c)

float

d)

int

15.

VS Code is......?

a)

SDK

b)

IDE

c)

Framework