Try the CS-201 Final Term Exams Preparation Virtual University.
Total Questions10
Time Allowed10
Ch. # | Test Name | MCQs Available | PDF File | Answers Mode | Launch Test |
---|---|---|---|---|---|
1 | CS-201 Final Term Exams Preparation Virtual University | 117 | Download PDF | MCQ Answers | Launch Test |
1 | MGT-301 Final Term Exams Preparation Virtual University | 117 | Download PDF | MCQ Answers | Launch Test |
Here you can prepare cs-201 Test. Click the button for cs-201 100% free full practice test.
Sr. # | Questions | Answers Choice |
---|---|---|
1 | A Matrix can be composed of ints, floats or doubles as their elements. Best way is to handle this | Write a separate class to handle each Use templates Use strings to store all types None of the given options |
2 | width() is member function of _____________. | cin object cout object Both cin and cout object None of the given option |
3 | 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 |
4 | What does (*this) represents? | The current function of the class The current pointer of the class The current object of the class A value of the data member |
5 | <div>For which values of the integer _value will the following code becomes an infinite loop? int number=1; while (true) { cout << number; if (number == 3) break; number += integer_value; }.</div> | any number other than 1 or 2 only 0 only 1 only 2 |
6 | Structured Query Language is used for ______________ | Databases Management Networks Writing Operating System none of the given options |
7 | Skill(s) that is/are needed by programmer’s _______________________. | Paying attention to detail Think about the reusability Think about user interface All of the given options |
8 | A Matrix can be composed of ints, floats or doubles as their elements. Best way is to handle this _______________ | Write a separate class to handle each Use templates Use strings to store all types None of the given options |
9 | The prototype of friend functions must be written ____ the class and its definition must be written ____. | inside, inside the class inside, outside the class outside, inside the class outside, outside the class |
10 | What is the sequence of event(s) when allocating memory using new operator? | Only block of memory is allocated for objects Only constructor is called for objects Memory is allocated first before calling constructor Constructor is called first before allocating memory |