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

The Gujranwala Board's 2025 Class 10 Computer Science paper, Group I, typed in full. Ten MCQs on software, IDEs, operators, getch(), blocks, control statements, arrays and functions — each explained online — plus the short and long questions.

Board: GujranwalaClass 10202550 marks2 hours
Download PDFAttempt MCQs onlineExaminer notes

Paper pattern

SectionQuestionsAttemptMarks
Group I MCQs10All10
Group I short3Four from each24
Group I long3Any 2 of 316

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 I) — Class 10 — 2025
Time: 2 hoursTotal Marks: 50

Group I — 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.
Set of instructions given to the computer is called ______
Answer & explanation

Correct answer: B — Software

Software is a set of instructions (programs) that tells the computer what to do. Hardware is the physical parts, and an operator is a symbol such as + or =.
2.
A software that helps the programmer to write computer program is called ______
Answer & explanation

Correct answer: C — IDE

The textbook: an IDE provides the environment that helps the programmer write programs.
3.
Symbol used for assignment operator is
Answer & explanation

Correct answer: A — =

In C the single equals sign (=) is the assignment operator: x = 5; stores 5 in x. % gives a remainder, + adds and / divides; == is used for comparison.
4.
getch() is used to take ______ as input from user.
Answer & explanation

Correct answer: C — Character

getch() reads a single character from the keyboard without waiting for Enter and without showing it on screen. scanf() is used to read integers and floats.
5.
A set of multiple instructions enclosed in braces is called ______
Answer & explanation

Correct answer: D — Block

A block (compound statement).
6.
Types of control statements are ______
Answer & explanation

Correct answer: B — 3

Sequential, selection and repetition.
7.
Assigning values to an array for the first time is called ______
Answer & explanation

Correct answer: D — Array initialization

Giving values to an array when it is first created is array initialization, e.g. int a[3] = {1, 2, 3};. Declaration only states the array's type, name and size.
8.
If the size of an array is 100, the range of index will be ______
Answer & explanation

Correct answer: A — 0 – 99

Indexes start at 0.
9.
The values passed to a function are called ______
Answer & explanation

Correct answer: D — Arguments

The values passed to a function when it is called are arguments, e.g. in sum(4, 5) the arguments are 4 and 5. The return type is the type of value sent back.
10.
Types of functions are ______
Answer & explanation

Correct answer: C — 2

C has two types of functions: built-in (library) functions such as printf() and sqrt(), and user-defined functions written by the programmer.

Group I — Subjective Part IMarks: 24

Attempt any four parts from each of Q.2, Q.3 and Q.4 (2 marks each).

Q.2.
Write short answers to any FOUR parts.
  1. (i)Define char data type.
  2. (ii)What do you know about case sensitive language?
  3. (iii)Define keyword.
  4. (iv)Define escape sequence.
  5. (v)Define binary operator.
  6. (vi)Draw the truth table of OR operator.
8
Q.3.
Write short answers to any FOUR parts.
  1. (i)Draw a flow chart of if statement.
  2. (ii)Write down the names of types of C-Language Control Statements.
  3. (iii)What is meant by nested selection?
  4. (iv)What are three types of Loops?
  5. (v)What is the output of given code: For(int i = 1; i < 3; i++) printf ( “Pakistan” );
  6. (vi)What is meant by nested loops?
8
Q.4.
Write short answers to any FOUR parts.
  1. (i)Find the errors in the following code: Int B[4] = {2,6,4,15,9}
  2. (ii)What is meant by data structure?
  3. (iii)Define function.
  4. (iv)What is meant by built-in function?
  5. (v)What are parameters of function?
  6. (vi)What is meant by signature of function?
8

Group I — Subjective Part IIMarks: 16

Attempt any TWO questions (8 marks each).

Q.5.
Define variable declaration and variable initialization. Write down its general syntax. Also, give two examples of variable declaration.
8
Q.6.
Explain the following with examples: (a) printf() (b) scanf()
8
Q.7.
Write a program in C-language that takes percentage of student as input and displays “Pass” if the percentage is above 33 otherwise “Fail”.
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