View latest educational results 2026 of class 9th, 10th / Matric / SSC, Intermediate / HSSC / FA / FSc / Inter, 5th / Primary, 8th / Middle, DAE, DBA, D.COM, BA / BBA / BCom / BSc / B.Ed, MA / MSc / MBA / MIT / MCS, MBBA / M.Ed, LLB, Engineering, M.Phil, PhD from all BISE / boards and Universities by roll number & by name and check old result 2025 online.

Chapter 11 Decision Constructs Computer Science 12th Class Punjab MCQ Tests

12th Class Computer Science Chapter 11 MCQ Tests
Chapter 11 of 12th Class Computer Science has 23 questions. If you take an online MCQ test, the system will randomly choose the questions. If you want to take the quiz by chapter then click the start test button.

Total Questions: 23
Total Marks: 23
Time: 25 Mins
Total Questions: 23
Total Marks: 23
Time: 25 Mins
25Min : 00 Sec Remaining
Question # 1
The output of following code will be: if int x=0; if(x<0){printf("I am fail")} else printf("Pass");
Question # 2
The correct alternative of following if else code will be: if (a < b) { c = a; } else { c = b; }
Question # 3
If else is a decision making technique , which is used in modern Artificial Intelligence.
Question # 4
if i=2 and k=3 then in switch(i-k) which case will be executed?
Question # 5
if (x==0) and (y==0) then coordinate point will be on:
Question # 6
A student is considered to be passed if he obtained more then 33 marks and he is a sports man as well. The appropriate programming statement of above will be:
Question # 7
The output of following program will be: main() { if(TRUE) printf("1"); printf("2"); else printf("3"); printf("4"); }
Question # 8
Which control structure is used in case study of Cartesian product?
Question # 9
The keyword ‘break’ cannot be used within :
Question # 10
The output of following code will be: main() { int x=0; x++; if(x>0) { if(x==0) { printf("I am zero"); } } else printf("I am not zero); }
Question # 11
if break statement is not used in Switch case then:
Question # 12
Multiple conditions can be used in conditional operator.
Question # 13
if value of switch parameter doesn't match with any case then control is transferred to:
Question # 14
The output of following code is: main() { if(10>9) { if(2>1) { printf("I am safe"); } } else printf("I am not safe); }
Question # 15
In Menu of 6 options to select , only one input statement is enough.
Question # 16
goto statement is dependent upon condition.
Question # 17
The output of following code will be: main( ) { int a=3; switch(a) { } printf("MySwitch");
Question # 18
if(x%2!=0) then value of x will be :
Question # 19
Control structure is a tool for:
Question # 20
It is necessary to add condition with else if statement.
Question # 21
goto statement is an example of:
Question # 22
if int x = 1, y = 2, z = 3; then output of the following condition will be: smallestNum = (x
Question # 23
Sequential execution of statements in control structure is compulsory.
Total Questions
1234567891011121314151617181920212223
Question # 1
The output of following code will be: if int x=0; if(x<0){printf("I am fail")} else printf("Pass");
Question # 2
The correct alternative of following if else code will be: if (a < b) { c = a; } else { c = b; }
Question # 3
If else is a decision making technique , which is used in modern Artificial Intelligence.
Question # 4
if i=2 and k=3 then in switch(i-k) which case will be executed?
Question # 5
if (x==0) and (y==0) then coordinate point will be on:
Question # 6
A student is considered to be passed if he obtained more then 33 marks and he is a sports man as well. The appropriate programming statement of above will be:
Question # 7
The output of following program will be: main() { if(TRUE) printf("1"); printf("2"); else printf("3"); printf("4"); }
Question # 8
Which control structure is used in case study of Cartesian product?
Question # 9
The keyword ‘break’ cannot be used within :
Question # 10
The output of following code will be: main() { int x=0; x++; if(x>0) { if(x==0) { printf("I am zero"); } } else printf("I am not zero); }
Question # 11
if break statement is not used in Switch case then:
Question # 12
Multiple conditions can be used in conditional operator.
Question # 13
if value of switch parameter doesn't match with any case then control is transferred to:
Question # 14
The output of following code is: main() { if(10>9) { if(2>1) { printf("I am safe"); } } else printf("I am not safe); }
Question # 15
In Menu of 6 options to select , only one input statement is enough.
Question # 16
goto statement is dependent upon condition.
Question # 17
The output of following code will be: main( ) { int a=3; switch(a) { } printf("MySwitch");
Question # 18
if(x%2!=0) then value of x will be :
Question # 19
Control structure is a tool for:
Question # 20
It is necessary to add condition with else if statement.
Question # 21
goto statement is an example of:
Question # 22
if int x = 1, y = 2, z = 3; then output of the following condition will be: smallestNum = (x
Question # 23
Sequential execution of statements in control structure is compulsory.
Total Questions
1234567891011121314151617181920212223

Computer Science MCQ Test by Topics

12th Class 2026

Add a Comment
Comments will be shown after admin approval.
Name *
Email *
Mobile *
City *
Your Comment *
Question: What is capital of Pakistan?

(Answer can be from islamabad | lahore)
 
Spam comments will not be approved at all.




BISE Results Intermediate & Matric
 
To Advertise
Contact US