Sajha Entrance — What After +2? Join IOE, BSc CSIT, BIT, BCA, CMAT — Putalisadak, KathmanduCollege Info Nepal — Explore Colleges, Courses, Universities, Entrance
Home/Class 12/Computer Science

Computer Science

Class 12 - 7 Chapters

Home/Class 12/Computer Science/Question Bank/Computer Science Old Question 2081

Sub. code 4281

NEB — GRADE XII

2081

Old Question

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

Pass Marks : 20

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

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 { }

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]
17.

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?

18.

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

Or
18.

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 ScienceOld Question 2081NEB Exam