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.

Control Structure MCQ Tests

10th Class Computer Science MCQ Tests
Control Structure of 10th Class Computer Science has 10 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: 10
Total Marks: 10
Time: 10 Mins
Total Questions: 10
Total Marks: 10
Time: 10 Mins
10Min : 00 Sec Remaining
Question # 1
The output of following program will be: main() { char ch = 'p'; switch (ch) { case 'p': printf("I am in P"); break; default: printf("I am not in P"); break; }
Question # 2
Control structure is a tool for:
Question # 3
if int x = 1, y = 2, z = 3; then output of the following condition will be: smallestNum = (x
Question # 4
if third conditional statement of code is true then next instruction which is going to be executed is:
Question # 5
if there are three option to select. Each option is selected if condition applied on it is false.
Question # 6
The output of following code will be: main( ) { int a=3; switch(a) { } printf("MySwitch");
Question # 7
The correct alternative of following if else code will be: if (a < b) { c = a; } else { c = b; }
Question # 8
The output of following program will be: main() { if(TRUE) printf("1"); printf("2"); else printf("3"); printf("4"); }
Question # 9
The output of following code will be: int x=9; if(x>0) { goto negative; printf("I am positive"); } else negative: printf("I am negative);
Question # 10
if input is not appropriate in switch case,then what is the best way to deal with wrong input?
Total Questions
12345678910
Question # 1
The output of following program will be: main() { char ch = 'p'; switch (ch) { case 'p': printf("I am in P"); break; default: printf("I am not in P"); break; }
Question # 2
Control structure is a tool for:
Question # 3
if int x = 1, y = 2, z = 3; then output of the following condition will be: smallestNum = (x
Question # 4
if third conditional statement of code is true then next instruction which is going to be executed is:
Question # 5
if there are three option to select. Each option is selected if condition applied on it is false.
Question # 6
The output of following code will be: main( ) { int a=3; switch(a) { } printf("MySwitch");
Question # 7
The correct alternative of following if else code will be: if (a < b) { c = a; } else { c = b; }
Question # 8
The output of following program will be: main() { if(TRUE) printf("1"); printf("2"); else printf("3"); printf("4"); }
Question # 9
The output of following code will be: int x=9; if(x>0) { goto negative; printf("I am positive"); } else negative: printf("I am negative);
Question # 10
if input is not appropriate in switch case,then what is the best way to deal with wrong input?
Total Questions
12345678910

Computer Science

10th 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