Computer Science Class 10 Peshawar Board 2026 Past Paper

The Peshawar Board's 2026 Class 10 Computer Science paper, typed in full. Eleven MCQs on flowcharts, languages, the IDE, C/C++ input and output, switch, loops, logic gates, the web and HTML — each explained online. Section B asks six of nine short questions and Section C two of three long questions on C.

Board: PeshawarClass 10202655 marks2 hours 30 minutes
Download PDFAttempt MCQs onlineExaminer notes

Paper pattern

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

What changed from 2025

Full paper

PR X 26
BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, PESHAWAR
Secondary School Certificate (S.S.C.) Part-II — Class X (Fresh/Reappear) Examination 2026
Computer Science (Compulsory) 10th (Fresh/Reappear) — Class 10 — 2026
Time: 2 hours 30 minutesTotal Marks: 55

Section ATime: 15 minutes · Marks: 10

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 or symbolic representation of algorithm
Answer & explanation

Correct answer: C — Flowchart

A flowchart shows an algorithm's steps with standard symbols.
2.
A _____ symbol represents process.
Answer & explanation

Correct answer: B — Rectangle

Rectangle = process; parallelogram = input/output; oval = start/end; diamond = decision.
3.
Java, and Python are examples of_____ language.
Answer & explanation

Correct answer: A — High Level

Java and Python are English-like high-level languages.
4.
The environment where we can type, debug, compile and run our code is called _____.
Answer & explanation

Correct answer: A — IDE

An Integrated Development Environment combines the editor, compiler and debugger. An editor alone only lets you type.
5.
Which of the given are used in C++ for input and output?
Answer & explanation

Correct answer: C — cin/cout

cin and cout are C++'s stream input and output objects; printf/scanf are the C functions.
6.
Case and break are used in _____ statement?
Answer & explanation

Correct answer: B — switch()

A switch statement lists case labels, and break ends each case.
7.
When we know no. of times we want our code to repeat we use _____ loop.
Answer & explanation

Correct answer: A — for

A for loop is a counter-controlled loop for a known number of repetitions.
8.
Which of the given is not used for decision making in C-language?
Answer & explanation

Correct answer: C — for

for is a loop. if-else and switch make decisions.
9.
_____ gate is used to convert false into true or true into false.
Answer & explanation

Correct answer: C — Not

The NOT gate inverts its input: 0 → 1, 1 → 0.
10.
www stands for _____
Answer & explanation

Correct answer: A — world wide web

WWW = World Wide Web.
11.
Which of the given tag is used to insert a break in the line in HTML?
Answer & explanation

Correct answer: B — <br>

<br> inserts a line break; <img> adds an image.

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

Q2: Attempt any SIX parts. Each part carries FOUR marks.

1.
What is the difference between personal website and business website?
2.
Define XOR gate with diagram and truth table.
3.
Why while loop can run 0 no. of time but do-white will always run at least one no. of time? Explain.
4.
Why, “if” statement is different from "if-else" statement? Explain.
5.
Why do we use = and == operators?
6.
Define arithmetic operators.
7.
Create a flowchart for taking three integers as input and finding their sum and printing the result on the screen.
8.
Differentiate between syntax and semantics in programming language.
9.
Write an algorithm that reads the temperature in Celsius and converts it into Fahrenheit and print the result on screen?

Section CMarks: 16

Note: Attempt any TWO questions in detail. All questions carry equal marks.

Q3.
What are operators? Explain different types of operators with examples.
8
Q4.
Write a program in C that takes salary of an employee as input and then calculates 10% raise for given salary and then prints the result on the screen.
8
Q5.
Explain different data types used in C-language with examples.
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