CS1020 Introduction to Computers
Section 1
Midterm 2
Date: Monday Feb 23, 2004

Student Name:
Last 4 digit of student ID:

Multiple choice

1. A central processing unit (CPU) is a
a. hardware
b. software
c. an I/O device

Short Questions

1. In Google, we have the OR operator. Do we have the AND operator? If yes, shown and example. Otherwise, explain why.

2. Formulate the search text if you want to search for web pages containing both potassium and sulphate and you also want to include the synonyms of sulphate in the search.

3. If I want to search for web pages containing the phrases

monolithic kernel

and

microkernel

but without the phrases

batch system

and

real-time systems

Also, the web pages must be on the domain citeseer.nj.nec.com . Formulate the search text.

4. What is the definition of multimedia?

5. What are the two major areas of multimedia?

6. What is the definition of Computer Graphics?

7. A certain animal can recognize up to 4000 colors. How many bits do we need to represent all colors this animal can recognize? Illustrate your steps.

8. In a particular RGB color model, y bits are used to store the amount of each primary color. What is the total number of colors in this model? Express the answer in terms of y.

9. The resolution of a monitor is m*n pixel. The color depth is b bits. Calculate the amount of video memory required. Illustrate your steps and express your answer in the unit MB.

10. If the sampling rate of an audio recording device is m kHz.

Given that sampling rate = # of samples taken / time.

i) How many samples does it take in t seconds?

ii) To take n samples, how many seconds does it take?

11. Given that

Size of an audio file (bit) = sampling rate (Hz) * bit depth * recording duration (sec)

If the sampling rate is m Hz, bit depth is b bits and the recording duration is t seconds, calculate the size of the audio file in the unit of MB? Illustrate your steps.

12. What's the definition of multiprogramming?

13. What are the two most basic form of identity in UNIX?

14. The permission setting of file is -r-x--xrwx. Is it a read only file for

the owning group?

the owning user?

others?

Please state the reasons.

15. Formulate the permission setting for the followings cases. If the right on a particular access is not specified, assume that access is forbidden.

a. a file which is readable to the owning user, writable to the owning group and executable to others.

b. a file which is readable and writable to the owning user, executable to the owning group

c. a directory that can be read, written by anyone

d. a symbolic link that is readable, writable and executable by anyone