Computer Science Class 10 Peshawar Board 2024 Past Paper (English Medium)

The Peshawar Board's 2024 Class 10 Computer Science paper (English medium, SLO based), typed in full. Eleven MCQs on algorithms, compilers, printf syntax, increment, if statements, for loops, continue, logic gates, URLs and websites — each explained online — plus nine short questions and three long questions.

Board: PeshawarClass 102024English Medium55 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

What changed from 2023

Full paper

PR – X (A-I-B6) (24)
BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, PESHAWAR
Secondary School Certificate (S.S.C. Part-II) — Class X Annual Examination 2024
Computer Science — SSC Class 10, PR – X (A-I-B6) (24), Peshawar (English medium) — Class 10 — 2024
Time: 2 hours 30 minutesTotal Marks: 55

Section ATime: 15 minutes · Marks: 11

Fill only the circle of the correct answer with a blue or black pen/marker; filling more than one circle gets no credit.

Score 0 / 0 attempted · 10 MCQs
1.
Sequential steps of instruction to solve a problem is:
Answer & explanation

Correct answer: C — Algorithm

An algorithm is a finite sequence of clear, step-by-step instructions to solve a problem. A flowchart is its graphical form, and programming is writing it in code.
2.
General sequence of steps is determined by:
About this question
Left un-keyed: the stem is unclear — syntax and semantics both govern how program steps are written and ordered, and neither the stem nor the textbook pins one down.
3.
To create and run C program, we need:
Answer & explanation

Correct answer: A — C language compiler

A compiler translates the program; it is the one tool you must have.
4.
Syntax for printf is:
Answer & explanation

Correct answer: B — printf("string");

Quotes and a semicolon.
5.
Function of increment operator (++) in C language is to:
Answer & explanation

Correct answer: A — add 1

The increment operator ++ increases a variable's value by 1, e.g. if x = 5 then after x++ x becomes 6.
6.
Syntax of skip statement is;
Answer & explanation

Correct answer: D — if (condition) statement;

The simple if (skip) statement is written as if (condition) statement;. The statement runs only when the condition is true, and otherwise it is skipped.
7.
Initialization part of for loop executes:
Answer & explanation

Correct answer: D — Once

Once, at the start.
8.
Continue statement is also called:
Answer & explanation

Correct answer: C — Bypass

It bypasses the rest of the loop body.
9.
Plus sign denotes:
Answer & explanation

Correct answer: A — OR gate

A + B is OR.
10.
Web page is identified by unique:
Answer & explanation

Correct answer: B — URL

A URL (Uniform Resource Locator), such as https://tayarri.com, is the unique address that identifies a website or web page on the Internet.
11.
Imparting of knowledge is done through:
Answer & explanation

Correct answer: A — Educational websites

Educational websites, such as online courses and learning portals, exist to impart knowledge. Business sites sell products and news sites report current events.

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

Answer any SEVEN parts. Each part carries FOUR marks.

1.
Write the steps of algorithm to calculate the exponent of a given number.
2.
Data is converted from assembly language to machine language, write its mechanism?
3.
Write the correct sequential process of C language compiler?
4.
Make diagram showing working of cout object.
5.
What is the use of semicolon; in C program, write its syntax.
6.
Differentiate between single and compound if statement.
7.
Draw the diagram of working of for loop.
8.
What are Basic Logic gates, name three basic logic gates?
9.
Write purpose of entertainment website with two examples.

Section CMarks: 16

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

Q-III.
What is OOP language? What are the characteristics of high level language?
8
Q-IV.
Write use and syntax of cin function. Also draw working of cin object diagram?
8
Q-V.
Write a program in C language using do-while loop to find that an input number is even or odd?
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