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. 1What 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. 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. 3Carefully 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
   
Q. 4Out of following statements
1. Exceptions handle compile time errors
2. Some errors detected by OS terminates the
application
3. A check for error should be made after each
file operation
4. >> operator can be overloaded
5. Fri
 A)Only 2, 3, 4, 5 and 6 are correct
 B)Only 1, 2, 3, 4 and 5 are correct
 C)Only 1, 2, 3, 5 and 6 are correct
 D)Only 1, 3, 4, 5 and 6 are correct
   
Q. 5Consider this class definition:
class quiz
{
public;
quiz;
int f();
int g() const;
private;
double score;
Which functions can carry out an assignment
score=1.0; to the private member variable
score?
 A)Both f and g can carry out the assignment
 B)f can carry out the assignment, but not g
 C)g can carry out the assignment, but not f
 D)Neither f nor g can carry out the assignment
   
Click here to get Computer Concepts And C Programming (BC0034) New Question


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