Computer Science 10th Chapter 3 Control Structures Questions Bank |
Computer Science 10th Chapter 3 Control Structures Solved MCQs, Short and Long Questions
MCQs
Select the right Answer.
1. Logical operators are used with ________ statement
2. ____ loop is used to repeat a set of statements to a specific number.
3. An array is a collection of variables that can store data of:
4. An expression consists of:
5. During the execution the control of the program can be transferred from one part to another __________.
6. FOR.....NEXT statement is used for:
7. How many loops are in Basic?
8. If programmer does not know how many times the loop will be executed, which loop is used
9. IF...THEN statement is decisive.
10. In ____ loop, programmer does not know in advance how many times the loop will be executed.
11. In “If statement"" false is represented by a:
12. Inside a loop (FOR or WHILE), there can be one or more loops (FOR or WHILE), such type of structure is called:
13. One execution of a loop is called.
14. One or more than one loops structure inside the body of another loop structure
15. The answer of relational operator is:
16. The control structure which repeatedly executes the set of instructions is called:
17. The instructions at _________ line numbers are always executed first.
18. The numeric variable name following FOR is called the ________.
19. The statement used to unconditionally transfer control from a program line to a specified line is:
20. The While loop keeps repeating an action until an associated condition becomes ________.
21. Types of Control Structure in BASIC are:
22. Which control structure in BASIC is used to execute statement in order?
23. Which loop is executed up to specific value?
24. Which loop is used in special conditions?
25. Which of the following control structure is used for decision in basic?
26. Which of the following error code store in error handling routine?
27. Which of the following indicates the end of FOR loop?
28. Which of the following is a logical operator?
29. Which of the following is a selection structure?
30. Which of the following is a type of control structure?
31. Which of the following is control structure?
32. Which of the following is not a logical operator?
33. Which of the following word indicate the end of WHILE loop:
34. Which one is a multiple branching statement?
35. Which one is the control structure?
36. Which statement temporarily stops the execution of a program?
Short Questions
1. Briefly describe the conditional transfer of control in BASIC?
2. Define ERR IN BASIC
3. Define loop control variable?
4. Define loop?
5. Enlist the statements that implement the selection structure
6. From where does the RESUME line number execute the statement?
7. From where does the RESUME NEXT execute the statement?
8. From where does the RESUME statement execute the statement?
9. In how many ways control of a program can be transferred conditionally in GW-BASIC?
10. What are ERR and ERL?
11. What are the statements to exit from an error handling routine?
12. What are the uses of ERR and ERL in GW BASIC.
13. What do you know about GO....TO statement?
14. What do you know about the NESTED loop?
15. What do you know about control structure?
16. What do you know about Sequence structure?
17. What is conditional transfer of control?
18. What is the difference between FOR- NEXT and WHILE-WEND Loop?
19. What is the difference between unconditional and conditional transfer of statements?
20. What is the purpose of GOTO Statement?
21. What is the purpose of selection structure?
22. What is unconditional transfer of control?
23. What do you know about the selection structure?
24. When does “OUT OF RANGE” error occur in conditional transfer of statement?
25. Which command enables error trapping feature of GW-BASIC?
26. Which statements are used in turn off ERR OR HANDELING ROUTINE?
27. Which structures control the flow of program?
28. Why instructions at smaller line numbers are always executed first in sequence structure?
29. Why is FOR...NEXT loop is used?
30. Why is WHILE...WEND is loop used?
31. Why the use of GOTO statement is discouraged?
32. Write Syntax of IF THEN statement:
33. Write Syntax of WHILE...WEND loop?
34. Write the types of loops?
35. Write the difference between outer and inner loop
36. Write the types of control structure?
Long Questions
1. Describe the IF.. .THE statement with example?
2. Describe the Nested loop with example?
3. Describe the ON ERROR GOTO statement with example.
4. What is GOTO statement? Explain with example.
5. What is ON GOTO statement? Explain with example.