Computer Science Class 10 Peshawar Board 2025 Past Paper
Peshawar Board Class 10 Computer Science 2025 (new course), the complete paper. Eleven MCQs on algorithms, C and C++, loops, digital logic, e-commerce and HTML — each explained online. Section B asks seven of nine short questions and Section C two of three programming questions.
BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, PESHAWAR
Secondary School Certificate (S.S.C.) Part-II — Class X (Fresh/Reappear) Examination 2025
Computer Science (New) 10th (Fresh/Reappear) — Class 10 — 2025
Time: 2 hours 30 minutesTotal Marks: 55
Section ATime: 15 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 · 10 MCQs
1.
Sequential steps of instruction to solve a problem is.
Answer & explanation
Correct answer: C — Algorithm
An algorithm is a step-by-step set of instructions for solving a problem.
2.
A program that sends C language program into memory and then execute.
Answer & explanation
Correct answer: B — Loader
The loader places the executable program into memory and starts it. The linker joins object files; the editor is for writing code.
3.
Number of keywords supported by C language is.
Answer & explanation
Correct answer: C — 32
Standard (ANSI) C has 32 keywords, e.g. int, float, if, while, return.
4.
Output function print “f” indicates.
Answer & explanation
Correct answer: B — Formatted
printf = print formatted — it prints according to format specifiers such as %d and %f.
5.
The correct syntax for command “cout” in C++ is.
Answer & explanation
Correct answer: C — cout<<variable/constant/expression
C++ is case-sensitive, so it must be lowercase cout, followed by the insertion operator <<.
6.
Change in source code, consists of control statements that controls the flow of program.
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. Control statements alter the normal sequential flow of a program; check the term your textbook uses.
7.
The number of types of loops are.
Answer & explanation
Correct answer: B — 3
C has three loops: for, while and do-while.
8.
In loops, condition statement is given as.
Answer & explanation
Correct answer: C — Relational expression
A loop condition is a relational expression such as i < 10, which is true or false.
9.
In digital computers “0” represents.
Answer & explanation
Correct answer: A — Off
Binary 0 is the OFF (low voltage) state; 1 is ON.
10.
Business websites provides invoices between.
Answer & explanation
Correct answer: B — Buyer and seller
An invoice is the bill a seller issues to a buyer for goods or services.
11.
Tags in HTML are enclosed in.
Answer & explanation
Correct answer: B — < >
HTML tags are written in angle brackets, e.g. <p> … </p>.
Section BTime: with Section C: 2 h 15 min · Marks: 28
Q2: Answer any SEVEN parts. Each part carries 4 marks?
1.
Write the steps of algorithm to find the area of a triangle?
2.
Differentiate between assembly language and machine language?
3.
Write four characteristics of C language?
4.
Write a program in C language using puts ( ) giving output as “My Country Is Pakistan”?
5.
In C++ what is the purpose of cin function also write its syntax?
6.
What is the use of assignment operator in C language? Write its symbol?
7.
Write a purpose and syntax of break statement?
8.
Draw a table for two inputs A and B for OR gate and C will be output?
9.
What are HTML tags? What is the syntax for writing HTML tags?
Section CMarks: 16
Q3: Attempt any TWO questions in detail. All questions carry equal marks?
1.
Differentiate between: (a) C language and C++ (b) C# and Java
8
2.
Write a program in C language to get a person's name and age (in years). Calculate and print the age in months?
8
3.
Write a program in C language using do-while loop to find that an input number even or odd?
8
Examiner notes on this paper
Every keyed answer on this sheet checks out. MCQ 6 is left un-keyed: the phrase it is testing ('alteration' of program flow by control statements) is the textbook's own wording and should be checked.
C programming carries Section C: read a name and age and print age × 12 months; a do-while loop that tests n % 2 == 0 for even/odd. Write the full program — header file, main(), declarations, input, processing and output — each earns marks.
Quick facts: C has 32 keywords; printf's 'f' means formatted; C++ is case-sensitive, so it must be lowercase cout <<; there are three loops (for, while, do-while); HTML tags sit inside < >.
About this transcription
Typed from the board's own Class X 2025 question paper. 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.
MCQ 5 prints its first two options identically ('Cout<<variable/constant/expression'); kept as printed.
Kept as printed: 'print “f”', 'Fonction', 'Business websites provides invoices', and the cut-off ends of Section B Q4 and Q6.
Download this paper
Print-ready A4 PDF, same content as above, no login needed.