wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ALGORITHM & FLOWCHARTS-01

Total questions: 56

Worksheet time: 1hrs 8mins

Name
Class
Date
1.

Which Flowgorithm Shape assigns a value to the defined variable?

a)

4

b)

1

c)

3

d)

2

2.

Which flowgorithm type will be used to define the variables in the system?

a)

4

b)

1

c)

2

d)

3

3.

Which Flowgorithm Diagram shape is used for LOOP?

a)

1

b)

2

c)

4

d)

3

4.

What is the result of the Z variable when the flowgorithm in the image is run?

a)

25

b)

12

c)

37

d)

37,6

5.

In the Flowgorithm program shown in the image, which result will be displayed on the screen?

a)

55 - 55

b)

55 - 54

c)

56 - 54

d)

56 - 56

6.

Which of the following is NOT a data type used in Flowgorithms?

a)

Boolean

b)

String

c)

Real

d)

Byte

7.

Which of the options in the image is used for looping within a specific range?

a)

4

b)

3

c)

1

d)

2

8.

Which of the options in the image is used for a loop that must run at least once?

a)

1

b)

3

c)

2

d)

4

9.

Which of the options in the image is used for a loop with an unspecified number of repetitions?

a)

2

b)

1

c)

4

d)

3

10.

Which one is used for decision making in Flowgorithms?

a)

b)

c)

d)

11.

What will the result be when the flowchart in the image is run?

a)

5

b)

3

c)

1,5

d)

1

12.

What will be the result of the Result variable when the flowchart in the image runs?

a)

5

b)

3

c)

False

d)

True

13.

What will the result of the flowchart in the image be?

a)

Returns the sum of numbers entered from the keyboard.

b)

Returns the sum of odd numbers entered from the keyboard.

c)

Returns the sum of even numbers entered from the keyboard.

d)

Returns the remainder of numbers entered from the keyboard.

14.

When the flowchart shown is run, what is the result for A=5, B=4, and C=9?

a)

5 4 9 CAN FORM A TRIANGLE

b)

5 4 9 CANNOT FORM A TRIANGLE

c)

CAN FORM A TRIANGLE

d)

CANNOT FORM A TRIANGLE

15.

In the flowchart shown, what will the values ​​of r, sum, and x be at the end of the loop for X = 75?

a)

r = 5 , sum=12 , x=1

b)

r = 12 , sum=5 , x=0

c)

r = 7 , sum=12 , x=0

d)

r = 7 , sum=5 , x=1

16.

Which of the following variable names is valid for Flowgorithm?

a)

And

b)

Not

c)

Integer

d)

Data01

e)

Real

17.

Which of the following is an invalid variable name in Flowgorithm?

a)

Number

b)

Data1

c)

Boolean

d)

String01

18.

In the flowgorithm shown in the image, what will the `sum` variable and the program's output message be for y=21?

a)

Sum = 32, Message = "Not a Perfect Number"

b)

Sum = 21,

Message = "Not a Perfect Number"

c)

Sum = 21,

Message = "It is a Perfect Number"

d)

Sum = 32,

Message = "It is a Perfect Number"

19.

What result will be displayed on the screen after the operation shown in the image?

a)

62

b)

50

c)

52

d)

70

20.

The 4 data types used in Flowgorithm are

a)

Function, String, Integer, Boolean

b)

Integer, Boolean, Real, String

c)

Boolean, String, Real, Decimal

d)

String, Integer, Array ,Real

21.

What does the assignment statement `x = 5` do in Flowgorithm?

a)

Compares x to 5

b)

Declares x

c)

Assigns the value 5 to x

d)

Multiplies x by 5

22.

Which data type would store the value `1.54` in Flowgorithm?

a)

Integer

b)

Boolean

c)

String

d)

Real number (double)

23.

What is the output of this program ?

a)

Sorry you fail

b)

you have succeeded

c)

no output

d)

error

24.

What is the type of this loop ?

a)

no loop

b)

for loop

c)

while loop

d)

do while loop

25.

what is the error in this program ?

a)

Wrong variable type

b)

Wrong order of steps

c)

no error

d)

wrong output

26.

What is a variable in Flowgorithm?

a)

A fixed number in memory

b)

A named location used to store data

c)

A flowchart shape

d)

A mathematical operation

27.

What is the purpose of the flowchart shown in the image?

a)

To calculate the age of a user

b)

To determine if someone is old enough to drive

c)

To teach users how to drive

d)

To display different types of vehicles

28.

Which of the following is NOT a main category of operators?

a)

Arithmetic

b)

Relational

c)

Logic

d)

Assignment

29.

Which logic operator produces a TRUE result when one of the inputs is true?

a)

A) AND

b)

B) OR

c)

C) NOT

d)

D) XOR

30.

How many times will this loop run?

a)

1000

b)

999

c)

1001

d)

50

31.

______________________ is a pictorial representation of steps.

a)

Algorithm

b)

Flowchart

c)

Connectors

d)

Flowlines

