Computer Science 10 Chapter 4 MCQs Test 1

FBISE Computer Science 10 Chapter 4 MCQs Test 1. Just do the practice as many times as you can so that you get 100% marks.


Chapters MCQs Tests


Chapter 4 MCQs Test 1

111

Class 10 Computer Science Chapter 4 Ex MCQs Practice Test

1 / 8

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"); }

2 / 8

Which statement is used to exit from the body of the switch statement?

3 / 8

Which statement can be used in place of switch statement?

4 / 8

Which statement can be used in place of the conditional operator?

5 / 8

Which of the selection structures tests only for equality?

6 / 8

For which purpose if structure is used in programming?

7 / 8

Which of the following is a multiple selection statement?

8 / 8

Which statement is suitable to use in a situation where there are only two choices based on a condition?

Your score is

The average score is 65%

0%

Please rate this quiz and give your feedback.

Similar Posts

One Comment

Leave a Reply

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