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.

Constants MCQ Tests

12th Class Computer Science MCQ Tests
Constants of 12th 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
Identify a datatype , when added with modulas operator gives an error.
Question # 2
Detect an error in following constant statement: const int x=7.5;
Question # 3
Operator with highest precedence is :
Question # 4
Special symbols ( + , - , *, !........) are stored as:
Question # 5
What will be the output of following code. main() { int a = 20; float b = 15.6; int c; c = a + b; printf("%d", c); }
Question # 6
if x=9 and y=9 then (x!=y) will give true value.
Question # 7
The output of following code will be: main() { int value = 10; if (value == 0 || value == 1 || value == 2 || value == 3) printf("You picked 0 ,1,2, or 3 value"); else printf("You did not pick 0 or 1"); }
Question # 8
There is no need to assign a variable for constant if it is already declared with #define.
Question # 9
if datatype of pi constant is float then what will be the data type of circumference of circle :
Question # 10
The format specifier used for Pi 3.14 will be:
Total Questions
12345678910
Question # 1
Identify a datatype , when added with modulas operator gives an error.
Question # 2
Detect an error in following constant statement: const int x=7.5;
Question # 3
Operator with highest precedence is :
Question # 4
Special symbols ( + , - , *, !........) are stored as:
Question # 5
What will be the output of following code. main() { int a = 20; float b = 15.6; int c; c = a + b; printf("%d", c); }
Question # 6
if x=9 and y=9 then (x!=y) will give true value.
Question # 7
The output of following code will be: main() { int value = 10; if (value == 0 || value == 1 || value == 2 || value == 3) printf("You picked 0 ,1,2, or 3 value"); else printf("You did not pick 0 or 1"); }
Question # 8
There is no need to assign a variable for constant if it is already declared with #define.
Question # 9
if datatype of pi constant is float then what will be the data type of circumference of circle :
Question # 10
The format specifier used for Pi 3.14 will be:
Total Questions
12345678910

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