Asm Mid BS 5 A

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Department of Computer Science

Mid-Term Examination (Theory + Lab)

Program: BSCS(M)-V-A Course: Computer Org. and Assembly Language


Time: 90 minutes Total Marks: 30
Q. 1. Write a short note on the given entities: Addressing modes, Loop (10)
Q.2. Write a program that displays the following information of the file told by the user. (10)
A. File Size B. Total capital letters C. Total integers
Q.3. Write a program that takes an array of integers from the user and displays the sum of odd and even
numbers in the array. (10)
Practical-Part (Time: 30 minutes Marks: 10)
Q.4. Write a program that accepts only alphabets from the user. (10)

You might also like