University : Sikkim Manipal University
Course of Question Paper: MCA
Subject: Computer Applications
Question Type: Sample and Model Question Paper
Study Material Description: SMU Previous Years Model Question Paper of MCA Computer Applications in text form.
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) Eidtor
D) Run time system.
Part -B
Q.1 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.2 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 are appropriate to do this?
1. Switch statement
2. Do statement
3. If statement
4. For statement
A) 1
B) 1 and 2
C) 1 and 4
D) 3
Q. 3 In C++ ___ denotes escape characters and ___ denotes single line comment
A) // and /
B) / and */
C) / and //
D) * and /n
Part - C
Q.1 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
4. Public access specifier is accessible from objects out side the class
5. Public access specifier is accessible from derived class
6. Protected access specifier is accessible from 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. 2 Out of following statements
1. ios is the base class which contain the member functions and definitions for dealing with data flow
2. ostream includes functions for input of data
3. ACII files are created by storing each character
4. There is no need to open or close the file while using ostream class
5. Ifstream objects have values to test various error conditions
6. Binary files can be to store or retrieve objects to and from the file.
A) Only 1, 4 and 6 are correct
B) Only 1, 2 and 5 are correct
C) Only 3, 4 and 5 are correct
D) Only 1, 4, 5 and 6 are correct
Course of Question Paper: MCA
Subject: Computer Applications
Question Type: Sample and Model Question Paper
Study Material Description: SMU Previous Years Model Question Paper of MCA Computer Applications in text form.
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) Eidtor
D) Run time system.
Part -B
Q.1 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.2 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 are appropriate to do this?
1. Switch statement
2. Do statement
3. If statement
4. For statement
A) 1
B) 1 and 2
C) 1 and 4
D) 3
Q. 3 In C++ ___ denotes escape characters and ___ denotes single line comment
A) // and /
B) / and */
C) / and //
D) * and /n
Part - C
Q.1 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
4. Public access specifier is accessible from objects out side the class
5. Public access specifier is accessible from derived class
6. Protected access specifier is accessible from 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. 2 Out of following statements
1. ios is the base class which contain the member functions and definitions for dealing with data flow
2. ostream includes functions for input of data
3. ACII files are created by storing each character
4. There is no need to open or close the file while using ostream class
5. Ifstream objects have values to test various error conditions
6. Binary files can be to store or retrieve objects to and from the file.
A) Only 1, 4 and 6 are correct
B) Only 1, 2 and 5 are correct
C) Only 3, 4 and 5 are correct
D) Only 1, 4, 5 and 6 are correct
0 comments:
Pen down your valuable important comments below