Browse papers
LevelNEB Class 12
StreamScience
SubjectComputer Science
Year2077 BS
Exam sessionModel questions
Full marks30
Time allowed90 minutes
Questions8, all with step-by-step solutions
A

Group 'A' (Long answer questions)

Attempt any two questions.

4 questions·7.5 marks each
1aLong answer3.5 marks

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".

programmingcontrol-structures
1bLong answer4 marks

Define the terms inheritance and polymorphism. [2+2][2+2]

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.

oopinheritancepolymorphism
2Long answer7.5 marks

What is function? Write the advantages of function. Differentiate between library and user-defined function with example. [1+2.5+4][1+2.5+4]

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 functionUser-defined function
Predefined in standard header filesDefined by the programmer
Ready to use, just include header & callMust 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 userCan be modified as needed
programmingfunctions
3Long answer7.5 marks

What is normalization? Write its advantages. Explain second and third normal form with example. [1.5+2+4][1.5+2+4]

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

databasenormalization
B

Group 'B' (Short answer questions)

Attempt any three questions.

4 questions·5 marks each
4Short answer5 marks

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".

sdlcsystem-analysis
5Short answer5 marks

What is database model? Explain relational model. [2+3][2+3]

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.

databasedata-modelsrelational-model
6Short answer5 marks

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 fibreExamples: radio waves, microwave, infrared, satellite
Direction/path is confined to the cableSignal spreads in all directions (broadcast)
Generally more secure, less interferenceLess secure, more prone to interference/noise
Suited for fixed point-to-point linksSuited for mobile/long-distance/remote communication
networkingtransmission-media
7Short answer5 marks

Write short note on: (a) AI (b) Router [2.5+2.5][2.5+2.5]

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

artificial-intelligencenetworking

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.