Punjab 12th Class Computer Chapter 4 Choices and Decisions Mcqs Test Online Punjab 12th Class Computer Chapter 4 Choices and Decisions Mcqs Test Online 1234567891011121314151617181920Show paginator Hide paginator Question 1 of 20Computer Science 1. When the IF statement is executed, the condition is __________ first. 1.Changed 2.Generated 3.Evaluated 4.Excluded Question 1 of 20Question 2 of 20 2. In the getche() function the e means it echoes the character to the screen when you _________ it. 1.Calculate 2.Choose 3.Type 4.Close Question 2 of 20Question 3 of 20 3. A conditional operator is a ________ operator. 1.Decision-making 2.Choice-making 3.Program-making 4.File-making Question 3 of 20Question 4 of 20 4. Switch statements can also have _________ variable of type character. 1.Switch 2.Sequence 3.None of these 4.Integral Question 4 of 20Question 5 of 20 5. In the getche() function the get means gets something from an _________ device. 1.Output 2.Input 3.None of these 4.Both a and b Question 5 of 20Question 6 of 20 6. Only the entire body of the switch statement must be enclosed within ____________. 1.Braces 2.Parenthesis 3.Square bracket 4.Bars Question 6 of 20Question 7 of 20 7. In the getche() function the ch means it gets a ________. 1.Folder 2.Character 3.Function 4.File Question 7 of 20Question 8 of 20 8. We all make different decisions in the face of changing ________. 1.Circumstances 2.Conditions 3.Regions 4.Functions Question 8 of 20Question 9 of 20 9. 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.Switch2.IF-ELSE 3.Conditional 4.Getche() Question 9 of 20Question 10 of 20 10. The _________ operator selects between two values depending on the value of an expression. 1.Getche() 2.IF-ELSE 3.Conditional 4.SwitchQuestion 10 of 20Question 11 of 20 11. Selection structures allow a ________ among various alternatives. 1.Function 2.Right 3.Logic 4.Choice Question 11 of 20Question 12 of 20 12. The getche() function requires __________ header file. 1.Conio.h 2.Math.h 3.Stdio.h 4.String.hQuestion 12 of 20Question 13 of 20 13. The __________ statement enables you to select from multiple choices based on as set of fixed valued for a given expression. 1.Conditional 2.Switch3.IF-ELSE 4.Getche() Question 13 of 20Question 14 of 20 14. The switch statement has more flexibility and it is easy to _________. 1.Compute 2.Use 3.Manage 4.Calculate Question 14 of 20Question 15 of 20 15. The ________ function reads a single character the instant it is typed without waiting for Enter key and displays it on the screen. 1.Switch 2.Conditional 3.IF-ELSE 4.Getche() Question 15 of 20Question 16 of 20 16. _______ function has the weakness that we have to press enter key to finish entering a value. 1.Printf() 2.Gets()3.Puts() 4.Scanf() Question 16 of 20Question 17 of 20 17. Statements that straight forwardly implement the choices and decisions are available in language. 1.Cobol 2.C3.Pascal 4.Fortran Question 17 of 20Question 18 of 20 18. The form of conditional operator is _________. 1.Condition? Expression 2; 2.Condition? Expression 2;3.Condition? Expression 1: expression 2; 4.Condition? Expression 1: Question 18 of 20Question 19 of 20 19. Which brackets are used for the body of statements? 1.{ } 2.( ) 3./ \ 4.[ ] Question 19 of 20Question 20 of 20 20. The switch statement is very similar to the _______ statement. 1.If-else 2.All of these 3.For 4.Else – if Question 20 of 20 Loading... Test By Subject Punjab Test By Topics 12th Class Computer You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.