Computer Science Class 10 MCQs With 3 Tests 10th Class Computer Science Chapter 3 Control Structure MCQs TEST 1: 0 Computer Science Chapter 3 – Control Structure Test 1 1 / 20 How many types of control statements? 2 3 4 5 2 / 20 Which of the following control structure is used for making decision? Sequence Selection Loop None 3 / 20 Which of the following is used to control the flow of execution of a program? Control structure Program Module All 4 / 20 Control structures?Loop Loop Selection Sequence All 5 / 20 By using GOTO statement and loops, we can make the computer to perform tasks? Repeatedly Quickly Efficiently All 6 / 20 Which loops makes by WHILE…..WEND? Conditional loop Controlled Counter Loop None 7 / 20 When we are not sure about the number of iteration we use? GOTO IF…. THEN IF… THEN. ELSE WHILE…WEND 8 / 20 Which is the BASIC command to make decision? READ GOTO IF Loop In 9 / 20 BASIC the loop FOR I = 2 to 20 step 4 will be executed for? 6 times 4 times 5 times It is unending loop 10 / 20 Which of the following is unconditional control transfer statement? FOR GOTO IF WHILE 11 / 20 Which one is a multiple branching statement? IF….. ELSE GOTO ON….. GOTO ON ERROR GOTO 12 / 20 Loop inside loop is called? FOR… NEXT Loop WHILE..WEND Loop Nested Loop Loop 13 / 20 Go to loop break through the key? CTRL +C CTRL + P CTRL + B CTRL + V 14 / 20 If nested loops have the same end point? A single NEXT statement for all loops No NEXT statement is needed All loops must have their own next statement Nested loop does not use 15 / 20 IF….. THEN are which kind of commands in BASIC? Arithmetic Decision Input Process 16 / 20 Which of the following BASIC statement is used to transfer the control to the specified line number of program if any error occurs during the execution of program? ON….. GOTO ON ERROR GOTO GOTO None 17 / 20 Which among the following is not a logical operator? AND OR NEITHER NOT 18 / 20 Types of transfer program are? 2 4 6 8 19 / 20 Statement is uses to transfer the control of program without any condition is called? GOTO IF….THEN FOR…NEXT WHILE.WEND 20 / 20 In Which of the following control structure instructions are executed according to the increasing order of their line numbers? Loop Selection Sequence All Your score is The average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz 10th Class Computer Science Chapter 3 Control Structure MCQs TEST 2: 0 Computer Science Chapter 3 – Control Structure Test 2 1 / 15 The value after the STEP parameter in the FOR….NEXT statement may be? Positive Negative Both a or b None 2 / 15 Which among the following is the last statement in BASIC program? QUIT SYSTEM END BYE 3 / 15 Which of the following cannot be used to exit from an error handling routine? RESUME RESUME NEXT END STOP 4 / 15 There are three logical operators? Yes or Not And or not Now or and None 5 / 15 Which of the following causes a move of the control from one part of the program to the other without any condition? Conditional transfer of control Un conditional transfer of control Mix transfer of control Both a or b 6 / 15 Which of the following BASIC statement contains one condition and two branches? IF…..THEN IF.. THEN..ELSE GOTO None 7 / 15 Which of the following BASIC statement is a conditional loop statement? FOR….NEXT ON….GOTO GOTO WHILE… WEND 8 / 15 Which of the following statement is avoided in the programming? GOTO ON…. GOTO ON ERROR GOTO IF… THEN 9 / 15 How many maximum transfer points can be specified with ON… GOTO statement? 240 245 II 250 S 255 10 / 15 Which of the following statement is used for error trapping purpose in GW-BASIC? GOTO statement FOR….NEXT WHILE…. WEND ON ERROR GOTO 11 / 15 How many statements can be placed between FOR and NEXT statement in BASIC? None One Two As many as required 12 / 15 Which of the following word specifies the end of WHILE loop? WEND NEXT RETURN END 13 / 15 Which of the following BASIC loop statement is used to execute a set of statements for a specified number of times? FOR….NEXT ON….GOTO GOTO WHILE… WEND 14 / 15 To specify two different alternatives with if statement the key word is used? WHILE WEND IF ELSE 15 / 15 The ERR and ERL are words each other? Opposite Same Zero Cancelled Your score is The average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz 10th Class Computer Science Chapter 3 Control Structure MCQs TEST 3: 0 Computer Science Chapter 3 – Control Structure Test 3 1 / 14 In GW-BASIC every error is assigned? Error Code Name Syntax None 2 / 14 Which of the following is a special variable used assign an error code on occurrence of an error in BASIC? ERL ERC ERR REN 3 / 14 Which of the following is a special variable used to assign the error line number where an error occurs? ERL ERC ERR REN 4 / 14 In BASIC statement FOR A=1 to 20, A is known as? Subscript Pointer Counter Variable 5 / 14 In BASIC , if a loop A is lies entirely within loop B, loops A and B are called? Inner loop Outer loop Nested loop None 6 / 14 Which of the following resumes the execution at the specified line number? RESUME RESUME NEXT Resume line no STOP 7 / 14 How many types of loop statements in BASIC? 2 3 4 5 FOR…. 8 / 14 NEXT is used to implement? Iteration Selection Sequence All 9 / 14 Which of the following keyword is not related to ON ERROR GOTO statement? ERR ERL – STOP RESUME 10 / 14 Which of the following is an expression that evaluates to true or false? Loop Selection Sequence Condition 11 / 14 Which of the following is used to represent the true condition? 0 1 2 3 12 / 14 Reserved words are? ERR ERL ERP Both a and b 13 / 14 The while loop keeps repeating an action until an associated condition becomes? True False Error free Both b and c 14 / 14 Which of the following can not be used to exit from an error handling routine? RESUME RESUME NEXT END STOP Your score is The average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz