wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MakScie-MidtermExam-CC101

Total questions: 80

Worksheet time: 2hrs 0mins

Name
Class
Date
1.

a graphical representation of a computer program in relation to its sequence of functions

a)
computer
b)

flowchart

c)
sequence
d)
representation
2.

What is this symbol Mean?

a)

Input/Output

b)

Connector

c)

Decision

d)

Process

3.

What is this symbol Mean?

a)

Input/Output

b)

Decision

c)

Parallelogram

d)

Process

4.

What this symbol mean?

a)

Diamond

b)

Decision

c)

True or False

d)

Input/output

5.

it as an exact list of instructions that conduct specified actions step by step in either hardware- or software-based routines.

a)

Step by step

b)

Pseudocode

c)

Algorithm

d)

Flowchart

6.

is a method of expressing an algorithm design.

Mostly it is an informal way of programming description.

a)

Step by step

b)

Pseudocode

c)

Algorithm

d)

Flowchart

7.

What is the symbol shows?

a)

Connector

b)

Start/End

c)

Arrows

d)

Restart

8.

What is the symbol shows?

a)

Connector

b)

Start/End

c)

Arrows

d)

Restart

9.

What is the symbol shows?

a)

Connector

b)

Start/End

c)

Arrows

d)

Restart

10.

What is the picture shows?

a)

Flowchart

b)

Algorithm

c)

Code

d)

Pseudocode

11.
What type of flowchart is shown here?
a)
selection
b)
iteration / loop
c)
sequence
12.
What type of flowchart is shown here?
a)
selection
b)
iteration / loop
c)
sequence
13.

What errors are shown on this flowchart?

a)

Incorrect exit from 'Is employee exempt' decision

b)

No end terminator

c)

No direction arrows

d)

Cannot have multiple entry points to an 'End' terminator

e)

Incorrect decision shape

14.

What error is is shown on this flowchart?

a)

Incorrect exit from 'Is employee exempt' decision

b)

No end terminator

c)

No direction arrows

d)

Cannot have multiple entry points to an 'End' terminator

e)

Incorrect decision shape

15.

What error is is shown on this flowchart?

a)

Incorrect exit from 'Is employee exempt' decision

b)

No end terminator

c)

No direction arrows

d)

Cannot have multiple entry points to an 'End' terminator

e)

Incorrect decision shape

16.

What error is is shown on this flowchart?

a)

Incorrect exit from 'Is employee exempt' decision

b)

No end terminator

c)

No direction arrows

d)

Cannot have multiple entry points to an 'End' terminator

e)

Incorrect terminator shape

17.

What error is is shown on this flowchart?

a)

Incorrect exit from 'Is employee exempt' decision

b)

No end terminator

c)

No direction arrows

d)

Cannot have multiple entry points to an 'End' terminator

e)

Incorrect decision shape

18.

How should pseudocode be written?

a)

Abstract and generalized

b)

Including syntax errors

c)

With complex naming conventions

d)

Simple and concise

19.

What is a programming algorithm?

a)

Set of rules to be followed by a computer program.

b)

A sequence of code for a specific task

c)

An error in coding

d)

A type of computer virus

20.

Which part of the program is responsible for performing the actual subtraction operation to find the difference of the numbers?

a)

Variables declaration

b)

Input statements

c)

Output display

d)

Calculation process

21.

What is flowchart?

a)

An encryption method

b)

A debugging tool

c)

A graphical representation of an algorithm

d)

A detailed program output

22.

What is pseudocode?

a)

A formal programming language

b)

A detailed yet readable description of what a computer program or algorithm should do.

c)

A machine language

d)

Code written in a specific programming language

23.

Scenario: There is an algorithm in preparing rice. What is the first step in the given choices?

a)

Cook the rice

b)

Measure the rice

c)

Rinse the rise

d)

Serve the rice

24.

The following image shows a simple arithmetical algorithm. What is the missing item here?

