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

Computer Model Question Set 2

This document is a model question paper for Grade XII Computer Science, covering multiple choice questions, short answer questions, and long answer questions. It includes topics such as database protection techniques, SQL commands, programming languages, and the OSI reference model. The paper consists of various programming tasks and theoretical questions related to computer science concepts.

Uploaded by

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

Computer Model Question Set 2

This document is a model question paper for Grade XII Computer Science, covering multiple choice questions, short answer questions, and long answer questions. It includes topics such as database protection techniques, SQL commands, programming languages, and the OSI reference model. The paper consists of various programming tasks and theoretical questions related to computer science concepts.

Uploaded by

sisipot132
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Horizon Gautam Buddha Secondary School c. Context diagram d.

Decision chart
NEB based Special Model Question Paper Set 2 9. ………… is not the commonly used programming language for Artificial
Intelligence?
Grade XII Computer Science F.M. 50
======================================================== a. Perl b. Java c. PROLOG d. LISP
Group A (MCQ) Group B (Short answer questions)
Rewrite the correct answer of each questions in your answer sheet. (9×1=9) Give short answer to the following questions. [5x5=25]
1. Which of the following techniques is not implemented to protect a database?
10. What is key constrains in database? Differentiate between primary key and
a. Rollback b. Backup
foreign key with example. [1+4]
c. Recovery d. Firewall
2. Which SQL command would you use to add a new column called email to the
OR
students table? What is SQL? Describe the uses of SQL in database operation. [1+4]
a. ADD Column students(email);
b. Alter table students ADD email VARCHAR(50); 11. Write a JavaScript code to store name of five students in an array then sort
c. Create Column Students(email); and display in ascending order.
d. ALTER students ADD email VARCHAR(50); [5]
3. …….. has an inner conductor and an outer conductor separated by insulation. OR
a. Shielded twisted-pair cable b. fiber-optic cable Write PHP script to connect MYSQL database “MYdb” and demonstrate
c. coaxial cable d. Unshielded twisted pair cable data insertion including (Id, Name, age, Marks) in the table “student”.
4. The keyword used in C programming to state data type by the programmer is
12. What is POP? Explain the advantages of OOP over POP. [1+4]
………..?
13. What is requirement discovery? Discuss the activities involved in requirement
a. union( ) b. #define ( )
c. typedef( ) d. struct( ) discovery process. [1+4]
5. What does the following Javascript code displays? 14. What is E-governance? Explain the role of e-commerce to enhance the digital
<html><body> </script> economy. [1+4]
<p id="demo"></p>
<script> Group C (Long answer questions)
var js = 50;
Give long answer to the following questions. [2x8=16]
js %= 7;
15. Why is OSI reference model important in networking? Explain the function of
js+=4;
document.getElementById("demo").innerHTML = js; each layer of OSI reference model with suitable diagram. [2+6]
</script> </body> </html> 16. How do text file differ from binary file? Write a program in C language to
a. 50 b. 11 c. 4 d. 5 create a data file “customer.txt” and store Id, Item name, Quantity and rate
6. What of the following is executed to concatenate the variables $X with $Y in PHP?
until user presses “Y” or “y”. If the file “customer.txt” already exists, store the
a. $X+$Y b. $X=$Y c. CONCAT($X,$y) d. $X.$Y
records at the end of file. [2+6]
7. What is the additional feature in classes that is not in structures? OR
a. Data member b. Member functions How pointer variable is declared and its size is found? Write a program in C
c. Static data allowed d. public access specifier language to check and print whether entered number is prime or composite
8. Which is the visual representation of the information movement through a process or using user defined function. [2+6]
system?
a. Flowchart b. Data flow diagram
***** BEST OF HARD LABOUR *****

You might also like