Computer System Architecture: A) B) C) D) E) F) G)

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

21. Create Matrix class using templates.

Write a menu-driven program to perform following


Matrixoperations (2-D array implementation):
a) Sum b) Difference c) Product d) Transpose
22. Create the Person class. Create some objects of this class (by taking information from the
user). Inherit the class Person to create two classes Teacher and Student class. Maintain
the respective information in the classes and create, display and delete objects of these
two classes (Use Runtime Polymorphism).
23. Create a class Triangle. Include overloaded functions for calculating area. Overload
assignment operator and equality operator.
24. Create a class Box containing length, breath and height. Include following methods in it:
a) Calculate surface Area
b) Calculate Volume
c) Increment, Overload ++ operator (both prefix & postfix)
d) Decrement, Overload -- operator (both prefix & postfix)
e) Overload operator == (to check equality of two boxes), as a friend function
f) Overload Assignment operator
g) Check if it is a Cube or cuboid
Write a program which takes input from the user for length, breath and height to test the
above class.
25. Create a structure Student containing fields for Roll No., Name, Class, Year and Total
Marks. Create 10 students and store them in a file.
26. Write a program to retrieve the student information from file created in previous question and
print it in following format:
Roll No. Name Marks
27. Copy the contents of one text file to another file, after removing all whitespaces.
28. Write a function that reverses the elements of an array in place. The function must
accept only one pointer value and return void.
29. Write a program that will read 10 integers from user and store them in an array. Implement
array using pointers. The program will print the array elements in ascending and descending
order.

CMSACOR02T: Computer System Architecture Theory: 60 Lectures

1. Introduction (8 lectures)
Logic gates, boolean algebra, combinational circuits, circuit simplification, flip-flops
and sequential circuits, decoders, multiplexers, registers, counters and memory units.

2. Data Representation and Basic Computer Arithmetic (10 lectures)


Number systems, complements, fixed and floating point representation, character representation,
addition, subtraction, magnitude comparison, multiplication and division algorithms for integers

3. Basic Computer Organization and Design (13 lectures)


Computer registers, bus system, instruction set, timing and control, instruction cycle, memory
reference, input -output and interrupt, Interconnection Structures, Bus Interconnection design of
basic computer.

4. Central Processing Unit (15 lectures)


Register organization, arithmetic and logical micro-operations, stack organization, micro
programmed control. Instruction formats, addressing modes, instruction codes, machine
language, assembly language, input output programming, RISC, CISC architectures, pipelining
and parallel architecture.
(6 lectures)
5. Memory Organization
Cache memory, Associative memory, mapping.

6. Input-Output Organization
(8 lectures)

Input / Output: External Devices, I/O Modules, Programmed I/O, Interrupt-Driven I/O, Direct
Memory Access, I/O Channels.

Recommended Books:
1. M. Mano, Computer System Architecture, Pearson Education, 1992
2. A. J. Dos Reis, Assembly Language and Computer Architecture using C++ and
JAVA, Course Technology, 2004
3. W. Stallings, Computer Organization and Architecture Designing for
Performance, 8 Edition, Prentice Hall of India, 2009
4. M.M. Mano , Digital Design, Pearson Education Asia, 2013
5. Carl Hamacher, Computer Organization, Fifth edition, McGrawHill, 2012.
CMSACOR02P: Computer System Architecture Lab Practical: 60 Lectures
1. Create a machine based on the following architecture:

Refer to Chapter-5 of Morris Mano for description of instructions.

2. Create the micro operations and associate with instructions as given in the chapter (except
interrupts). Design the register set, memory and the instruction set. Use this machine for the
assignments of this section.
3. Create a Fetch routine of the instruction cycle.
4. Simulate the machine to determine the contents of AC, E, PC, AR and IR registers in
hexadecimal after the execution of each of following register reference instructions:
a. CLA e. CIR i. SNA
b. CLE f. CIL j. SZA
c. CMA g. INC k. SZE
d. CME h. SPA l. HLT
Initialize the contents of AC to (A937)16, that of PC to (022)16 and E to l.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy