Punjab 12th Class Computer Chapter 4 Choices and Decisions Mcqs Test Online
Questions 20
Total Marks 40
Time 20 Mins

Punjab 12th Class Computer Chapter 4 Choices and Decisions Mcqs Test Online

Punjab 12th Class Computer Chapter 4 Choices and Decisions Mcqs Test Online

 

Question 1 of 20

Computer Science

1. The ________ function reads a single character the instant it is typed without waiting for Enter key and displays it on the screen.
1.
2.
3.
4.

Question 1 of 20

Question 2 of 20

2. In the getche() function the ch means it gets a ________.
1.
2.
3.
4.

Question 2 of 20

Question 3 of 20

3. The __________ statement enables you to select from multiple choices based on as set of fixed valued for a given expression.

1.
2.
3.
4.

Question 3 of 20

Question 4 of 20

4. Which brackets are used for the body of statements?
1.
2.
3.
4.

Question 4 of 20

Question 5 of 20

5. The switch statement has more flexibility and it is easy to _________.
1.
2.
3.
4.

Question 5 of 20

Question 6 of 20

6. The form of conditional operator is _________.
1.
2.
3.
4.

Question 6 of 20

Question 7 of 20

7. The ________ statement allows one course of action to be followed if the condition is true and another to be executed if the condition is false.
1.
2.
3.
4.

Question 7 of 20

Question 8 of 20

8. When the IF statement is executed, the condition is __________ first.
1.
2.
3.
4.

Question 8 of 20

Question 9 of 20

9. In the getche() function the get means gets something from an _________ device.
1.
2.
3.
4.

Question 9 of 20

Question 10 of 20

10. _______ function has the weakness that we have to press enter key to finish entering a value.
1.
2.
3.
4.

Question 10 of 20

Question 11 of 20

11. Switch statements can also have _________ variable of type character.
1.
2.
3.
4.

Question 11 of 20

Question 12 of 20

12. A conditional operator is a ________ operator.

1.
2.
3.
4.

Question 12 of 20

Question 13 of 20

13. Statements that straight forwardly implement the choices and decisions are available in language.
1.
2.
3.
4.

Question 13 of 20

Question 14 of 20

14. We all make different decisions in the face of changing ________.
1.
2.
3.
4.

Question 14 of 20

Question 15 of 20

15. Only the entire body of the switch statement must be enclosed within ____________.
1.
2.
3.
4.

Question 15 of 20

Question 16 of 20

16. The switch statement is very similar to the _______ statement.
1.
2.
3.
4.

Question 16 of 20

Question 17 of 20

17. In the getche() function the e means it echoes the character to the screen when you _________ it.
1.
2.
3.
4.

Question 17 of 20

Question 18 of 20

18. The getche() function requires __________ header file.
1.
2.
3.
4.

Question 18 of 20

Question 19 of 20

19. Selection structures allow a ________ among various alternatives.
1.
2.
3.
4.

Question 19 of 20

Question 20 of 20

20. The _________ operator selects between two values depending on the value of an expression.
1.
2.
3.
4.

Question 20 of 20


 

Prepare Subjective:
Read Short Questions
Test By Class
Test By Subject

Leave a Reply

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

Back to top button
error: