Neb class 12 Computer Science Question 2078

NEB-2079

Group A

Rewrite the correct options of each question in your answer sheet.             [9x1=9]

1. Which of the following SQL statement is used to DELETE rows from a database table?

a. DELETE    b. REMOVE        C. DROP        d. CLEAR

2. A field that is used to uniquely define a particular record in a table is called:
a. Primary Key        b. Entity        c. Relationship        d. Constraints

3. What does "MAC" stands for in MAC Address?

a. Mandatory Access Control        b. Media Access Control

c. Micro Access Control                d. Media Access Certificate

4. What is the correct syntax for referring to an external JavaScript script?

a. <script sre="myscript.js"></script>             b. <script href='myscript.js"></ script>

C. <is href="myscript.js"></js>                        d. <js src="myscript.is"></is>

5. Which of the following is the correct way of defining a variable in PHP?

a. $variable name = value;                            b. $variable_name = value;

c. $variable name = value                              d. $variable name as value;

6. What is the output of C program? 

void main{ int b=25;
//b memory location= 1234;

int *p; p=&b; printf("%d %d", &b, p);}

a. 25 25            b. 1234 1234                    c. 25 1234                    d. 1234 25

7. Which feature of OOP is illustrated the code reusability?

a. Polymorphism            b. Abstraction                c. Encapsulation                    d. Inheritance

8. Which of the following is the discovering requirement from a user in the requirement collection process?

a. Feasibility study                    b. Requirement Elicitation                c. Requirement Specification        d. Requirement validation

9 What devices are detecting and responding to changes in an environment that is embedded in smart phones and an integral part of the Internet of Things (LoT)?

a. Wi-Fi                       b. Barcode            C. REID                d. Sensors

Group B

Short answer questions [5x5=25]

10. Differentiate the centralized and distributed database system.

            OR

What are the purposes of normalization? Give an example of 2NF.

11. Write a program to find the factorial of any given number using Javascript.

            OR

How do you fetch data from the database in PHP and display it in form? Describe.

12. Compare the OOPs and procedural programing language.

13. What are the major activities performed to design the software? Describe.

14. Explain the popular five-application areas of AI.

Group C

Long answer questions. [8x2=16]

15. Compare the star and ring topology with pros and cons. Which of data communication cable is more appropriate to design the local area network? Describe. [5+3]

16. What is structure? Write a program to input roll, name and age of 5 students and display them properly using structure. [2+6]

                    OR

Write a C program to enter ID, employee_name, and post of the employee and store them in a data file named "emp.txt". Display each record on the screen in an appropriate format.

 

Netra Koirala

Netra Koirala

Computer Science Educator

Passionate computer science educator and author. Provides free study notes, practical guides, and tutorials for Class 9, 10, 11, 12, and B.Sc CSIT students in Nepal. Years of teaching experience in computer science fundamentals.

Computer Science notes, tutorials, MCQs, and educational resources for Nepal students. Covering Class 9, SEE preparation, Class 11, Class 12, SLC, programming, DBMS, networking, HTML, JavaScript, PHP, OOP and more.

Featured Post

Grade 10 Computer Science: Specification Grid & Model Questions

Specification Grid & Model Questions of Computer Science | Grade 10 📚 Examination Resource Specification Grid & M...

Followers