Computer &
Programming I – Sample Quiz #1
Prof. J. Loftin
1. Convert the hexadecimal number A5 to binary.
2. Convert the decimal number 17 to binary.
3. Convert the binary number 10111 to decimal.
4. Convert the octal number 75 to binary.
Answers:
1. 10100101, 2. 10001, 3. 23, 4. 111101.
Match Subjects with Descriptions:
Subject Description
|
1. Byte |
a. Approximate one million bytes. |
|
2. Bit |
b. A type of memory whose cells can be accessed in no particular order. |
|
3. Operating System |
c. Permanent memory whose contents cannot be changed. |
|
4. Executable file |
d. A device used to store and retrieve information on disk. |
|
5. Octal |
e. High-speed memory location inside the CPU. |
|
6. Assembly Language |
f. Coordinates all computers operations and performs arithmetic & logic on data, contains register memory and the control unit. |
|
7. Software |
g. Grammar rules for a programming language. |
|
8. Hardware |
h. Software that translates a high-level language program into machine language. |
|
9. Compiler |
i. A unit of memory which can be in exactly one of two states. |
|
10. I/O |
j. A group of computers and peripheral devices linked together to share information and resources. |
|
11. Hexadecimal |
k. File containing machine language instructions that is the output of a compiler. |
|
12. Syntax |
l. Base 8 number system. |
|
13. CPU |
m. Approximately one billion bytes. |
|
14. Register |
n. Input-Output. |
|
15. Disk Drive |
o. Software that controls a user’s interaction with the computer hardware and software and manages the computer resources. |
|
16. RAM |
p. A programming language only one level above machine language. |
|
17. Machine Language |
q. A set of instructions that can be read into a computer’s memory and later executed on demand. |
|
18. Binary |
r. Each digit in this number system represents 4 bits. |
|
19. ROM |
s. The amount of storage required storing a single character. |
|
20. Gigabyte |
t. A binary-type code that is the natural language of a computer. |
|
21. Object Oriented |
u. A list of steps for solving a problem. |
|
22. Network |
v. A standard code for representing characters and symbols by a single byte. |
|
23. Algorithm |
w. Electronic and mechanical devices integrated into or connected to a computer. |
|
24. Megabyte |
x. Base 2 number system. |
|
25. ASCII |
y. C++ is an example of this type of programming language. |
Answers:
1.
S
2. I
3. O
4. K
5. L
6. P
7. Q
8. W
9. H
10. N
11. R
12. G
13. F
14. E 15.
D 16.
B 17. T
18. X 19. C
20. M
21. Y
22. J
23. U
24. A 25.
V