Assembly Language
Examination I
Rules, Date, and Time
The first examination will be over chapters 1 and 2 in the textbook.
It will be given on September 14th.
For students not making at least 70% will be required to repeat the
examination after attending a help session on the material. (The
repeat exam will not contain the same questions as the original.
The exam must be repeated as many times as necessary until a 70% is obtained.)
This repeat examination will be at a time determined by the instructor.
The first examination must be passed before the student is allowed to take
the second examination. The repeat examinations will be graded the
same as the original examination except the maximum grade a student is
reduced by 10% for each repeat exam taken. (The maximum grade for
the first repeat exam is 90%, for the second repeat exam is 80%, etc.)
No books, notes, etc. may be used during the examination. No calculators
may be used during the examination.
Sample Examination
Note: if any of the answers are incorrect please E-mail me at alcrawford@es.st-aug.edu
-
Explain the following terms:
-
Byte
-
Word
-
CPU
-
killobyte
-
megahertz
-
RAM
-
Give the steps in the instruction life cycle
-
Give an advantage of assembly language programming
-
What is the binary number system?
-
Why is the binary number system used in computing?
-
Convert the following decimal numbers to binary.
-
8 ANS: 1000
-
512 ANS:1000000000
-
1200 ANS: 10111110000
-
Convert the following binary numbers to decimal
-
10000 ANS: 16
-
00110001 ANS: 49
-
What is the hexadecimal number system?
-
Give the hexadecimal digits and their decimal values.
-
Convert the following decimal numbers to hexadecimal
-
171 ANS: AB
-
32100 ANS: 7D64
-
Convert the following hexadecimal numbers to decimal
-
BE ANS: 190
-
A2D2 ANS: 41692
-
Convert the hexadecimal number 5D3F to binary. ANS: 0101 1101
0011 1111
-
Convert the binary number 1101100000110001 to hexadecimal ANS:
D831
-
Add the following two binary numbers ANS: 1100101111010
110100111011
110000111111
-
How is 2s complement used in computing?
-
Convert the following decimal numbers to 2s complement
-
117 ANS: 0111 0101
-
-75 ANS: 10110100
-
Convert the following 2s complement numbers to decimal
-
11111001 ANS: -7
-
01110011 ANS: 115
-
What is the ASCII code?