Computer Science Quiz
Computer Science Quiz
Answ
No       Question        Option1          Option2          Option3          Option4
                                                                                       er
 .
01 _______ is a
    non-volatile
    memory chip in
                                                                     ROM and
    which data once ROM                PROM              EPROM                        1
                                                                     PROM
    stored cannot be
    altered by
    programmer
02 The Calculations
    & decision                                                       Control Unit
                     Control Unit      ALU               RAM                          2
    making is done                                                   and ALU
    in
03 Modern magnetic
    tapes use 8 bit
                                                                     All of these
    ________code EBCDIC                BCD               ASCII                        1
                                                                     options
    format for data
    recording
04 Magnetic disk is
                                                         Random      None of these
    a ________       Direct access     Indirect access                                1
                                                         access      options
    storage device
05 Which of the
    following are of                                     CD-ROM
                     CD-ROM            WORM                       Zip disk            3
    type Optical                                         and WORM
    Disk:
06 Collection of
                     Software          Instructions      Hardware    Procedure        1
    Programs is
07                                     File           File
                     File Allocation                                 File Allotment
    FAT stands for                     Administration Available                     1
                     Table                                           Transfer
                                       Table          Table
08 ________ is used
   by operating
   system to map
   file names to
   their
   corresponding
                       Directories     Diary             Paging      File             1
   file attributes and
   file data, and also
   to provide greater
   flexibility to
   users in file
   naming
09 The OSI model
                                                                                         3
   has ________        5                  6                7             8
   layers
10 __________
   terminal is a
                       Intelligent                         Dumb
   graphics terminal                      X terminal                     Smart terminal 2
                       terminal                            terminal
   that has a rich set
   of terminals
