Skip to content
VUBuddy

CS501 Midterm Past Paper Spring 2006

Advance Computer Architecture PDF 92 KBUpdated 23 Oct 2026
Midterm past paper CS501 Midterm Past Paper Spring 2006 PDF 92 KB
vubuddy.com
Type
Midterm past paper
Course
CS501 Advance Computer Architecture
Size
PDF 92 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 92 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 4, 5 of 5. Download the file for all 5 pages.

CS501-Advance Computer Architecture

Midterm Special 2006

_____________all memory systems are dumb, in that they respond to only two commands: read or write

Virtually Logically Physically None of These

Consider two programs having three types of instructions given as follows: [10]

Number of · Program 1 · Program 2 · Data transfer instructions · Control instructions · ALSU instructions · Instructions Type · CPI · Control · ALSU · Data Transfer · Compare both the programs for the following · parameters: · 1. Instruction count ( IC ) · 2. Speed of execution ( ET )

To access an operand in memory, the CPU must first generate an address, which it then issues to the __________

MEMORY REGISTER An instruction that specifies one operand in memory and one operand in a register would be known as a __________ address instruction.

2-1/2

1-1/2

The data movement instructions ___________ data within the machine and to or from input/output devices

Store

LOAD

MOVE NONE OF ABOVE.

Write short answers to the following questions:

[3 x 5]

a. What is the advantage of a linker in the development of assembly language programs?

Solution:-

The linker:

When developing large programs, different people working at the same time can develop separate modules of functionality. These modules can then be ‘linked’ to form a single module that can be loaded and executed. The modularity of programs, that the linking step in assembly language makes possible, provides the same convenience as it does in higher-level languages; namely abstraction and separation of concerns. Once the functionality of a module has been verified for correctness, it can be re-used in any number of other modules. The programmer can focus on other parts of the program. This is the so-called “modular” approach, or the “top-down” approach.

b. Define term “Single stepping”.

Solution:- · Single · stepping:

Single stepping and breakpoints that allow the examination of the status of the program and registers at desired points during execution. c. Define term “Type checking”.

Solution:- · Type · Checking:-

High-level languages provide various primitive data types, such as integer, Boolean and a string, that a programmer can use. Type checking provides for the verification of proper usage of these data types. It allows the compiler to determine memory requirements for variables and helping in the detection of bad programming practices. On the other hand, there is generally no provision for type checking at the machine level, and hence, no provision for type checking in assembly language. The machine only sees strings of bits. Instructions interpret the strings as a type, and it is usually limited to signed or unsigned integers and floating point numbers. A given 32-bit word might be an instruction, an integer, a floating-point number, or 4 ASCII characters. It is the task of the compiler writer to determine how high-level language data types will be implemented using the data types available at the machine level, and how type checking will be implemented.

d. Define term “Instruction set”.

Solution:-

Instruction Set

A collection of all possible machine language commands that a computer can understand and execute is called its instruction set. Every processor has its own unique instruction set. Therefore, programs written for one processor will generally not run on another processor. This is quite unlike programs written in higher-level languages, which may be portable. Assembly/machine languages are generally unique to the processors on which they are run, because of the differences in computer architecture. Three ways to list instructions in an instruction set of a computer: by function categories by an alphabetic ordering of mnemonics by an ascending order of op-codes

e. Why computer logic design is different from classical logic design?

Solution:- · Classical logic design versus computer logic · design

The traditional sequential circuit design techniques for a finite state machine are not very practical when it comes to the design of a computer, in spite of the fact that a computer is a finite state machine. The reason is that employing these techniques is much too complex as the computer can assume hundreds of states.

All CS501 files →
CS501 Advance Computer Architecture All CS501 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.