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 - C
Q. 1 | Identify which of the following function calls are allowed given the prototype declaration int sum(int a, int b-1, int c=o); |
| A) | cout< |
| B) | cout< | C) | cout< | D) | cout< | | | Q. 2 | What would be output by the following segment of C++? int fact I; fact = 1 i = 2 while(i < =6) fact *= i; i++; cout << fact; | | A) | 2, 6, 24, 120, 720 | | B) | 1, 2, 6, 24, 120 | | C) | 2, 2, 6, 24, 120 | | D) | 1, 1, 1, 6, 24 | | | | Q. 3 | Using tile precedence of' operators, predict the Output of the following code segment main() int i = 1, j=2 ; if ( i =--j >2) cout<< i<<1l% else cout<<"Bye<<"\n"; cout<<”value of i is”< | | A) | 1
Value of i is 0 | | B) | Bye
Value of i is1 | | C) | 1
Value of | | D) | None of these | | | | Q. 4 | Match the following pre-defined functions with then parameters, if any Set-A i) initgraph ii) closegraph iii) window iv) putch Set-B a. (char C) b. (int *gd, int mode, char*c) c. ( ) d. ( int L, int T, Int R, in | | A) | i) - a, ii) - d, iii) - c, iv) - b | | B) | i) - d, ii) - c, iii) - a, iv) - b | | C) | i) - b, ii) - d, iii) - a, iv) - c | | D) | None of these | | | | Q. 5 | Which of these statements are true? i) The tellp ( ) function returns the current class hierarchy ii) To create an output text file, we need an object of the ofstream class iii)The cin object and the position of the put pointer in | | A) | i) and iii) | | B) | ii) and iv) | | C) | All of i) to iv) | | D) | None of these | | | | | | |
Click here to get
C++ (MT0042)
New Question
Home > Download > SMU - Question Paper
> MSc IT > MT0042