Iclicker Questions Flashcards
1
Q
1 Mi is 2 to the ??
A
2^20
2
Q
64 Mi is 2 to the ??
A
2^26
3
Q
0x8000 is 2 to the ??
A
1000 0000 0000 0000 or 2^15
4
Q
2^15 in binary metric
A
32 Ki (= 2^10 * 2^5)
5
Q
128 k is 2 to the ??
A
2^7 + 2^10 = 2^17
6
Q
2^17 to hexadecimal
A
0x2 0000 (17 zeros, 2 in binary is 10)
7
Q
How many bits do we need to represent all integers less than 30 million.
A
2^25 (32 Mi > 30mil > 16 Mi)
8
Q
If I need to represent all numbers up to 10mil, how many bits do I need?
A
2^24
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.