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.

If Statement MCQ Tests

12th Class Computer Science MCQ Tests
If Statement of 12th Class Computer Science has 8 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: 8
Total Marks: 8
Time: 10 Mins
Total Questions: 8
Total Marks: 8
Time: 10 Mins
10Min : 00 Sec Remaining
Question # 1
It is necessary to add condition with else if statement.
Question # 2
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 # 3
The output of following program will be: main() { if(TRUE) printf("1"); printf("2"); else printf("3"); printf("4"); }
Question # 4
The output of following code is: main() { if(10>9) { if(2>1) { printf("I am safe"); } } else printf("I am not safe); }
Question # 5
if(x%2!=0) then value of x will be :
Question # 6
If else is a decision making technique , which is used in modern Artificial Intelligence.
Question # 7
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 # 8
if value of switch parameter doesn't match with any case then control is transferred to:
Total Questions
12345678
Question # 1
It is necessary to add condition with else if statement.
Question # 2
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 # 3
The output of following program will be: main() { if(TRUE) printf("1"); printf("2"); else printf("3"); printf("4"); }
Question # 4
The output of following code is: main() { if(10>9) { if(2>1) { printf("I am safe"); } } else printf("I am not safe); }
Question # 5
if(x%2!=0) then value of x will be :
Question # 6
If else is a decision making technique , which is used in modern Artificial Intelligence.
Question # 7
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 # 8
if value of switch parameter doesn't match with any case then control is transferred to:
Total Questions
12345678

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