Вы находитесь на странице: 1из 2

BCS / BSCS Program

Computer Organization & Assembly Language

Mid Term Syllabus

1. What is instruction execution cycle? Also write note on pipelined execution and superscalar
architecture.
2. Write a program to read two decimal digits whose sum is less than 10. Display them and their
sum on the next line?
3. Write a note on execution register and explain it?
4. Solve the arithmetic expression 2+5-3/6*8 with the hypothetical machine.
5. For a direct cache 16-MByte main memory,16K line in cache,2 bits for word find address
length , number of addressable units, block size , number of blocks in main memory ,numbers
of lines in cache , size of tag
6. Define cache memory its types, cache hit and cache miss and cache mapping with the
help of examples and diagrams?
7. Differentiate between memory and storage also explains memory segmentation in
detail?
8. What are General Purpose Registers, Special purpose and Segment Registers? Define each of
them in detail.
9. Write features of Assembly language.
10. Define Programming Language. What is difference between high level languages and low level
language?

Final Term Syllabus


11. Use case structure to code the following
a. If it is A then execute carriage return
b. If it is B then execute line feed
c. If it is any other character then return to Dos
12. Write a program that will prompt the user to enter a hex digit character (AF). Display it on
the next line in decimal and ask the user if he or she wants to do it again. If user type y or Y
the program repeats. If the user enters an illegal character, prompt the user to try again. If the
user fails to enter a hex digit character (A..F) in the tries, display a message and terminate
program?
13. If AL contain 1 or 3 display o. if AL contain 2 or 4 display e.
14. Write a program that converts each input character from the keyboard to upper case. The
program ends when Enter is pressed?
15. Write a program to display a ? read two capital letters and display them on next line in
alphabetical order?
16. Explain these instructions MOVSB, MOVSW, MOVSD, CMPSB, CMPSW, CMPSD, SCASB,
SCASW, SCABD, STOSB, STOSW, STOSD, LODSB, LODSW and LODSD
17. Explain conditional & unconditional jumps.
18. Use the Booth algorithm to multiply 23 (multiplicand) by 29 (multiplier), where each number
is represented using 6 bits.
19. Implement the following loop, using unsigned 32-bit integers:
while( ebx <= val1)

{
ebx = ebx + 5;
val1 = val1 1;
}
20. Define CPU execution cycle in detail with the help of diagram also differentiate between HHL
and LLL?

Вам также может понравиться