• Tiada Hasil Ditemukan

CST101- Computer Organization

N/A
N/A
Protected

Academic year: 2022

Share "CST101- Computer Organization"

Copied!
4
0
0

Tekspenuh

(1)

INSTRUCTIONS TO CANDIDATE:

" Answer ALL questions.

UNIVERSITI SAINS MALAYSIA Stamford College

First Semester Examination 2004/2005 Academic Session

October 2004

External Degree Programme Bachelor of Computer Science (Hons.)

CST101- Computer Organization

Duration : 2 hours

Please ensure that this examination paper contains FOUR questions in FOUR printed pages before you start the examination.

0 On each page, write only your Index Number.

(2)

1 . (a) State the most obvious difference between first generation and second generation computers.

(4/100) (b) Convert the following numbers to the radix shown against them (show your

steps used to obtain the answers):

(i) (253 .523)lo to hexadecimal

00

(101010.101)2 to decimal (iii) (45 .75),0 to binary

2

(c) (i) Write -8510 in binary sign-magnitude, 1 s complement and 2s complement forms (use 8 bits).

(ii) Perform the following operation in unsigned decimal number system by using the complement method:

(725)lo - (1956)lo

(d) Write the following number in single precision IEEE Floating point format.

(Use suitable rounding technique.) (-158.7125)10

2. (a) Design a combinational circuit for a 3-bit full subtractor. You should:

(i.) Write the truth table for the above combinational circuit.

[CST101]

(6/100)

(8/100)

(6/100)

(ii) Find the Boolean functions for the 3-bit full subtractor from the above truth table.

(iii) Find the simplified form of the expression using Karnaugh map.

(iv) Draw the combinational circuit for the above using exclusive-OR gate, AND gate and OR gate only.

(12/100)

(3)

DA=x'y+xA DB=x'B+xA z = B

(ii) Construct the state table.

3 (b) (i) What is the function offlip-flops?

(ii) Explain the differences between combinational and sequential circuits . (6/100) (c) A sequential circuit has 2 D flip-flops A and B. They have two inputs x and y

and one output z.

The equations of the flip-flop inputs and the circuit output are given below:

(i) Draw the logic diagram of the above circuit.

3. (a) Explain the following components : (1) MBR

(ii) MAR

(b) Write programs to evaluate the following arithmetic statement using 0-address, 1-address and 2-address instructions:

X = A*[B*C - D]/F*(G+H)

(i) Immediate addressing mode and absolute addressing mode.

(ii) Register addressing mode and indirect register addressing mode.

[CST101]

(10/100)

(6/100)

(12/100) (c) What is the difference between the following pairs of addressing modes? Give

examples and explain.

(6/100)

(4)

4. (a) Explain the following terms:

(i) SRAM

(ii) Write through policy (iii) ROM

4 [CST101 ]

(6/100) (b) A cache memory of size 16K words has memory blocks of size 16 words. The

main memory has a size of 32M words.

Find the main memory address using direct mapping, associative mapping and 2-way set associative mapping techniques.

(ii) How many blocks are there in the main memory?

(iii) How many sets are there in the cache memory?

(10/100) (c) List two (2) characteristics of RISC and CISC architecture. Give examples of

computers that are built based on RISC and CISC architecture.

(8/100)

-0000000-

Rujukan

DOKUMEN BERKAITAN

The many diagrams in the book are clear and serve to elucidate the text descriptions of, among others, the various soil structures, mapping tools and peat soil phasic

Gis-Based Groundwater Potential Mapping in State of Melaka Using Analytical Hierarchy Process (AHP) Technique..

This study centers on an evaluation o f flood hazard areas in Perlis where it has experienced flood in consistently with various degree of destruction.. Spatial analysis in GIS

Hence in 2006, JUPEM has established a division for underground utility mapping-PADU (formerly known as Utility Mapping Section o f the Mapping division) to compile all the

SMALL-SCALE MAPPING OF SELECTED SOILS AREA IN UITM JASIN, MELAKA USING THE GEOSPATIAL INFORMATION SYSTEM (GIS) AND. FIELD

but not in flood depth with the value o f MAE are slightly increase went resampling been made and for SRTM show loss o f model accuracy due to resampling with the F- statistic o

Diantara produk teknologi fotogrametri digital yang dihasilkan dalam masa yang singkat adaiah Digital Surface Model (DSM). DSM boleh diperolehi meneaisi digital dari sepasang

One of the most important tasks that L2 learners need to do is the mapping of word forms to meanings (Jiang, 2002; Henriksen, 1999). The form-meaning mapping in the L2