Computer Studies Class 10 Karachi Board 2022 Past Paper (English Medium)

The Karachi Board's 2022 Class 10 Computer Studies paper (English medium), typed in full. Twenty-four MCQs on C++ functions and operators, Boolean algebra and logic gates, flowcharts and Scratch — each explained online — then eight of twelve short questions and two of three long questions.

Board: KarachiClass 102022English Medium60 marks3 hours
Download PDFAttempt MCQs onlineExaminer notes

Paper pattern

SectionQuestionsAttemptMarks
Section A (MCQs)24All24
Section B (short)12Any 8 of 1224
Section C (long)3Any 2 of 312

Full paper

BOARD OF SECONDARY EDUCATION, KARACHI
Secondary School Certificate (S.S.C. Part-II) — Class X Annual Examination 2022
Computer Studies 2022 — SSC Annual, Class X (Science Group), Karachi — Class 10 — 2022
Time: 3 hoursTotal Marks: 60

Section A (Compulsory) — MCQsMarks: 24

Attempt all the questions of this section. Do not copy down the part questions; write only the answer against the proper number of the question. Each question carries 1 mark.

Score 0 / 0 attempted · 22 MCQs
i.
The type of function which is the part of a computer language is known as:
Answer & explanation

Correct answer: B — library function

Built-in (library) functions come with the language.
ii.
The process of converting source code into object code is known as:
Answer & explanation

Correct answer: A — Compiling

Compiling.
iii.
An inverter is:
Answer & explanation

Correct answer: C — NOT

A NOT gate inverts its input.
iv.
Step by step solution of a problem in simple language is called:
Answer & explanation

Correct answer: B — Algorithm

An algorithm.
v.
The looks of sprite can be changed by using:
Answer & explanation

Correct answer: B — costume tab

Scratch's Costumes tab changes a sprite's look.
vi.
The type of data that is used for decimal point value is:
Answer & explanation

Correct answer: D — float

float.
vii.
The parts of switch statements are "case" and:
Answer & explanation

Correct answer: C — default

case labels and an optional default.
viii.
Loop within a loop is called:
Answer & explanation

Correct answer: D — nested

A nested loop.
ix.
In a flowchart, an arrow represents:
Answer & explanation

Correct answer: C — data flow

Flow lines show the direction of flow.
x.
"!=" operator belongs to which type of operator?
Answer & explanation

Correct answer: C — Relational

!= (not equal to) is relational.
xi.
Which of the following needs pressing "Enter key" from keyboard?
About this question
Left un-keyed: getchar() and gets() both wait for Enter (getch and getche do not), so two options are correct.
xii.
In Boolean Algebra, A.A = :
Answer & explanation

Correct answer: A — 0

A variable ANDed with its complement is always 0.
xiii.
Which operator is used for input stream from the following:
Answer & explanation

Correct answer: C — >>

cin >> x uses the extraction operator >>; << is for output.
xiv.
The Boolean expression of NOR gate two variables is:
Answer & explanation

Correct answer: A — A + B

NOR = NOT(A + B). (Ā + B̄ is NAND; the last option is NAND too.)
xv.
To send value, to the calling function we use:
Answer & explanation

Correct answer: C — return statement

return.
xvi.
The number of bytes used by "int" type in C++ is:
Answer & explanation

Correct answer: B — 4

On the 32/64-bit compilers used today (Dev-C++, Code::Blocks) an int takes 4 bytes; old 16-bit Turbo C++ used 2.
xvii.
C++ statement ends at:
Answer & explanation

Correct answer: B — ;

A semicolon.
xviii.
In scratch, the character which moves on the stage is called a:
Answer & explanation

Correct answer: A — sprite

A sprite.
xix.
Which of the following operator works only with integer value?
Answer & explanation

Correct answer: B — %

The modulus operator % needs integer operands.
xx.
The process of given variable, its starting value is called:
Answer & explanation

Correct answer: C — Initializing

Initialization.
xxi.
The universal gate is:
Answer & explanation

Correct answer: A — NAND Gate

NAND (and NOR) can build every other gate.
xxii.
The word "prototype" means:
Answer & explanation

Correct answer: A — Declaration

A function prototype is its declaration.
xxiii.
All errors detected by a user are:
Answer & explanation

Correct answer: C — logical errors

Logical errors are not caught by the compiler; the user finds them from wrong output.
xxiv.
"break" statement is used with:
About this question
Left un-keyed: break is used in switch and also in for and while loops, so three options are correct.

Section B — Short-answer questionsMarks: 24

Attempt any EIGHT questions from this section. Each question carries three (3) marks.

Q.2.
What is Computer Program?
Q.3.
Write down the purposes of any two statements: (i) if-else (ii) return (iii) exit () (iv) continue
Q.4.
Why do we use Boolean Algebra?
Q.5.
Differentiate between Arithmetic operators and relational operators.
Q.6.
Why is there need of index in an array?
Q.7.
Write down any three rules of naming variable in C".
Q.8.
Write the uses of any three escape sequences: \t   \n   r   \b   \a
Q.9.
Explain the purpose of "default" in C++.
Q.10.
What are strings in C++?
Q.11.
Write the functions of "for loop".
Q.12.
Explain increment operator (++) and write the name of two ways of its usage.
Q.13.
Describe comment statement. How many types of comment statement are used in C++?

Section C — Detailed-answer questionsMarks: 12

Attempt any TWO questions from this section. Each question carries 6 marks.

Q.14.
Write any three steps of problem solving.
6
Q.15.
Differentiate between constant and variable.
6
Q.16.
Describe the following translators: (i) Compiler (ii) Interpreter (iii) Assembler
6

Examiner notes on this paper

About this transcription

Download this paper

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

Download PDF