Preparing for your NEB Class 12 Computer Science board exam? You’re in the right place! Here is the complete question paper for the Computer Science (Sub.Code: 4281’D’) exam of the year 2082 (2025).
Practicing with past question papers is one of the best ways to understand the exam pattern, marking scheme, and the types of questions you can expect. This paper covers the entire syllabus, helping you to test your knowledge and manage your time effectively during the exam.
Exam Details
- Board: National Examinations Board (NEB)
- Grade: XII
- Subject: Computer Science
- Year: 2082 (2025)
- Subject Code: 4281’D’
- Full Marks: 50
- Time: 2 Hours
Key Topics Covered in this Question Paper
This paper tests your understanding of various fundamental concepts in computer science, including:
Data Communication: Transmission mediums.
Database Management System (DBMS): Primary keys, SQL commands (ALTER
), DDL vs. DML, and Normalization (2NF, 3NF).
Web Technology: Secure protocols (HTTPS), JavaScript control structures (for loop), and invalid PHP variable names.
Programming: C function declaration, Object-Oriented Programming (Class, Inheritance), and a C program using arrays and structures.
Software Engineering: Requirement gathering and feasibility studies (Technical feasibility).
AI & Cloud Computing: Introduction to AI, its applications in education, and types of cloud services (IaaS, PaaS, SaaS).
Sub.Code: 4281’D’
NEB – GRADE XII
2082 (2025)
Computer Science
(For regular and partial students whose first two digits of registration number starts from 78, 79, 80 and 81)
Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Time: 2 hrs. Full Marks: 50
Rewrite its (MCQ) correct option (answer) in the same answer sheet.
Group ‘A’
Multiple choice questions [9×1=9]
1. Which of the following is the purpose of using primary key in database?
A) To uniquely identify a record
B) To store duplicate record
C) To backup data
D) To enhance database size
2. A company needs to modify an existing table by adding a new column for employee email addresses. For this, which SQL command should be used?
A) CREATE
B) ALTER
C) SELECT
D) UPDATE
3. Which protocol is used for secure communication over a computer network?
A) HTTP
B) FTP
C) HTTPS
D) Telnet
4. Which control structure in JS (Java Script) is used to execute a block of code repeatedly based on a given condition?
A) For loop
B) if-else
C) switch – case
D) function
5. Select the invalid variable name in PHP.
A) $name
B) $_name
C) $1name
D) $name123
6. The statement
int number ( int a); is a …
A) function call
B) function definition
C) function declaration
D) function execution
7. In which of the following programming, the emphasis is given on data rather than on procedures?
A) Procedural programming
B) Structural programming
C) Object-oriented programming
D) Declarative programming
8. Which type of feasibility study evaluates whether a system can be developed with the available technology?
A) Operational feasibility
B) Social feasibility
C) Technical feasibility
D) Economic feasibility
9. Which of the following is NOT a type of cloud computing service?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) Hardware as a Service (HaaS)
Sub.Code: 4281’D’
NEB – GRADE XII
2082 (2025)
Computer Science
(For regular and partial students whose first two digits of registration number starts from 78, 79, 80 and 81)
Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Time: 2 hrs. Full Marks: 50
Question No. 1 to 9 (Multiple Choice Questions) will be provided after 30 minutes of starting examination.
Group ‘B’
Short answer questions [5×5=25]
10. Write any three differences between DDL and DML. Give examples of each. [3+2]
OR
What is normalization? Explain 2NF and 3NF. [2+3]
11. Write JavaScript code to input any three numbers and find the smallest number among them. [5]
OR
Write a PHP script to connect to a MySQL database. [5]
12. Write short notes on class and inheritance in oops with example. [5]
13. What is Requirement Gathering? Explain different Requirement Gathering methods. [1+4]
14. What is AI? Explain application areas of AI in education. [5]
Group ‘C’
Long answer questions [2×8=16]
15. What is transmission medium? Explain its major types with advantages and disadvantages. [2+6]
16. Write a C program that reads the account_number, name and address of ten customers from users and displays the account_number, name and address of these customers using Array and structure. [8]
OR
What are the components of a function of C?
Describe the Call – by – value and Call – by – reference and passing the function parameters. [4+4]