SR - No - Option1 Option2 Option3 Option4 Answ Er: Sample Qestion Paper 03
SR - No - Option1 Option2 Option3 Option4 Answ Er: Sample Qestion Paper 03
SR - No - Option1 Option2 Option3 Option4 Answ Er: Sample Qestion Paper 03
JUN
21
Sr
. Answ
Question Option1 Option2 Option3 Option4
er
No
.
The input interfaces
01 transforms the data into hexa binary octal decimal 2
_________code
The following is not a type
02 Analog Digital Hybrid Logical 4
of computers
______ holds data as the Processor None of
03 Processor Memory 2
CPU works with it. and Memory these options
The connectivity channel
Cache None of
04 between CPU and Memory BUS Control Unit 1
Memory these options
is________
Which of these is an Magnetic Strip
05 Smart Card ATM Card Punch Card 2
electronic card. Card
The branch that deals with
systematic application of the computer software IT None of
06 2
principles of computer engineering engineering engineering these options
science is________
___________ is a multi None of
07 MS-DOS Unix Linux 3
tasking system. these options
________ is used by
operating system to map file
names to their corresponding
08 file attributes and file data, Directories Diary Paging File 1
and also to provide greater
flexibility to users in file
naming
______ is the smallest unit of
09 Frame Header Byte Bit 4
data
10 The job of the _____ layer in Data-Link Physical Transport Presentation 3
OSI model is to provide
node-to-node communication
and to hide all the details of
the communication subnet
from the session layer.
Which of these keys belong Numeric Alphanumeri All of these
11 null 4
to QWERTY keyboard Keypad c Keys options
______is collection of the
facts or informational raw Main
12 Data Database Computer 1
material and become Memory
information after processing.
Projects
Analog to It is an
Extends the information
Digital and Interface
computer`s Bus from a
13 SCSI Interface helps in Digital to unit between 1
outside the computer on
Analog I/O device
computer a large
Conversions and Ports
screen
Which of these is not a
14 Monitor Plotter Keyboard COM 3
output device.
_______ is not a network
15 DAN WAN LAN MAN 1
type
_____ contains the addresses
of all the records according
16 Index Subscript Array File 1
to the contents of the field
designed as the record key.
A sequence of precise and un
ambiguous instructions for
None of
17 solving a problem in a finite ALGOL Algorithm Procedure 2
these options
number of operation
is___________
___________ symbol is used
Offline Communicat
18 to show data transmission Annotation Merge 4
Storage ion Link
from one location to other.
__________ is the analysis
None of these
19 tool used for planning Protocol PROLOG Pseudocode 4
options
program logic
A language which allows
instructions to be represented Machine Assembly Scientific Programmin
20 2
by letters (i.e abbrevation) language Language Language g language
is_______
Language wherein Object
Encapsulation and Assembly oriented Pascal
21 Cobol 2
Abstraction of data is done is Language programming language
called as: Language
During system evolution
Ease of All of these
23 __________ is to be Time analysis Failure rate 4
maintenance options
considered
24 The errors that occur in Syntax error Logical error Syntax error None of 3
computer program and Logical
these options
is________ error
File-oriented
approach
Database- Object
Standard methods of File-oriented and
25 oriented Oriented 3
organizing data are: approach Database-
approach approach
oriented
approach
A file management system
typically supports the
26 Transaction file Storage file Master file Backup file 2
following types of files,
EXCEPT:
Which of the following are
keywords of the "C"
language?
iii.then
iv.elseif
All of the following are C
28 int float char Union 4
basic data types except:
29 void main() 10 00 01 11 3
{
if((A==B)&&(A*B<=B))
{
if(D==1) C=1;
else
if(A==1) C=2;
}
else
C=3;
if((B==0)&&(A==B)&&(
A!=1))
D=1;
}
void main()
{
printf("\n%d\t,",(a!=y));
printf("\n%d\t,",(b<=x));
}
32 What is the output of the Both the string Both the Compile Runtime 2
following code? are same string are not Time error Error
same
#include<stdio.h>
void main()
char str1[]="India",
str2[]="India";
if(str1==str2)
printf("\nBoth the string
are same");
else
}
What is the output of the
following code?
#include<stdio.h>
void main()
Compile Runtime
33 { 0 1 4
Time error Error
int a = 0;
printf("\n %d\t", (a =
10/a));
}
34 What is the output of the 1 2 3 4 5 6 7 8 1 2 3 10 456789 456789 3
following code? 9 10
#include<stdio.h>
void main()
int s=0;
while(s++<10)
{
continue;
printf("\n%d\t",s);
}
}
The break statement is used the main()
35 an if statement a for loop a program 2
to exit from: function
I have a function
#include <stdio.h>
main()
{
void swap();
printf("x=%d y=%d",x,y);
}
{
}
Are
Are necessary
Take less executable
to solve a
38 Recursive Functions main storage faster than None 1
certain class of
space iterative
problems
ones
39 What is the output of the 16 7 11 Error 1
following code?
#include<stdio.h>
void main()
{
int arr[2][3][2]={{{2,4},
{7,8},{3,4},}, {{2,2},{2,3},
{3,4}, }};
printf("\n
%d",**(*arr+1)+2+7);
}
What is the difference
between the 5`s in these two first is
first is first is array
expressions? particular
particular size, second both specify
40 element, 2
element, is particular array size
int num[5]; second is
second is type element
array size
num[5];
int **array2
= (int
**)malloc(nr
ows *
int **array1 =
sizeof(int
(int
*));
**)malloc(nro
ws * sizeof(int
array2[0] = int *array3 =
*));
(int (int
How can I dynamically
*)malloc(nro *)malloc(nro Any of the
41 allocate a two-dimensional for(i = 0; i < 1
ws * ws * above.
array? nrows; i++)
ncolumns * ncolumns *
sizeof(int)); sizeof(int));
array1[i] = (int
*)malloc(ncolu
for(i = 1; i <
mns *
nrows; i++)
sizeof(int));
array2[i] =
array2[0] + i
* ncolumns;
42 #include<stdio.h> value of p is address of p value of I is address of I 3
printed is printed printed is printed
void main()
{
int I=10,*p=&I,**q=&p;
printf("%u",***(&(*(&Q))))
;
}
#include<stdio.h>
void main()
{
0 garbage
garbage
43 int arr[]={0,1,2,3,4,5,6}; Error 65432 43210 4
garbage
garbage
int i,*ptr;
printf("\n%d",ptr[-i]);
}
This pointer for any class const X X *const
44 int *this; X *thid; 4
internally declared as *this; this;
45 #include<stdio.h> 10 20 50 None of 3
these
void prg(int);
main()
{
int a=10,j=3,i=2;
prg(a);
a*=( i + j );
printf("%d",a);
}
void prg(x)
{
int x;
int k=2;
x*=k;
return (x);
}
1. #include<stdio.h>
2. int y;
3. void main()
4. {
5. int x,*px,**ppx;void
f1(int *);
6. x = 10;
7. y = 1000;
8. px = &x;
9. ppx = &px;
10. f1(px);
11. printf("%d",*px);
12. }
14. {
15. *p = 20;
16. printf("%d",*p);
17. }
struct sample
{
};
main()
{
int a=10,j=3,i=2;
prg(a);
a*=( i + j );
printf("%d",a);
}
{
int k=2;
x*=k;
return (x);
}
#include<stdio.h>
void main()
{
}
61 What is the output of the Run time error Compile time 100 Garbage 3
following code : error value
#include<stdio.h>
void main()
printf("%d",out);
}
int out=100;
What is the output of the
following code?
#include<stdio.h>
void main()
int a = 20,b=100;
62 21, 21 20, 21 21, 22 Error 4
int &n = a;
n=a++;
n = &b;
}
Information
Information hiding and None of
63 Encapsulation is Data Binding 3
hiding Data these options
Binding
All Objects
data will be
stored in
Default
Compiler will Object same
If constructor is not provided constructor
64 not compile the creation is memory area 4
then will be
class not possible so
provided
overwriting
of data will
happen
To initialize
the objects
to allocate of it`s class
to initialize the None of
The use of constructor is memory for as well as to
65 objects of it`s these 1
______. the objects of allocate
class. options.
it`s class only memory for
the objects
of it`s class
66 __________ is the capability Polymorphism. Inheritance. Abstraction. Both 2
to share and extent the Polymorphis
functionality of an existing m and
class. Inheritance
Interface
Inheritance through interface Implementation Definition Delegation
67 inheritance 2
is called ________. inheritance. inheritance. inheritance.
model.
Complex object composing
None of
68 of other object is Aggregation Assosiation Composition 1
these options
called_____
Whether the
Whether the Whether the Used only
methods &
The (+) sign and (-) sign to methods & methods & with
attributes are
69 the left of the attributes & attributes are attributes are attributes not 1
overloaded
methods signify: public or global or with
or
private. local. methods..
overridden.
Data
Data Inheritance, Encapsulatio Overloading,
Encapsulation, Polymorphis n, Inheritance
Which are the main three
70 Inheritance & m & Inheritance & 3
features of OOP language?
Exception Exception & Polymorphis
handling handling Polymorphis m
m
Which of the following Object
Procedural Object based Structural
71 programming technique oriented 1
language language language
focuses on the algorithm. language
Inherits data
members
Object can and member
Inherits data
Inherits access functions
members and
constructors protected from base
72 A derived class member 1
and members class as well
functions from
destructor. with the dot as Inherits
base class.
operator. constructors
and
destructor.
IGNOMINY : death : derelict :
73 fame : heroism martyr : man 1
DISLOYALTY :: victory fool
74 RAIN : DELUGE :: pond : ocean desert : camel ore : iron street : road 1
75 CONE : PINE :: fruit : berry bulb : flower acorn : oak needle : fir 3
76 Horse : colt :: bird : eaglet child : adult seed : fruit sheep : lamb 4
charlatan : slavish : terse :
77 Bland : Piquant :: inane : relevant 2
genuine servile serious
mystery : forthright :
78 OPEN : SECRETIVE :: tunnel : toil better : best 3
detective snide
79 INTRANSIGENT : conclusive workable recognizable amenable 4
80 INCREDULOUS : argumentative imaginative indifferent irreligious 4
81 SCRUPULOUS : Wasteful Flippant Sloppy Shady 3
82 JEOPARDY : danger safety perjury conundrum 2
During 1985, advertising
expensing expenditure on
canned food products
Canned food Canned food
increased by 20 percent, Canned
Advertising price products
while canned food opener
83 effectiveness decreased were avaible 4
consumption rose by 25 production
increased relative to in more
percent. Each of the doubled
substitutes stores
following, if true, could help
explain the increase in food
consumption except
Each of the following could
be the number of white
84 4 5 6 8 2
puppies in the shelter
EXCEPT
The gateway of india is in
mumbai mumbai is in
probably
85 maharashtra therefore the false cannot say true 3
false
gateway of india is in
maharashtra
sushil is the son of the
teacher. mohan is the teacher
probably
86 and he has a son and definitely true probably true cannot say 2
false
daughter therefore mohan is
the father of sushil
Prof. Tembel told his class
that the method of student
evaluation of teachers is not
Students
valid measure of teaching Teachers are
Prof. Tembel filled up the Students are
quality. Students should fill not obligated
received low questionnaire interested in
87 out questionnaires at the end to use the 2
rating from his after the teachers
of the semester when courses survey
students. midterm evaluation.
have been completed. Which results.
exam.
of the following, if true,
provides support for Prof.
Tembel`s proposal ?
88 The Pistons have more The Nuggets The Pistons The Nuggets The Lakers 1
points than the Nuggets. The have fewer have more have fewer have more
Bullets have less points than points than the points than points than points than
the Lakers. The Nuggets and Bullets. the Bullets. the Lakers. the Pistons.
the Suns have the same
number of points. The Suns
have more points than the
Bullets. If the above is true,
which of the following must
also be true?
being unhappiness
being
overweight is and
overweight is unhappiness
the only unattractiven
always caused necessarily
A person hearing this cause of ess can
89 by unhappiness leads to 2
advertisement countered, unhappiness cause
and being
and someone to
unattractivenes overweight
unattractiven be
s
ess overweight
If the 2nd and 4th saturdays
and all sundays are declared
holidays ,what would be the
90 24 25 23 22 4
minimum no of working
days of any month of any
year
If G sits at the head of the
table, and F in the middle
seat on one side of the table
91 G H J L 3
and immediately on K`s left,
the guest seated directly
opposite F must be
An employment
questionnaire asks the
prospective employee, "If
XYZ company hires you,
will you continue to use
drug?" The prospective
employee may not wish to
indicate "yes" or "no"
because