11 The fastest
   computers of        microcomputer
                                          super computer Pentium 3       mini computer 2
   today`s era         s
   is________
   Which of these
   keys belong to Numeric                                  Alphanumeri All of these
                                          null                                           4
   QWERTY              Keypad                              c Keys      options
   keyboard
12                     It is a powerful
                       desktop
                                                           They can be
   Which of the        computer
                                          It is not used   used by
   following is true designed to                                          All of these
                                          for computer     several                       1
   in regard to        meet greater                                       options
                                          aided design     personnel at a
   Work station.       processing
                                                           time
                       power, large
                       storage etc.
13 Rules that govern
   transmission of
   data over
                       Router             Topology         Prototype     Protocol        4
   communication
   network
   is__________
14 The periodic
   refreshing of                                           STATIC and None of these
                       STATIC             DRAM                                           2
   ____________                                            DRAM       options
   RAM is required
15 A value written
   into a program
   instruction that
   does not change Identifiers            Constants        Objects       Operators       2
   during the
   execution of
   program.
16 _____ contains Index                   Subscript        Array         File            1
   the addresses of
   all the records
     according to the
     contents of the
     field designed as
     the record key.
17   The flowcharts
     used to describe
     the sequence of System           Program          Activity        None of these
                                                                                       2
     operations for a flowcharts      flowcharts       flowcharts      options
     particular
     problem is called
18   The method of
     carrying out the
     instructions
                                                                       Tracking and
     given in the       Tracking      Tracing          Executing                       2
                                                                       Tracing
     flowchart with
     some sample data
     is known as
19   Language
     wherein
                                      Object oriented
     Encapsulation      Assembly                      Pascal
                                      programming                      Cobol           2
     and Abstraction Language                         language
                                      Language
     of data is done is
     called as:
20   Language
     Primarily used
                        ADA           C++              JAVA            FORTRAN         3
     for internet-based
     applications
21                                    It is complete
                     Process which    when all         It is process
     _________is not should be        desired          of validating
                                                                     All of these
     true related to planned and      verification s   the                             4
                                                                     options
     Debugging.      scheduled        against          correctness
                     properly         specifications   of program.
                                      are done
23 Program errors
                                                                       All of these
   are known as       Virus           Bugs             Errors                          2
                                                                       options
   ________
24                                                     File-oriented
   Standard
                                      Database-        approach and
   methods of         File-oriented                                    Object Oriented
                                      oriented         Database-                       3
   organizing data    approach                                         approach
                                      approach         oriented
   are:
                                                       approach
25 The component      Data definition Data             Data            None of these   3
   of data base       Language        manipulation     definition      options
                                                       Language
   management
                                                       and Data
   system is                          Language
                                                       manipulation
   ________
                                                       Language
26 which of the
   following is NOT                   `enter values of
                    `Thank You`                        `23.56e-03`      all of the above 4
   a character                        p n r`
   constant
27 Every C program                                     arithmetic
                    char              statement                         main () function 4
   requires :                                          operator
28 void main()
   {
   float x[2]
   [3]={{1.1,1.2,1.3
   }, {2.1,2.2,2.3}}; 1.1             2.3              2.1              2.2              3
   printf("%1.1f",
   *(*(x+1)));
   }
29 the process of
   compiling and
                                                       executable
   running a C        Source program object code                        all of the above 4
                                                       object code
   program
   includes:
30 A continue
   usually
                      goto             Else            If               None             4
   associated with
   __________.
31 (int) 21.3/ (int)                                                                     1
                      5                1               0                None
   4.5
32 C language came
   into existence in 1971              1958            1972             1983             3
   the year
33 A max width of c
   variable name      6 Char           8 Char          31 char          32 char          3
   can be
34 void main()        The condition                    The while
                                       Sunc will be                     A linker error is
   { while(1)         in while loop is                 loop is an                         3
                                       printed once.                    generated.
   printf(" sunc"); } illegal                          infinite loop.
35 main()             Hi               Hello           Hello Hi         Hello Hi still 4
   { printf(" \n                                       Infinite no of   stack overflow
   Hello"); disp(); }                                  times
     disp()
     { printf(" \n Hi");
     main(); }
36   main() { char ch=
     'A'; printf("%d
     %d",                11               12                22             Error           2
     sizeof(ch)
     ,sizeof('A')); }
37   which of the
     following                                              this = `T` *
                         mes = 123.56;    con = `T` * `A`                  3 + a = b;      4
     statement is                                           20;
     wrong
38   void main()
     { float a=0.7;
     if(a< 0.7)          c                c++               c c++          None            1
     printf("c"); else
     printf("c++"); }
39   Unions are          union contents   union members union
     different than      are not          use the same  members are All of above           2
     structures in that members           space         anonymous
40   Which of the
     following
     statement is
     correct regarding
     arrays ? Array
     elements are
     stored in
     contiguous
     memory
                                                                           none of the
     locations The       i, ii and iii    i only            i and iii                      3
                                                                           above
     size of the array
     can be mentioned
     anywhere in the
     program In an
     array'arr' the
     expression arr[i]
     refers to the i +
     1th element in
     the array.
41   The output of the 25, 25, 25         25, 55, 25        25, 55, 55     none of these   2
     following
     program will
     be ::- main() { int
     a, *ptr,b,c; a=25;
     ptr = &a; b=
   a+30; c= *ptr;
   printf(" %d, %d,
   %d ", a, b, c); }
42 Stack is
                                        memory
   constantly        element   object              set of integers   3
                                        location
   changing
43 Consider the      10        100      1000       20                3
   program segment
   given below.
   (The numbers
   represent
   program line
   numbers) :
   1. #include
   2. int y;
   3. void main()
   4.{
   5. int x,*px,**px;
   6. x = 10;
   7. y = 1000;
   8. px = &x;
   9. ppx = &px;
   10. f3(ppx);
   11.
   printf("%d",*px);
   12.}
   13.void f3(int
   **pp)
   14.{
   15. *pp = &y;
   16.
   printf("%d",**pp
   );
   17.}
   The printf() at
   line 11 prints the
   value :
46 If there are no
   element in stack
                        TRUE             1                 FALSE            0                1
   empty(s) returns
   as the value
47                      b is a pointer to
   Interpret the                                           b is a pointer
                        a function                                          b is a pointer of
   following                                               to a void
                        which takes a invalid                               type int which is
   statement :                                             which can be                       1
                        pointer to an int statement                         a pointer to a
   void(*b)(int *);                                        typecast as a
                        and returns a                                       void
                                                           pointer to int
                        void
48 Consider the
   following
   statements.
   i. stack is a LIFO
   ii. stack is a
   FIFO                 only i and iii   only ii and iii   only i and iv only ii and iv
                                                                                             3
                        are true         are true          are true      are true
   iii. queue is a
   LIFO
   iv. queue is a
   FIFO
49 If stack contain
   no item then it is   Null stack       Empty stack       Waste stack Stack of no use 2
   called as ___
50 In doubly link       two
   list each node       information      two pointer       two nodes        double header    2
   contain ______       node
51                                       has a
                                         declaration
                                                          will be
                        is globally      "extern"
   An external                                            initialized to All of the
                        accessible by    associated with                                     4
   variable                                               0 if not       above.
                        all functions    it when
                                                          initialized.
                                         declared with in
                                         a function
52 static int x=3 , 3                    4                5              Garbage             2
   y,z; void main()
   { int a; a= x++ *
   ++y + ++z;
   printf("%d", a); }
53 void main() { int
   k=4; switch(k)
   { default :
   printf("A"); case
                                                        Compilation
   1: printf("B");     C                D                           None              3
                                                        Err
   case 4:
   printf("C"); case
   2+3 -1 :
   printf("D"); }}
54 The expression The file
                                        The file
   ((fpt = fopen(" "sample"                            ftp is not
                                        "sample" could               the file "sample"
   sample","w" ))= doesn't exist                       declared as a                   4
                                        not be created               is read only.
   = NULL) would while fopen is                        FILE pointer
                                        for writing
   be true if ::-      being executed
55 A function called
   total(), totals the
   sum of an integer
   array passed to it
   (as the first
   parameter) and
   returns the total
   of all the                                          int total( int
                       int total( int   int total( int
   elements as an                                      numbers[], None of the
                       numbers[], int   numbers[], int                                4
   integer. Let the                                    int elements ) above
                       elements ) {     elements ) {
   second parameter                                    {
   to the function be
   an integer which
   contains the
   number of
   elements of the
   array. The
   correct code is
56                                      Passing a
   What does the       Passing a copy                   Choosing a A function that
                                        pointer to a
   term call-by-       of a variable                    random value does not return 1
                                        variable into a
   value refer to? into a function                      for a variable any values
                                        function
57 void main() { int
   k=3; while(k)
                                                                      Declarations
   { int k=1;        1                  Infinite loop   21                            2
                                                                      syntax err
   printf("%d", k);
   k--; } }
58 Consider the      20                 24              16            2               2
   function
   int my(int n)
   {
   if(n!=1) return
   (n* my(n-1));
   }
   Call it with
   my(4). What is
   the return value
   of this function?
59 Suppose a, b and
   c are integer
   variables that
   have been
   assigned the
   values             45              56                54            65                1
   a=8, b=3 and c =-
   5. Determine the
   value of 2 * b + 3
   *(a-c)
60 What is output
   void main() { int
   n=3,a=2; a*=      7                8                 6             None              2
   n+1; printf("%d",
   a); }
61                                                                      You can define
   Which of the                       An object
                                                        It is easier to your own data
   following are                      oriented
                     You can define                     conceptualize types and It is
   good reasons to                    program can be
                     your own data                      an object       easier to        4
   use an object                      taught to
                     types                              oriented        conceptualize an
   oriented                           correct its own
                                                        program         object oriented
   language.                          errors
                                                                        program
62 Object-oriented
   technology`s
   ______ feature
   means that a
   small change in
   user                                                 Encapsulatio
                   Abstraction        Modularity                     Modelling          3
   requirements                                         n
   should not
   require large
   changes to be
   made to the
   system.
