Welcome to the 12th Class Computer Science Chapter 11 MCQs Online Test. We are presenting you with top MCQ questions from the 12th Class Computer Science Chapter Decision Constructors.
We want to tell you that you can find all the 12th Class Computer Science Chapter 11 MCQs online tests on our website. These online tests are great for learning and as well as for scoring maximum marks in your Intermediate Exams. We are making these Class 12 Computer Science MCQs online tests for those who want full marks in their exams. Attempt all these Grade 12 Computer Science Online Multiple Choice Questions MCQs before going for the exam and it will be beneficial for you! These online tests contain all the important multiple choice questions in the important topics of the FSC Part-II Computer Science Chapter 11 Decision Constructors.
12th Class Computer Science Chapter 11 MCQs with Answers
Youth For Pakistan has provided an excellent opportunity for the students of the 12th class to prepare their Computer Science Chapter 11 Decision Constructors online with MCQs test.
This is a free platform for students to prepare for Computer Science Exams for Class 12 to get the best accomplishments in annual exams. 12th class Students can analyze themself by attempting this online test system as many times as they want until they find themself fully prepared.
MCQs Class 12 Computer Science with Answers
The purpose of these online MCQs tests is to help you evaluate your 12th Class Computer Science Chapter 11 MCQs. These Multiple Choice Questions (MCQs) will prepare you for your academic success in the 12th Class Exams. 12th Class Computer Science Chapters include Chapter No 1 Data basics, Chapter No 2 Basic Concepts And Terminology, Chapter No 3 Database Design Process, Chapter No 4 Data Integrity & Normalization, Chapter No 5 Introduction of Microsoft Access, Chapter No 6 Table and Query, Chapter No 7 Microsoft Access forms & Reports, Chapter No 8 Getting Started with C, Chapter No 9 Element Of C, Chapter No 10 Input/Output, Chapter No 11 Decision Constructors, Chapter No 12 Loop Constructors, Chapter No 13 Functions and Chapter No 14 File Handling in C.
What are Decision Constructors?
A constructor is a special method of a class or structure in object-oriented programming that initializes a newly created object of that type. Whenever an object is created, the constructor is called automatically.
Chapter No 11 Decision Constructors
1. Which of the following is not a decision making statement
- switch
- for
- If-else
- if
2. Which of the following operator is used as decision making statement
- ++
- —
- &&
- conditional operator
3. How many basic control structures are there choose which one is correct?
- 1 (
- 2
- 3
- 4
4. Which one is a control structure choose which one is correct?
- Selection
- Sequence
- Repetition
- All
5. control structures executes program statements one after another choose which one is correct:
- Selection
- Sequence
- Repetition
- None
6. The selection statement is also known as choose which one is correct:
- Decision making statement
- Compound statement
- Repetition Statement
- Both (a) and (b)
7. Another name of conditional operator is
- Unary Operator
- Binary operator
- Ternary Operator
- Bitwise operator
8. Which of the following keywords is not used in switch statement choose which one is correct?
- default
- if
- case
- switch
9. Which of the following is an optional part in switch statement choose which one is correct?
- default
- break
- Switch
- case
10. structures is a selection structure choose which one is correct:
- if
- if-else
- switch
- All of these
11. selection structures is the simplest form of decision making structure choose which one is correct:
- if-else
- if
- switch
- nest if-else
12. is not decision-making statement choose which one is correct:
- if
- break
- Nested if
- switch
13. Which of the following operators is used as decision-making statement choose which one is correct?
- increment operator
- size of operator
- && operator
- conditional operator
14. is used for making two-way decision choose which one is correct:
- if-else
- if
- Nested if
- switch
15. is not used for making two-way decision choose which one is correct:
- if
- conditional operator
- if-else
- All
16. The conditional operator is an alternative of choose which one is correct:
- if
- simple if-else
- nested if
- None
17. The conditional operator takes _________ expression.
- one
- Two
- three
- None
18. Which operator in C language is called ternary operator choose which one is correct?
- if
- ++
- choose which one is correct? choose which one is correct:
- ( )
19. What will be the output of (7 > 8) choose which one is correct? printf(“ABC”) choose which one is correct:printf(“XYZ”);
- ABC
- XYZ
- ABCXYZ
- All
20. The last statement of each case in switch statement must be a choose which one is correct:
- default statement
- if-else statement
- break statement
- is statement
21. __________structures are used to control the flow of execution in a program
- Data
- Program
- Input
- Control
22. Which one is not a control structure
- Selection
- Input / Output
- Sequence
- Repetition
23. A group of statements enclosed in opening and closing braces is called
- Group Statement
- Program Statement
- Compound Statement
- All of Above
24. A ___________structure chooses which statement or a block of statements is to execute
- Selection
- Input / Output
- Sequence
- Repetition
25. Which one is not a selection structure
- if – else
- switch
- if
- iff-else
26. The case block ends with choose which one is correct:
- end select
- end case
- break
- case else
27. The value that cannot be used in expression of switch statement
- int
- float
- char
- long
28. If the value of switch expression is float compiler will
- Generate error
- Give wrong result
- Smooth execution
- None of Above
29. is suitable when multiple choices are given and one choice is to be selected choose which one is correct:
- if-else
- if
- break statement
- switch
30. In switch statement, each case label may be an integer or choose which one is correct:
- String
- Real
- Character
- All
31. When two case labels are used without having any other statement in between them they work as _______ operator
- AND
- NOT
- OR
- None of Above
32. Which statement in switch case structure cause rest of the statements to be skipped choose which one is correct?
- Case
- default
- break
- All of Above
33. In if-else-if statement only_____ block(s) of statements is executed
- One
- Two
- Three
- None of Above
34. Which expression can be used in if condition choose which one is correct?
- Relational
- Logical
- Arithmetic
- All of Above