Computer Science Class 10 Gujranwala Board 2025 Past Paper (Group II)

The Gujranwala Board's 2025 Class 10 Computer Science objective paper, Group II, typed in full: ten MCQs on conditions, loop iterations, function calls, syntax, for loops, escape sequences, float size, user-defined functions and the % operator — each explained online.

Board: GujranwalaClass 10202510 marks15 minutes
Download PDFAttempt MCQs onlineExaminer notes

Paper pattern

SectionQuestionsAttemptMarks
Group II MCQs10All10

Full paper

BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, GUJRANWALA
Secondary School Certificate (S.S.C. Part-II) — Class X Annual Examination 2025
Computer Science — Class 10, 1st Annual 2025, Gujranwala (Group II, Objective) — Class 10 — 2025
Time: 15 minutesTotal Marks: 10

Group II — ObjectiveTime: 15 minutes · Marks: 10

Four possible answers A, B, C and D are given. Fill the circle in front of the correct answer with marker or pen ink on the answer sheet. Cutting or filling two or more circles will result in zero mark in that question.

Score 0 / 0 attempted · 10 MCQs
1.
A condition which cannot be any -------- expression.
Answer & explanation

Correct answer: D — Compiler

There is no 'compiler expression'; conditions are relational, logical (or arithmetic) expressions.
2.
Each run of loop is called
Answer & explanation

Correct answer: D — Iteration

Each single execution of a loop's body is called an iteration. A loop that runs 10 times performs 10 iterations.
3.
-------- means to transfer the control to another function.
Answer & explanation

Correct answer: A — Calling

Calling a function transfers control to that function. Its statements run, and control then returns to the point after the call.
4.
Set of rules are called -------- of language.
Answer & explanation

Correct answer: C — Syntax

Syntax is the set of rules that decides how statements of a programming language must be written. Breaking these rules gives a syntax error.
5.
-------- part of for loop is executed first.
Answer & explanation

Correct answer: C — Initialization

In for (i = 0; i < 5; i++) the initialization part (i = 0) runs first and only once. Then the condition is checked, the body runs, and the increment follows.
6.
Escape character -------- is used to move cursor to next line.
Answer & explanation

Correct answer: C — \n

The escape sequence \n (newline) moves the cursor to the beginning of the next line. \t inserts a tab and \b moves back one space.
7.
A float uses ------ bytes of memory.
Answer & explanation

Correct answer: B — 4

A float variable takes 4 bytes of memory in C and C++, storing about 6–7 significant digits. A double takes 8 bytes.
8.
The functions which are defined by a programmer are called --------
Answer & explanation

Correct answer: D — User defined functions

Functions that the programmer writes for a particular task are user-defined functions. Built-in functions such as printf() come ready-made in C's library.
9.
Which of the following conditions is to check whether ‘a’ is a factor of ‘c’ or not
Answer & explanation

Correct answer: B — c % a == 0

a divides c when c % a is 0.
10.
The operator % is used to calculate --------
Answer & explanation

Correct answer: B — Remainder

% is the modulus operator: it gives the remainder of integer division, e.g. 17 % 5 = 2. It does not calculate a percentage.

Examiner notes on this paper

About this transcription

Download this paper

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

Download PDF