Chapter 2 Programming In C Computer Science 10th Class Kpk MCQ Tests
10th Class Computer Science Chapter 2 MCQ Tests
Chapter 2 of 10th Class Computer Science has 20 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: 20
Total Marks: 20
Time: 20 Mins
Total Questions: 20
Total Marks: 20
Time: 20 Mins
20Min : 00 Sec Remaining
Question # 1
Special symbol used to write comments against every programming statement is:
Question # 2
One datatype in C can be converted into another datatype during source code development.
Question # 3
if a function is not returning any value then, keyword to represent is:
Question # 4
Body of main function is enclosed using:
Question # 5
A class in Object oriented programming is a blue print of :
Question # 6
A computer program is a set of instructions written in :
Question # 7
A program written in Dev C++ is saved as ________________ extension.
Question # 8
The output of the following statements (int x=9.6; printf("%d",x); will be:
Question # 9
printf() statement written inside main function.
Question # 10
Detect a syntax mistake in given program: float 6.5=x; printf("%f",x);
Question # 11
Text Editing, Compilation, Debugging, all features integrated in:
Question # 12
One can easily run a computer program without integrated development environment.
Question # 13
A space can be used in a variable name.
Question # 14
The output of the following statement (int printf=90; printf("%d",printf); ) will be:
Question # 15
The output of following code will be:
main() { int a=65;
char c=(char)a;
printf("%c",c);
}
Question # 16
Which one of these is an example of IDE (Integrated development environment)?
Question # 17
Name the language understood easily by humans.
Question # 18
A keyword used in C language to repeat steps is:
Question # 19
A reserved word can be used as variable name.
Question # 20
Detect a syntax mistake in given program: int x = 6; print("%d",x);
Total Questions
1234567891011121314151617181920
Question # 1
Special symbol used to write comments against every programming statement is:
Question # 2
One datatype in C can be converted into another datatype during source code development.
Question # 3
if a function is not returning any value then, keyword to represent is:
Question # 4
Body of main function is enclosed using:
Question # 5
A class in Object oriented programming is a blue print of :
Question # 6
A computer program is a set of instructions written in :
Question # 7
A program written in Dev C++ is saved as ________________ extension.
Question # 8
The output of the following statements (int x=9.6; printf("%d",x); will be:
Question # 9
printf() statement written inside main function.
Question # 10
Detect a syntax mistake in given program: float 6.5=x; printf("%f",x);
Question # 11
Text Editing, Compilation, Debugging, all features integrated in:
Question # 12
One can easily run a computer program without integrated development environment.
Question # 13
A space can be used in a variable name.
Question # 14
The output of the following statement (int printf=90; printf("%d",printf); ) will be:
Question # 15
The output of following code will be:
main() { int a=65;
char c=(char)a;
printf("%c",c);
}
Question # 16
Which one of these is an example of IDE (Integrated development environment)?
Question # 17
Name the language understood easily by humans.
Question # 18
A keyword used in C language to repeat steps is:
Question # 19
A reserved word can be used as variable name.
Question # 20
Detect a syntax mistake in given program: int x = 6; print("%d",x);
Total Questions
1234567891011121314151617181920
Computer Science
10th Class Kpk MCQ Tests
10th Class Online Classes 2026
Updated on: 17-05-2026
10th Class Online Preparation
10th Class 2026 Online
10th Class 2026
Add a Comment
Comments will be shown after admin approval.
Spam comments will not be approved at all.
Matric Result 2026 Punjab
10th Class Result 2026 Punjab
9th Class Result 2026 Punjab Boards
10th Class Result Gazette 2026 Punjab
Punjab Past Papers Matric 9th 10th
Primary Results 5th & 8th Class
BISE Results Intermediate & Matric
BISE Punjab Boards
Sindh Educational Boards
KPK Examination Boards
Technical Boards
Public Service Commission
University Results Gruaduation, Masters Classes
Subscribe by Email
Subscribe by Email
Position Holders Matric 2026
Position Holders 9th Class 2026
Position Holders Inter 2026
Position Holders 11th Class 2026
Kpk 10th Class Computer Science








