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

The Lahore Board's 2025 Class 10 Computer Science paper, Group II, typed in full. Ten MCQs on IDEs, C program structure, operator precedence, format specifiers, true expressions, nested loops, arrays, arguments and return types — each explained online — plus the short and long questions.

Board: LahoreClass 10202550 marks2 hours
Download PDFAttempt MCQs onlineExaminer notes

Paper pattern

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

Full paper

BOARD OF INTERMEDIATE AND SECONDARY EDUCATION, LAHORE
Secondary School Certificate (S.S.C. Part-II) — Class X Annual Examination 2025
Computer Science — Tenth 2025, Lahore Board (Group II) — Class 10 — 2025
Time: 2 hoursTotal Marks: 50

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 · 9 MCQs
1.
IDE stands for:
Answer & explanation

Correct answer: C — Integrated Development Environment

IDE stands for Integrated Development Environment: one program that combines an editor, compiler, linker and debugger for writing and testing code.
2.
How many parts to develop C-program:
Answer & explanation

Correct answer: D — Three

The textbook's C program structure has three parts: link section, main section and the body of main.
3.
The answer of expression 12+6/3 in C-language is:
Answer & explanation

Correct answer: D — 14

Division first: 12 + 2 = 14.
4.
Which of the following format specifier is used for integer data type:
Answer & explanation

Correct answer: C — %d

%d is the format specifier for int values in printf() and scanf(). %f is for float, %c for char and %s for strings.
5.
if-else statement is known as ------:
About this question
Left un-keyed: if-else is a selection (control) statement, not a variable; none of the options names it correctly.
6.
Which of the following expression is True:
Answer & explanation

Correct answer: C — 5 + 4

In C any non-zero value is true; 5 + 4 = 9, while the other three evaluate to false (0).
7.
Using loops inside loops is called ------ loops:
Answer & explanation

Correct answer: D — Nested

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.
8.
---- make it easier to read and write values in array:
Answer & explanation

Correct answer: A — Loops

Loops make array handling easy: a for loop can step through every index, e.g. for (i = 0; i < 10; i++) scanf("%d", &a[i]);.
9.
Which values passed to a function is called ------:
Answer & explanation

Correct answer: A — 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.
The ----- of a function is the data type of the value returned by function:
Answer & explanation

Correct answer: D — Return type

The return type of a function is the data type of the value it sends back, e.g. int in int sum(int a, int b). void means nothing is returned.

Group II — 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)Differentiate between constants and variables.
  2. (ii)Why do we need a programming environment?
  3. (iii)Describe the purpose of using comments.
  4. (iv)What are relational operators? Describe with an example.
  5. (v)Which function of C-language is used to display output on screen?
  6. (vi)Describe the purpose of Modulus operator.
8
Q.3.
Write short answers to any FOUR parts.
  1. (i)What is meant by sequential control?
  2. (ii)Draw a flow chart of if-else statement.
  3. (iii)Define selection statement.
  4. (iv)Find the error in the given code: for (int i = 0, i < 10 , i + +) printf ("%d \n", & i) ;
  5. (v)Write the syntax of for loop.
  6. (vi)What is meant by initialization of for loop?
8
Q.4.
Write short answers to any FOUR parts.
  1. (i)Which are the basic types of function?
  2. (ii)What is meant by function signature?
  3. (iii)Write two advantages of functions.
  4. (iv)What is meant by function calling?
  5. (v)Define an array in your own words.
  6. (vi)Describe index of an array.
8

Group II — Subjective Part IIMarks: 16

Attempt any TWO questions (8 marks each).

Q.5.
Describe the basic structure of C-program.
8
Q.6.
Define logical operator. Explain types of logical operators.
8
Q.7.
Write a program that take a number as input from user and tells whether the given number is even or not.
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