P2Pprogrammer 2 programmer


Home > Download > SMU - Question Paper > BCA > BC0034

Computer Concepts And C Programming


This is the collection of Sikkim Manipal University (SMU) question and answers for Computer Concepts And C Programming. 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 Computer Concepts And C Programming, SMU - Bachelor of Computer Application.

Course Name        BCA (Bachelor of Computer Application)

Subject Code       BC0034 (Computer Concepts And C Programming)

Get Questions        PART - A    PART - B    PART - C

Subject : Computer Concepts And C Programming

     BC0034 : PART - C    


Q. 1Here is a function prototype and some
possible function calls:
int day_of_week(int year; int month =1; int
day = 1);
// Possible function calls;
1. cout << day_of __week()
2. cout << day_of __week(1995)
3. cout << day_of __week
 A)1 and 2 of them is legal
 B)2 and 3 of them are legal
 C)1, 2 and 3 of them are legal
 D)All of them are legal
   
Q. 2Out of following statements
1. Protected access specifier is accessible from
derived class
2. Private access specifier is accessible from
derived class
3. Protected access specifier is accessible form
objects out side the class
 A)Only 1, 3, 4 and 5 are correct
 B)Only 1, 2, 3 and 5 are correct
 C)Only 3, 4, 5 and 6 are correct
 D)Only 1, 3, 5 and 6 are correct
   
Q. 3What 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. 4The lines to be corrected in the syntax
errors in the following C++ program are
1. include iostream.h
2. Main();
3. {
4. Float x, y, z
5. cout < “Enter two numbers”;
6. cin >> a >> b
7. cout << The numbers in reverse order
 A)1, 2, 7 and 8
 B)2, 5 and 6
 C)2, 7 and 8
 D)4, 5,6 and 7
   
Q. 5Carefully go through the following program
1. # include
2. class myclass{
3. private
4. int num
5. public
6. myclass() {num = 0;}
7. myclass(int n) { num = n;}
8. –myclass();
9. void getdata()
10. { cin>
 A)1, 6, 8, 15, 18, 20
 B)3, 8, 11, 15, 18
 C)2, 5, 10, 12, 16, 19
 D)3, 10, 14, 17, 20
   
Click here to get Computer Concepts And C Programming (BC0034) New Question


Home > Download > SMU - Question Paper > BCA > BC0034