63 An object has                                                       All of these
                       State            Behaviour       Identity.                        4
   _____.                                                              options.
64                                                      Generalizatio
   What is            It is same as     Aggregation of n and           All of these
                                                                                         3
   inheritance?       encapsulation. information.       specialization options.
                                                        .
65                                      Any class that
                      In interface
                                        implements an
     Which of the     methods do not
                                        interface must
     following is not have any                          Both are true. Both are false.   1
                                        provide the
     false?           implementation
                                        implementation
                      .
                                        .
66   Complex object
     composing of                                                      None of these
                      Aggregation       Assosiation     Composition                      1
     other object is                                                   options
     called_____
67   A relationship
     that can be
     identified
     between two
     object entities  function          association     link           activity          2
     (classes or
     individuals) is
     called a
     ___________.
68   Which of the
     following
     programming      Procedural        Object oriented Object based Structural
                                                                                         1
     technique        language          language        language       language
     focuses on the
     algorithm.
69                    Memberwise There is
     Shallow copy is                                    Is same like None of these
                      copying of        nothing like                                     1
     defined as                                         Deep copy options
                      objects           shallow copy
70                                                      To initialize
                                                        the objects of
                                        to allocate     it`s class as
     The use of       to initialize the
                                        memory for the well as to      None of these
     constructor is   objects of it`s                                                    1
                                        objects of it`s allocate       options.
     ______.          class.
                                        class only      memory for
                                                        the objects of
                                                        it`s class
