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

The Peshawar Board's 2019 Class 10 Computer Science paper (English medium), typed in full. Eleven MCQs on main(), machine language, printf, loops, if statements, logic gates, compilers, input functions, HTML and Dennis Ritchie — each explained online — plus nine short questions and three long questions.

Board: PeshawarClass 102019English 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 2018

Full paper

PR X (01) 19
BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, PESHAWAR
Secondary School Certificate (S.S.C. Part-II) — Class X Annual Examination 2019
Computer Science — SSC Class 10, PR X (01) 19, Peshawar (English medium) — Class 10 — 2019
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 · 11 MCQs
1.
Each program in C must start with.......function.
Answer & explanation

Correct answer: B — main()

Every C program starts executing from the main() function, so each C program must have exactly one main(). const() and start() are not special functions.
2.
In which language instructions are converted into Binary code?
Answer & explanation

Correct answer: C — Machine

Machine language is binary code.
3.
In which of the given functions output can display on screen?
Answer & explanation

Correct answer: D — printf()

printf() displays output on the screen. scanf(), gets() and getchar() are input functions that read data from the keyboard.
4.
How many loops structure in C language?
Answer & explanation

Correct answer: B — 3

C has three loop structures: for, while and do-while. Nested loops are not a separate type; they are loops placed inside other loops.
5.
Loop within a loop is called.........
Answer & explanation

Correct answer: D — Nested loop

A loop placed inside the body of another loop is called a nested loop. The inner loop completes all its iterations for each single iteration of the outer loop.
6.
The condition of If statement enclosed in .......bracket.
Answer & explanation

Correct answer: C — ( )

In C the condition of an if statement is written inside parentheses ( ), e.g. if (x > 0). Braces { } enclose the block of statements to run.
7.
Electronic circuits which takes one or more inputs signals and gives single outputs is called.........
Answer & explanation

Correct answer: C — Logic Gate

A logic gate is an electronic circuit that takes one or more binary input signals and produces a single output, e.g. AND, OR and NOT gates.
8.
Output of compiler is called.......
Answer & explanation

Correct answer: D — Object code

A compiler translates source code into machine-language object code (a .obj or .o file). The linker then joins object code into an executable program.
9.
Functions which accept data and then store in variable is called........
Answer & explanation

Correct answer: D — Input function

Input functions such as scanf(), gets() and getchar() accept data from the user and store it in variables. Output functions such as printf() display data.
10.
Which languages are used for making web pages?
Answer & explanation

Correct answer: C — HTML

HTML (HyperText Markup Language) is used to create web pages. C is a general programming language, a URL is a web address and a browser only displays pages.
11.
Who developed C language?
Answer & explanation

Correct answer: C — Dennis Ritchie

C was developed by Dennis Ritchie at Bell Labs in 1972. John Kemeny and Thomas Kurtz created BASIC, and Bill Gates co-founded Microsoft.

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

Answer any SEVEN parts. Each part carries FOUR marks.

1.
What are reserved words or keywords?
2.
What is algorithm?
3.
What is flow chart?
4.
What is IDE?
5.
What are format specifiers? Give examples.
6.
Draw diagram and truth table for AND gate having two variables.
7.
What is operators?
8.
Write HTML tags for Title, Paragraph, Line Break, Spaces and Heading.
9.
Differentiate between compiler and interpreter.

Section CMarks: 16

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

Q-III.
Explain different types of looping structures with examples.
8
Q-IV.
What is programming language? Explain different types of programming languages.
8
Q-V.
Write a program in "C" language that reads three number and prints their sum, product and average.
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