Computer Science Class 10 Abbottabad Board 2026 Past Paper

The Abbottabad Board's 2026 Class 10 Computer Science paper, typed in full. Eleven MCQs on problem solving, C keywords, comments, output functions, operators, switch, loops, XOR and HTML tags — each explained online. Section B asks seven of nine short questions and Section C two of three. Sections B and C are printed in English and Urdu.

Board: AbbottabadClass 10202655 marks2 h 35 min
Download PDFAttempt MCQs onlineExaminer notes

Paper pattern

SectionQuestionsAttemptMarks
Section A (MCQs)11All11
Section B (short)9Any 7 of 928
Section C (long)3Any 2 of 316

Full paper

SSC-A-I-2026 (10th)
BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, ABBOTTABAD
Secondary School Certificate (S.S.C.) Part-II — Class X Annual Examination 2026
Computer Science (CS-II) 10th — SSC-A-I-2026 (10th), Abbottabad — Class 10 — 2026
Time: 2 h 35 minTotal Marks: 55

Section ATime: 20 minutes · Marks: 11

Choose the correct option and fill its circle on this sheet. (All questions of this section must be answered on this page and handed over to the Superintendent within the given time.)

Score 0 / 0 attempted · 9 MCQs
1.
One of the following is not a factor that affects the selection of best solution:
About this question
This answer depends on the wording of the KP textbook, which Tayarri has not yet checked, so no answer is marked in the quiz. The pre-shaded sheet marks complexity.
2.
One of the following is a reserved word in C.
About this question
default, static and for are all C keywords, so the question has three right answers; 'avoid' is the only non-keyword.
3.
Comments in a C program always starts with:
Answer & explanation

Correct answer: D — both A & B

/* … */ block comments and // line comments.
4.
One of the following is an output function:
Answer & explanation

Correct answer: C — puts()

puts() prints a string; cin and gets() read input.
5.
One of the following operations can be used only with integer variables/values on its both sides.
Answer & explanation

Correct answer: B — %

Modulus works on integers only.
6.
In switch(expression) the value of expression should be:
Answer & explanation

Correct answer: B — int

switch needs an integer (or char) expression.
7.
One of the following is a post-tested loop.
Answer & explanation

Correct answer: A — do-while

do-while checks its condition after the body.
8.
If outer loop executes 4 times and inner loop executes 8 times. Then total number of executions for inner loop will be:
Answer & explanation

Correct answer: D — 32

4 × 8 = 32.
9.
The output of XOR gate will be 1 if:
Answer & explanation

Correct answer: D — both inputs are different

XOR is 1 when the inputs differ.
10.
<br> tag is used to:
Answer & explanation

Correct answer: C — end the text line

<br> is a line break.
11.
Title of web page is written in:
Answer & explanation

Correct answer: B — head tag

<title> sits inside <head>.

Section BTime: with Section C: 2 h 15 min · Marks: 28

1. Attempt any seven of the following short questions. Each question carries 4 marks.

i.
Define and briefly describe any two factors that are used to measure the efficiency of algorithm.
ii.
Write down the purpose of using conio.h and math.h header files in a C program.
iii.
Define and describe the syntax of declaring and initializing a variable in C.
iv.
Define printf() and briefly describe its syntax.
v.
Write names of any three functions that can be used to read single character from the keyboard also mention the required header file.
vi.
Write a program in C that gets a character input and find whether character is consonant or not using switch statement.
vii.
Describe the syntax of do-while loop.
viii.
What is NOR gate? Draw NOR gate along with its logic diagram and truth table.
ix.
Write a complete HTML code to display "PAKISTAN Zindabad" in italic style on two lines.

Section CMarks: 16

NOTE: Attempt any two of the following questions. Each question carries 8 marks.

2.
Describe that how different parts of a program are used to construct basic structure of a C program. Explain every part in detail.
8
3.
Describe the syntax of cin and cout and write example program to show its use.
8
4.
Define loop structure. Describe in detail the complete syntax of do-while loop. Describe what is special in do-while loop. Write an example program.
8

Examiner notes on this paper

About this transcription

Download this paper

Print-ready A4 PDF, same content as above, no login needed.

Download PDF