Iclicker Questions Flashcards

1
Q

1 Mi is 2 to the ??

A

2^20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

64 Mi is 2 to the ??

A

2^26

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

0x8000 is 2 to the ??

A

1000 0000 0000 0000 or 2^15

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2^15 in binary metric

A

32 Ki (= 2^10 * 2^5)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

128 k is 2 to the ??

A

2^7 + 2^10 = 2^17

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

2^17 to hexadecimal

A

0x2 0000 (17 zeros, 2 in binary is 10)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How many bits do we need to represent all integers less than 30 million.

A

2^25 (32 Mi > 30mil > 16 Mi)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If I need to represent all numbers up to 10mil, how many bits do I need?

A

2^24

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the #include “foo.h” do?

A

It runs that file before your own file. It adds functions from that file into your own file. Usually in main.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly