Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Grade 11 & 12_ General Review 1

Total questions: 15

Worksheet time: 10mins

Name
Class
Date
1.

int Z = 5; this variable declared uses:

a)

Arithmetic Operator

b)

Rational Operator

c)

Boolean Operator

d)

Compound Operator

2.

A -= 3; this is an example of

a)

Arithmetic Operator

b)

Rational Operator

c)

Boolean Operator

d)

Compound Operator

3.

In an Arduino program, a missing _________ will not cause a compiler error.

a)

curly bracket

b)

comment

c)

semicolon

d)

variable declaration

4.

In an Arduino program, the _______________function runs only once.

a)

gets()

b)

loop()

c)

setup()

d)

put()

5.

Which of the following command only prints whatever is present inside the brackets?

a)

Serial.begin(9600);

b)

Serial.print();

c)

Serial.println();

d)

setup();

6.

bool x = false; x is an example of a / an _________________ data type

a)

float

b)

float

c)

character

d)

boolean

7.

The ON LED turns off when the Arduino board is powered up.

a)

True

b)

False

8.

Seatbelt warning system is an example of an embedded system.

a)

True

b)

False

9.

Which the following is correct:

a)

INT y = 8;

b)

Int y = 9;

c)

int y = 2;

d)

int y = 6.3;

10.

Visual representation of the sequence of the process is:

a)

Algorithm

b)

flowchart

c)

pseudocode

d)

code

11.

Consider the code below:

int a =10;

int c = 9;

A rational operator can compare the values of ‘a’ and ‘c’ to find the greater number between them.

a)

True

b)

False

12.

Consider the code below:

int a = 80;

int b = 5;

c = a%b;

Serial.print(c);

What will the value of c be printed if the above code is written under the setup() function?

a)

16

b)

8

c)

40

d)

0

13.

Logical OR operator is represented by && symbol.

a)

True

b)

False

14.

Logical NOT operator is an example of boolean operator.

a)

True

b)

False

15.

(A==7) assigns the value 7 to the variable A.

a)

True

b)

False