NEB Class 12 Science Computer Science Question Paper 2077 Nepal
This is the official NEB Class 12 (Science stream) Computer Science question paper for 2077, as set in the Model questions examination. It carries 30 full marks and a time allowance of 90 minutes, across 8 questions. On Kekkei you can attempt this Computer Science past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your NEB Class 12 Computer Science exam or solving previous years' question papers, this 2077 paper is a great way to practise under real exam conditions.
| Level | NEB Class 12 |
|---|---|
| Stream | Science |
| Subject | Computer Science |
| Year | 2077 BS |
| Exam session | Model questions |
| Full marks | 30 |
| Time allowed | 90 minutes |
| Questions | 8, all with step-by-step solutions |
Group 'A' (Long answer questions)
Attempt any two questions.
Explain if-else control structure with example.
The if-else control structure is a conditional (decision-making) statement that executes one block of code when a condition is true and another block when it is false.
Syntax (C):
if (condition) {
// statements executed when condition is true
} else {
// statements executed when condition is false
}
Example:
if (marks >= 40)
printf("Pass");
else
printf("Fail");
Here, if marks is 40 or more it prints "Pass"; otherwise it prints "Fail".
Define the terms inheritance and polymorphism.
Inheritance: An object-oriented feature by which a new class (derived/child class) acquires the properties (data members) and behaviours (member functions) of an existing class (base/parent class), promoting code reusability and establishing an "is-a" relationship.
Polymorphism: The ability of a single function, operator or object to take many forms / behave differently in different contexts (e.g. function overloading, operator overloading, virtual functions). It allows the same interface to invoke different implementations.
What is function? Write the advantages of function. Differentiate between library and user-defined function with example.
Function: A self-contained, named block of code that performs a specific task and can be called (invoked) whenever needed.
Advantages: (1) Code reusability — write once, call many times; (2) modularity — breaks a large program into manageable parts; (3) easier debugging and maintenance; (4) reduces program length and redundancy; (5) supports top-down design.
Library vs user-defined function:
| Library function | User-defined function |
|---|---|
| Predefined in standard header files | Defined by the programmer |
| Ready to use, just include header & call | Must be written/coded before use |
e.g. printf(), scanf(), sqrt(), strlen() | e.g. int sum(int a,int b){return a+b;} |
| Cannot be modified by user | Can be modified as needed |
What is normalization? Write its advantages. Explain second and third normal form with example.
Normalization: The process of organizing data in a database into tables and columns to reduce data redundancy and eliminate undesirable anomalies (insertion, update, deletion) by decomposing tables based on functional dependencies.
Advantages: reduces data redundancy; eliminates update/insert/delete anomalies; ensures data consistency and integrity; saves storage; makes the database easier to maintain.
Second Normal Form (2NF): A relation is in 2NF if it is in 1NF and every non-key attribute is fully functionally dependent on the whole primary key (no partial dependency). Example: in (StudentID, CourseID, CourseName) with composite key (StudentID, CourseID), CourseName depends only on CourseID (partial) → split into Enrolment(StudentID,CourseID) and Course(CourseID,CourseName).
Third Normal Form (3NF): A relation is in 3NF if it is in 2NF and has no transitive dependency (no non-key attribute depends on another non-key attribute). Example: Student(StudentID, DeptID, DeptName) — DeptName depends on DeptID (transitive) → split into Student(StudentID,DeptID) and Department(DeptID,DeptName).
Group 'B' (Short answer questions)
Attempt any three questions.
Explain system analysis phase of SDLC.
The system analysis phase of the Software Development Life Cycle (SDLC) studies the existing system and the requirements of the proposed system in detail. Its main activities are: gathering requirements (interviews, questionnaires, observation, document review); analysing the current system and identifying problems and user needs; defining what the new system must do (functional and non-functional requirements); using tools such as DFDs, data dictionaries and use cases; and producing a requirement specification (SRS) that guides the design phase. It answers "what the system should do" rather than "how".
What is database model? Explain relational model.
Database model: A logical structure / framework that defines how data is organised, stored, related and manipulated in a database (e.g. hierarchical, network, relational, object-oriented models).
Relational model: Proposed by E. F. Codd, it represents data as a collection of two-dimensional tables called relations. Each table has rows (tuples/records) and columns (attributes/fields); each row is uniquely identified by a primary key, and tables are linked using foreign keys. It supports operations through relational algebra/SQL, enforces data integrity (entity and referential integrity), and reduces redundancy. Example: a Student table related to a Department table via DeptID.
Differentiate between bounded and unbounded transmission media.
Bounded (guided) media carry signals along a physical, solid conductor or path; unbounded (unguided) media transmit signals through air/space without a physical conductor.
| Bounded (Guided) | Unbounded (Unguided) |
|---|---|
| Signal travels through a physical medium (cable) | Signal travels through air/free space (wireless) |
| Examples: twisted pair, coaxial cable, optical fibre | Examples: radio waves, microwave, infrared, satellite |
| Direction/path is confined to the cable | Signal spreads in all directions (broadcast) |
| Generally more secure, less interference | Less secure, more prone to interference/noise |
| Suited for fixed point-to-point links | Suited for mobile/long-distance/remote communication |
Write short note on: (a) AI (b) Router
(a) AI (Artificial Intelligence): The branch of computer science concerned with building machines/programs that can perform tasks normally requiring human intelligence — learning, reasoning, problem-solving, perception, decision-making and language understanding. Applications include expert systems, robotics, natural language processing, machine learning and computer vision.
(b) Router: A network device that operates at the network layer and connects two or more different networks. It examines the destination IP address of packets and forwards them along the best available path using a routing table, enabling communication between networks (e.g. a LAN and the Internet).
Frequently asked questions
- Where can I find the NEB Class 12 Computer Science question paper 2077?
- The full NEB Class 12 Computer Science 2077 (Model questions) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
- Does the Computer Science 2077 paper come with solutions?
- Yes. Every question on this Computer Science past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the NEB Class 12 Computer Science 2077 paper?
- The NEB Class 12 Computer Science 2077 paper carries 30 full marks and is meant to be completed in 90 minutes, across 8 questions.
- Is practising this Computer Science past paper free?
- Yes — reading and attempting this Computer Science past paper on Kekkei is completely free.