71   IGNOMINY :       fame : heroism death : victory derelict : fool martyr : man        1
     DISLOYALTY :
     :
72   It may be useful
     to think of
     character in
     fiction as a
     function of two
                         analogous  hum disparate  aggra   divergent  typ comparable  deli
     ________                                                                              3
                         anize           ndize             ify            neate
     impulses: the
     impulse to
     individualize and
     the impulse to
     __________.
73   GAZELLE :
                         horse : slow    swan : graceful   lion : roar   lamb : bleat      3
     SWIFT ::
74   TRAP : GAME :: novel : author net : fish              leash : dog   wall : house      2
75                                       charlatan :       slavish :
     Bland : Piquant :: inane : relevant                                 terse : serious   2
                                         genuine           servile
76   LUBRICANT :                         eraser :          solvent :     reagent :
                         balm : pain                                                       1
     FRICTION ::                         correction        paint         chemical
77   GRACEFUL : articulate :             fastidious :      humorous :    servile :
                                                                                           1
     MOVEMENT :: speech                  grime             laughter      rebellion
78   DISINTERESTE
                         biased          violent           complete      humane            1
     D:
79   ACCOLADE : rejection                separation        negligence    descent           1
80   TEMERITY :          foolhardiness negligence          timidity      care              3
81   Each of the
     following could
     be the number of
                         4               5                 6             8                 2
     white puppies in
     the shelter
     EXCEPT
82   During 1985,        Advertising     Canned food       Canned food Canned opener 4
     advertising         effectiveness price decreased     products     production
     expensing           increased       relative to       were avaible doubled
     expenditure on                      substitutes       in more
     canned food                                           stores
     products
     increased by 20
     percent, while
     canned food
     consumption rose
     by 25 percent.
     Each of the
     following, if true,
   could help
   explain the
   increase in food
   consumption
   except
83 Typically the
   entrepreneur is
   seen as an
   individual who
   owns and
   operates a small
   business. But,
   simply to won
   and operate a
   small business or
   even a big
   business does not
   make someone
                                        Someone who Entrepreneur          Entrepreneurs
   an entrepreneur. An owner of a
                                        develops an      s do not own     are the main
   If this person is a large business
                                        enterprise may and operate        actors in       2
   true entrepreneur, may be an
                                        be considered small               economic
   then new            entrepreneur.
                                        an entrepreneur. businesses.      growth.
   products are
   being created,
   new ways of
   providing
   services are
   being
   implemented.
   Which of the
   following
   conclusion can
   be best drawn
   from the above
   passage.
84 A politician        Most people      Most people in the                A large,        4
   wrote the           who received     the district live questionnaire   absolute number
   following: "I       the              in homes.         method of       of replies is
   realize there are questionnaire                        data            synonymous
   shortcomings to have replied                           collection is   with accuracy
   the questionaire                                       unscientific
   method.
   However, since I
   send a copy of
   the quetionnaire
   to every home in
   the district, I
   believe the
   results are quite
   representative....
   I think the
   numbers received
   are so large that
   it is quite
   accurate even
   though the
   survey is not
   done
   scientifically"
85 Farmers in the
   North have
   observed that
   heavy frost is
   usually preceded
                      The
   by a full moon.
                      temperature
   They are                             Absence of a
                      must fall below                                     No one has
   convinced that                       cloud cover
                      10 degrees                           Farmers are proven that the
   the full moon                        cools the                                      2
                      Celsius (50                          superstitious. moon causes
   somehow                              ground which
                      degrees                                             frost.
   generates the                        causes frost.
                      Fahrenheit) for
   frost. Which of
                      frost to occur.
   the following, if
   true, would
   weaken the
   farmers
   convection?
86 The movement of Employee-            Employee           Employee       Employee union 3
   ownership by       owned             participation in   union          ownership
   unions is the      companies         management         ownership      enables workers
   latest step in the generally have    raises morale.     drives up      to share in the
   progression from higher                                 salaries and   profits.
   management         productivity.                        wages.
   ownership to
   employee
   ownership.
   Employee
   ownership can
   save depressed
   and losing
   companies.
   All the following
   statements, if
     true, provide
     support for the
     claim above
     except:
