wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Store Values of AND Operation in Variable

Total questions: 10

Worksheet time: 30mins

Name
Class
Date
1.

x = 1 AND 0

a)

The value of x is 0.

b)

The value of x is 1.

c)

Error.

2.

x_x% = 1010 AND 0110

a)

The value of x_x% is 1010.

b)

The value of x_x% is 0010.

c)

Error.

3.

25Clifton = 101010 AND 011010

a)

The value of 25Clifton is 101101.

b)

The value of 25Clifton is 001010.

c)

Error.

4.

Guitar = 101010 AND 011010

a)

The value of Guitar is 101101.

b)

The value of Guitar is 001010.

c)

Error.

5.

Blake_Lively = 1110010 AND 0111010

a)

The value of Blake_Lively is 0110010.

b)

The value of Blake_Lively is 0111001.

c)

Error.

6.

Nokia 3210 = 1110010 AND 0111010

a)

The value of Nokia 3210 is 0110010.

b)

The value of Nokia 3210 is 0111001.

c)

Error.

7.

Nokia = 01110101 AND 01110101

a)

The value of Nokia 3210 is 01100101.

b)

The value of Nokia 3210 is 01110101.

c)

Error.

8.

Eyes = 101011 AND 100010

a)

The value of Eyes is 100010.

b)

The value of Eyes is 1000010.

c)

Error.

9.

It's all right to have spaces with your variable name.

a)

True

b)

False

10.

You cannot have special characters such as %, $, &, etc. in your variable name.

a)

True

b)

False