a)

123

b)

132

c)

213

d)

312

25.

“Zayd has 32 packs of stickers. Each pack has 467 stickers. He wants to know how many stickers there are in all.” What do you think is the best algorithm to use in this situation?

a)

Addition

b)

Subtraction

c)

Multiplication

d)

Division

26.

“Zayd has 32 packs of stickers. Each pack has 467 stickers. He wants to know how many packs he can give with an equal amount of stickers.” What do you think is the best algorithm to use in this situation?

a)

Addition

b)

Subtraction

c)

Multiplication

d)

Division

27.

Given this expression

X = Y * C - 13

What flowchart symbol should be used?

a)

Display

b)

Input/Output

c)

Manual Input

d)

Process

28.

Using the Manual Input symbol,

you must write the word "input" to emphasize

that you are asking a user for an input.

a)

TRUE

b)

FALSE

29.

The (a)   symbol is used to contain a condition

that results in the branching of paths.

(Use the flowchart symbol name, not the shape)

30.

The (a)   symbol is used to indicate where

the information will be printed in a process flow.

(Use the flowchart symbol name, not the shape)

31.

Which process statement directs a command to compare the value of variables X and Y if they are equal?

a)

X = Y

b)

X > Y

c)

X < Y

d)

X == Y

32.

Challenge Question

What flowchart symbol is used for the statement below?

Z == X + Y - W / 13

a)

Process

b)

Decision

c)

Input

d)

Assignment

33.
What is the Output if the user enters:
Yes
a)
Leave umbrella at home
b)
Take an umbrella
34.
What is the Output if the temperature is:
19
a)
Below Freezing
b)
Above Freezing
35.
What is the Output if the temperature is:
19
a)
Below Freezing
b)
Above Freezing
36.
What is the Output if the temperature is:
19
a)
Below Freezing
b)
Above Freezing
37.

What is the value of i after this loop runs?

a)

i = 20

b)

i = 19

c)

i = 10

d)

i = 0

38.

What does the code output?

a)

hi

bye

b)

hi

bye

hi

bye

hi

bye

c)

hi

hi

hi

bye

39.

What does the code output?

a)

hi

b)

It won't output anything

c)

It will output an error!

d)

It will output "hi" infinitely

40.

What does the code output?

a)

0

1

2

3

b)

1

2

3

c)

0

1

2

41.

What does this program output?

a)

x is 0

b)

x is 1

c)

x is 3

d)

x is 4

42.

The value of radix in binary number system is ________.

a)

2

b)

8

c)

10

d)

1

43.

Which of the following is NOT a positional number system?

a)

Roman Number System

b)

Octal Number System

c)

Binary Number System

d)

Hexadecimal Number System

44.

The binary equivalent of the decimal number 10 is _______.

a)

0010

b)

10

c)

1010

d)

010

45.

Convert the binary equivalent 10101 to its decimal equivalent.

a)

21

b)

12

c)

22

d)

31

46.

Which of the following is NOT a binary number?

a)

1111

b)

101

c)

11E

d)

000

47.

Which of the following is NOT a hexadecimal number

a)

1A

b)

1D

c)

1E

d)

1G

48.

What is the binary equivalent of octal 10?

a)

1000

b)

1001

c)

1100

d)

1010

49.

What is the binary equivalent of decimal 15?

a)

1010

b)

1101

c)

1110

d)

1111

50.

What is the binary equivalent of hexadecimal A5?

a)

10101101

b)

10100101

c)

11010011

d)

10101010

51.

What is the decimal equivalent of binary 110?

a)

8

b)

7

c)

6

d)

9

52.

What is the decimal equivalent of octal 20?

a)

16

b)

18

c)

22

d)

20

53.

What is the decimal equivalent of hexadecimal 14?

a)

18

b)

22

c)

20

d)

24

54.

What is the octal equivalent of binary 1101?

a)

13

b)

14

c)

15

d)

16

55.

