CDAC Entrance Question Papers.doc

Embed Size (px)

Citation preview

  • 7/26/2019 CDAC Entrance Question Papers.doc

    1/12

    Sr.

    No. Question Option1 Option2 Option3 Option4 Answe

    01 _______ computers perform the complexprocessing by directly measuring the discrete

    physical quantities.

    Analog Digital Hybrid Personal 2

    02 _______ is a non-volatile memory chip in hich

    data once stored cannot be altered by programmer!"# P!"# $P!"# !"# and P!"# %

    03 #odern magnetic tapes use & bit ________codeformat for data recording

    $'(D)( '(D A*()) All of these options %

    04 +he tape of magnetic tape storage is divided into,ertical columns called_________ and horiontal

    ros is called________

    (hannels and

    ramesrames and (hannels +rac/s and rames

    (hannels and

    +rac/s2

    050hich of these is an electronic card.

    #agnetic *trip

    (ard*mart (ard A+# (ard Punch (ard 2

    06 ________ is a set of control statements and extendsprocessing capability of (omputer system

    Applicationsoftare

    *ystem softare "perating system 1tilites 2

    07 Different types of user interfaces include *ystem calls (ommand language ob control language All of these options 3

    08A+ stands for

    ile Allocation+able

    ile Administration +able ile Available +ableile Allotment+ransfer

    %

    09 +he "*) model has ________ layers 4 5 6 & %

    10 *tandard multimedia compression technique is P$7 #P$7 "! ,)D$" #P$7 "! A1D)" All of these options 3

    11 +he mechanism of counting the % bits of the

    character bit set and adding a chec/ bit to ma/e thetotal number of % bits even hile transferring the

    data8 is referred to as

    Parity $ven Parity "dd Parity $rror (hec/ing 2

    +he shortcoming of #ar/ % computer is )t is very slo ,ery complex indesign 1nreliable )t is very slo and 3

  • 7/26/2019 CDAC Entrance Question Papers.doc

    2/12

    ___________ and huge in sie

    also very complex

    indesign and hugein sie

    12 0hich of the folloing are not Hard dis/ 9ip dis/ Dis/ pac/s loppy dis/ 0inchester Dis/ :

    13 +he unit of measurement of data transfer rate is______

    #aud 'aud 'andidth;one of theseoptions

    2

    14 ______is collection of the facts or informational

    ra material and become information afterprocessing.

    Data Database (omputer #ain #emory %

    15 Algorithms can be represented in various ays$

  • 7/26/2019 CDAC Entrance Question Papers.doc

    3/12

    parenthesis etc.

    23 Program errors are /non as ________ ,irus 'ugs $rrors All of these options 2

    24 (ommonly used file organiation are> *equential Direct and !andom )ndexed *equential All of these options 325 _________language that enables users to define

    there requirements for extracting required

    information.

    ?uery #anipulation DD= D#= %

    26 :.2 @ : % .2 $rr 3

    27 0hat is oBp )f cC%8 dC2 cE d F printfG HiG >

    printfG HelloGIHi Hello HiHello ;one of these 2

    28 0hich of the folloing are /eyords of the (

    languageF

    iifiielseiiithen

    ivelseif

    All are /eyords only i8ii and iii are/eyords

    only i8ii and iv are/eyords

    only i and ii are/eyords

    2

    29 hich of the folloing is ;"+ a character constant J+han/ KouJ Jenter values of p n rJ J2:.45e-:J all of the above 3

    30 void main L int arrM%NI printfG@dG8 sieofarrI

    getchI O2 % $rror ;one %

    31

    olloing are the rules for naming an identifier

    except>

    1ppercase case

    letters are not

    equivalent toloercase letters

    *hould not start ith a

    digit but can have digits

    in beteen the name

    Any letter ith - C

    sign=etter starting ith :

    32 0hat is output void main L int nC:8aC2I aQC n%I

    printfG@dG8 aI O6 & 5 ;one 2

    33 +he /eyord _______ brea/s the control fromhile loop.

    brea/ exit both a and b ;one %

  • 7/26/2019 CDAC Entrance Question Papers.doc

    4/12

    34

    (onsider the declaration Rinclude Here the angled

    brac/ets indicate

    +he compiler

    ill search onlythe standard

    libraries for thefile myfile.h

    +he compiler ill search

    first the userJs defaultBor/ing directory and

    then the standard librariesfor the file myfile.h

    +he compiler ill

    search only the userJs

    defaultBor/ingdirectory

    ;one of the above. %

    35 main L printfG Sn HelloGI dispI O disp

    L printfG Sn HiGI mainI OHi Hello

    Hello Hi )nfinite no of

    times

    Hello Hi still stac/

    overflo3

    36 ( L printfG(GI O ' L (I printfG'GI O A

    L printfG AGI 'I O main L printfG#GI AI O(A#' #A'( #(A' #A(' 3

    37 hich of the folloing shos the correct hierarchy

    of arithmetic operations in (

    8 QQ8 Q or B8 or

    F8 QQ8 Q8 B8 8 - 8 QQ8 B8 Q8 8 - 8 B or Q8 - or 3

    38main L printfG ( to it that ( serviesGI mainI O

    ( to it that (servies infinitely (ompilation $rror =in/er $rror

    ( to it that ( serviesstill stac/ overflo 3

    39

    +he statement int Q arr M4N int Q8 char Q meansarray of pointer

    to five functions

    an integer function ta/ing4 arrays and returning an

    char

    array of 4 pointer to

    integers;one of above %

    400hat error ould the folloing function give on

    compilation F fint a8 int b L int aI aC2I return aI O

    #issing

    parentheses inreturn statement

    +he function should be

    defined as int f int a 8 intb

    !edeclaration of a ;one of the above :

    41 )f the binary equivalent of 4.:64 in normalised form

    is % %% %% 8

    hat is the output of the folloingT(T program Fmain L float a C 4.:64I char QpI int iI pCcharQ

    UaI foriCIiVC:Ii printfG@2xG8unsignedcharpMiN I O

    3 A( (A 3 A( 3 (A 3 :

    42 )nterpret the folloing statement >voidQbint QI

    b is a pointer to afunction hich

    ta/es a pointer to

    invalid statement b is a pointer to a voidhich can be typecast

    as a pointer to int

    b is a pointer oftype int hich is a

    pointer to a void

    %

  • 7/26/2019 CDAC Entrance Question Papers.doc

    5/12

    an int and returns

    a void

    43 rom an ascending priority queue onlythe_________item can be removed =argest *mallest !ear +op 2

    44 (onsider the program segment given belo. +henumbers represent program line numbers >

    %. Rinclude2. int yI

    :. void main3.L

    4. int x8Qpx8QQpxI

    5. x C %I

    6. y C %I&. px C UxIW. ppx C UpxI

    %. f:ppxI

    %%. printfG@dG8QpxI%2.O

    %:.void f:int QQpp%3.L

    %4. Qpp C UyI%5. printfG@dG8QQppI

    %6.O+he printf at line %% prints the value >

    % % % 2 :

    45 A stac/ in c is declared as a ____ containing toobXects

    array structure groupcollection ofelement

    2

    46 +he remove operation can only be performed8 if thequeue is

    empty non empty overloaded underflo 2

    47 *tac/ is constantly changing element obXect memory location set of integers :

  • 7/26/2019 CDAC Entrance Question Papers.doc

    6/12

    48 )n a doubly lin/ed list if a node is to be deleted

    beteen to nodes8 ho many lin/s of the existinglist have to be modifiedF

    2 3 : % :

    49 0hat is the output of the folloing codeF

    void mainL

    int i C %8 X C 2I

    const int QpCUiIp C UXI

    printfG@dG8QpIO

    % 2 : ;one of the above 2

    50 +he value of automatic variable that is declared but

    not initialied ill be

    -% 7arbage ;one :

    51 )n aT(T program constant is defined before main after main anyhere none of the above :

    52

    0hat does the term Tcall-by-referenceT refer toFPassing a copy ofa variable into a

    function.

    Passing a pointer to avariable into a function.

    (hoosing a randomvalue for a variable.

    A function that doesnot return any

    values.

    2

    53 (onsider the folloing declaration >>- enum color

    Lblac/C-%8 blue8 green OI +his represents

    blac/C -%8blueC28

    greenC:

    blac/C -% 8blue C -28

    greenC -:

    blac/C -% 8blue C 8

    greenC %

    an illegal

    declaration:

    54 +he macro )=$ is defined in hich of thefolloing filesI

    stdlib.h stdio.h io.h stdio.c 2

    55 A function called total8 totals the sum of an integerarray passed to it as the first parameter and returns

    the total of all the elements as an integer. =et thesecond parameter to the function be an integer

    hich contains the number of elements of the array.+he correct code is

    int total int

    numbersMN8 int

    elements L

    int total int numbersMN8int elements L

    int total int

    numbersMN8 int

    elements L

    ;one of the above 3

    56 0hat does the term call-by-value refer toF Passing a copy ofPassing a pointer to a (hoosing a random A function that does%

  • 7/26/2019 CDAC Entrance Question Papers.doc

    7/12

    a variable into a

    functionvariable into a function value for a variable

    not return any

    values

    57 Associativity of unary minus is right to left left to right from center ;one %

    58 void main L int )CI forI)C C2I L printfG@dG8 )I

    )I O O % 2 % ;o output 3

    59 )f ps-EtopC-% return trueI else return falseI orthis group of statements suggested shorter and more

    efficient method

    return % ps-EtopC% else

    return I

    return ps-EtopCC-%I returntop%Iit can not be made

    shorter:

    60 +he frite and fread functions handle data in text form binary form hexadecimal form octal form 2

    61 0hen the language has the capability to produce

    ne data type8it is called____.$xtensible $ncapsulation "verloading "verriding %

    62 ______ is the good example of a method that isshared by all instance of a class.

    (onstructor Attribute (onstructor andAttribute

    ;one of theseoptions

    %

    63 0hich of the folloing are class relationshipsF is-a relationship. Part-of relationship. 1se-a relationship. All of these options.3

    64

    Derived class inherits from base class. Data members. #ember function.(onstructor U

    destructor.

    'oth Data members

    and #emberfunction.

    3

    65A contract is implemented through. (lass )nterface. Abstract (lass.

    )nterface and

    Abstract (lass3

    66 (omplex obXect composing of other obXect is

    called_____ Aggregation Assosiation (omposition

    ;one of these

    options %

    67 A relationship that can be identified beteen to

    obXect entities classes or individuals is called a___________.

    function association lin/ activity 2

    68 0hich are the main three features of ""P

    languageF

    Data

    $ncapsulation8

    )nheritance8

    Polymorphism U

    Data $ncapsulation8

    )nheritance U

    "verloading8

    )nheritance U

    :

  • 7/26/2019 CDAC Entrance Question Papers.doc

    8/12

    )nheritance U

    $xceptionhandling

    $xception handling Polymorphism Polymorphism

    69

    (ardinality can be represented as>%F.n8 here nrepresents an

    unlimited value.

    "nly ith a line beteenbase class U derived

    classes

    A line ith an arro-

    head pointing indirection of parent or

    superclass.

    (annot berepresented in

    1#=.

    %

    70#ethod is another name of____ unction Attribute 'ehavior

    ;one of these

    options%

    71*A+1!);$ > #$!(1!)A= >>

    redundant >

    ordysaturn > venus heavenly > starry olf > sly :

    72Y);D > '$;$,"=$;+ >>

    !equital>reverberate !everentral>imprudent

    (ircumspect>short-sighted #uddy>unclear 3

    73 Horse > colt >> bird > eaglet child > adult seed > fruit sheep > lamb 3

    74 (";$ > P);$ >> fruit > berry bulb > floer acorn > oa/ needle > fir :

    75 #A;DA+"!K > "P+)";A= >> pious > indignant competent > inept opaque > ornate chaste > celibate 2

    76 '=1$P!);+ > (";*+!1(+)"; >> itinerary > trip signal > light tenant > premises volume > library %

    77($=$'!A+$ > #A!!)A7$ >>

    indo >

    bedroomlament > bereavement pot > pan face > penalty 2

    78

    P!"H)')+$D > !$!A); >>

    innocuous >

    forbid deleterious > embar/ required > decide

    compulsory >

    comply 3

    79 A**1A7$ > humiliate intensify convert solidify 2

    80 D"!#A;+ > authoritative elastic active uninteresting :

    81 *tudies over the last 2 years have shon that

    virtually all babies born to drug - addicted mothers

    are themselves adicted to drugs. ;o such

    +here have been

    instances in

    hich drug-

    Although some biological

    conditions have been

    shon to be genetically

    Drug addiction is an

    acquired condition

    hich cannot be

    Prior to the recent

    development of

    D;A testing8 hich

    %

  • 7/26/2019 CDAC Entrance Question Papers.doc

    9/12

    correlation8 hoever8 has been shon beteen

    drug-addicted fathers and thier neborn children. )tould appear8 then8 that drug addiction is a

    genetically inherited trait that is gender-lin/ed andpassed through the mother. All the folloing8 if true8

    ould ea/en the argument above $

    Advertising

    effectivenessincreased.

    (anned food prices

    decreased relative tosubstitutes.

    (anned food products

    are available in morestores.

    (an opener

    production doubled.%

    86 +he movement of onership by unions is the lateststep in the progression from management onership

    to employee onership. $mployee onership can

    save depressed and losing companies.All the folloing statements8 if true8 provide

    support for the claim above except>

    $mployee-oned

    companiesgenerally have

    higher

    productivity.

    $mployee participation inmanagement raises

    morale.

    $mployee uniononership drives up

    salaries and ages.

    $mployee union

    onership enables

    or/ers to share inthe profits.

    :

  • 7/26/2019 CDAC Entrance Question Papers.doc

    10/12

    87 "ne maXor obligation of the social psychologist is to

    provide his on discipline8 the other social sciencesand conceptual tools that ill increase the range and

    the reliablilty of their understanding of socialphenomena. 'eyond that8 responsible government

    officials are today turning more frequently to thesocial sientists for insight into the nature and

    solution of the problems ith hich they are

    confronted. +he above argument assumes that>

    *ocialpsychologist

    must have astrong

    bac/ground inother sciences as

    ill as their on

    A study of socialpsychology should be part

    of the curriculim ofgovernment officials.

    +he social scientist

    has an obligation toprovide the means by

    hich socialphenomena may be

    understood by others

    *ocial phenomena

    are little understoodby those outside the

    field of socialpsychology.

    :

    88 starting from a point x Xayant al/ed %4metrestoards the est he turned to his left and al/ed 2

    metres he then turned to his left and al/ed %4

    metres he then further turned to his right and al/ed%2 metres ho far is Xayant from the point x and in

    hich directionF

    :2 metres south 36 metres east 32 metres north 26 metres south %

    89 )f P and ; are done on +hursday and riday8 then

    hich of the folloing is trueF

    = is done on

    +uesday= is done on 0ednesday # is done on #onday

    " is done on

    +uesday2

    90 A farmer plants only five different /inds ofvegetables -- beans8 corn8 /ale8 peas8 and squash.

    $very year the farmer plants exactly three /inds ofvegetables according to the folloing restrictions>

    )f the farmer plants corn8 the farmer also plants

    beans that year.)f the farmer plants /ale one year8 the farmer does

    not plant it the next year.)n any year8 the farmer plants no more than one of

    the vegetables the farmer planted in the previous

    year.0hich of the folloing is a possible sequence of

    'eans8 corn8 /ale8corn8 peas8

    squash

    'eans8 corn8 peas8 beans8corn8 squash

    'eans8 peas8 squash8beans8 corn8 /ale

    (orn8 peas8 squash8beans8 /ale8 peas

    :

  • 7/26/2019 CDAC Entrance Question Papers.doc

    11/12

    combinations for the farmer to plant in to

    successive yearsF

    91)f

    x

    3W C&.28 then the value of x is equal to %.2 %.3 %.33 %.&W :92 )f a C -% and b C -28 hat is the value of 2 - ab2:F :3: 2%5 %24 53 2

    93 )f C %8 y C 2.......a C 25. ind the value of y x

    .......a.:4% 22% 3 2 %

    94 A cloc/ that gains to minutes each hour is

    synchronied at midnight ith a cloc/ that loses oneminute an hour. 0hat ill be the difference8 in

    minutes8 beteen the times shon on the to cloc/s

    hen a third cloc/ correctly shos noonF

    :5 23 %3 %2 %

    95 4 copies of a boo/ can be purchased for a sumpayable : months hence hile 4% copies can be had

    for same sum for cash payment. 0hat is the rate ofinterest per yearF

    5 @ & @ % @ %2 @ 2

    96 +he (ompound interest on a sum of money in :years at the rate of 4@ per annum is !s.%25%. 0hat

    is the simple interest of the same sum of money inthe same number of years but at 3@ per annum of

    simple interest.

    W5 W &3 & %

    97 )f the radius of a cylinder is tripled hile its height

    is halved8 its volume ill be halved unchanged doubled increased by :4@ 3

    98 )n a group of people solicited by a charity8 :@

    contributed !s.3each8 34@ contributed !s.2 each8and the rest contributed !s.%2 each. 0hat

    percentage of the total contributed came frompeople ho gave !s.3F

    :@ 3@ 34@ 4@ 3

  • 7/26/2019 CDAC Entrance Question Papers.doc

    12/12

    99 A is & miles east of '. ( is % miles north of '. D is

    %: miles east of ( and $ is 2 miles north of D. indshortest distance beteen A and $.

    4 miles 5 miles %: miles %& miles :

    100 A dishonest mil/ seller professes to sell mil/ at cost

    price but gains %2 %B2@. +he proportion of ater headds to mil/ is

    & > % 5 > 2 4 > % ;one of the above. %