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: MardanClass 10202655 marks2 hours 30 minutes
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

MRD-10th
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.
2.
Which symbol is used to represent a decision?
Answer & explanation

Correct answer: B — Diamond

Diamond = decision; oval = start/stop; rectangle = process; parallelogram = input/output.
3.
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

About this transcription

Download this paper

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

Download PDF