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

BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT

Avalahalli, Doddaballapur Main Road, Bengaluru - 560064


Department of Computer Science & Engineering
FIRST INTERNAL ASSESSMENT TEST, OCTOBER 2020– 21

Course Name COMPUTER ORGANIZATION Course Code 18CS34


6th OCT 2020
Branch & Semester CSE - 3rd Semester ( A,B & C) Date & Time
2.00 PM to 3:30 PM
Name of the Course
Guruprasad S & Srivani P Max. Marks 50
Coordinator (s)

Note: Answer THREE full questions from Part A and Part B questions are compulsory.
Qn.
PART A Marks CO
No.
Load A,R0
Load B,R1
ADD R0,R1 CO1
1. Store R1,C 10 M
K2
Write the instruction fetch and execution sequence for the above set of instructions based
on basic operational concepts.
OR
Convert the given high level language code to an assembly language program to evaluate CO1
2. 10 M
Y=(A+B)*(C-D) using 3 address, 2 address and 1 address instruction types K2

Convert the given high level language code to an assembly language program to compute CO1
3. 10 M
the product of n elements of a list. Justify the addressing mode used. K2
OR
Consider a computer that has a byte-addressable memory organized in 32-bit words
according to the big-endian scheme. A program reads ASCII characters entered at a
CO1
4. keyboard and stores them in successive byte locations, starting at location 1000. Identify 10 M
K2
and explain the contents of the two memory words at locations 1000 and 1004 after the
name “BMSIT&M Bangalore” has been entered.

Represent and translate the decimal values 5, -2, 14, -10, 26, -19, 51 and –43, as signed, 7-
5. bit numbers to the following binary formats: CO1
10 M
a) Sign-and-magnitude b) 1’s complement c) 2’s complement K2
OR
Convert the following pairs of decimal numbers to 5-bit, signed, 2’s- complement binary
2*5=10 CO1
6. numbers and add them. State whether or not overflow occurs in each case.
M K2
a) 5 and 10 b) 7 and 13 c) –14 and 11 d) –5 and 7 e) –3 and –8
PART B
Write an assembly language program to find the sum of two 4x4 MATRIX and store the CO1
7. sum in third matrix, Relate the addressing mode used. 10 M
K4

i) Differentiate between PCs and single board computers 5*2 =10 CO4
8. ii) Compare the features of Raspberry Pi and Beagle Board x M
M K4
CO1: Discuss the basic structure of computers their organization, structure, operation and machine instructions K2
CO2: Illustrate the different ways of communication with I/O devices and standard I/O interfaces. K2
CO3: Apply the functional concepts of different sub systems. K3
CO4: Analyse the conceptions of uni-processor, pipelined processor and other computing systems .K4
Course Outcomes (COs)

Remembering(K1) Understanding(K2) Applying (K3) Analyzing (K4) Evaluating (K5) Creating (K6)
Bloom’s Category
Signatures of the Question Paper Scrutiny Committee

Course Coordinator(s) Module Coordinator(s) Program Coordinator Head of the Department

You might also like