Sub. code 4281
NEB — GRADE XII
2081
Old Question
Class 12 Computer Science Old Question 2081
The candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Pass Marks : 20
सबै प्रश्नको उत्तर दिनुहोस् । (Attempt All Questions)
This old question paper is for Class 12 Computer Science, 2081 (subject code 4281), carrying full marks of 50 with a pass mark of 20, to be completed within 2 Hours. Model answers are available for questions that have one — reveal them with a free account (a few reveals) or a paid plan (unlimited).
Group A
Rewrite the correct option of each question in your same answer sheet.
What is the correct syntax to declare a structure in C?
struct { }
define struct { }
struct [ ]
struct <name> { }
Which OOP feature allows a class to inherit properties and behavior from another class?
Inheritance
Encapsulation
Polymorphism
Abstraction
Which database system normally offers better performance for geographically dispersed users?
Centralized database system
Distributed database system
NoSQL database system
Relational database system
In C, which operator is used to get the address of a variable?
*
&
->
.
What is the correct syntax for a 'for-loop' in JavaScript?
for (var i = 0; i < 5; i++) {}
for (i = 0; i < 5; i++) {}
for (var i = 0; i < 5) {}
for (var i < 5; i++) {}
Which of the following is an example of a public IPV4 address?
192.168.1.1
172.16.10.1
10.10.10.10
203.0.113.10
Which PHP function is commonly used to execute SQL queries on a database connection established using mysqli extension?
mysqli_query()
pdo_query()
mysql_query()
pgsql_query()
Which model of SDLC is characterized by a linear progression of phases from requirements gathering to maintenance?
Waterfall model
Agile model
Spiral model
RAD model
Which one of the following given statement correct?
Select * from emp where copid = 103;
Select from emp where copid = 103;
Select copid where emp = 103 from emp;
Select copid where copid = 103 and table = emp;
Group B
Short answer questions
Evaluate the advantages of DBMS compared to traditional file-based data storage systems.
How does Second Normal Form (2NF) differ from First Normal Form (1NF), and what are the key benefits of achieving 2NF in database design? Explain.
Write a JavaScript function that checks if a number is even or odd and print the result.
What is purpose of the mysqli_connect() function in PHP? Describe its usage and parameters.
Write short note on class and object in OOPs with a real-world example.
How do various requirement gathering techniques help in achieving a careful grasp of user needs and system requirements during SDLC’s analysis phase?
Give five examples of AI applications in the education.
Group C
Long answer questions
How does the star network topology differ from the bus network topology in terms of its architectural layout and data transmission methodology in modern computing environments?
Write a C program that uses structures to represent details of five books (title, author, publisher and price) and prints them out.
Discuss the concept of binary file handling in C programming and explain how fwrite() and getw() functions facilitate binary input/output operations. Give examples.
Paper Overview & Analysis
2081
Year
Old Question
Type
50
Full Marks
20
Pass Marks
2 Hours
Duration
16
Question Items
Question Type Breakdown
Group Breakdown
Chapter Breakdown
| Programming II | 3 items | — |
| DBMS Concept | 3 items | — |
| Web Technology - II (CSS, JavaScript, PHP) | 3 items | — |
| OOP Concept | 2 items | — |
| Concept of Network and Data Communication | 2 items | — |
| Software Process Model | 2 items | — |
| Recent Trends in ICT | 1 item | — |