87                                                       unhappiness
                       being            being
                                                         and
   A person hearing overweight is overweight is                        unhappiness
                                                         unattractiven
   this                always caused the only cause                    necessarily
                                                         ess can cause                  2
   advertisement       by unhappiness of unhappiness                   leads to being
                                                         someone to
   countered,          and              and                            overweight
                                                         be
                       unattractiveness unattractiveness
                                                         overweight
88 Looking at a
   potrait, A said
   "her mother`s
   only son is my
   cousin`s father".
   My cousin is the                                      A`s
                       A`s Uncle        A`s sister                     A`s mother       4
   daughter of my                                        grandmohter
   maternal uncle
   who has an only
   sister. whose
   potrait was "A"
   looking at?
89 Which of the
   following pair of
   activies could be L and O            M and P          L and M       N and O          3
   done on Monday
   and Tuesday?
90 In a game,          Green, yellow, Magenta, green, Magenta, red, Orange, yellow,     3
   exactly six         magenta, red, purple, red,        purple,       red, magenta,
   inverted cups       purple, orange orange, yellow yellow,           green, purple
   stand side by side                                    green, orange
   in a straight line,
   and each has
   exactly one ball
   hidden under it.
   The cups are
   numbered
   consecutively 1
   through 6. Each
   of the balls is
   painted a single
   solid color. The
   colors of the
   balls are green,
   magenta, orange,
   purple, red, and
   yellow. The balls
   have been hidden
   under the cups in
   a manner that
   conforms to the
   following
   conditions:
   The purple ball
   must be hidden
   under a lower-
   numbered cup
   than the orange
   ball.
   The red ball must
   be hidden under
   a cup
   immediately
   adjacent to the
   cup under which
   the magenta ball
   is hidden.
   The green ball
   must be hidden
   under cup 5.
   Which of the
   following could
   be the colors of
   the balls under
   the cups, in order
   from 1 through
   6?
91 If the angles of a
   triangle ABC are
   in the ratio of 3 : acute          Right        isosceles   obtuse        1
   5 : 7, then the
   triangle is
92 0.000006 *                         0.00000000004 0.000000000 0.00000000000
                       0.0000000042                                           3
   0.0000007 = ?                      2             0042        042
93 Rahul buys 16 35                   31            30          29            4
   cookies, Amit
   buys 12 cookies
     and Nayan buys
     x cookies. The
     average number
     of cookies the
     three bought is
     between 19 and
     23, inclusive.
     What is the
     smallest number
     of cookies Nayan
     could have
     bought?
94   A cylindrical
     vessel of radius 4
     cm contains
     water. A solid
     sphere of radius
     3 cm is lowered
     into the water     9 / 2 cm   9 / 4 cm   4 / 9 cm      2 / 9 cm   2
     until it is
     completely
     immersed. The
     water level in the
     vessel will rise
     by
95   If a certain sum
     of money
     becomes double
     at simple interest
                        8 (1/3)    10         12            14         1
     in 12 years, what
     would be the rate
     of interest per
     annum?
96   Rakesh credits
     15% of his salary
     in fixed deposit
     account and
     spends 30% of
     the remainder      Rs. 3500   Rs. 4500   Rs. 5000      Rs. 4000   4
     amount on
     groceries. If the
     cash in hand is
     Rs. 2380, what is
     his salary?
97   If the price of    1 year     2 years    2 1/2 years   13 years   2
   steak is currently
   Rs.1.00 a pound
   and the price
   triples every 6
   months, how
   long will it be
   until the price of
   steak is Rs.81.00
   of a pound?
98 A,B and C play
   cricket.Ratio of
   A`s runs to C`s
   runs and C`s runs
   to B`s runs are
   same as 3:2.
                      162,108,72   108,72,162   72,108,162   162,72,108      4
   They score
   altogether 342
   runs. The runs
   A,B,C
   respectively
   scored were.
99 If the operation *
   is defined by *a
                      23           527          529          623             2
   = a2 - 2, then
   *(*5) is
10 An old picture
0 has dimensions
   33 inches by 24
   inches. What one
   length must be
   cut from each      2 inches     6 inches     9 inches     10 1/2 inches   2
   dimension so that
   the ratio of the
   shorter side to
   the longer side is
   2:3?