Download Quiz #6 Summer01

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
2001 Summer CS147
Prof. Sin-Min Lee
Section 1.
Quiz 6
Name:_____________
Grade:________/10
1.(a) What is mean by ROM ? RAM?
(b) What are the main differences between ROM and RAM?
Answer:
(a) ROM means Read Only Memory and RAM means Random Access Memory.
(b)




RAM is lost when the computer is switched off
ROM retains its memory even after the computer is switched off
RAM is a temporary storage area used whilst the computer is switched on
ROM is read only and therefore cannot be changed by the program or user
2. True or False. Circle the correct answer.
(a) (T F)Hard disks have storage capacities thousands of times larger than floppy disks.
Data can be transferred to and from a hard disk much more quickly than from a floppy
disk.
(b) (T F) CD-ROM (Compact Disk Read Only Memory) disks are optical disks that use the
same technology as musical compact disks. They store up to 650 Mb of data and a laser
beam is used to read the data off the disk.
(c) (T F) BIOS stored in RAM
(d) (T F) Information stored in RAM is available only while the computer is
running
(e) (T F) RAM is "secondary storage".
3.Briefly describe what is meant by the fetch-decode-execute cycle. Be sure to mention
what happens at each step of the cycle.
Answer: The fetch-decode-execute cycle is the process that is repeated for each
microprocessor instruction when it is executed or run on the CPU.
The fetch step is the process of retrieving from memory the binary words that
encode the instruction. The first word contains the opcode, which specifies the
type of the instruction.
In the decode step, the CPU determines the type of the instruction. Additional
information related to the operands may need to be fetched and loaded into
registers in the CPU.
The execute step involves performing the required operations inside the CPU
causing the contents of registers and/or memory locations to be updated.
4. A 4-bit shift register initially contains 1101. It is shifted six times to the right with the
serial input being 101101. What is the contents of the register after each shift.
Answer:
5. Multiple choice
(1)
Data that is stored temporarily during processing is stored in which of these?
A. secondary
storage
B. primary storage
C. tertiary storage D. on the hard disk
B
(2)
A portion of primary memory where vital operating instructions are stored.
A. ROM
B. RAM
C. byte
D. word
A
(3)
This computer component does comparisons and arithmetic.
A. ALU
B. ROM
C. RAM
D. CPU
A
(4)
The simplest unit of data stored in the computer's memory.
A. byte
B. data
C. bit
C
D. word
(5)
Another name for primary storage is
A. ROM
B. RAM
C. closet
D. rationally accessible memory.
B