Computer Science NEB 2081 (MCQs) question paper

6 questionsSit this paper (timed)

National Examinations Board (+2)

+2 Science (Class 11 and 12)

Class 12 · NEB 2081 (MCQs)

Course Title: Computer Science (Comp)

Full Marks: 75Pass Marks: 27Time: 3 hrs

Rewrite the correct option of each question in your same answer sheet.

Group A

Multiple Choice Questions(9 × 1 = 9)

  1. 1.

    Which one of the followings given statement correct ? a) Select * from enp where eopid = 103; b) Select from enp where eopid = 103; c) Select eopid where enp = 103 from emp; d) Select eopid where eopid = 103 and table = emp;

    1
  2. 2.

    Which database system normally offers better performance for geographically dispersed users ? a) Centralized database system b) Distributed database system c) NoSQL database system d) Relational database system

    1
  3. 3.

    Which of the following is an example of a public IPv4 address ? a) 192.168.1.1 b) 172.16.10.1 c) 10.10.10.10 d) 203.0.113.10

    1
  4. 4.

    What is the correct syntax for a 'for-loop' in JavaScript ? a) for (var i = 0; i < 5; i++) {} b) for (i = 0; i < 5; i++) {} c) for (var i = 0; i < 5) {} d) for (var i < 5; i++) {}

    1
  5. 5.

    Which PHP function is commonly used to execute SQL queries on a database connection established using mysqli extension ? a) mysqli_query ( ) b) pdo_query ( ) c) mysql_query ( ) d) pgsql_query ( )

    1
  6. 6.

    What is the correct syntax to declare a structure in C ? a) struct { } b) define struct

    1

— The End —