What is the octal equivalent of decimal 30?

a)

36

b)

38

c)

37

d)

35

56.

What is the octal equivalent of hexadecimal 14?

a)

13

b)

14

c)

15

d)

16

57.

What is the hexadecimal equivalent of binary 1110?

a)

E

b)

F

c)

D

d)

B

58.

What is the hexadecimal equivalent of decimal 18?

a)

10

b)

11

c)

12

d)

13

59.

What is the hexadecimal equivalent of octal 15?

a)

B

b)

C

c)

D

d)

E

60.

What is the decimal equivalent of octal 31?

a)

25

b)

26

c)

27

d)

28

61.

What is the octal equivalent of binary 1110?

a)

14

b)

16

c)

15

d)

13

62.

What is the hexadecimal equivalent of octal 16?

a)

F

b)

E

c)

D

d)

C

63.

What is the hexadecimal equivalent of decimal 22?

a)

13

b)

14

c)

15

d)

16

64.

What is the binary equivalent of hexadecimal A6?

a)

1010 0101

b)

1010 1100

c)

1010 1010

d)

1010 0110

65.

What is the binary equivalent of decimal 14?

a)

1110

b)

1010

c)

1101

d)

1011

66.

What is the octal equivalent of binary 1101?

a)

13

b)

14

c)

15

d)

16

67.

Any number system that has a base number of 16.

a)

Binary Number System

b)

Decimal Number System

c)

Octal Number System

d)

Hexadecimal Number System

68.

In the Octal number system conversion, how do you convert the octal numbers to its binary equivalent?

a)

by multiplying the octal numbers by 8

b)

by substituting each octal number to its four bit binary equivalent

c)

by multiplying the octal numbers by 2

d)

by substituting each octal number to its three bit binary equivalent

69.

In the hexadecimal number system conversion, how do you convert the hexadecimal numbers to its binary equivalent?

a)

by substituting each hexadecimal number to its two bit binary equivalent

b)

by substituting each hexadecimal number to its three bit binary equivalent

c)

by substituting each hexadecimal number to its four bit binary equivalent

d)

by substituting each hexadecimal number to its five bit binary equivalent

70.

What is the main function of binary code?

a)

Turning on switches to off

b)

Allowing computers to represent and store data

c)

Providing a gateway into higher mathematics

d)

Allowing computers to interact with humans

71.

How is our number system different from the binary system?

a)

Our number system is base 5; the binary system is base 3

b)

Our number system is base 10; the binary system is base 2

c)

Our number system is base 10; the binary system is base 1

d)

Our number system is base 100; the binary system is base 2

72.

What do you mean by the base in number system?

a)

Exponent or Powers

b)

Place Value

c)

Greatest Number

d)

Total number of digits used in a number system.

73.
What is the definition of an integer
a)
All positive and negative whole numbers
b)
Decimals or fractions that terminate for repeat
c)
All positive whole numbers
d)
0
74.

What is -80 using 8-bit two's complement representation?

a)

1011 0000

b)

1011 0001

c)

1111 0000

d)

0101 0000

75.

What is -15 using 8-bit two's complement representation?

a)

1000 0000

b)

0000 1111

c)

1000 1111

d)

1111 0001

76.

in Binary Addition Rules - What does 1 + 1 + 1 equal?

a)

3

b)

0 carry the 1

c)

1 carry two 1s

d)

1 carry the 1

77.

in Binary Addition Rules - What does 1 + 1 equal?

a)

0 carry the 1

b)

2

c)

1 carry the 1

d)

0

78.

in Binary Addition Rules - What does 0 + 0 equal?

a)

0

b)

0 carry the 1

c)

1

d)

2

79.

in Binary Addition Rules - What does 1 + 0 equal?

a)

1

b)

0

c)

0 carry the 1

d)

1 carry the 1

80.
How many bits would you need to store this number: 1010101
a)
7
b)
14
c)
1
d)
2