You are on page 1of 2

1. How many values can 8 bits store?

Select one:
a. 256

b. 64
c. 16
d. 8
Feedback

Răspunsul dumneavoastră este incorect.


The correct answer is: 256
2. 0xAC equals (in decimal system):
Select one:

a. 172
b. 189
c. 188
d. 173
Feedback

Răspunsul dumneavoastră este corect.


The correct answer is: 172
3. A pseudocode keyword for a repetition structure is:
Select one or more:
a. case
b. while

c. switch
d. if
Feedback

Răspunsul dumneavoastră este incorect.


The correct answer is: while
4. The flowchart symbol for a decision is:
Select one:

a. diamond
b. oval
c. rectangle
d. line
Feedback

Răspunsul dumneavoastră este corect.


The correct answer is: diamond
5. After running the following pseudocode, m is:
n = 1, m = 1
WHILE n < 4
n = n + 1
m = m * n
ENDWHILE

Select one:
a. 12

b. 4
c. 48
d. 24
Feedback

Răspunsul dumneavoastră este incorect.


The correct answer is: 24
6. The outcome of the following pseudocode is:

a = true
b = false
c = true
PRINT (a AND b) OR c

Select one:
a. 0
b. false

c. true
d. nothing
Feedback

Răspunsul dumneavoastră este corect.


The correct answer is: true

You might also like