×
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 In if statement , true is represented by:
  • A. 0
  • B. 1
  • C. 2
  • D. 3
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 From the followings which is different
  • A. If
  • B. Else-if
  • C. Function
  • D. Switch
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 An if statement inside the true block of another if statement is called:
  • A. A nested if statement
  • B. A branched if statement
  • C. A conditional operator
  • D. A relational operator
6 An expression that uses a relational operator is known as:
  • A. Operational
  • B. Sequential
  • C. Serial
  • D. Relational
7 Another term for a conditional operator is:
  • A. Ternary
  • B. Binary
  • C. Byte
  • D. Iteration
8 Which of the following is equivalent to (p&gt;=q)?
  • A. p&lt;q
  • B. !(p&lt;q)
  • C. p&lt;q
  • D. 1p&lt;q
9 Conditional operator is an alternative of:
  • A. if
  • B. if-else
  • C. Nested if
  • D. All
10 The three programming structures are:
  • A. Sequence, decision, and repition
  • B. Process, decision, and alternation
  • C. Sequence, definition, and process
  • D. Relation, comparison, and process

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

A

Abdullah Riaz

Lahore14 - Nov - 2021

15/15
22 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

15/15
01 Mins 48 Sec
Z

Zainab Imtyaz

Lahore23 - Nov - 2021

15/15
02 Mins 27 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

13/15
46 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

13/15
01 Mins 13 Sec
S

Shahzad Ali

Lahore07 - Jan - 2022

13/15
02 Mins 48 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

12/15
37 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

12/15
41 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

12/15
01 Mins 05 Sec
A

Abdullah Riaz

Lahore14 - Nov - 2021

11/15
38 Sec
S

Soha Ishtiaq

Lahore10 - Jan - 2022

11/15
02 Mins 14 Sec
H

Hanzala

Rawalpindi11 - Dec - 2021

11/15
03 Mins 19 Sec
Z

Zainab Imtyaz

Lahore23 - Nov - 2021

11/15
03 Mins 53 Sec
W

Waseem Aijaz

Lahore06 - Dec - 2021

11/15
04 Mins 18 Sec
H

Hamza Abid

Abbottabad10 - Dec - 2021

11/15
10 Mins 50 Sec

Share your comments questions here
Sort By:

Find the best institute for yourself!

We need a few details from you to suggest you relevant institutes & create your free profile

Online Hazrat Imam Hussain (R.A) In Urdu Quiz

10 Questions
Start Quiz
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