NEB-GRADE XII
2082 (2025) Computer Science
Sub.Code: 4281'D'
(For regular and partial students whose first two digits of registration
number starts from 78, 79, 80 and 81)
Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Time: 2 hrs.
Full Marks: 50
Multiple choice questions.
Group 'A' [9x1=9] 4281'D'
1. Which of the following is the purpose of using primary key in database?
A) To uniquely identify a record
B) To store duplicate record
C) To backup data
D) To enhance database size
Ans:A) To uniquely identify a record
2. A company needs to modify an existing table by adding a new column for employee email addresses. For this, which SQL command should be used?
A) CREATE
B) ALTER
C) SELECT
D) UPDATE
Ans:-B) ALTER
3. Which protocol is used for secure communication over a computer network?
A) HTTP
B) FTP
C) HTTPS
D) Telnet
Ans:C) HTTPS
4. Which control structure in JS (Java Script) is used to execute a block of code repeatedly based on a given condition?
A) For loop
B) if-else
C) switch case
D) function
Ans:-A) For loop
5. Select the invalid variable name in PHP.
A) Sname
B) $_name
C) $1name
D) $name123
Ans:C) $1name
6. The statement int number (int a); is a ...
A) function call
C) function declaration
B) function definition
D) function execution
Ans:-C) function declaration
7. In which of the following programming, the emphasis is given on data rather than on procedures ?
A) Procedural programming
C) Object-oriented programming
B) Structural programming
D) Declarative programming
Ans:C) Object-oriented programming
8. Which type of feasibility study evaluates whether a system can be developed with the available technology?.
A) Operational feasibility
B) Social feasibility
C) Technical feasibility
D) Economical feasibility
Ans:-C) Technical feasibility
9. Which of the following is NOT a type of cloud computing service ?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) Hardware as a Service (HaaS)
Ans:-D) Hardware as a Service (HaaS)