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

Start your preparation for Punjab 12th Class Computer Chapter 4 Choices and Decisions Mcqs Test Online. This online test contains 20 MCQs and you have 20 Minutes to complete it. The total marks for this test are 40. This test is valid for students of All Punjab Boards (Lahore, Gujranwala, Multan, etc.) following the PCTB Syllabus. Read the questions carefully and select the correct option below to see your result.

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

 

Question 1 of 20

Computer Science

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

Question 1 of 20

Question 2 of 20

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

Question 2 of 20

Question 3 of 20

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

Question 3 of 20

Question 4 of 20

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

Question 4 of 20

Question 5 of 20

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

Question 5 of 20

Question 6 of 20

6. 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 6 of 20

Question 7 of 20

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

Question 7 of 20

Question 8 of 20

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

Question 8 of 20

Question 9 of 20

9. A conditional operator is a ________ operator.

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. In the getche() function the e means it echoes the character to the screen when you _________ it.
1.
2.
3.
4.

Question 11 of 20

Question 12 of 20

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

Question 12 of 20

Question 13 of 20

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

Question 13 of 20

Question 14 of 20

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

Question 14 of 20

Question 15 of 20

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

Question 15 of 20

Question 16 of 20

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

Question 16 of 20

Question 17 of 20

17. 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 17 of 20

Question 18 of 20

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

Question 18 of 20

Question 19 of 20

19. 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 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


 

Guide for Punjab Board Students

Students of BISE Lahore, Gujranwala, Multan, and other Punjab boards must follow the SLO based pattern.

Top Scoring Tips for Punjab:

  • Textbook Reading: The paper is 100% derived from PCTB books. Do not rely only on keybooks.
  • Objective Paper (20%): Practice these online MCQs repeatedly as they are taken from 5-Year Past Papers.
  • Bubble Sheet: Ensure you know how to fill the OMR sheet correctly.

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