0% found this document useful (0 votes)
3 views2 pages

Computer Science - Edited

The document is a pre-board exam paper for Grade XII Computer Science, containing multiple choice questions, short answer questions, and long answer questions. It covers topics such as JavaScript functions, SQL statements, object-oriented programming, and the OSI reference model. The exam is structured into three groups with varying question formats and marks allocation.

Uploaded by

dipendrabhusald
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Computer Science - Edited

The document is a pre-board exam paper for Grade XII Computer Science, containing multiple choice questions, short answer questions, and long answer questions. It covers topics such as JavaScript functions, SQL statements, object-oriented programming, and the OSI reference model. The exam is structured into three groups with varying question formats and marks allocation.

Uploaded by

dipendrabhusald
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

4. Which jJavaScript function use to text input ?

KAASTHAMANDAP VIDHYALAYA +2
Budhanilkantha – 9, Kathmandu
a. [Link]()
Pre-Board Exam – 2026 b. readln()
Grade – XII
c. alert()
Subject: Computer (4281) Time: 2 hours Full Marks: 50
d. prompt()
Candidates are required to write their answers in their own words as far as
practicable. The figure in the margin indicates full marks. 5. Which of the following statement is not true?
a. PHP is open-source scripting language
Group 'A' b. PHP is client-side scripting language
(Multiple Choice Questions) c. PHP can be integrated with database like MYSQL,Oracle
Select the correct alternative. [9×1=9] d. PHP is case sensitive language

6. What is the correct syntax for a 'for loop' in JavaScript?


1. The term ______ is used to refer a row. a. for (var i=0;i<5;i++){} c. for (var i=0;i<5){}
a. Record b. Column c. Tuple d. Instance b. for (i=0;i<5;i++){} d. for (var i<5;i++){}
2. Which of the following given statements is correct? 7. Which is default subnet mask for the class C IP address?
a. Select*from enp where eopid=103; a. 2545.0.0.0 c. 2555.255.0.0
b. Select from enp where eopid =103 b. [Link] d. [Link]
c. Select eopid where enp=103 from emp; 8. ….. is the process that allows selective hiding of data and function in a
d. Select eopid where eop id=103 and table=emp; class.
a. Class c. Encapsulation
3. Which key is an attribute of a table that matches a primary key attribute
b. Inheritance d. Polymorphism
in another table to create a relationship?
a. Candidate c. Foreign
b. Primary d. National

XII/ Computer Science 1


9. Which model of SDLC is characterized by a linear progression of phases Group 'C'
from requirement gathering to maintenance? Give long answer to the following questions. [2×8=16]
a. Waterfall Model 15. What do you mean by OSI reference model? Explain different layers of
b. Agile Model the OSI reference model.
c. RAD Model 16. Write a program that stores roll number, name and percentage of students
d. Spiral Model to a data file until you press y-yes and display the contents of the data file.
OR
Group 'B' Write a program to read a multidigit number and make the sum of
Give short answer to the following questions. [5×5=25] individual digits and print using the recursion technique.
10. Write any three differences between DDL and DML. Write a SQL
statement to create a table name “Kaasthamandap” having column name, −🕊−
age, roll number and insert some values into it.
OR
What is normalization? Explain 1NF, 2NF and 3NF.
11. Write JavaScript code to display multiplication table of 8.
OR
Write the PHP script for the connection of PHP with MySQL database.
12. What is OOP? Describe any four features of OOPs.
13. Define SDLC. Explain different phases of SDLC.
14. What is e-governance? Describe the challenges of implementation of e-
governance in Nepal.

XII/ Computer Science 2

You might also like