Computer Science Model Questions
Computer Science Model Questions
Group 'A'
Time: 20 minutes
Multiple Choice questions (9 × 1=9)
122
Model Question (NEB)
Grade: Grade XII Subject: Computer Science (Th) Subject code: 232
Full Marks: 50 (9 marks Obj + 41 Marks Sub) Time: 2 Hours
Group B
Short Answer Questions (5 ×5=25)
1. Explain 2NF and 3NF with examples.
OR
Demonstrate the basic DML statement with an example.
2. Write a function to add any two numbers in Javascript.
OR
Demonstrate the external CSS implemented in the web page.
3. Describe any five features of OOPs.
4. What are the different stages of software planning? Describe.
5. Define the concept of AI and IoT. (2+3)
Group C
Long Answer Questions (2 ×8=16)
6. How do you implement the Class C IP address in the local area network? Describe.
7. Write a program to enter ten integer numbers into an array, sort and display them in
ascending order.
OR
Write a program to read the marks of any 5 students in a subject and count how many
students are pass and fail.
Model Questions - 1
Subject : Computer Science
GRADE: XII (Management)
123
6. ______ data type contains numbers having decimal point.
a. Char b. Int c. Float d. None
7. To use the strcpy() function, which header file should be included?
a. conio b. stdio c. string d. math
8. The last value of the series in looping is called …….
a. Test Expression b. initialization
c. Increment/decrement d. All of them
9. Which operator is logical OR operator?
a. || b. ! c. && d. None
Group 'B'
II. Write short answers to the following questions: [5×5=25]
1. Who is a DBA? What are his good qualities?
2. Write a function simple(p,t,r) in C to compute Simple Interest.
3. What is IoT? List any 3 of its applications.
4. What is Cyber Law? Explain hacking.
5. What is client server network? Explain with a diagram.
III. Give long answer to the following questions (Any two): [8x2=16]
1. Write codes for JavaScript to create a mark sheet using if structure and find the
Grades based on the following :
Percentage Grade
>= 90 A+
>=80 and <90 A
>=70 and <80 B+
>=60 and <70 B
>=50 and <60 C+
<50 C
2. Explain types of Computer Network on the basis of area it covers.
3. Write a C program to input name, address and salary of a person and store it in a data
file "employee.dat".
Model Questions - 2
Subject : Computer Science
GRADE: XII (Management)
Group A
I. Choose the best alternative: [1x9=9]
1. The ________ is the physical path over which a message travels.
a. protocol b. medium c. signal d. None
2. The key that uniquely identifies a record is called
a. Field name b. Unique key c. Primary key d. Key record
3. Systems are modified whenever
a. User's requirement change.
b. New computers are introduced in the market
c. New software tools become available in the market
d. Other similar organization modify these system
124
4. __________ is used to input records in MS-Access.
a. Report b. Table c. Form d. None
5. Network that covers the longest distance is called______.
a. LAN b. MAN c. WAN d. HAN
6. ____________can hold dissimilar data.
a. array b. structure c. pointer d. variable
8. Which operator is used to compute the integer division?
a. / b. \ c. % d. None
9. Which loop is pre-test loop?
a. for loop b. while loop c. do..while loop d. None
III. Give long answer to the following questions (Any two): [8x2=16]
1. Using Switch case , Write JavaScript codes to serve the following Book List:
1. Computer Science
2. Account
3. Economics
4. Math’s
5. Social
6. English.
2. Explain the different network connecting devices.
3. Write a C program to read marks of any 10 students in computer science and count
how many have scored above 80.
Model Questions - 3
Subject : Computer Science
GRADE: XII (Management)
Group 'A'
I. Choose the best alternative: [1×9=9]
125
13. One- Dimensional array has ___ row or column.
a. 2 b. 1 c. 4 d. 5
14. To use the strlen() function, which header file should be included?
a. conio b. stdio c. string d. math
15. Relational Operators are :
a. Comparison of data b. addition of variables
c. Logical treatment d. All of them
16. Which operator is logical AND operator?
a. || b. ! c. && d. None
17. Which loop is post-test loop?
a. while loop b. do..while loop c. for loop d. None
18. In C, int data type has memory allocation of :
a. 4 bytes b. 2 bytes c. 8 Bytes d.1 bytes
5. Explain the types of array? Write a program to multiply two 2X2 arrays and display
the result.
6. Write a C program to input name, address and salary of a person and store it in a data
file "items.dat". Also open the file and display the contents.
126
Model Questions - 4
Subject : Computer Science
GRADE: XII (Management)
Group 'A'
I. Choose the best alternative: [1×9=9]
1. MS-Access is _______________.
a. Relational Database Management System.
b. Word Processing Software
c. Presentation Software
d. None of the above
2. Table is __________ MS-Access.
a. a Primary Element b. Filtered information c. Data Collection d. None
3. An illegal activity done through internet that harms other intellectual right is :
a. Murder. b. Suicide. c. Cyber Crime. d. Virus.
4. ____________can hold similar data.
a. array b. structure c. pointer d. variable
127
Model Questions - 5
Subject : Computer Science
GRADE: XII (Management)
Group 'A'
I. Choose the best alternative: [1×9=9]
1. C is a _______________.
a. Relational Database Management System.
b. Structured programming language
c. Presentation Software
d. None of the above
2. Query is __________ in MS-Access.
a. Object b. Required output c. Data Collection d. None
3. The component of multimedia is :
a. Speaker b. Sound card c. Microphone d. All
4. ____________can hold dissimilar data.
a. array b. structure c. pointer d. variable
5. OR logical operator in C is denoted by:
a. / b. || c. % d. None
6. For menu driven program, we use ________ control structure.
a. for b. while c. switch d. do
7. A character constant must inside ________.
a. ' ' b. " " c. { } d. ( )
8. Which data type holds numbers with decimal point?
a. int b. float c. char d. All of them
9. Which of the following displays a box in JavaScript?
a. document.write b. alert c. printf; d. None;
Group B'
II. Write short answers to the following questions: [5×5=25]
1. Explain the roles of a DBA.
2. Why is system maintenance necessary in SDLC?
3. What is Virtual Reality? Write any two applications of VR.
4. WAP to input number (from 1-12) and determine name of the month (e.g. 1 for
January).
5. Write JavaScript codes to find sum, product and difference of 56 and 72.
Group 'C'
III. Give long answer to the following questions: [8×2=16]
1. Describe ‘Sequence’, Selection’ and ‘Loop’ with flowchart. Write a program to check
if a number is odd or even. Define an array. Write a program to add two 2X2 arrays.
2. Write a program which asks the user to input ‘n’ terms of number and find out the
greatest and smallest number among those numbers.
128
Model Questions - 6
Subject : Computer Science
GRADE: XII (Management)
Group 'A'
I. Choose the best alternative: [1×9=9]
1. Library function pow() belongs to which header file?
a. stdio.h b. conio.h c. math.h d. string.h
2. Which of the following is/are the main goals of a distributed database?
a. Interconnection of database
b. Incremental growth
c. Reduced communication overhead
d. All of the above
3. An unauthorized user is a network _______ issue:
a. Performance b. Reliability c. Security d. All
4. What is the full form of SQL?.
a. Structured Query List
b. Simple Query Language
c. Structured Query Language
d. None
5. PHP is an example of ________ scripting language.
a. Server side b. Client side c. Browser side d. None
6. Using encapsulation data security is _________.
a. Not ensured b. Ensured to some extend c. Purely ensured d. Very
low
7. If the mode in file in C includes b after the initial letter, what does it indicate?
a. text file b. big text file c. binary file d. blueprint text
129
Model Questions - 7
Subject : Computer Science
GRADE: XII (Management)
Group 'A'
I. Choose the best alternative: [1×9=9]
1. Who carries out the analysis phase?
a. Programmer b. System Analyst c. Client d. None
2. Decision tree is a tool to :
a. Design System b. Test The system
c. Selling the system d. None of the above
3. ________ is message sending through electronic medium.
a. Internet b. Email c. Post d. Hardcopy.
4. One- Dimensional array has ___ row or column.
a. 2 b. 1 c. 4 d. 5
5. To use the strlen() function, which header file should be included?
a. conio b. stdio c. string d. math
6. Relational Operators are :
a. Comparison of data b. addition of variables
c. Logical treatment d. All of them
7. Which operator is logical AND operator?
a. || b. ! c. && d. None
8. Which loop is post-test loop?
a. while loop b. do..while loop c. for loop d. None
9. In C, int data type has memory allocation of :
a. 4 bytes b. 2 bytes c. 8 Bytes d.1 bytes
Group 'B'
II. Write short answers to the following questions: [5×5=25]
1. Who is a System Analyst? List out the roles of System Analyst.
2. Explain waterfall model of System Development Life Cycle with a diagram.
3. What is computer crime? Explain plagiarism.
4. Explain JavaScript if structure with the help of example program.
5. What is a loop? Write JavaScript codes to display fibonacci series upto 10th term
(1 1 2 3 5...10th term).
Group 'C'
III. Give long answer to the following questions: [8×2=16]
1. WAP to create a mark sheet using if structure and find the Grades based on the
following :
Marks Grade
M<100 and > 90 A+
M<90 and >=80 A
M<80 and > 70 B+
M<70 and >=60 B
M<60 and > 50 C+
M<50 and >=40 C
M<40 and > =30 D+
M<30 and >=20 D
2. Explain the types of array? Write a program to multiply two 2X2 arrays and display
the result.
130
Model Questions - 8
Subject : Computer Science
GRADE: XII (Management)
131