Q1: Choose The Correct Answer
Q1: Choose The Correct Answer
Q1: Choose The Correct Answer
2) The bus which is used to transfer data from main memory to peripheral device is
called _____________.
a) DMA bus
b) Output bus
c) Data bus
d)a, b & c
4) The bus which is used to transfer data from main memory to peripheral device
is_____________.
a) Data bus
b) DMA bus
c) Input bus
d) Output bus
1
Q2: Define cache and explain its main usage purpose and advantages.
2
Q3:Choose the correct answer:
2. ---------level describe what data are stored in database, and -------- level describe
only part of the entire database.
a) Physical, view
b) Logical, view
c) View, logical
d) View, physical
4. ---------- database systems improve processing and I/O speed by using multiple
CPUs and Disks.
a) Centralized
b) Client-Server
c) Parallel
d) Distribute
3
Q4. A# Explain the database security.
Q4. B# Explain the advantage of DBMS.
4
Q5: Choose the correct answer:
1.The operating system is designedmostly for ease of use, with some attention paid to
performance and nonepaid to ------.
a.resource utilization
b. the cost
c.speed
d. accuracy
2. The operating system is the one program runningat all times on the computer
(usually called the --------).
a. kernel.
b. boss.
c. collaborative system.
d. center.
3. That clusteredcomputers share storage and are closely linked via a ----.
a. WAN
b. LAN
c. MAN
d. all of the above
6. ------ include personal digital assistants (PDAs), such as Palmand Pocket-PCs, and
cellular telephones.
a. hand land systems
b. transparency systems
c.handheld systems
d. data accuracy systems.
7. On systems with multiple command interpretersto choose from, the interpreters are
known as -------.
a. bottle neck
b. cut off
c. interpreter
d.shells
5
Q6: Draw the multistep processing of a user program.
6
Q7: Choose the correct answer:
1- The phrase __________ describes viruses, worms, Trojan horse attack applets, and attack
scripts.
A) Malware
B) Spam
C) Phish
D) Virus
7
7- The DES function has _______ components.
A) 2
B) 3
C) 4
D) 5
8- _______ DES was designed to increase the size of the DES key
A) Double
B) Triple
C) Quadruple
D) None of the above
8
Q9: Choose the correct answer:
2. The time factor when determining the efficiency of algorithm is measured by?
a. Counting microsecond's
b. Counting the number of key operations
c. Counting the number of statements
d.Counting the kilobytes of algorithm
3. The space factor when determining the efficiency of algorithm is measured by?
a. Counting the maximum memory needed by the algorithm
b. Counting the minimum memory needed by the algorithm
c. Counting the average memory needed by the algorithm
d. Counting the maximum disk space needed by the algorithm
9
Q10: Answer the following questions in details?
a. Which sorting algorithm is considered the fastest?
b. Briefly explain recursive algorithm?
10
Q11: Choose the correct answer:
1. An intermediate code form is
A. Postfix notation
B. Syntax trees
C. Three address code
D. All of these
2. Which of the following actions an operator precedence parser may take to recover
from an error ?
A. Insert symbols onto the stack
B. Delete symbols from the stack
C. Insert or delete symbols from the input
D. All of the above
6. A garbage is
A. Unallocated storage
B. Allocated storage with all access paths to it destroyed
C. Allocated storage
D. Uninitialized storage
11
7. A bottom up parser generates
A. Right most derivation
B. Right most derivation in reverse
C. Left most derivation
D. Left most derivation in reverse
Q12: Explain and draw the main phases of compiler designing process.
12
Q13: Choose the correct answer:
1-
(a) e -3lnx =3x, (b) e -3lnx = 13 , (c) e -3lnx = 31x .
x
6- If [ f (s) 1
], the inverse of Laplace transformation [f (t) = L1{ 13 } ] is……
s3 s
t2
a) t4, b) 6t 3 , c)
2
7- If [W = f(x, y, z)]. Then the total differential of this function is defined as:
(a) dw = fx w
x
+ f w
y y
+ fz w
z
, (b) dw =w fx + w fy +w fz ,
(c) dw = fx dx + f
y
dy + fz dz.
8- 1
dx is …………. ………
9 x2
31
Q15: Choose the correct answer :
1- What is state space?
(a) The whole problem
(b) Your definition to a problem
(c) Problem you design
(d) Representing your problem with variable and parameter
5- Which AI system will continue to analyze a problem until it finds the best solution?
(a) Genetic algorithm
(b) Neural network
(c) Intelligent agent
(d) Expert system
7- Which of the following search algorithm combines the advantages of both depth‐first
and breadth‐first search into a single method?
(a) Hill climbing
(b) A* algorithm
(c) Greedy search
(d) Best-First Search
14
Q16: Draw Semantic Net for the following text:
Tom is a cat. Tom caught a bird. Tom is owned by John. The cat sat on the mat. A cat is a
mammal. A bird is an animal. All mammals are animals.
15