By: Prof. Dr. Fazal Rehman | Last updated: March 3, 2022
DATABASE MULTIPLE CHOICE QUESTIONS – Solved
1. Default values in programming area) global variablesb) functions callsc) constantsd) all of the above
Answer - Click Here:
D
2. We use return statement to returna) numeric valueb) a value calling functionc) single valued) none
Answer - Click Here:
B
3. Which statement is true about inline functions?a) it is not a user-defined functionb) with this function , the size of program becomes smallc) prototype is omittedd) none
Answer - Click Here:
C
4. The local variables are known as a) external variablesb) static variablesc) dynamic variablesd) automatic variables
Answer - Click Here:
D
5. When a program is terminated which variable isdestroyed?a) auto variablesb) global variablesc) registerd) local variables
Answer - Click Here:
B
6. Data shared among the functions is done with the help of a) register variableb) static variablesc) local variablesd) global variables
Answer - Click Here:
D
7. Which functions are the part of ” math.h” file?a) logb) log()c) tand) tan(10)
Answer - Click Here:
B
8. Which one is not included in “conio.h” file?a) kbhit(10)b) getche()c) gotoxy()d) none
Answer - Click Here:
A
9. Which fuction is used by the programmars to convert lowercase letters to uppercase letters?a) isupper()b) toascii()c) tolower()d) toupper()
Answer - Click Here:
D
10. The sequential search in C++ is caleed to bea) binary searchb) table searchc) linear searchd) none of these
Answer - Click Here:
C
11. An array has a starting address that is known asa) original addressb) base addressc) memory addressd) all of the above
Answer - Click Here:
B
12. Each index is ——-,when the multidimensional array is being accesseda) separated by commasb) surronded by bracketsc) separated by colond) none