1) What is an algorithm? a) Pseudocode and flowchart b) If… then… elseif … statement c) If… then… statement and case statement d) A set of logical steps to be followed to perform a particular task. 2) What are the two methods to represent an algorithm? a) If… then… elseif … statement b) Loop statements c) Pseudocode and flowchart d) PRINT statement 3) What statement is used for data entry? a) Loop statements b) INPUT statement c) If… then… statement and case statement d) PRINT statement 4) What statement is used for display a variable? a) PRINT statement b) Repeated execution of a set of lines is called iteration. c) INPUT statement d) != or <> 5) What are the two types of conditional statements? a) If… then… statement and case statement b) INPUT statement c) For... to… next, repeat... until and while… do... d) PRINT statement 6) What conditional statement is used for more than two conditions? a) Loop statements b) An algorithm is a set of logical steps to be followed to perform a particular task. c) If… then… elseif … statement d) Pseudocode and flowchart 7) What is iteration? a) Repeated execution of a set of lines. b) If… then… elseif … statement c) INPUT statement d) Pseudocode and flowchart 8) What type of programming statements are used for iteration? a) Pseudocode and flowchart b) Loop statements c) INPUT statement d) An algorithm is a set of logical steps to be followed to perform a particular task. 9) What are the types of loop statements? a) != or <> b) For... to… next, repeat... until and while… do... c) Pseudocode and flowchart d) INPUT statement 10) What operator is used for ‘not equal to’ comparisons? a) If… then… elseif … statement b) != or <> c) For... to… next, repeat... until and while… do... d) PRINT statement

Algorithm in pseudocode

Leaderboard

Visual style

Options

Switch template

Continue editing: ?