NEB Class 12 Computer Science: Important Board Questions Collection
Examination Guide: Comprehensive unit-wise question bank aligned with the National Examination Board (NEB) Grade XII syllabus and weightage scheme.
Table of Contents & Unit Weightage
| Unit | Unit Title | Marks Allocation |
|---|---|---|
| Unit 1 | Database Management System (DBMS) | 8 Marks |
| Unit 2 | Data Communication & Networking | 9 Marks |
| Unit 3 | Web Technology II | 8 Marks |
| Unit 4 | Programming in C | 8 Marks |
| Unit 5 | Object-Oriented Programming (OOP) | 6 Marks |
| Unit 6 | Software Development Model (SPM) | 6 Marks |
| Unit 7 | Recent Trends in Technology | 5 Marks |
| Total | 7 Units | 50 Marks Theory |
Unit 1: Database Management System (DBMS) [8 Marks]
- What is Database and DBMS? List out the advantages and disadvantages of DBMS.
- Explain the different models of DBMS with their advantages and disadvantages.
- Differentiate between centralized and distributed database systems.
- Who is a DBA? What are the major responsibilities of a DBA?
- What is normalization? Explain the normalization process (1NF, 2NF, 3NF) with examples.
- Define the following terms:
a) Data Dictionaryb) Primary Keyc) Relationshipd) DMLe) SQLf) Data Integrityg) DDLh) Data Securityi) Database System
Unit 2: Data Communication & Networking [9 Marks]
- What is a Computer Network? Explain the advantages and disadvantages of a computer network.
- Discuss different types of computer networks on the basis of size (LAN, MAN, WAN).
- What do you mean by network topology? Explain the different types of network topologies.
- Differentiate between LAN and WAN.
- Define network architecture. Differentiate between client-server and peer-to-peer networks.
- Differentiate between Simplex, Half Duplex, and Full Duplex transmission modes.
- Differentiate between the Internet and Intranet.
- What is Internet addressing? Discuss common Network Tools.
- What do you mean by transmission media? Explain the different types of transmission media used in computer networks (Guided vs Unguided).
- What do you mean by the OSI reference model? Explain the different layers of the OSI reference model.
- Define the following terms:
a) Repeaterb) Bridgec) Protocold) Routere) Satellitef) Microwave Systemg) Subnet Maskh) MAC Addressi) Coaxial Cablej) Fiber Optic Cable
Unit 3: Web Technology II [8 Marks]
Theoretical Questions
- What is web technology? Explain different data types used in JavaScript.
- Differentiate between client-side scripting and server-side scripting.
- What is event handling in JavaScript? Give one example.
- What is jQuery? Write its features and write a program to display the message "Hello Class 12" using jQuery.
- What is JavaScript? How can you add JavaScript to an HTML page? Describe with an example.
- What is a JavaScript function? Explain with calling function examples.
- What is PHP? Write the advantages of PHP.
- Explain the different operators used in PHP.
- What are the features of PHP? Write a PHP program to display the largest among three numbers.
- Define SQL. Write down the SQL queries to create a database, create a table in the database, insert data in the table, and query the data to display it.
- Write down the server-side script to create a database, connect with it, create a table, and insert data into it.
Practical & Programmatic Questions
- Write a JavaScript program to display 1 to 10 using a
forloop,whileloop, anddo-whileloop. - Create a web page with a button labeled "Computer". On clicking the button, your page heading should change to "Computer Science".
- Write a JavaScript program to display "Welcome Class-12" using the
onloadevent. - Design a form with username, address, e-mail, password, and submit button. Validate the form using jQuery.
- Design a form with username, password, and submit button. Write PHP code to retrieve the values of username and password using:
a)$_POSTvariable b)$_GETvariable. - Write a PHP program to check if a given string is a palindrome or not.
- Write a JavaScript program to calculate the factorial of a given number.
- Write a program to input three numbers and find the largest one using JavaScript and PHP.
Unit 4: Programming in C [8 Marks]
Theoretical Questions
- What is C? Write its features.
- What are the advantages and disadvantages of C programming language?
- What is a Data Type? Explain the types of data with examples.
- What is a variable? Explain its types.
- What is an operator? Write its types and explain any four of them.
- What is a control structure? Differentiate between
breakandcontinuestatements with examples. - What is looping? Differentiate between
whileanddo-whileloops with examples. - Define the term array. What is a string? Explain any four string-handling functions with examples.
- What is a function? Write its features and describe its types.
- What is the recursion technique? Explain with one example.
- What is the concept of storage? Differentiate between automatic storage and external storage.
- What is a Structure? Explain with one example.
- Differentiate between array and structure.
- Differentiate between structure and union.
- Differentiate between array and pointer.
- Define call by value and call by reference with examples.
- What is a pointer? Explain with examples.
- Differentiate between Structure and Pointer.
- Differentiate between sequential access and random access techniques in data files.
- Differentiate between
fprintf()andfscanf()functions.
Important Selected C Programs
- Write a program to input any three numbers and find the largest number.
- Write a program to display the day of the week using the
switchstatement based on the number entered (1 for Sunday, 7 for Saturday). - Write a program to input a number and check whether it is prime or not.
- Write a program to display the sum of even and odd numbers from 1 to 50.
- Write a program to accept the age of 10 employees and count the number of employees:
a) Whose age is ≥ 60 b) Whose age is < 35. - Write a program to enter elements for a 3x3 matrix and display their sum.
- Write a program to accept 10 numbers in an array and sort them in descending order.
- Write a program to input a number and check whether it is a palindrome or not.
- Write a program to input the names of N students and sort them in alphabetical order.
- Write a program to read a number, calculate the sum of its individual digits, and print it using recursion.
- Write a program that reads names and addresses into the computer and rearranges the names in alphabetical order using structure variables.
- Write a program to read N students' records, store them in a data file, and display the content in an appropriate format using
fprintf()andfscanf().
Unit 5: Object-Oriented Programming (OOP) [6 Marks]
- What is OOP? Describe its core features.
- What are the advantages and disadvantages of using OOP?
- Explain the terms polymorphism and inheritance.
- Differentiate between Object-Oriented Programming and Structured Programming Language.
- Explain Class, Object, and Encapsulation.
Unit 6: Software Development Model (SPM) [6 Marks]
- What is SPM? Explain the major activities of the Software Development Process in brief.
- What is a Software Development Model? Explain the types of SDM with their advantages and disadvantages.
- Who is a System Analyst? Explain the role and characteristics of a system analyst.
- Explain in detail the Waterfall, Prototyping, and Spiral models of software development.
- What is prototyping? Write down its advantages and disadvantages.
- Define SDLC. Explain the different phases of SDLC in brief.
- What do you mean by a feasibility study? Why is it necessary before designing a system?
- Define system testing. Differentiate between Black Box testing and White Box testing.
- What are algorithms and flowcharts? Differentiate between a system flowchart and a program flowchart.
- Differentiate between System Analysts and System Engineers.
- Define the following terms:
A) DFDB) ER DiagramC) Use Case DiagramD) Waterfall ModelE) System FlowchartF) DocumentationG) AlgorithmH) SDLCI) Decision Table & TreeJ) Prototyping ModelK) Spiral Model
Unit 7: Recent Trends in Technology [5 Marks]
- What do you mean by AI? How does it affect modern society?
- Explain the concept of Big Data and its types.
- What is Big Data? Write down its applications.
- What is E-Commerce? Write down its advantages.
- What is mobile computing? Write its features.
- Define the following terms:
a) M-Commerceb) Roboticsc) E-Learningd) Virtual Realitye) Social Mediaf) IoTg) E-Governanceh) Cloud Computing