2024apr 37224
2024apr 37224
A
COMPUTER SCIENCE AND APPLICATIONS
Signature and Name of Invigilator Seat No.
1. (Signature) ......................................... (In figures as in Admit Card)
(Name) ................................................ Seat No. ..............................................................
2. (Signature) ......................................... (In words)
A B D (C)
5. Your responses to the items are to be indicated in the OMR A B D
Sheet given inside the Booklet only. If you mark at any place
other than in the circle in the OMR Sheet, it will not be evaluated. 5.
6. Read instructions given inside carefully.
7. Rough Work is to be done at the end of this booklet. 6.
8. If you write your Name, Seat Number, Phone Number or put 7.
any mark on any part of the OMR Sheet, except for the space
8.
allotted for the relevant entries, which may disclose your
identity, or use abusive language or employ any other unfair
means, you will render yourself liable to disqualification.
9. You have to return original OMR Sheet to the invigilator at the
end of the examination compulsorily and must not carry it with 9.
you outside the Examination Hall. You are, however, allowed
to carry the Test Booklet and duplicate copy of OMR Sheet on
conclusion of examination.
10.
10. Use only Blue/Black Ball point pen.
11.
11. Use of any calculator or log table, etc., is prohibited.
12. There is no negative marking for incorrect answers. 12.
APR - 37224/II—A
2
APR - 37224/II—A
equivalent classes into which the set together for multiple days. They will
s = (bb, by, yb, yy) is divided by
be seated at the round table. Their
equivalent relation induced by the
group of permutation [{ 1 , 2 }, 0] plan is to ensure that each student
where :
sits next to different neighbours at
bb by yb yy
1
every dinner. How many days can
bb by yb yy
this arrangement be sustained ?
bb by yb yy
2
bb yb by yy (A) 5
(A) 3
(B) 11
(B) 4
(C) 4
(C) 5
(D) 6 (D) 7
4
APR - 37224/II—A
formed using the letters a through bottles, 7 half-full and 7 empty. You
h. How many of these words contains
want to divide the 21 bottles among
no repeats, also do not include the
three persons so that each will
subword “bad” ?
receive exactly 7. Moreover, each
(A) 6660
person must receive the same
(B) 6667
quantity of Coca-Cola. Solve the
(B) 5n Full 1 3 3
(C) 2n Half-full 5 1 1
2n Empty 1 3 3
(D)
5
5 [P.T.O.
APR - 37224/II—A
Full 3 1 2
3x1 + 2x2 12
Half-full 2 1 3
x1, x2 0
Empty 2 5 1
Half-full 2 1 2
(D) None of the corner points are
Empty 4 1 3 infeasible
6
APR - 37224/II—A
11. Given Logic Gate represents which 13. The following Truth Table
represents which Logical Micro-
of the following Truth Table ?
operation ?
A B F
0 0 0
0 1 1
A Q
1 0 1
0 0
(A) 1 1 0
1 0
(A) F A B
A Q
0 1 (B) F A B
(B)
1 1 (C) F A B
(D) F A B
A Q
0 0 14. Which of the following is not
(C)
1 1 expected from a clock pulse in
CPU ?
A Q
(A) It is not applied to all registers.
0 1
(D)
1 0 (B) It changes the state of
registers as per control signal
12. “100” is a number in Decimal
requirements.
Number System. What will be its
representation in Octal Number (C) It allows synchronization of
System ? various activities.
(A) 100 (D) It may trigger the loading
(B) 144 of data into registers or the
(C) 414 transfer of data between
(D) 441 registers.
7 [P.T.O.
APR - 37224/II—A
15. Which of the following task is 17. Stack Pointer Register (SP) in
performed by Direct Memory Access x86 architecture is generally used
(DMA) in a computer system ?
to .................. .
(A) allow data transfer between
a storage unit and CPU (A) point base of the stack
independent of memory
(B) point top of the stack
(B) allow data transfer between
a storage unit and main (C) point top or based of the stack
memory independent of CPU
based on opcode
(C) allow data transfer between
a storage unit and main (D) point top or based of the stack
memory under CPU control based on addressing mode
(D) allow data transfer between
18. Which of the following computer
CPU and main memory
independent of a storage unit systems is represented when a
8
APR - 37224/II—A
9 [P.T.O.
APR - 37224/II—A
{
}
int i, x[5];
return 0;
for(i=0; i<5; i++) * (x+i) = i;
(A) 0 1 2 3 4 (B) 20
10
APR - 37224/II—A
}; public:
void display() {cout<<"World";}
int main( )
};
{
int main(void) {
C obj;
C1*ptr = new C2;
obj.f(10); ptr->display();
obj.f(10, 20); return 0;
28. Which of the following statements 31. Which of the following commands
is not true with respect to Applets ?
is used to save any transaction
(A) All web browsers support Applets
permanently into the database ?
(B) Applets are vulnerable from
security perspective (A) Redo
29. A transformation that distorts the 32. The maximum number of children
shape of an object such that the
that a B-tree of order m can have :
transformed shape appears as if the
object was composed of internal (A) m + 1
layers that had be caused to slide
over each other is called as ......... . (B) m – 1
12
APR - 37224/II—A
13 [P.T.O.
APR - 37224/II—A
39. A transaction enters into its 43. Consider the following proposed
partially committed state : solution to dining philosopher’s
(A) When it finishes the execution problem to avoid deadlock. Consider
of final statement the binary semaphore lock in
(B) When it starts the execution of initialized to 1.
first statement Philosopher (int i)
(C) After writing ‘COMMIT’ into { while (1)
log
{ think ( );
(D) It never enters partially
committed state wait (lock); .............(i)
40. Consider the relation scheme (M, N, wait (fork [i]);
O, P, Q, R) with the following set wait (fork [(i+1)%5]);
of functional dependencies :
signal (lock); ........ (ii)
F = {MO PQ, MPR NO}
eat( );
Which of the following is the trivial
functional dependencies in F+, where wait (lock); ............. (iii)
F+ is closure of F ? signal (fork [i]);
(A) MO PQ signal (fork (i + 1) % 5);
(B) MO OP signal (lock); ............ (iv)
(C) MP P }
(D) MPR N Which of the following is correct ?
41. In what tree, for every node the
(A) Removing (i) and (ii) will not
height of its left subtree and right
subtree differ at least by one : affect the code. The code will
work fine.
(A) AVL tree
(B) Removing (iii) and (iv) will not
(B) Threaded binary tree
affect the code. The code will
(C) Binary search tree
work fine.
(D) Complete tree
(C) Removing (i), (ii), (iii), (iv) will
42. An example of a distributed OS is : not affect the code. The code will
(A) Amoeba work fine.
(B) UNIX (D) All (i), (ii), (iii), (iv) are necessary.
(C) MS-DOS Removal of any of them will
(D) MULTICS affect the code.
14
APR - 37224/II—A
(ii) R/W
(C) Type C (iii) Reference
(iv) Valid
(D) Type D List II
(Purpose)
45. The equivalent postfix express for
(a) Page initialization
Codes :
15 [P.T.O.
APR - 37224/II—A
47. An operating system contains 3 user 50. Where does the swap space reside ?
processes each requiring 2 unit of (A) RAM
resources ‘R’. The minimum number (B) Disk
of units of ‘r’ such that no deadlocks
(C) ROM
will ever arise is :
(D) On chip cache
(A) 3
51. Which problem exists from the
(B) 5
management perspective in the
(C) 4 incremental model ?
(D) 6 (A) System structure tends to
48. How much extra space is used by improve as new increments are
heapsort algorithm ? added and performs better.
16
APR - 37224/II—A
53. ................... principle expect the 56. Architectural models that may be
system requirements to change and developed may include :
so design the system to accommodate ................ models that shows
the changes in Agile software relationships, such as data flow,
between the sub-systems.
development.
(A) Static structural
(A) Incremental delivery
(B) Dynamic process
(B) People not process (C) Interface model
(C) Embrace change (D) Relationship models
17 [P.T.O.
APR - 37224/II—A
63. For binary search algorithm, which 66. If a planar graph has v vertices,
of the following is not a required
condition ? e edges and f faces, then which of
(A) The list must be sorted the following is true ?
(B) There must be an easy
mechanism to delete and/or (A) e + f – v = 2
insert elements in list
(B) e – f + v = 2
(C) There should be a direct access
to the middle element in any (C) v + e + f = 2
sublist
(D) None of the above (D) v – e + f = 2
18
APR - 37224/II—A
67. Given a binary tree with : 68. Consider the undirected weighted
(i) The inorder tree traversal
output as : A B C D graph G with 3 vertices, whose
(ii) The preorder tree traversal adjacency matrix is given as :
output as : C B A D
Then the original binary tree is : 0 2 2
G 2 0 2
(A) 2 2 0
spanning tree
(B)
(B) Graph G has a unique minimum
of different costs
19 [P.T.O.
APR - 37224/II—A
70. A complete binary tree has depth, 72. Determine the regular expression for
the language accepted by L1/L2 for
given by the formula (where n is the
L1 = L(a*baa*), L2 = (ab*) :
number nodes) :
(A) a*ba*
(A) n log 2 n (B) aba*
(D) (abc)*
(C) log2 (n + 1)
73. Determine the context free grammar
(D) n log2 n + 1 for the following language where
n, m 0 :
71. Let { a, b} , { a, b, c} and
L {w {a, b}*| na (v) nb (v) , where
define ‘h’ by :
v is any prefix of w}
h(a) = ab
(A) S A|B
(B) S A|B
The homomorphic image of
A aA|aS|
L = {aa, aba}
B bB|bS|
is the language .............. . (C) S A|B
B bB|
(B) h(L) {abab, abbbcab, aaaa}
(D) S A|B
(C) h(L) { abab, abbbcab, bbbb}
A aA|SS|
(D) h(L) {abb, abcab} B bB|bA|
20
APR - 37224/II—A
74. Which of the following statements 76. Which one of the following is not
are true ? decidable ?
(A) Given a Turing machine M, a
S1 : Left recursion is a major string S and an integer K, M
problem in top-down parsing accepts S with K step S
(B) Equivalence of two given
and needs to be removed first.
Turing machines
S2 : Backtracking makes the (C) Language accepted by a given
DFSA is non-empty
bottom-up parser delay the
(D) Language generated by a CFG
input processing. is non-empty
S3 : SLR parser has lesser number 77. Determine the language accepted
by the following deterministic finite
of states than canonical – accepter over { a, b} :
LR parser.
(A) S1 and S2
(B) S1 only
(A) A language that recognizes the
(C) S1 and S3
set of all strings on { a, b}
(D) S1, S3 and S4 starting with prefix ‘ab’
(B) A language that recognizes the
75. What does Russell’s paradox
set of all strings on { a, b}
challenge in set theory ? starting with ‘ab’
(C) A language that recognizes the
(A) Axioms of infinity
set of all strings on { a, b}
(B) Axioms of choice starting with ‘a’ or ‘b’
(D) A language that recognizes the
(C) Axioms of regularity
set of all strings on { a, b}
(D) Axioms of foundation starting with any number of ‘as’
21 [P.T.O.
APR - 37224/II—A
computed top-down
(A) System Software
(C) Inherited attributes depend
(B) Application Software
only on synthesized attributes
(C) Windows Operating System
(D) Synthesized attributes depend
only on inherited attributes (D) Network Operating System
22
APR - 37224/II—A
82. Determine the line speed for a 85. In wireless networks CDPD stands
20-channel PCM/TDM system with for ................. .
a 8-kHz sample rate, 10 bits per (A) Carrier Data Packet Data
sample and one framing bit per
(B) Collision Detection in Packet
frame.
Data
(A) 1.608 Mbps
(C) Cellular Digital Packet
(B) 1.204 Mbps Distribution
(C) 3.406 Mbps (D) Cellular Digital Packet Data
(D) 1.2 Mbps 86. Which device is used to connect
83. In dual cable system to transmit a different networks that provide
data a computer outputs the data on necessary translation both in terms
to cable 1, which runs to the device of hardware and software ?
called the ............... at the root of the (A) Switches
cable tree.
(B) Routers
(A) tail end
(C) Hubs
(B) after one hop
(D) Gateways
(C) head end
87. What is the bit pattern obtained for
(D) round trip the sequence of bits 10110101 was
84. What is the broad band frequency sent in even parity by adding a bit
in telephone network ? at the end ?
23 [P.T.O.
APR - 37224/II—A
88. In computer networks, Pulse Code 91. In LISP the function that provides
90. What are the highly stable and 93. What term describes the scenario
highly volatile values that are where the training error of a model
assigned to the information in decreases while the test error
Time-to-live field ? increases ?
24
APR - 37224/II—A
95. ................ is the type of morphology class label predicted (with a 0.5
that changes the word category and threashold) is very certain and
25 [P.T.O.
APR - 37224/II—A
97. A general fuzzy controller consists 99. A neuron has five inputs given by
26
APR - 37224/II—A
ROUGH WORK
27 [P.T.O.
APR - 37224/II—A
ROUGH WORK
28