Home > Download > SMU - Question Paper
> MSc IT > MT0042
C++
This is the collection of
Sikkim Manipal University (SMU) question and answers for C++. It will help
to prepare your examination. All question paper are
classified as per semester, subject code and question type of Part A, Part B and Part C with
multiple
choice options
as same as actual examination. SMU question papers includes
year 2024, 2023, 2022 Sem I, II, III, IV, V, VI examinations
of all subjects.
SMU question test set of old,
last and previous year are updated
regularly and it is absolutely free to use. Question paper includes Visual basic 6, VB.Net, C#, ASP.Net,
Web, Oracle, Database, SQL, Software Engineering, C, C++, OOPS, MBA, MCA, BSC IT I have requested
you kindly send me the question paper of C++, SMU - Master of Science in Information Technology.
Course Name
MSc IT (Master of Science in Information Technology)
Subject Code MT0042 (C++)
Get Questions
PART - A
PART - B
PART - C
Subject : C++
MT0042 : PART - B
Q. 1 | The ostream class includes 1) Put() 2) get() 3) putline() 4) getline() 5) write() 6) read() |
| A) | 1), 3) and 5) |
| B) | 2), 4) and 6) | | C) | 1), 2), 3) and 4) | | D) | 3), 4), and 5) | | | | Q. 2 | What is the result in the variable len after execution of the following statements? int len; char strl[] = {“39 March Road”}; len=strlen( strl); |
| A) | 11 |
| B) | 12 | | C) | 13 | | D) | 14 | | | | Q. 3 | Which of the following is a valid signature for overloading the preincrement operator? i) void operator ++ ( ) ii) void operator ++ (float) |
| A) | i) only |
| B) | ii) only | | C) | Both A) and B) | | D) | None of these | | | | Q. 4 | in C++ 1. A member function in base class can be used by objects if derived class 2. The protection can be decreased in derived classes 3. Base class can not use any data members of derived class |
| A) | Only 1 and 3 are correct |
| B) | Only 1 and 2 are correct | | C) | Only 2 and 3 are correct | | D) | All 1, 2 and 3 are correct | | | | Q. 5 | Which of these declarations of functions that use default arguments is wrong'? |
| A) | void Error (char*msg, int severity = 0); |
| B) | void Error (char*msg = "Bomb", int
severity); | | C) | Both A) and B) | | D) | None of these | | | |
Click here to get
C++ (MT0042)
New Question
Home > Download > SMU - Question Paper
> MSc IT > MT0042