12th Class ICS Computer Science Chapter 11 Online MCQ Test for (Decision Constructs)

ICS Part 2 Computer Science Online
Chapter 11 Test

Start Chapter 11 Test

MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 11 Online Test"

Try The MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 11 Online Test"

  • Total Questions15

  • Time Allowed20

ICS Part 2 Computer Science Chapter 11 Online Test

00:00
Question # 1

How many times is the test expression of a switch statement evaluated?

Question # 2

The operators to compare operands and decide if the relation is true or false are:

Question # 3

__________ refers to group of statements enclosed in opening and closing braces.

Question # 4

An if statement inside the true block of another if statement is called:

Question # 5

From the followings which is different

Question # 6

You can use a decision statement to:

Question # 7

To be in 2NF every non key attribute must depend on

Question # 8

From the following which is called control statement

Question # 9

Switch statement is an alternative of:

Question # 10

Which of the following is used for making two way decision:

Question # 11

Which of the following is NOT part of an if statement?

Question # 12

When a relational expression is false, it has the value __________

Question # 13

Another term for a conditional operator is:

Question # 14

Key is used in

Question # 15

Conditional operator takes _____________ operands.

Prepare Complete Set Wise Chapter 0 "ICS Part 2 Computer Science Chapter 11 Online Test" MCQs Online With Answers


11th Chapter

ICS Part 2 Computer Science Chapter 11 Online Test MCQ's

Top Scorers Of Chapter 0 "ICS Part 2 Computer Science Chapter 11 Online Test" MCQ`s Test

  • M
    Minahil Ashraf 15 - Nov - 2024 01 Min 27 Sec 15/15
  • W
    Waheed Asghar 08 - Dec - 2024 02 Min 26 Sec 14/15
  • M
    Memona Zaka 20 - Dec - 2024 02 Min 48 Sec 14/15
  • M
    Mano Billi 06 - Nov - 2024 03 Min 07 Sec 14/15
  • W
    Waleed Ahmad 21 - Jan - 2025 02 Min 28 Sec 13/15
  • A
    aspire reg001 05 - Nov - 2024 02 Min 55 Sec 13/15
  • U
    uswa arshad 14 - Nov - 2024 03 Min 04 Sec 13/15
  • M
    Mudassir Khan 22 - Oct - 2024 03 Min 14 Sec 13/15
  • A
    Ayesha Javed 25 - Oct - 2024 03 Min 16 Sec 13/15
  • A
    Ali Umar 29 - Sep - 2025 01 Min 57 Sec 12/15
  • Z
    Zoha Awais 20 - Dec - 2024 02 Min 14 Sec 12/15
  • A
    Amber Ilyas 25 - Oct - 2024 03 Min 10 Sec 12/15
  • S
    Saiqa Abbas 27 - Nov - 2024 03 Min 17 Sec 12/15
  • M
    Malik Zeeshan 27 - Oct - 2024 03 Min 28 Sec 12/15
  • M
    Muhsan 20 - Jan - 2025 03 Min 44 Sec 12/15
Sr.# Question Answer
1 From the following statement which is the control statement
A. If
B. Else if
C. Switch
D. All of the above
2 Switch statement is an alternative of:
A. if
B. if-else
C. Nested if
D. Nested if-else
3 Another term for a computer making a decision is:
A. Sequential
B. Selection
C. Repetition
D. Iteration
4 The first line in switch block contains:
A. The value of the first criterion
B. The expression to be evaluated
C. The statement to be executed if none of the criteria are true
D. The statement to be executed if the criterion are true
5 From the following which is called control statement
A. If
B. If-else
C. Else-if
D. All of the above
6 Which of the following is used for making two way decision:
A. if-else
B. If
C. Nested if
D. Switch
7 Which of the following is equivalent to (p>=q)?
A. p<q
B. !(p<q)
C. p<q
D. 1p<q
8 Switch statement must use the keyword
A. Case
B. Default
C. Break
D. All of the above
9 Which programming structure executes program statements in order?
A. Relation
B. Decision
C. Sequence
D. Repition
10 ______is a functional dependency in a relation between two or more non-key attributes
A. Transitive dependency
B. Partial dependency
C. Repeating groups
D. None of these
11 How many times is the test expression of a switch statement evaluated?
A. 0
B. 1
C. 2
D. Once for each case
12 Which operator in C is called a ternary operator?
A. if
B. ++
C. ?
D. ( )
13 A case can be defined as:
A. An individual condition to test
B. A set of condition of test
C. A statement that includes as if statement
D. A block of selection
14 Database integrity refers to the
A. Correctness of data
B. Consistency of data
C. Both a and b
D. None of these
15 ____________ is used to specify two different choices with "if" statement.
A. Switch
B. Else
C. If
D. If-else

Test Questions

Is this page helpful?