NEB Class 12 · Past paper
The complete NEB Class 12 2071 exam paper for Computer Science, all 16 questions with solved model answers.
Tap a question to open its answer.
Write a program which reads names of 100 students and sort them in alphabetial order. [10]
A list of names can be stored as a two dimensional character array, one row per student, and then arranged into order with a simple exchange (bubble) sort that compares adjacent names with strcmp() and swaps them with strcpy() whenever t...
Describe 'Sequence', 'Selection' and 'Loop' with flowchart. Write a program to check if a number is odd or even. [6+4]
Sequence, selection and loop are the three basic control structures used to build the logic of any program. Sequence means statements are executed strictly one after another in the order they are written, with no branching. Its flowchart...
What is pointer ? Describe the benefits of pointer with examples. [4+6]
A pointer is a variable that does not store an ordinary value but stores the memory address of another variable. It is declared using the operator, for example int p; declares p as a pointer to an integer, and p = &x; makes p hold the ad...
What is an array ? Write a program which finds multiplication of two matrices (3 X 3) [2+8]
An array is a collection of elements of the same data type stored in contiguous memory locations and referred to by a single name with an index, for example int a[3][3] is a two dimensional array (matrix) of 9 integers, accessed as a[i][...
Write a program which reads name, roll-number and age from a file named "student.dat" and display them. [10]
A structure is the natural way to group a student's name, roll number and age together, and the standard C file functions fopen(), fprintf() and fscanf() can then be used to write this data to student.dat and read it back. The file is fi...
Describe different levels of feasibility study. [5]
A feasibility study is carried out during the preliminary investigation of the system development life cycle to judge whether a proposed system is worth developing. It is usually examined at four levels. - Technical feasibility checks wh...
Who is system analyst ? List out the rools of system analyst. [1+4]
A system analyst is a professional who studies the problems and requirements of an organization, analyzes the existing system and designs a new or improved computer based system to meet those requirements. Roles of a system analyst: - St...
What is RDBMS ? List out the functions of RDBMS. [1+4]
An RDBMS (Relational Database Management System) is a database management system that stores data in the form of related tables (relations), where each table consists of rows and columns and tables are linked to one another through common key fields.
Functions of an RDBMS:
Describe "Operators" which are used in C-programming. [5]
An operator in C is a symbol that tells the compiler to perform a specific mathematical, relational or logical operation on one or more operands. The main categories are: - Arithmetic operators (+, -, , /, %) perform addition, subtractio...
What is Network ? List out the benefits of Networks. [1+4]
A network is a collection of two or more computers and other devices connected together through a communication medium so that they can share data, resources and information with one another. Benefits of networks: - Resource sharing, so ...
Describe the importance of OOP. [5]
Object Oriented Programming (OOP) organizes software around objects, which bundle data and the functions that operate on that data, rather than around a sequence of instructions. Its importance can be seen in several ways. - Modularity t...
Describe Computer crime and its various forms. [5]
Computer crime (cyber crime) refers to any illegal activity that is carried out using a computer or a computer network as the tool, target or means of committing the offence. Various forms of computer crime: - Hacking, gaining unauthoriz...
What is multimedia ? List out the advantages of multimedia. [1+4]
Multimedia is the combined use of more than one media type, such as text, graphics, audio, video and animation, together in a single application to present information in a richer way. Advantages of multimedia: - It makes information mor...
Describe the objectives of e-governance. [5]
E-governance is the use of information and communication technology by government bodies to deliver services, share information and interact with citizens, businesses and other government agencies. Its main objectives are: - To make gove...
Write short notes on Cyber Law. [2.5]
Cyber law is the branch of law that deals with legal issues related to the use of computers, the internet and cyberspace. It covers matters such as data protection and privacy, electronic contracts and digital signatures, intellectual pr...
Write short notes on Expert System. [2.5]
An expert system is a branch of artificial intelligence that is a computer program designed to imitate the decision making ability of a human expert in a specific field, such as medical diagnosis or engineering fault finding. It generall...