Computer Science Class 10 Mardan Board 2026 Past Paper
The Mardan Board's 2026 Class 10 Computer Science paper, typed in full. Eleven MCQs on flowcharts, languages, variables, format specifiers, logical operators, switch, loops, logic gates and HTML — each explained online. Section B asks seven of nine short questions and Section C two of three long questions.
BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, MARDAN
Secondary School Certificate (S.S.C.) Part-II — Class X Annual Examination 2026
Computer Science Paper-X (26) — Class 10 — 2026
Time: 2 hours 30 minutesTotal Marks: 55
Section ATime: 20 minutes · Marks: 11
Choose the correct option i.e. A, B, C or D. (Printed in Urdu on the paper: fill only the circle of the correct answer, using a blue or black marker; filling more than one circle counts as a wrong answer.)
Score 0 / 0 attempted · 11 MCQs
1.
_____ is a diagrammatic representation of algorithm.
Answer & explanation
Correct answer: D — Flowchart
A flowchart draws an algorithm's steps with standard symbols.
Which of the following is not a high level language?
Answer & explanation
Correct answer: A — Assembly language
Assembly uses mnemonics close to machine code — a low-level language.
4.
A quality whose value may change during execution of the program is called a_______.
Answer & explanation
Correct answer: A — Variable
A variable's value can change while the program runs; a constant's cannot.
5.
The format specifier for integer data type is_____.
Answer & explanation
Correct answer: C — %d
%d = int, %f = float, %c = char, %s = string.
6.
Which operator is used to produce true result if both conditions are true
Answer & explanation
Correct answer: A — AND
AND (&&) is true only when both conditions are true.
7.
The case block ends with_______.
Answer & explanation
Correct answer: C — Break
Each case in a switch ends with break so control does not fall through to the next case.
8.
Which loop structure always executes at least once?
Answer & explanation
Correct answer: A — Do-while
do-while tests its condition after the body, so the body runs at least once.
9.
The gate whose output is “1” when all the inputs are 0's is called__
Answer & explanation
Correct answer: B — NOR gate
NOR outputs 1 only when all inputs are 0. (NAND also gives 1 for all-0 inputs, but it gives 1 for every input except all-1s, so it is not defined by this.)
10.
_____ defines how to divide the browser window into frames?
Answer & explanation
Correct answer: D — Frameset
The <frameset> tag splits the window into frames with its rows/cols attributes.
11.
A collection of web pages hosted on a web served is called___.
Answer & explanation
Correct answer: B — Website
A website is a set of linked web pages on a web server.
Section BTime: with Section C: 2 h 10 min · Marks: 28
Q2: Write short answer to any SEVEN of the following parts. All parts carry equal marks.
1.
What is OOP?
2.
Differentiate between program syntax and program semantic.
3.
Define prinft() function. Write its syntax.
4.
What is the use of format specifiers? Give examples.
5.
Define control statements. What are its main examples.
6.
Write short note on the break statement.
7.
Define nested lop. Also write its syntax.
8.
Write short note on Boolean function simplification.
9.
Draw truth table for the Boolean function: Z = f(A,B) = AB + AB + AB
Section CMarks: 16
Note: Answer any TWO questions. All question carry equal marks.
Q3.
Write an algorithm to calculate the factorial of a given number and draw flowchart for it.
8
Q4.
Write a program in C to input a single character and print a message “It is a vowel” or “It is a consonant”. Use if-else structure.
8
Q5.
Create an HTML document that contains a graphical hyperlink.
8
Examiner notes on this paper
This sheet arrived with no answers shaded; every quiz answer was worked out by Tayarri.
MCQ 9: both NAND and NOR give 1 when every input is 0, but NOR is the gate whose output is 1 only when all inputs are 0 — the textbook's definition — so the quiz keys NOR.
Section B part 9: Z = A̅B̅ + AB̅ + A̅B is 1 for every input except A = B = 1, so its truth table matches a NAND gate (Z = (AB)').
About this transcription
Typed from the Mardan Board's Class X 2026 question paper (sheet headed “MRD-10th … Paper-X (26)”). Wording, spelling and numbering are kept as printed; anything changed is listed here.
The scanned answer sheet arrived with bubbles already shaded in. That shading is not trusted: it has been removed from the downloadable PDF, options are shown unmarked here, and every answer in the online quiz was worked out independently by Tayarri. Where the shading was wrong, the notes say so.
The Section A instructions are printed in Urdu on the paper; they are summarised in English above the MCQs.
The Section A marks figure is cut off on the scan; with 11 MCQs it is 11 (total 11 + 28 + 16 = 55).
Kept as printed: 'A quality whose value may change' (for quantity), 'hosted on a web served', 'prinft() function', 'nested lop', 'All question carry equal marks'.
Download this paper
Print-ready A4 PDF, same content as above, no login needed.