32.
What will be displayed as output?
a)
10
b)
20
c)
30
d)
40
33.

This flowchart works out and outputs ...

a)

The area and perimeter of a triangle

b)

The area and perimeter of a square

c)

The area and perimeter of a circle

d)

The area and perimeter of the Burj Khalifah

34.

Select the missing instruction in this flowchart:

a)

Input A,C

b)

Output A,C

c)

Print A,C

d)

Input R

35.

How many variables have been used in the flowchart?

a)

2

b)

3

c)

4

d)

5

36.

What is the output when the user enter 101 as the input?

a)

invalid input

b)

Excellent

c)

Pass

d)

Fail

37.

What is the output of the flowchart?

a)

8

b)

12

c)

16

d)

24

38.

What result will be displayed on the screen after the operation shown in the image?

a)

62

b)

50

c)

52

d)

70

39.

How would you write a cell reference formula for cell A1 subtracted by Cell C3?

a)

A1-C3

b)

A1-C3=

c)

=A1-C3

d)

=C3-A1

40.

The function COUNTA is specific for _________________

a)

Counting text

b)

Counting cells

c)

Counting number

d)

Counting tables

41.

What is the result of this statement: IF(5>4 AND 4>5, 1, 2)?

a)

TRUE

b)

2

c)

1

d)

FALSE

42.

Use CONCATENATE to combine the text strings in cells A1, B2, and C3.

a)

CONCATENATE(A1:B2:C3)

b)

CONCATENATE(ALL)

c)

CONCATENATE(A1,B2,C3)

d)

CONCATENATE(A1B2C3)

43.

=RIGHT("COMFORTABLE",5)

a)

TABLE

b)

COMFO

44.

What does the function TRIM do in Excel?

a)

Removes leading and trailing spaces from a text string

b)

Converts text to uppercase

c)

Counts the number of characters in a text string

d)

None of the above

45.

Which text function is used to convert a string of text so all characters are all initially capitalized?

a)

LEFT

b)

PROPER

c)

RIGHT

d)

LOWER

e)

UPPER

46.

Formula =A3+B4 is copied from C1 to D1. The changed formula in D1 is

a)

=A4+B5

b)

=A3+B4

c)

=B4+B5

d)

=B3+C4

47.

Which of the following can I type in a cell to find the answer to 9+7?

a)

9+7

b)

=9+7

c)

=SUM(9+7)

d)

=SUM(9, 7)

48.

Which of the following can I type in a cell to find the average of these 3 numbers?

a)

=AVERAGE(A1, A2, A3)

b)

=AVERAGE(A1:A3)

c)

=(3+5+7)/3

49.

Which function is used to count the number of cells within a range that meet a specific condition?

a)

COUNTIF

b)

SUMIF

c)

AVERAGEIF

d)

IF

50.

How do you extract a specific number of characters from the beginning of a string?

a)

RIGHT(text, number_of_characters)

b)

LEFT(text, number_of_characters)

c)

BEGIN(text, number_of_characters)

51.

In a spreadsheet table, the formula " =IF(A1>10, B1, IF(A1>5, C1, D1)) " will output the content of C1 if A1 equals

a)

11.

b)

4.

c)

6.

d)

5.

52.

In a spreadsheet table, the function "=COUNTIF(A1:A5, ">=50")" will output 2 if the content of A1 to A5 are

a)

50,49,48,47,46

b)

51,50,49,48,47

c)

52,51,50,49,48

d)

53,52,51,50,49

53.
  1. Which formula would you use to display "Pass" in the corresponding cell if the value in cell B2 is greater than or equal to 60?

a)

=IF(B2<60, "Pass", "Fail")

b)

=IF(A3>=60, "Pass", "Fail")

c)

=IF(A2>=60, "Pass", "Fail")

d)

=IF(B1>=60, "Pass", "Fail")

54.
  1. Which formula would you use to count the number of cells in column B that are greater than 20?

a)

=COUNTIF(B2:B3, ">20")

b)

=COUNTIF(B1:B3, ">20")

c)

=COUNTIF(B1:B3, "<20")

d)

=COUNTIF(A1:A3, ">20")

55.
  1. Which formula would you use to display "High" in the corresponding cell if the value in cell A1 is greater than 80, "Medium" if it is between 60 and 80 (inclusive), and "Low" otherwise?

a)

=IF(A3>80, "High", IF(A2>=60, "Medium", "Low"))

b)

=IF(A1>80, "High", IF(A2>=60, "Medium", "Low"))

c)

=IF(A1>80, "High", IF(A1>=60, "Medium", "Low"))

d)

=IF(A2>80, "High", IF(A3>60, "Medium", "Low"))

56.
  1. Which formula would you use to display "Yes" in the corresponding cell if both the values in cell A1 and B1 are greater than 5?

a)

=IF(A3>5 OR B3>5, "Yes", "No")

b)

=IF(A1>5 OR B1>5, "Yes", "No")

c)

=IF(A2>5 AND B2>5, "Yes", "No")

d)

=IF(A1>5 AND B1>5, "Yes", "No")