CS-201 Final Term Exams Preparation Virtual University With Answers

image
image
image

CS-201 Final Term Exams Preparation Virtual University

Sr. # Questions Answers Choice
1 Overloaded delete operator function takes parameter of void pointer and returns. void void pointer pointer to an object pointer of type int
2 Which of the following function calling mechanism is true for the function prototype given below? Call by value Call by reference using pointer Call by reference using reference variable None of the given options
3 The object _______________may be used both for file input and file output. fstream ifstream ofstream none of the given options
4 Is used for ___________. calculation reading assigning value to variables None of the given options.
5 Which character is inserted at the end of string to indicate the end of string? new line tab null carriage return
6 Friend function of a class is ______________ Member function Non-member function Private function Public function
7 When we use manipulators in our program then which header file should be included? iostream.h stdlib.h stdio.h iomanip.h
8 Disks are _______________ devices having access time of _________ milliseconds Electro-physical, 6 Electro-Mechanical, 4 Electro-physical, 5 Electro-Mechanical, 7
9 Which of the following function(s) is/are included in ctype.h header file? isdigit(int c) isxdigit(int c ) tolower(int c) All of the above
10 && is -------------------- operator. An arithmetic Logical Relational Unary
Download This Set