Class 12 Computer Science notes and question bank — NEB Exam
Home/Class 12/Computer Science

Computer Science

Class 12 - 7 Chapters

Home/Class 12/Computer Science/Question Browser

NEB Question Browser

Explore Class 12 Computer Science past and model questions by chapter, year, marks and question type.

115 questions found

41
ShortOld Question · 2081Software Process ModelSolution available

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

Open in Software Process Model page
42
ShortOld Question · 2081DBMS ConceptSolution available

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

Open in DBMS Concept page
43
MCQOld Question · 2081OOP ConceptSolution available

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

A

Inheritance

B

Encapsulation

C

Polymorphism

D

Abstraction

Open in OOP Concept page
44
MCQOld Question · 2081DBMS ConceptSolution available

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

Open in DBMS Concept page
45
MCQOld Question · 2081Programming IISolution available

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

A

*

B

&

C

->

D

.

Open in Programming II page
46
MCQOld Question · 2081Web Technology - II (CSS, JavaScript, PHP)Solution available

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

Open in Web Technology - II (CSS, JavaScript, PHP) page
47
MCQOld Question · 2081Concept of Network and Data CommunicationSolution available

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

Open in Concept of Network and Data Communication page
48
MCQOld Question · 2081Web Technology - II (CSS, JavaScript, PHP)Solution available

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()

Open in Web Technology - II (CSS, JavaScript, PHP) page
49
ShortOld Question · 2081DBMS ConceptSolution available

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.

Open in DBMS Concept page
50
ShortOld Question · 2081Web Technology - II (CSS, JavaScript, PHP)Solution available

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

Open in Web Technology - II (CSS, JavaScript, PHP) page
51
ShortOld Question · 2081Web Technology - II (CSS, JavaScript, PHP)Solution available

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

Open in Web Technology - II (CSS, JavaScript, PHP) page
52
ShortOld Question · 2081Programming IISolution available

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

Open in Programming II page
53
ShortOld Question · 2081Recent Trends in ICTSolution available

Give five examples of AI applications in the education.

Open in Recent Trends in ICT page
54
ShortOld Question · 2081Programming IISolution available

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

Open in Programming II page
55
MCQOld Question · 2081Programming IISolution available

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

A

struct { }

B

define struct { }

C

struct [ ]

D

struct { }

Open in Programming II page
56
ShortOld Question · 2081OOP ConceptSolution available

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

Open in OOP Concept page
57
ShortOld Question · 2081Concept of Network and Data CommunicationSolution available

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?

Open in Concept of Network and Data Communication page
58
MCQOld Question · 2081Software Process ModelSolution available

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

Open in Software Process Model page
59
MCQOld Question · 2080-suppSoftware Process ModelSolution available

Conducting feasibility analysis is done in which phase of SDLC?

A

Planning

B

Analysis

C

Design

D

Implementation

Open in Software Process Model page
60
ShortOld Question · 2080-suppOOP ConceptSolution available

Describe the inheritance concept with an example.

Open in OOP Concept page