HISSAN CENTRAL
EXAMINATION 2081 (2025)
Grade: XII Time: 2 hrs
F.M.: 50
COMPUTER SCIENCE
(4281 M1)
Candidates are required to give their answers in their own
words as far as practicable.
Multiple Choice Questions.
GROUP A
Writes the best alternative.
[9×1=9]
1.Which database language is used for defining schema
structures?
a)DML b)DDL
c)DCL d)TCL
ans: b)DDL
2. Which of the following operations are used to extract
data from a
database?
a)SELECT b)DELETE
c)UPDATE d)INSERT
ans: a)SELECT
3. Which of the following is NOT a valid PHP data type?
a)String b)Float
c)Character d)Boolean
ans: c)Character
4.Which symbol is used for single-line comments in
JavaScript?
a)// b)/* */
c)<!-- --> d)**
ans a)//
5.What is the default return type of a function in C if no
return type is
specified?
a)void b)int
c)char d)float
Ans: b)int
6. Which network device is used to connect multiple networks
together?
a)Hub b)Switch
c)Router d)Repeater
ans: c)Router
7. What is cloud computing?
a)A type of software b)A
type of hardware
c)The delivery of computing services over the internet d)A programming language
Ans: c)The delivery of computing services over the
internet
8. Which of the following is NOT a principle of OOP?
a)Encapsulation b)Inheritance
c) Compilation d)Polymorphism
Ans: c) Compilation
9.Which of the following SDLC models is also known as the
"linear-
sequential model"?
a)Spiral Model b)Waterfall
Model
c)Agile Model d)V-Model
Ans: b)Waterfall Model
Short Answer
Questions: 15×5-25]
GROUP B
10. What is database? Explain any three advantages of DBMS. [2+3=5]
OR
Explain second normal form with example. [5]
11. Write a javascript function that takes two numbers as
arguments and returns their sum.[5]
OR
Write a PHP script to find the largest of three numbers.
12. Explain the concept of inheritance in OOP. How does
inheritance help in code reusability?[2+3]
13 What is e-learning? Write any three advantages of
e-learning. [2+3]
14. What is the purpose of the requirements gathering phase
in the SDLC? Explain. [2+3]
Long Answer
Questions: [2x8-16]
GROUP C
15.What is computer network? Explain any three types of
network topologies with their advantages.
[2+6]
16. Write a C program to read and display employee details
using a structure. [Define a structure Employee to store employee name
(string), ID (integer), and salary (float)]. Write a program to input values
for these fields and then display them.
OR
What is pointer? Write a C program to add two numbers using
call by reference. [2+6]
THE END