Some important questions.......... (TEST PAPER 1)
KOTPUTLI COACHING CLASSES (KC2)
NOTE: 1) NEGATIVE MARKING 1/2 MARK
2)
EACH QUESTION CARRY 1 MARK
3)
TOTAL TIME 60 MINUTES
ALL
THE BEST
1) State
the object oriented languages
A. C++ B. Java C.
Eiffel D. All of the above
2) The pre-processor directive #include is required if
A. Console output is used B. Console input
is used
C. Both console input and output is
used D. None of these
3) A
constructor is called whenever
A. a object is declared B. an object
is used C. a class is declared D. a class is used
4)
Overload function in C++
A. a group function with the same name B. all have the same number and type of
arguments
C. functions with same name and same
number and type of arguments D. All
of the above
5) Operator
overloading is
A. making C++ operators works with
objects B. giving new meaning to
existing C++ operators
C. making new C++ operator D. both a & b
above
6) A
destructor takes
A. one argument B. two arguments C. three arguments D. Zero arguments
7) In C++ a function contained within a class is
called
A. a member function B. an operator C.
a class function D. a method
8) The fields in a class of a C++ program are by
default
A. protected B. Public C.
Private D. None of these
9) Length of the string “Correct” is
A. 7 B.
8 C. 6 D. implementation dependent
10) 120, 99, 80, 63, 48, ?
A.35 B.38 C.39 D.40
11) 589654237,
89654237, 8965423, 965423, ?
A.58965 B.65423 C.89654
D.96542
12) 3, 10, 101,?
A.10101 B.10201 C.10202 D.11012
13) Which
of the following comments about the “++” operator are correct?
A. It is a unary operator B. It cannot be applied to
an expression.
c. It associates from the right. D. All of the above
14) Which one of the following is the
correct operator to compare two variables?
A. := B.
= C. equal D. = =
15)
Which one of the following is not a correct variable type in C++ programs?
A. float B. real C. int D.
double
16)
Which one of the following is the boolean operator for logical and?
A. & B. && C. D. |&
17)
Which of the following is not a bitwise operator?
A. && B. << C.
~ D. ^
18) In C++, the expression 5/2 is evaluated to:
A. 2.5 B.
2 C. 3 D. None of the
above
19) The default copy
constructor performs:
A. Deep copy B. Shallow copy C.
Hard copy D. Soft copy
20) What will the output of following code
{ int
x=10, y=15;
x =
x++;
y =
++y;
printf(“%d,
%d \n”, x, y);
}
A. 10, 15 B. 10, 16 C.
11, 16 D. 11, 15
21) Which of the following statement creates
infinite loop?
A. for ( ;
; ) B. while ( ; ; ) C. when ( ; ; ) D. if( ; ; )
22) The use
of “break” Statement
A. to
terminate a case in the switch statement B. to force immediate termination of
a loop
C. Both A
& B D.
Only A
23). Array indexing always starts with the number
A. \0 B. 1
C. 2 D. 0
24) When a data type must contain decimal numbers, assign the type
A. int B. Char C. Double D.
long int
25) If char catname[15]; , which
of the following is valid?
A. catname[15] =
"Millie"; B. catname =
"Millie"; C. catname[ ] =
"Millie"; D. No-valid
26) The output quality of a printer is measured by
A. Dot per
inch B. Dot per sq.
Inch C. Dots printed per unit time D. All of above
27) The language that the computer can understand
and execute is called
A. Machine
language B. Application software C. System program D. All of above
28) The control unit of a microprocessor
A. Stores
data in the memory B. Accepts input data from keyboard
C. Performs
arithmetic/logic function D. None of
above
29). One computer that is not considered a portable
is
A.
Minicomputer B. Laptop computer C. Notebook computer D. All of above
30) Which
statement is valid about interpreter?
A. It
translates one instruction at a time B.
Object code is saved for future use
C. Repeated
interpretation is not necessary D.
All of above
31) The
octal equivalent of 111010 is
A. 81 B. 72 C. 71 D. None of above
32) Which statement is valid?
A. 1
MB=2048 bytes B. 1 MB = 1000 kilobytes C. 1 KB = 1000 bytes D. 1KB = 1024 bytes
33) In order to play and hear sound on a computer,
one needs:
A. a sound
card and speakers B. a microphone
C. all of
them required D. none of them
required
34) Which of the following is a programming language?
A. Lotus B. Pascal C. MS-Excel D. Netscape
35) A Pixel
is __________
A. A
computer program that draws picture B.
A picture stored in secondary memory
C. The
smallest resolvable part of a picture D.
None of these
36) Which of the following is not an output
device?
A. Scanner B. Printer C. Flat Screen D. Touch Screen
37) Which number system is usually followed in a
typical 32-bit computer?
A. 2 B. 10 C. 16 D. 32
38) Operating system, editors, and debuggers comes
under?
A. System
Software B. Application Software C. Utilities D. None of the above
39) Which of
the following is not anti-viruses software?
A. NAV B. F-Prot C. Oracle D. McAfee
40) What does DMA stand for?
A. Distinct
Memory Access B. Direct Memory Access
C. Direct
Module Access D. Direct Memory
Allocation
41) Basic is ________ language.
A. a
procedural B. an
object oriented C. both A and B D. none of the above
42) Through
which device the main components of the computer communicate with each other?
A. Keyboard B. System Bus C. Monitor D. Memory
RAHUL
LAKHMARA
43) ASCII stands for
A. American
Standard Code for Information Interchange
B. American
Scientific Code for International Interchange
C. American
Standard Code for Intelligence Interchange
D. American
Scientific Code for Information Interchange
44) After copying the content how many times can
you paste?
A. 1 B. 16 C. 32 D. Many
45) Which of the following is not an Input Device?
A. Touch Screen B. Optical Scanners C. Touch
Pad D. Mouse Pad
46) which language is used as teaching tool:
A. COBOL B. PASCAL C. FORTRAN D. C&C++
47) int
z=10%3%3/1+5/2; find value of z
A. 2 B. 5 C. 3 D. 4
48)
Word cancer day:
A. 5June B. 4 march C. 4 February D. 14 December
49) 1,
1, 4, 8, 9, 27, 16, ?
A.32 B.64 C.81 D.256
50) 28
25 5 21 18 5 14
A.11 5 B.10 7 C.11 8 D.5 10 E. 10 5
51) The sex
ratio is the highest in
A. Kerala B. West
Bengal C. Uttar
Pradesh D. Mizoram
52) Which
countries are related to Palk strait(पाक जलसन्धि)
A. India
and Pakistan B. India and Sri Lanka
C. North
Korea and South Korea D. China and
Pakistan
53) Find the number
which when added to itself 13 times gives 112
- 7 B. 8 C. 9 D.11
54) what
is the sum total of all angles of a right angled triangle in terms of degrees?
A. 90 B.185
C.180 D. 45
55) If a computer on the network shares resources
for others to use, it is called..
A) Mainframe B)Microprocessor
C)Client D)
Server
56) Convert (1111001)2 ()10
A. (31)10 B. (127)10 C. (27)10 D. (121)10
57) Use of function:
a. Enhances
logical clarity of program Make
debugging easier
b. Helps
avoid repeating of statements
A.
Only
a anb b correct B. Only a anb c
correct C. a,b,c correct D.Only c
correct
58) Time taken for addition of an element in a
queue is of the order of
A.
O(1)
B. O(n) C. O(log n) D. None
59) Complexity for Linear Search and Binary
Search is:
A.
O(n) & O(1) B.
O(log n) & O(n)
C.
O(n) & O(log
n) D. O(n) & O(n)
60) Which of the following is system software ?
A.
MS Word B. Adobe Photoshop C. MS PowerPoint D. Windows 7
61) Which one is odd ?
A.
Facebook B. Linked-In C. Google D.Twitter
ANSWER KEY WILL BE RELEASE SOON......
Comment your answer below of mail me
RAHUL LAKHMARA
rahul_lakhmara@yahoo.co.in
8560991801