• Tidak ada hasil yang ditemukan

ARAHAN KEPADA CALON: - EPrints USM

N/A
N/A
Protected

Academic year: 2024

Membagikan "ARAHAN KEPADA CALON: - EPrints USM"

Copied!
4
0
0

Teks penuh

(1)

UNTVERSM

SAINS

MALAYSIA

Peoeriksaan Semester Pertama Siaang Akademik

l9949s

O*tober/November 1994

CSY401 - Senibina KomPuter Masa: [3jan]

ARAHAN KEPADA CALON:

.

Sila pastikan bahawa kertas peperiksaan

ini

mengSndungi

EMPAT

muka surat yang tercetak sebelum anda memulakan peperilaaan ini.

.

Jawab

SEMUA soalan. Anda

boleh

memitih untuk menjawabSEBAHAGIAN i"tipaO.-Jo"lan di

dalam Bahasa

lnggiris

utuo menjawab keseluruhan soalan

di

dalam Batrasa Malaysia

ENGLISH

VERSION OF THE QUESTION PAPER

...2t-

97

(2)

lcsY401l

-2-

Answer

ALL

questions,

all

the algorithms must be described

briefly,

description has to demonstrate main ideas of the algorithms only.

I

. (a)

Give the definition/notion of the

following:

(i)

The structurc of a simple computer and short description of its components.

(ii)

Number systems, decimal, binary, octal and hexadecirnal number syst€ms.

(15/100)

(b)

Give the

following

algorithm and transforinations:

(i)

Conversion of decimal into binary.

(ii)

Conversion of decimal into hexadecimal.

(c)

Give the definition and describe the

following

notions and algorithms:

(i) Notion of (r-l)'s

complement.

(ii)

Fixed-pointrepresentation.

(iii)

Algorithrns of nurnbers addition and subtraction.

(iv)

Floating-point representation.

(d)

Transform the deeimal number

274.75into:

(i)

The binary number.

(ii)

The signed frxed-point rcprcsentation.

(iii)

Its floating-point reprcs€ntation.

(e)

Give the notion of intemrpt system and describe its components.

(i)

General notion of an intemrpt system-

(ii) List

the hardware units to support an intemrpt processing.

(iii)

General atgorithm of intemrpt processing.

(15/100)

(20l100)

(r5l100)

(10/r00)

(10/r00) (r5l100)

98

...31-
(3)

tcsY4ou

-3-

2. (a) List

and describe

briefly

three requirements to memory sy$tem management.

(1s/100)

(b)

Give the

following

algorithmdnotions:

(t)

Mathematicalmemory.

(ii)

pagrng, dircct mapping algorithms of effective address calculation.

(iii)

Segmentation, main algorithm of effective address calculation.

(30/100)

(c) Given that the

segment size

is 64K

bytes,

how

does

this be rpflected in

the structure of a good

program?

(15/100)

(d)

The notion of cache memory and algorithms for its managemenL

(il

Give general notion of cache memory.

(ii) List

the atgumen8 to use cache memory.

(s/lm)

(10/lm)

(iii)

Give the direct mapping algorithm of cache memory managemenl

(10/100)

(iv) Assume the volume of a cache memory is

1O24K

words and direct

maDDrns rs used. There are

two

matrices

A

and

B,

each contains 2O

x}p

;i;ffi;6.-Gi"

u

no*-chart

of matrices

multiplication

algorithm.C =

A

x

B

and a scheme of main memory allocation to use cache memory

in

the most effective way to speedup a program. Two main memory pages can be usso' each page conrains 1024K

words.

(15/1m)

3. (a)

The

following

are the general classification

of

multiprocessor systems. Give the definition and examples of each system.

SISD systems.

SIMD

sy$tems.

MIMD

systems.

(10/lm)

(r)

(ii) (iii)

99

...4t-

(4)

4

_ tcsYlml]

(b) Give the definitions of the following

architectures

(main

ideas).

How

can a speedup of computation is reached?

(i)

Pipelinearchitecturemultiprocessors.

(ii)

Sharedmemorymultiprocessors.

(iii)

Distributed memory multiprocessors.

(iv) VLIW

architecture multiprocessors.

(10/100)

(c) I&ntify

potential data dependency hazard

in

ttre

following

code:

MOV

AX,U0O]

ADD AX,BX MOV CX,l

MI.JL

CX,AX

grven a five-stage pipeline:

- >ferch_instr. - >decode- >ferch-operand- >execite_instr. - > Store

(20l100)

(d)

Wha!

is

the ave-rage-instructign processing time (number of clocks, one stage

of pipelpq

is finished

for I

clock)

of

a five-stage instruction pipeline

if

conditional branch instruction occurs as

follows:

third instruction, tenth instnrction.

Pipeline must be cleared after a branch instnrction has been decoded.

(30/100)

(e)

Develop the programs realizing the

following

algorithms:

(1)

Polynoms multiplication on shared memory multiprocessor.

(ii)

Scalar product of two vectors on

VLIW multiprocessor.

(30/lm)

- ooooooo -

100

Referensi

Dokumen terkait

The dirnensions of the cross section in milimeters for the shaft and tube are as shown- If a torque of 8 kNm is apptied to both ends of the composite shaft, ftnd lij sudut piuh

a b o lcIS3ll -3- Anda scorang percka bcntuk sistcm pcngurusln maklumat yang ditugaskan untuk membangunkan satu sistom pcrakaunan yang baru bagi .sesuatu.iabatan di syarikat anda..

i Tulis satu keratan program dengan menggunakan arahan-arahan primitif output dan atribut GKS untuk memaparkan objek di atas' ii Tulis satu prosedur untuk melakar poligon bertutup

1s/100 ba8aim.ana ia boleh 20/100 20/100 e Katakan keperluan sesuatu pangkalan data universiti untuk mengendalikan transkrip pelajar adalah berikut: i Universiti itu menyimpan untuk

5 markah Nyatakan yang mana diantara yang berikut bergantung keadaan laluan: Tekanan, haba" entalpi, suhu, entropi, ketumpatan, kerja dan kelikatan.. Sfafe which of the following

Huraikan perbezaan-perbezaan di antara Sistem Maklumat dan Teknologi Maklumar 40/100 a Semua pelabur saham di Bursa Saham-Kuala Lumpur BS-KL, tidak kira sama ada mereka itu pelabur

lal IEMK 2031 -6- Lukiskan rajah imbangan haba bagi sistem enjin tersebul Draw up a heat balance for the engine system 60 markah Tunjukkan bahawa pertambahan daram nisbah tekanan

s0/t00 Dalam suatu penyelidikan yang dijatankan ke atas lalang 'Imperata Cylindrica' ukuran- ukuran panjang daun yang baru muncul dan panjang tangkai bunga bagi suatu sampel sepuluh