Home » Tests » Punjab 10th Class Computer Science Chapter 4 Conditional Control Structure Mcqs Test Online

Punjab 10th Class Computer Science Chapter 4 Conditional Control Structure Mcqs Test Online

Total Question
8 Questions
Total Marks
16 Marks
Total Time
8 Minuts
Test Help For ::

Computer Science 10th Class Test
Entry Test Computer Science MCQs
Computer Science Admission Test
Competitive Exams Computer Science General MCQs
All Punjab Boards Annual Exams




Test Name



Ch.4 # Conditional Control Structure

Subject



Computer Science (10th Class)

Test Type



MCQs


Punjab 10th Class Computer Science Chapter 4 Conditional Control Structure Mcqs Test Online

Computer Science Chapter 4 Conditional Control Structure Mcqs Test Online Punjab Board 10th Class

 

Question 1 of 8

Computer Science

1. For which purpose if structure is used in programming?
1.
2.
3.
4.

Question 1 of 8

Question 2 of 8

2. What will be printed when the following code is executed?
x=1;
switch(x)
{ case 1:
case 2:
case 3:
printf(“\n x is a positive number”);
break;
default
printf(“\n value of x is 1”);
1.
2.
3.
4.

Question 2 of 8

Question 3 of 8

3. Which of the selection structures tests only for equality?
1.
2.
3.
4.

Question 3 of 8

Question 4 of 8

4. Which statement can be used in place of switch statement?
1.
2.
3.
4.

Question 4 of 8

Question 5 of 8

5. Which statement is suitable to use in a situation where there are only two choices based on a condition?
1.
2.
3.
4.

Question 5 of 8

Question 6 of 8

6. Which statement can be used in place of conditional operator?
1.
2.
3.
4.

Question 6 of 8

Question 7 of 8

7. Which statement is used to exit from the body of switch statement?
1.
2.
3.
4.

Question 7 of 8

Question 8 of 8

8. Which of the following is a multiple selection statement?
1.
2.
3.
4.

Question 8 of 8


 

Test By Subject
Test By Topics
You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: