Database MCQs from book chapter

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

Database MCQs from the book chapter

1. Built-in functions are also named as …

a) user-defined

b) subprograms

c) subroutines

d) none

Answer - Click Here:
D

2. Which statement  is not true about function?

a) it can not return any value

b) independent program

c) function is also referred as modules

d) Both (a) & (c)

Answer - Click Here:
D

3. A function that does not return any thing has return type… 

a) void

b) null

c) float

d) nothing

Answer - Click Here:
A

4. Protype means …

a) sample

b) model

c) definition

d) both (a) & (b)

Answer - Click Here:
D

5. Declaring variables inside a function are called as …

a) private variables

b) external variables

c) local variables

d) global variables

Answer - Click Here:
C

6. We call pre-defined functions as …

a) subprograms

b) built-in functions

c) user -defined

d) subroutines

Answer - Click Here:
B

7. Which one is the advantage of a function?

a) re-usability

b) eliminate duplicate code

c) easy to understand

d) none

Answer - Click Here:
A

8. Sub-programs in C-language are called as …

a) procedures

b) functions

c) modules

d) methods

Answer - Click Here:
B

9. We can a function using the reference of its …

a) definition

b) parameter

c) name

d) all of the above

Answer - Click Here:
C

10. Which of the following  can’t be nested?

a) do-while statament

b) if statement

c) while statement 

d) user-defined functions

Answer - Click Here:
D

11. The parameters defined in the header of function are called as …

a) default parameters

b) actual parameters

c) command-line parameters

d) formal parameters

Answer - Click Here:
D

12. The global variables are created in …

a) hard disc

b) cache

c)RAM 

d) ROM

Answer - Click Here:
C

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)