11th Chapter

12th Class Computer Science Chapter 11 Test

Here you can prepare 12th Class Computer Science Chapter 11 Decision Constructs Test. Click the button 100% free full practice test.

2nd Year Computer Science Chapter 11 Online MCQ Test for 12th Class Computer Science Chapter 11 (Decision Constructs)

This online test contains MCQs about following topics:

- If Statement
- Use of Logical Operators
- Switch Statement
- Conditional Operator
- Case Study

ICS Part 2 Computer Sci Ch. 11 Test
ic

2nd Year Computer Science Chapter 11 Online MCQ Test for 12th Class Computer Science Chapter 11 (Decision Constructs)

Sr. # Questions Answers Choice
1 Which of the following statements is the simplest form of a decision structure?
  • A. Select..case
  • B. If statement
  • C. Try..Catch..Finally
  • D. Nested if
2 If x=10 and y=5,, what will the output of the following expression?<div>x&gt;y? x*y: x+y</div>
  • A. 5
  • B. 10
  • C. 15
  • D. 50
3 Which is not possible
  • A. Nesting if statement
  • B. Loop in the body of statement
  • C. If statement in the body of loop
  • D. None of above
4 When a relational expression is false, it has the value __________
  • A. 0
  • B. 1
  • C. &lt;0
  • D. S
5 Another term for a computer making a decision is:
  • A. Sequential
  • B. Selection
  • C. Repetition
  • D. Iteration
6 Switch statement is an alternative of:
  • A. if
  • B. if-else
  • C. Nested if
  • D. Nested if-else
7 __________ refers to group of statements enclosed in opening and closing braces.
  • A. Control structure
  • B. Compound statement
  • C. Sequence structure
  • D. Instruction
8 From the following statement which is the control statement
  • A. If
  • B. Else if
  • C. Switch
  • D. All of the above
9 A key in a relation
  • A. May not functionally determine any attribute in the row
  • B. Functionally determine only one attribute in the row
  • C. Functionally determine at least one attribute in the row
  • D. Functionally determine all the attribute in the row
10 The conditional portion of the If statement can contain:
  • A. Any valid constant
  • B. Any expression that can be evaluated to a Boolean value
  • C. Any valid variable
  • D. Any valid constant or vairable

Top Scorers of Computer Science Ics Part 2 Chapter 11 Online Test

K

Kaonain Khan

Lahore03 - Feb - 2025

15/15
01 Mins 37 Sec
F

Faiza Rafiq

Lahore21 - Feb - 2025

15/15
04 Mins 55 Sec
K

Kaonain Khan

Lahore03 - Feb - 2025

14/15
01 Mins 43 Sec
W

Waheed Asghar

Lahore08 - Dec - 2024

14/15
02 Mins 26 Sec
K

Kaonain Khan

Lahore03 - Feb - 2025

14/15
02 Mins 30 Sec
M

Memona Zaka

Lahore20 - Dec - 2024

14/15
02 Mins 48 Sec
K

Kashif Mateen

Lahore22 - Feb - 2025

14/15
02 Mins 55 Sec
K

Kaonain Khan

Lahore03 - Feb - 2025

14/15
03 Mins 06 Sec
M

Memona Zaka

Lahore20 - Dec - 2024

14/15
03 Mins 15 Sec
M

Memona Zaka

Lahore20 - Dec - 2024

14/15
03 Mins 35 Sec
F

Faiza Rafiq

Lahore21 - Feb - 2025

14/15
04 Mins 55 Sec
F

Faiza Rafiq

Lahore21 - Feb - 2025

14/15
04 Mins 55 Sec
F

Faiza Rafiq

Lahore21 - Feb - 2025

14/15
04 Mins 55 Sec
F

Faiza Rafiq

Lahore21 - Feb - 2025

14/15
04 Mins 55 Sec
W

Waqar Ahmad

Lahore20 - Feb - 2025

13/15
25 Sec

Share your comments questions here
Sort By:
  • Brilliant Star

    22 Jun 2024

    ternary operator in c language is ?and : used in conditional operator

    Like (1)
    Reply
X

Sign in

to continue to ilmkidunya.com

inquiry-image

Free Admission Advice

Fill the form. Our admission consultants will call you with admission options.

X

Sign in

to continue to ilmkidunya.com

X

Sign in

to continue to ilmkidunya.com

X

Forgot Password

to continue to ilmkidunya.com

X

Register Type

Please Provide following information to Register

  • Student
  • Tutor
  • Consultant
  • Employer