Computer-Model-Question-Set-1
Computer-Model-Question-Set-1
9. Which cloud service model offers fully managed applications and services to end-
users?
Grade XII F.M. 50 a. Infrastructure as a Service
Set 1 Group A (MCQ) b. Software as a Service
Rewrite the correct option in your answer sheet. (9×1=9) c. Platform as a Service
1. Which of the following database integrity is known as foreign key constraints? d. Unified Communications-as-a-Service
a. User defined integrity b. Domain integrity
c. Referential integrity d. Entity integrity Group B (Short answer questions)
2. Which of the following statement is correct to select the top five entries for all the 10. What is ping? Differentiate between static and dynamic IP address. [1+4]
columns in the student table? OR
a. select above five * with students; What is network cabling? Discuss how crossover cabling is configured? [1+4]
b. select five * from student table;
c. select all *5 from students; 11. Discuss form validation in JavaScript with appropriate example. [1+4]
OR
d. select top 5 * from students; Write PHP program to reverse a given number. [5]
3. Which of the following statement is true about a bus Topology? 12. Describe the term data abstraction with real life example. How the programmers are
a. Each device is connected in a point to point benefitted from inheritance features of OOP? [2+3]
b. Each device is connected in a trunk 13. What is SDLC? Highlight the importance of system analysis phase of SDLC. [5]
c. Each device is connected to a terminal 14. Explain about e-learning and discuss the uses of virtual reality in education. [2+3]
d. Each device is connected to a hub or switch.
4. Which sign does j-query use as a shortcut for j-query?
a. & sign b. # sign c. @ sign d. $ sign Group C (Long answer questions)
5. What is the correct output of the following JavaScript code snipset? 15. Why anomalies occur in database? Describe with suitable examples about 1NF, 2NF
var x = 10; and 3NF. [2+6]
function hello() { 16. How is global variable declared in C? Create a structure named book to store book
let x=5; details like title, author and price. Write a C program to input details for three books
} and display their information in ascending order based on price. [1+7]
hello(); OR
x=x-5; What is the difference between call by value and call by reference? Write a program
console.log(x); in C language to swap values of two variables using pointer. [2+6]
a. 10 b. 5 c. 15 d. 20
6. Which function in C is used to reset the file pointer to the beginning? ***** BEST OF HARD LABOUR *****
a. fseek( ) b. return( ) c. fflush( ) d. rewind( )
7. In, which programming approach, the main program is divided into small parts based
on the functions and is treated as separate program?
a. Object oriented programming
b. Procedural oriented programming
c. Both a) and b)
d. None of the above
8. ………. should be used when the desired system needs to have a lot of interaction
with the end users.
a. Prototype model
b. Waterfall model
c. agile model
d. None of the given.