Está en la página 1de 7

COMPUTER SECTIONt

Revision for Computer


Third year preparaory
First term
Chapter [1]

Prepared by: computer department

Question ( 1 ): Put ( ) or ( ):
1. The compiler translates the entire program into machine language before
executing any order.
(
)
2. One of the advantages of Flowcharts is efficient program maintenance. (
)
3. The normal direction of the flow chart is from bottom to top.
(
)
4. The Rhombus symbol is used to Decision in the Flow chart.
(
)
5. The programming languages are written in English with different syntax from one
language to another.
(
)
6. This symbol
is used in flowchart for input/output.
(
)
7. The first step of problem solving is Establish relationships between variables.
(
)
8. Flow charts have no disadvantages.
(
)
9. Computer uses machine language (0, 1) in its operation.
(
)
Question ( 2 ): Complete the following sentences:
1. is a sequence of short orders to solve the problem.
2. The . symbol is used to start and terminate the flow chart.
3. To compare two numbers we use the symbol.
4. The . symbol is used for Input/Output.
Question ( 3 ): Choose the correct answer between brackets:
1. In Flowchart should come out from a process symbol.
(only one flow line two flow line three flow line)
2. . can convert the program into the machine language before any
attempt to execute it. (Interpreter Compiler Pseudo code)
3. The shape ...................... is used to input / output.
(

4. A computer understands one language only which is (English


machine language Arabic)
5. The false code that is not written in a programming language is called ..
(COPOL V.BASIC PSEUDOCODE)
6. The normal direction of flow charts is from . (down to up
circular top to bottom)
Question ( 4 ): Give the scientific term for the following sentences:
1. Diagrammatic representation that illustrates graphically the sequence of

operations to be performed to get the solution of a problem.


[.]
2. It translates the entire program into machine language before any attempt to
execute it. [.]

3. A method that illustrates the steps of solving a problem using short commands in
a language looks like programming language. [.]
Question ( 5 ): Write the function of each of the following shapes:
1. ................................................
2. ................................................
3. ................................................
4. ................................................
5. ................................................
Question ( 6 ): Complete the missing parts using the following answers:
[Flow charts Data Compiler Interpreter

]
1. ............................. Translates the entire program into machine language before
executing any order.
2. ............................. Is diagrammatic representation that illustrates the sequence of
the solution of a problem?
3. The terminal symbol in the flow charts is.............................
4. The input / output symbol in the flow charts is.............................
Question ( 7 ): Flow Chart:
( A ) Compete the following flowchart To find the largest of three numbers A , B
and C:
Start

.......................
Yes

No
Print C

No

Is B >
C

Print A
End

Yes

Yes

No
...........

( B ) Complete the corresponding flowchart to represent the process of reading two


numbers, collecting them and then displaying the result:........................

Read number 1
Read...................
........................
+
Result =
2 rebmuN
............. The Result

........................
(C ) Compete the following Flowchart To print the Smallest of two Numbers A , B:
tratS
-1
.

0 = muS
oN

0 =N .
seY

B tnirP

-2

..
-3
.

oN

...
sI

001 = N
( D ): Complete the following flowchart to calculate the sum of the first 100 natural
seY
integers:
-4

-5

( E ) Complete the following flowchart to read the temprature in Fahrenheit and


convert it into Celsius using the formula:
F = (9/5)(C + 32)

Start
.

.
F = .

.
End

Answers
Question ( 1 ): Put ( ) or ( ):
3. ( x
1. (
5. (
)
)
)
4. (
2. (
6. (
)
)
)
Question ( 2 ): Complete:
1. Pseudo code
3.
2.
Question ( 3 ): Choose:
1. only one flow
line
2. Compiler
3.

7. ( x
)
8. ( x
)

9. (
)

4.
4. machine
language.
5. Pseudo code
6. top to bottom.

Question ( 4 ): Give the scientific term:


1. Flow chart
3. Pseudo code
2. Compiler.
Question ( 5 ): Write the function:
1. Input/Output
3. Process
5. Flow line
2. Terminal
4. Decision
Question (6): Complete the missing parts:
1. Compiler

3.

2. Flow charts

4.

Question ( 7 ): Compete the flowchart:


( A ):
1. Read a, B, and
2. C > A
C
3. B > A Print B
( B ):
1. Start
3. Number 1
2. Number 2
4. Print
( C ):
1. Read A,
2. Is B >
3. Print A
B
A
4. End
( D ):
1. Start
3. Sum = sum +
2. N = N + 1
N
( E ):

5. End

4. Output Sum
5. End

1. Read C

2. F = (9 / 5)(C
+ 32)

3. Print F

También podría gustarte