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

1
Short2.5+2.5Old Question · 2083Software Process ModelSolution available

Explain about technical and economic feasibility.

Open in Software Process Model page
2
Short1+4Old Question · 2083OOP ConceptSolution available

What is OOP (Object Oriented Programming)? Describe any four features of OOP.

Open in OOP Concept page
3
MCQ1mOld Question · 2083Software Process ModelSolution available

Which model follows a strict linear sequential phase order?

A

Agile

B

Waterfall

C

Prototype

D

Scrum

Open in Software Process Model page
4
Short4Old Question · 2083Solution available

Write a C program to generate the Fibonacci series of the first two numbers, 7 and 14, up to 10 terms using a user-defined function.

Browse the Question Bank
5
MCQ1mOld Question · 2083Concept of Network and Data CommunicationSolution available

The full form of OSI is:

A

Open Service Implementation

B

Open System Internet

C

Open Service Interconnection

D

Open System Interconnection

Open in Concept of Network and Data Communication page
6
Short5Old Question · 2083Web Technology - II (CSS, JavaScript, PHP)Solution available

Write a PHP script that connects to a MySQL database named school, retrieves all records from the student table, and displays them in an HTML table.

Open in Web Technology - II (CSS, JavaScript, PHP) page
7
MCQ1mOld Question · 2083DBMS ConceptSolution available

Records in database are also known as:

A

Data

B

Fields

C

Tuples

D

Keys

Open in DBMS Concept page
8
MCQ1mOld Question · 2083OOP ConceptSolution available

Which of the following feature allows the same method name to be used for different types/number of parameters in OOPs concept?

A

Abstraction

B

Encapsulation

C

Polymorphism

D

Inheritance

Open in OOP Concept page
9
Short5Old Question · 2083Web Technology - II (CSS, JavaScript, PHP)Solution available

Write a JavaScript program that accepts three numbers as input and finds the smallest among them.

Open in Web Technology - II (CSS, JavaScript, PHP) page
10
Short4Old Question · 2083Solution available

Write a C program to input a number and check whether it is positive, negative or zero using a user-defined function.

Browse the Question Bank
11
Long8Old Question · 2083Programming IISolution available

Write a C program that reads the student's roll number, name, section and mark of 10 students using an array of structure and display.

Open in Programming II page
12
MCQ1mOld Question · 2083DBMS ConceptSolution available

Which SQL statement displays the name and address of all students who live either in Kathmandu or Bhaktapur from the students table?

A

SELECT * FROM students WHERE address = "Kathmandu" OR address = "Bhaktapur";

B

SELECT name, address FROM Students WHERE address = "Kathmandu" OR "Bhaktapur";

C

SELECT * FROM students WHERE address = "Kathmandu" OR "Bhaktapur";

D

SELECT name, address FROM students WHERE address = "Kathmandu" OR address = "Bhaktapur";

Open in DBMS Concept page
13
MCQ1mOld Question · 2083Web Technology - II (CSS, JavaScript, PHP)Solution available

5. What will be the output of the following PHP code?

echo b;

?>

A

0

B

1

C

2

D

5

Open in Web Technology - II (CSS, JavaScript, PHP) page
14
Short5mOld Question · 2083DBMS ConceptSolution available

Compare the hierarchical database model and the relational database model. Write two advantages of each model.

Open in DBMS Concept page
15
Short5Old Question · 2083DBMS ConceptSolution available

Describe 2NF with example.

Open in DBMS Concept page
16
Long8Old Question · 2083Concept of Network and Data CommunicationSolution available

Explain twisted pair cable, coaxial cable and optical fibre cable.

Open in Concept of Network and Data Communication page
17
MCQ1mOld Question · 2083Web Technology - II (CSS, JavaScript, PHP)Solution available

Which JavaScript method is used to write HTML output?

A

document.write()

B

document.output()

C

console.log()

D

document.writeHTML()

Open in Web Technology - II (CSS, JavaScript, PHP) page
18
MCQ1mOld Question · 2083Programming IISolution available

What does ++X do in a C program?

A

Returns value then increments

B

Increments then returns value

C

Decrement value

D

Returns original value

Open in Programming II page
19
MCQ1mOld Question · 2083Recent Trends in ICTSolution available

A device automatically adjusts room temperature based on real-time sensor data and internet connectivity. Which technology does this represent?

A

Desktop computing

B

Cloud storage

C

IoT (Internet of Things

D

Traditional Embedded System

Open in Recent Trends in ICT page
20
Short2+3Old Question · 2083Recent Trends in ICTSolution available

Explain the basic concept of cloud computing with any three advantages.

Open in Recent Trends in ICT page