2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
13th July 2016, 12:50 PM
Super Moderator
 
Join Date: Apr 2013
Re: Model Paper BCA Sikkim Manipal University

Hey!! As per your demand here I am providing you Model Paper of Computer Concepts And C Programming of BCA of Sikkim Manipal University

PART - A

Q. 1 Array is collection of
A) Declared data
B) Un declared data
C) Homogeneous data
D) Heterogeneous data

Q. 2 class used to derive other class are
A) Base class
B) Derived class
C) Abstract class
D) Inherit class

Q. 3 The class used to over ride the security provided by the class
A) ios()
B) friend()
C) istream()
D) ostream()

Q. 4 The first graphic library function to be executed is
A) detectgraph()
B) initgraph()
C) window ()
D) None of these

Q. 5 Every call to a function is checked by the compiler against the
A) Parameter list
B) Variable description
C) Function prototype
D) Program prototype

Q. 6 How many instances of a class can be declared?
A) None
B) One
C) Ten
D) As many as require

Q. 7 A syntax error is signaled by the
A) Compiler
B) Linker
C) B) Eidtor
D) Run time system.

Q. 8 The type of a function/procedure/module is determined by
A) Its arguments
B) The value returned
C) Its name
D) None of the above

Q. 9 Out of the following choose the correct statement.
A) String constant can be split
B) # include are written in multiple line
C) / / is used to indicate white spaces
D) Escape sequences are deoted by\operator

Q. 10 Values can be input to variables in the program using the stream
A) cin
B) cout
C) in
D) out

Section-B
Q. 1 ____ and____ operators can not be over loaded
A) :: : +
B) *; ::
C) .:*
D) -;.

Q. 2 The ___ files created by the block of memory
1. Binary files
2. ASCII files
3. Non- ACII files
A) Only 1
B) Only 1 and 3
C) Only 2 and3
D) Only 1, 2 and3

Q. 3 A student is given a grade from “A” to ‘F’ in a test. So averages can be calculated it is required to assign marks to these grades as
follows, ‘A’ is 10, ‘B’ is 8, ‘C’ is 6, ‘D’ is 4, ‘E’ is 2 and ‘F’ is 0. In C++ which of the following ar
A) 1
B) 1 and 2
C) 1 and 4
D) 3

Q. 4 In C++ ___ denotes escape characters and___ denotes single line comment
A) // and /
B) / and */
C) / and //
D) * and /n

Q. 5 The output of the following code if input is
32767 #include
void main()
{
int union;
cout<<”Enter the integer”;
cin>union;
cout>> “The next number in the series is”<<
**union;
}
A) 23768
B) Run time error
C) Compilation error
D) 32767

Section C
Q. 1 Here 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. 2 Out 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. 3 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. 4 The 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. 5 Carefully 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


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 02:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4