Bca2001 Set A
Bca2001 Set A
O. M. R. Serial No.
B C A 2 0 0 1 A
Time : 1:30 Hours ] [ Maximum Marks : 75
1. Do not open the booklet unless you are 1. iz’u&iqfLrdk dks rc rd u [kksyas tc rd vkils dgk
asked to do so. u tk,A
2. The booklet contains 100 questions. 2. iz’u&iqfLrdk esa 100 iz’u gSaA ijh{kkFkhZ dks 75 iz’uksa
Examinee is required to answer 75 dks dsoy nh xbZ OMR vkUlj&’khV ij gh gy djuk
questions in the OMR Answer-Sheet
gS iz’u&iqfLrdk ij ughaA lHkh iz’uksa ds vad leku
provided and not in the question booklet.
All questions carry equal marks. gSaA
3. Examine the Booklet and the OMR Answer- 3. iz’uksa ds mŸkj vafdr djus ls iwoZ iz’u&iqfLrdk rFkk
Sheet very carefully before you proceed. OMR vkUlj&’khV dks lko/kkuhiwod
Z ns[k ysAa nks”kiw.kZ
Faulty question booklet due to missing or
iz’u&iqfLrdk ftlesa dqN Hkkx Nius ls NwV x, gksa ;k
duplicate pages/questions or having any
iz’u ,d ls vf/kd ckj Ni x, gksa ;k mlesa fdlh
other discrepancy should be got
immediately replaced. vU; izdkj dh deh gks rks mls rqjUr cny ysAa
(Remaining instructions on the last page) ¼’ks”k funs’Z k vfUre i`”B ij½
(Only for Rough Work)
(Remaining instructions on the last page) ¼’ks”k funs’Z k vfUre i`”B ij½
1. C++ language was developed by ........... . 5. C++ follows ............ .
(D) 1986
7. How many keywords are there in C++ ?
(A) <<
(A) True
(B) >>
(B) False
(C) –>
17. C++ is a more secure programming (D) <<<
language compared to C language.
22. Which of the following is an extraction
(A) True operator in C++ ?
(A) library functions 24. Which of the following are types of data
types in C++ ?
(B) structures
(1) Basic Data type
(C) pointers
(2) Derived Data type
(D) objects
(3) Enumeration Data type
20. The stdout stands for ............ . (4) User Defined Data type
Options :
(A) State Output
(A) l and 2
(B) Standard Output
(B) 1, 2 and 4
(C) Stand Output
(C) 1, 2 and 3
(D) Stream Output (D) All 1, 2, 3, 4
(D) char
26. Which of the following is the correct
format specifier for long double-type 30. Which of the following is not a correct
type in C++ ?
32. The operator „+‟ is :
(A) int
(A) Unary Operator
(B) float
(B) Binary Operator
(C) array
(C) Both Unary and Binary Operator
(D) char (D) None of the above
34. Which of the following operators is a 38. Which of the following operators is used
(A) += (A) *
35. Which of the following operators is 39. Which of the following is known as the
(A) :: (A) *
36. Which of the following operators is 40. Which of the following is known as the
(A) != (A) ~
(B) ?: (B) !
Options :
42. Which of the following statements is
(A) l and 2
correct about the global variable ?
(B) l and 3
(A) A variable defined inside the
(C) Only 4
function or block is known as a
(D) 1, 2 and 3
global variable.
(B) A variable defined outside the 45. Which of the following statements can
43. Which of the following is the default 46. Which of the following is an exit control
known ?
52. What is the lifetime of a static variable
(A) While loop
declared in a user-defined function ?
(B) For loop
(D) All loops require that the iterations (B) Within the main function only
be known
(C) Whole program
49. Execution of C++ program starts from : (D) None of the above
(A) void function
53. Which of the following statements is
(B) class
effective way to call a function with (B) A function that is called at compile
arguments ?
time
(A) Call by value
(C) A function that contains only
(B) Call by reference
looping statements
(C) Call by address
defined : in C++ ?
(A) Yes
(A) In function declaration
(B) No
(B) In function definition
59. An array occupies memory space in :
(C) During function call
(A) Contiguous manner
(D) None of the above
(B) Fragmented manner
(B) The first value of the array 61. When we pass an array to the function,
then the function call will be :
(C) Last value of the array
(A) Call by value
(D) None of the above
(B) Call by reference
57. If we create an array “Arr”, which is the (C) Both (A) and (B)
(D) None of the above
correct way to access the first element of
BCA–2001 ( 10 ) Set-A
63. Which of the following is the incorrect 67. Which of the following can point to any
64. A pointer can be initialized with : 68. Which type of memory is allocated using
65. Which of the following is the correct way 69. Which of the following is/are used for
BCA–2001 ( 11 ) Set-A
70. Can we allocate memory for an object 74. Which of the following statements is
functions.
71. Which of the following operators is used
(B) Class is fundamental that contains
to release dynamically allocated memory
data member and member
space ?
functions.
(A) new
(C) Class is a blueprint for a data type
(B) remove
that encapsulates data member and
(C) release
member functions.
(D) delete
(D) None of the above
BCA–2001 ( 12 ) Set-A
77. Can we create multiple objects of a class 81. Which of the following statements is
(A) 1
79. Which of the following operators is used
(B) 2
to access the members using the pointer
(C) 0
to the object of a class ?
(D) Infinite
(A) .
83. What is the return type of a constructor ?
(B) –>
(A) void
(C) :
(B) mt
(D) None of the above (C) float
(D) None of the above
80. How many types of specifiers can be
BCA–2001 ( 13 ) Set-A
85. If we did not create any constructor in 89. To overcome the ambiguity occurred due
the class, then which of the following to multipath inheritance, C++ provides
constructors is automatically added to the the keyword ............ .
class ?
(A) virtual
(A) Copy constructor (B) friend
(B) Default constructor (C) default
(C) Parameterized constructor (D) None of the above
(D) None of the above
90. The procedure of creating a new class
86. Constructor and Destructor have the from one or more existing classes is
same name but destructor is preceded
termed as ............ .
by :
(A) Inheritance
(A) ~
(B) Polymorphism
(B) !
(C) Encapsulation
(C) $
(D) None of the above
(D) #
91. The combination of one or more types of
87. Which of the following constructors is
inheritance ............ .
used to create an object by initializing
(A) Single
data members using an existing object ?
(B) Hybrid
(A) Default constructor
(C) Multilevel
(B) Dynamic constructor
(D) None of the above
(C) Copy constructor
(D) None of the above 92. Which of the following is the other name
of compile-time polymorphism ?
88. When does a destructor gets called ?
(A) Static polymorphism
(A) When an object gets created
BCA–2001 ( 14 ) Set-A
93. A file stream refers to the flow of data 97. Which function return the current
94. When an exception is thrown, it needs to 98. A pure virtual function is a virtual
95. C++ exception handling mechanism with a given procedure call is not known
until the time of the call at runtime.
mainly uses how many keywords ?
(A) Dynamic binding
(A) Four
(B) Runtime binding
(B) Three
(C) Early binding
(C) Two (D) Static binding
96. In C++ ............ operator is used for redundant code and extend the use of
BCA–2001 ( 15 ) Set-A
4. Four alternative answers are mentioned for 4. iz’u&iqfLrdk esa izR;sd iz’u ds pkj lEHkkfor mŸkj
each question as—A, B, C & D in the booklet. A, B, C ,oa D gSaA ijh{kkFkhZ dks mu pkjksa fodYiksa esa ls
The candidate has to choose the correct
answer and mark the same in the OMR
lgh mŸkj Nk¡Vuk gSA mŸkj dks OMR vkUlj&’khV esa
Answer-Sheet as per the direction : lEcfU/kr iz’u la[;k esa fuEu izdkj Hkjuk gS %
Example : mnkgj.k %
Question : iz’u %
Q. 1 iz’u 1
Q. 2 iz’u 2
Q. 3 iz’u 3
Illegible answers with cutting and viBuh; mŸkj ;k ,sls mŸkj ftUgsa dkVk ;k cnyk x;k
over-writing or half filled circle will be gS ;k xksys esa vk/kk Hkjdj fn;k x;k mUgsa fujLr dj
cancelled.
fn;k tk,xkA
5. Each question carries equal marks. Marks 5. izR;sd iz’u ds vad leku gSaA vkids ftrus mŸkj
will be awarded according to the number of lgh gksxa ]s mUgha ds vuqlkj vad iznku fd;s tk;saxAs
correct answers you have.
6. All answers are to be given on OMR Answer 6. lHkh mŸkj dsoy vks- ,e- vkj- mŸkj&i=d (OMR
sheet only. Answers given anywhere other Answer Sheet) ij gh fn;s tkus gSaA mŸkj&i=d esa
than the place specified in the answer sheet fu/kkZfjr LFkku ds vykok vU;= dgha ij fn;k x;k
will not be considered valid.
mŸkj ekU; ugha gksxkA
7. Before writing anything on the OMR Answer 7. vks- ,e- vkj- mŸkj&i=d (OMR Answer Sheet) ij
Sheet, all the instructions given in it should dqN Hkh fy[kus ls iwoZ mlesa fn;s x;s lHkh vuqns’kksa dks
be read carefully. lko/kkuhiwoZd i<+ fy;k tk;sA
8. After the completion of the examination 8. ijh{kk lekfIr ds mijkUr ijh{kkFkhZ d{k fujh{kd dks
candidates should leave the examination hall viuh OMR Answer Sheet miyC/k djkus ds ckn
only after providing their OMR Answer gh ijh{kk d{k ls izLFkku djsaA ijh{kkFkhZ vius lkFk
Sheet to the invigilator. Candidate can carry
their Question Booklet.
iz’u&iqfLrdk ys tk ldrs gSaA
9. There will be no negative marking. 9. fuxsfVo ekfd±x ugha gSA
10. Rough work, if any, should be done on the 10. dksbZ Hkh jQ dk;Z iz’u&iqfLrdk ds vUr esa jQ&dk;Z
blank pages provided for the purpose in the
booklet.
ds fy, fn, [kkyh ist ij gh fd;k tkuk pkfg,A
11. To bring and use of log-book, calculator, 11. ijh{kk&d{k esa ykWx&cqd] dSydqysVj] istj rFkk lsY;qyj
pager and cellular phone in examination hall Qksu ys tkuk rFkk mldk mi;ksx djuk oftZr gSA
is prohibited.
12. In case of any difference found in English 12. iz’u ds fgUnh ,oa vaxszth :ikUrj.k esa fHkUurk gksus dh
and Hindi version of the question, the n’kk esa iz’u dk vaxst
z h :ikUrj.k gh ekU; gksxkA
English version of the question will be held
authentic.
Impt. : On opening the question booklet, first egRoiw.kZ % iz’uiqfLrdk [kksyus ij izFker% tk¡p dj ns[k ysa
check that all the pages of the question fd iz’u&iqfLrdk ds lHkh i`”B HkyhHkk¡fr Nis gq, gSaA
booklet are printed properly. If there is ny ;fn iz’uiqfLrdk esa dksbZ deh gks] rks d{kfujh{kd dks
discrepancy in the question Booklet, then
after showing it to the invigilator, get
fn[kkdj mlh fljht dh nwljh iz’u&iqfLrdk izkIr
another question Booklet of the same series. dj ysaA