wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Flutter Q_1.1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

var text="TeXt";

print(text.touppercase());

what is the output?

a)

text

b)

tExT

c)

TeXt

d)

TEXT

2.

var a = 9;

var b = 5;

print(a>b);

what is the output of this code?

a)

true

b)

error

c)

9>5

d)

a>b

3.

Which operator can be used to compare two values?

a)

==

b)

=

c)

><

d)

<>

4.

print(6>7);

what is the output?

a)

true

b)

false

c)

6>7

d)

error

5.

int x=8;

//x=3;

print(x);

what is the output?

a)

8

b)

3

c)

error

6.

Fill in the missing parentheses to have x equal 15.

int x =_2 + 3_* 3;

a)

{....}

b)

<....>

c)

|....|

d)

(...)

7.

how to declare private variable?

a)

private int x;

b)

protected int x;

c)

_int x;

d)

int _x;

8.

string is iterable?

a)

true

b)

false

9.

int is iterable?

a)

true

b)

false

10.

Iterable<String> it=['ahmed','ali'];

print(it[1]);

a)

ali

b)

h

c)

error