CAO - Midterm - Fall 2020 PDF
CAO - Midterm - Fall 2020 PDF
Midterm Examination
Time Allowed: 2 Hour + 1 Hour Total Points: 60 (10 points for each of the questions)
Page 1 of 3
Midterm Examination - CAO Fall 2020
Write a “machine language program” in (hexadecimal format) for the TASK given below:
The TASK:
Add the input data from Webcam to the input data from the Keyboard and store the result at the LAST
location of the RAM and also display the result at the monitor.
[(CLO_1) (Cognitive Level C3, i.e., Applying ) (PLO_1, i.e., Understanding and Applying)]
Q2. For the specifications of the system in Question 1 above, answer the following:
1. What would be the maximum size of the RAM that could be connected to the given microprocessor?
2. What would be the address range for the RAM (in HEX)?
3. What would be the size of IR, PC & AC, respectively?
4. How many I/O ports are available with the given processor?
5. What is the maximum number of the instructions possible for the given microprocessor?
6. What will be the width of A-BUS, D-BUS and C-BUS respectively?
[(CLO_1) (Cognitive Level C3, i.e., Applying ) (PLO_1, i.e., Understanding and Applying)]
Q3. Draw the complete Memory Map with I/O devices for the program of Q1.
[(CLO_2) (Cognitive Level C3, i.e., Applying ) (PLO_1, i.e., Understanding and Applying)]
Q4. Write the complete sequence of steps performed by the sytem when an interrupt is encountered by the CPU.
[(CLO_2) (Cognitive Level C4, i.e., Analyzing ) (PLO_2, i.e., Problem Analysis)]
Q5. A user browsing the internet needs to download software with a file size of 60.7 MB. She has a hard disk on her
system with 500 platters, with each surface of each platter made up of 300 tracks and with a data storage capacity of 5 KB
for each track. The access time for each track is 5 ms.
1. Can you calculate the time it took to save the file in the hard disk when the user used a non-cylindrical method for
her storage?
2. After research the user found the cylindrical method of storage more effective in terms of time it takes to store the
same file. What was the new time for the storage?
Page 2 of 3
Midterm Examination - CAO Fall 2020
3. If the software was of size 5000 MB instead of 60.7 MB, could the user still download it on her hard disk? If
NOT then why?
[(CLO_3) (Cognitive Level C4, C5 i.e., Analyzing & Evaluating) (PLO_3, i.e., Data Dissection and Evaluation)]
Q6. Draw the diagram for the Memory Hierarchy and answer the following in either of the two given words;
‘Increases’ or ‘Decreases’ as we move UP in the memory hierarchy. (Answers on answer script)
[(CLO_3) (Cognitive Level C4, C5 i.e., Analyzing & Evaluating) (PLO_3, i.e., Data Dissection and Evaluation)]
BRAINSTORM!
Page 3 of 3