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

Total Question
20 Questions
Total Marks
40 Marks
Total Time
20 Minuts
Test Help For ::

12th Computer Class Test
Entry Test MCQs
Computer Admission Test
Competitive Exams
All Punjab Boards Annual Exams




Test Name



Ch.4 # Choices and Decisions

Subject



Computer (12th Class)

Test Type



MCQs


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 getche() function requires __________ header file.
1.
2.
3.
4.

Question 1 of 20

Question 2 of 20

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

Question 2 of 20

Question 3 of 20

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

Question 3 of 20

Question 4 of 20

4. A conditional operator is a ________ operator.

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 __________ statement enables you to select from multiple choices based on as set of fixed valued for a given expression.

1.
2.
3.
4.

Question 6 of 20

Question 7 of 20

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

Question 8 of 20

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

Question 8 of 20

Question 9 of 20

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

Question 9 of 20

Question 10 of 20

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

Question 10 of 20

Question 11 of 20

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

Question 11 of 20

Question 12 of 20

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

Question 12 of 20

Question 13 of 20

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

Question 13 of 20

Question 14 of 20

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

Question 14 of 20

Question 15 of 20

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

Question 15 of 20

Question 16 of 20

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

Question 16 of 20

Question 17 of 20

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

Question 17 of 20

Question 18 of 20

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

Question 19 of 20

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

Question 19 of 20

Question 20 of 20

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

Question 20 of 20


 

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.

Other Related test

Leave a Reply

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

Back to top button
error: