Computer Science 10th Class English Medium Chapter 3 Online Test With Answers

image
image
image

Computer Science 10th Class English Medium Chapter 3 Online Test

Sr. # Questions Answers Choice
1 The statements which help us to decide which statements should be executed next, on the basis of conditions, are called: selection statements
2 In which control all the statements are executed in the given sequence:
3 Which of the following is the default control structure in C language ?
4 Which of the following is not a type of control statements in C language ?
5 How many types of control statements are available in C language ? 3 1 2 4
6 A set of multiple instructions enclosed in braces is called a _______: box block list job
7 An if statement inside another if statement is called _______ structure: nested boxed repeated decomposed
8 A condition can be any ____________ expression: arithmetic relational logical arithmetic, relational or logical
9 Which of the following is the condition to check a is a factor of c ? a % c == 0 c % a == 0 a*c == 0 a+c == 0
10 a++; a--; both (a) and (b) none
11 In If statement, what happens if condition is false ? program crashes index out of bound error further code executes compiler asks to change condition
12 __________ statements describe the sequence in which statements of the program should be executed: loop conditional control all
Download This Set