Class 12 Computer Science notes and question bank — NEB Exam

Computer Science

Class 12 - 7 Chapters

Sub. code 4281

NEB — GRADE XII

2081

Old Question

Class 12 Computer Science Old Question 2081

The 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 Hoursपूर्णाङ्क (Full Marks) : 50

Pass Marks : 20

सबै प्रश्नको उत्तर दिनुहोस् । (Attempt All Questions)

This old question paper is for Class 12 Computer Science, 2081 (subject code 4281), carrying full marks of 50 with a pass mark of 20, to be completed within 2 Hours. Model answers are available for questions that have one — reveal them with a free account (a few reveals) or a paid plan (unlimited).

Group A

Rewrite the correct option of each question in your same answer sheet.

[9 x 1 = 9]
1.

What is the correct syntax to declare a structure in C?

a.

struct { }

b.

define struct { }

c.

struct [ ]

d.

struct <name> { }

2.

Which OOP feature allows a class to inherit properties and behavior from another class?

a.

Inheritance

b.

Encapsulation

c.

Polymorphism

d.

Abstraction

3.

Which database system normally offers better performance for geographically dispersed users?

a.

Centralized database system

b.

Distributed database system

c.

NoSQL database system

d.

Relational database system

4.

In C, which operator is used to get the address of a variable?

a.

*

b.

&

c.

->

d.

.

5.

What is the correct syntax for a 'for-loop' in JavaScript?

a.

for (var i = 0; i < 5; i++) {}

b.

for (i = 0; i < 5; i++) {}

c.

for (var i = 0; i < 5) {}

d.

for (var i < 5; i++) {}

6.

Which of the following is an example of a public IPV4 address?

a.

192.168.1.1

b.

172.16.10.1

c.

10.10.10.10

d.

203.0.113.10

7.

Which PHP function is commonly used to execute SQL queries on a database connection established using mysqli extension?

a.

mysqli_query()

b.

pdo_query()

c.

mysql_query()

d.

pgsql_query()

8.

Which model of SDLC is characterized by a linear progression of phases from requirements gathering to maintenance?

a.

Waterfall model

b.

Agile model

c.

Spiral model

d.

RAD model

9.

Which one of the following given statement correct?

a.

Select * from emp where copid = 103;

b.

Select from emp where copid = 103;

c.

Select copid where emp = 103 from emp;

d.

Select copid where copid = 103 and table = emp;

Group B

Short answer questions

[5 x 5 = 25]
10.

Evaluate the advantages of DBMS compared to traditional file-based data storage systems.

Or
10.

How does Second Normal Form (2NF) differ from First Normal Form (1NF), and what are the key benefits of achieving 2NF in database design? Explain.

11.

Write a JavaScript function that checks if a number is even or odd and print the result.

Or
11.

What is purpose of the mysqli_connect() function in PHP? Describe its usage and parameters.

12.

Write short note on class and object in OOPs with a real-world example.

13.

How do various requirement gathering techniques help in achieving a careful grasp of user needs and system requirements during SDLC’s analysis phase?

14.

Give five examples of AI applications in the education.

Group C

Long answer questions

[2 x 8 = 16]
15.

How does the star network topology differ from the bus network topology in terms of its architectural layout and data transmission methodology in modern computing environments?

16.

Write a C program that uses structures to represent details of five books (title, author, publisher and price) and prints them out.

Or
16.

Discuss the concept of binary file handling in C programming and explain how fwrite() and getw() functions facilitate binary input/output operations. Give examples.

Computer Science — Old Question 2081NEB Exam

Paper Overview & Analysis

2081

Year

Old Question

Type

50

Full Marks

20

Pass Marks

2 Hours

Duration

16

Question Items

Question Type Breakdown

MCQ9
Short Answer7

Group Breakdown

Group A9 questions · 9 x 1 = 9
Group B5 questions · 5 x 5 = 25
Group C2 questions · 2 x 8 = 16

Chapter Breakdown

Programming II3 items—
DBMS Concept3 items—
Web Technology - II (CSS, JavaScript, PHP)3 items—
OOP Concept2 items—
Concept of Network and Data Communication2 items—
Software Process Model2 items—
Recent Trends in ICT1 item—