Advanced database MCQs

By: Prof. Fazal Rehman Shamil
Last modified on September 23rd, 2020

Advanced database MCQs

1. In the array, the elements are numbered from …

a) 1 to 10

b) 1 to 10

c) 5 to 10

d) 0 to 9

Answer - Click Here:
D

2. Overloaded functions are …

a) functions having same variables

b) many functions in the program

c) more than one function having same name

d) function having global variables

Answer - Click Here:
B

3. Variables declared inside the function are called as …

a) local variables

b) private variables

c) global variables

d) external variables

Answer - Click Here:
A

4. The keyword template in c++ is used for

a) global functions

b) template functions

c) default arguments function

d) with inline functions

Answer - Click Here:
B

4. In C++, word ‘register’ can be only used with…

a) local variables

b) register variables

c) auto variables

d) external variables

Answer - Click Here:
A

5. The prototype of the function is a …

a) C++ statement

b) C++ program

c) C++ function

d) C++ header file

Answer - Click Here:
A

6.  A structure is …

a) collection of functions only

b) collection of fields only

c) collection of records olny

d) collection of collection of data items only

Answer - Click Here:
D

7. The syntax for structure in programming is similar to 

a) functions

b) array

c) class

d) pointer

Answer - Click Here:
C

8. Which one is a keyword in programming?

a) delete

b) void

c) edit

d) all of these

Answer - Click Here:
D

9. Indirection operator is represented by …

a) !

b) &&

c) *

d) &

Answer - Click Here:
C

10. Sequential search is also called as …

a) linear search

b) binary search

c) serial search

d) Both (a) & (c)

Answer - Click Here:
D

11. How we access array elements?

a) an index number

b) resolution scope operator

c) dot operator

d) name

Answer - Click Here:
A

12. Function prototype includes

a) number and type of parameters

b) type of value

c) name of the function

d) All of these

Answer - Click Here:
D

More MCQs Of Database Systems

  1. SET 1: database design mcqs (database design mcqs )
  2. SET 2: database mcqs with answers pdf (database mcqs with answers pdf )
  3. SET 3: modern database management 12th edition mcqs (modern database management 12th edition mcqs)
  4. SET 4: database systems mcqs (database systems mcqs)
  5. SET 5: dbms mcqs (dbms mcqs )
  6. SET 6: dbms mcqs with answers (dbms mcqs with answers)
  7. SET 7: solved mcqs of dbms (solved mcqs of dbms)
  8. SET 8: dbms mcqs with answers pdf(dbms mcqs with answers pdf)
  9. SET 9: relational database management system mcqs(relational database management system mcqs)
  10. SET 10: solved mcqs of database management system(solved mcqs of database management system)
  11. SET 11: basic database mcqs pdf (basic database mcqs pdf)
  12. SET 12: relational database management system mcqs (relational database management system mcqs )
  13. SET 13: database mcqs online test (database mcqs online test)
  14. SET 14: database interview questions mcqs (database interview questions mcqs)
  15. SET 15: database developer mcqs (database developer mcqs)
  16. SET 16: database Repeated mcqs (database Repeated mcqs)
  17. SET 17: Database mcqs PPSC (Database mcqs PPSC)
  18. SET 18: Database mcqs FPSC (Database mcqs FPSC)
  19. SET 19: DBMS mcqs FPSC (DBMS mcqs FPSC)

Computer Science Repeated MCQs Book Download

Get Appointment for Interviews

Feel easy to Get Appointment for Interviews. Whatsapp: +92-302-8700085
Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)