第1頁共3頁

計算機概論

課堂作業一

系級: 座號: 姓名:

一、是非題(每題2分)

( )1.A computer is specific-purpose machine.

( )2. A programis a set of instructionsthat tells the computer what to do with data.

( )3. The output data of a computer depend on the combination of two factors: the input data and the program.

( )4. Memory, arithmetic logic unit,control unit, and program are the four subsystems of the von Neumann model.

( )5.A program is made of a finite number of instructions andthese instructions are executed sequentially.

( )6.A step-by-step solution to a program is called an algorithm.

( )7.A bit pattern is the smallest unit of data that can be stored in a computer.

( )8.Hardware engineering is the design and writing of a program in structured form.

( )9.The term “multimedia” is used to define information that contains numbers, text, images, audio, and video.

( )10.Computers use various two-stage devices to store data. For example, an electronic switch can represent a bit.

( )11.To represent color images, each color pixel is decomposed into three primary colors: red, blue, and yellow.

( )12.In the bitmap graphic method of representing an image in a computer, then image is decomposed into a combination of curves and lines.

( )13.A byte is 8 bits.

( )14.Audio data are a set of sequential images.

( )15.Audio data are transformed to bit patterns through sampling, quantization, and decoding.

二、選擇題 (每題3分)

( )1. In the von Neumann model, the subsystem serves as a manager of the other subsystems.

(A) ALU(B) input/output(C) memory(D) control unit

( )2. In the von Neumann model, the subsystem performs calculations and logical operations.

(A) ALU(B) input/output(C) memory(D) control unit

( )3. According to the von Neumann model, stored in memory.

(A) only data are(B) only programs are

(C) data and programs are(D) none of the above

( )4. FORTRAN and COBOL are examples of .

(A) computer language(B) hardware

(C) operating systems(D) algorithm

( )5. The bitmap graphic method and the vector graphic method are used to represent in a computer.

(A) audio(B) video(C) image(D) numbers

( )6. In a set with 128 symbols, each symbol requires a bit pattern length of

bits.

(A) 128(B) 5(C) 6(D) 7

( )7. If the ASCII code for E is 1000101, then the ASCII code for e is

.

(A) 1100101(B) 1000110(C) 1000111(D) 0000110

( )8. How many symbols can be represented by a bit pattern with 8 bits?

(A) 8(B) 256(C) 3(D) 512

三、計算題:

  1. (9%) Change the following bit patterns to hexadecimal notation:.

(a) 100011110000

(b) 10000011010

(c) 100011

Ans:

系級: 座號: 姓名:

  1. (6%) Change the following bit patterns to octal notation:.

(a) 100011110000

(b) 10000011010

Ans:

  1. (12%) Change the following to bit patterns.

(a) x120

(b) xB1FC

(c) o120

(d) o45

Ans:

  1. (3%) A machine has seven different cycles. How many bits are needed to represent each cycle?.

Ans:

  1. (3%) If you use a 4-bit pattern to represent the digits 0 to 9, how many bit patterns are wasted?

Ans:

  1. (3%) A gray scale picture is digitized using four different gray levels. If the picture is composed of 100X100pixels, how many bits are needed to represent the picture?

Ans:

1