C Programming Exam Questions and Answers
C Programming Exam Questions and Answers
of Printed Pages—4
Seat
No. [5423]-1
F.Y. [Link]. EXAMINATION, 2018
COMPUTER SCIENCE
Paper-I
(CS-101 : Problem Solving Using Computers and 'C' Programming)
(2013 PATTERN)
Time : Three Hours Maximum Marks : 80
N.B. :— (i) All questions are compulsory.
(ii) Figures to the right indicate full marks.
P.T.O.
(c) What is function ? Explain its definition and declaration with
suitable example.
(d) Explain array with its types. Give example.
(e) Explain the following function with example :
(i) isupper() (ii) islower()
(iii) isalpha() (iv) isdigit()
[5423]-1 3 P.T.O.
5. Answer the following (any two) : [2×5=10]
(a) Write a note on ‘command line arguments’.
(b) Explain :
(i) Simple macro substitution
(ii) Macros with argument
(iii) Nesting of macros.
(c) Explain the following :
(i) pointer to pointer
(ii) goto statement
(iii) Break statement.
[5423]-1 4
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-101
COMPUTER SCIENCE
Paper I
(2013 PATTERN)
V(G) = {1, 2, 3, 4}
[5423]-101 2
4. Attempt either A or B : [1×10=10]
(A) (i) Consider given infix expression (u + v * w). Write its
postfix expression. Also show steps to evaluate the postfix
expression using stack.
Given : u = 3, v = 4, w = 2. [4]
Write :
Or
(B) (i) Define the following terms : [4]
(b) Multigraph
[5423]-101 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-102
S.Y. [Link]. (Computer Science) (I Sem.) EXAMINATION, 2018
COMPUTER SCIENCE
Paper – II
(CS-212 : Relational Database Management System)
(2013 PATTERN)
Time : Two Hours Maximum Marks : 40
N.B. :— (i) All questions are compulsory.
(ii) Figures to the right indicate full marks.
(iii) All questions carry equal marks.
(iv) Assume suitable data, if necessary.
[5423]-102 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-103
S.Y. [Link]. (Computer Science) (I Semester) EXAMINATION, 2018
MATHEMATICS (Paper – I)
[MTC 211 : Applied Algebra)
(2013 PATTERN)
Time : Two Hours Maximum Marks : 40
N.B. :— (i) All questions are compulsory.
(ii) Figures to the right indicate full marks.
(iii) Use of single memory, non-programmable scientific
calculator is allowed.
–2
(i) Determine if the vector X = –2 is an eigenvector of the
6
matrix :
5 0 1
A 1 1 0
–7 1 0
If yes, find the corresponding eigenvalue of A.
(ii) Write the definitions :
(a) Subspace of a vector space
(b) Linear transformation.
(iii) If the vectors p 4 2 x and q x of P2 are linearly dependent,
P.T.O.
(iv) Write the definition of kernel of a linear transformation and
determine if the vector u = (3, –4, –2) belongs to the kernel
of the linear transformation T : R3 R2, defined as :
T(x, y, z) = (2x + y + z, – y + 2z).
(v) State dimension theorem for matrices and hence, if A is a
10 × 12 matrix of rank 8, then find nullity of A.
(vi) Find Hamming distance between the words x = 10011011 and
y = 11001110.
(vii) Find the symmetric matrix A such that the quadratic form
y2 – 3z2 + 2xy – 4xz + 2yz
can be expressed in the form XtAX.
1 –1 3
A 5 –4 –4
7 –6 2
[5423]-103 2
(ii) Write the definition of positive definite matrix and determine
if the following matrix is positive definite :
2 –2
A
–2 –1
(iii) Consider the transformation
T : P1 R3
defined by :
T(a + bx) = (a – 2b, 7b, 2a + 3b)
Determine if T is a linear transformation.
1 –3 3
A 3 –5 3
6 –6 4
1 2
(ii) (a) Suppose A = is a matrix of the linear trans-
2 3
formation T : R2 P 1 with respect to the bases
2
B = { e1 , e2 } for R and B = { p1 , p2 } for P1, where
e1 = (1, 0), e2 = (0, 1) and p1 = 1 – x, p2 = 1 + x.
–1
Then compute T ·
1
(b) Let
1 1
0 1
H
1 0
0 1
be a parity check matrix. Determine (2, 4) code
eH : B 2 B 4.
[5423]-103 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-104
MATHEMATICS
Paper II
(2013 PATTERN)
(a) Round off the number 75.34501 to five significant digits. Find
the corresponding relative error and percentage error.
(b) Does the equation [Link] – 3 = 0 have a real root in the interval
(1,1.5) ? Justify your answer.
P.T.O.
50
(e) Find f ( x)dx , using Trapezoidal Rule :
0
x y
0 0
10 1.41
20 2.44
30 3.46
40 4
50 4.51
where y = f(n).
dy
(f) Given x 1 and y(0) = 1. Find y(0. 1) using Euler’s method.
dx
3
(a) State and prove Simpson’s th rule for numerical integration.
8
2
(b) Calculate e sin x dx correct to four decimal places using
0
1
Simpson’s rd rule Take h .
3
dy
(c) Using Euler’s modified method, solve x y . Given that
dx
y0 = 1 when x0 = 0. Find y(0.05). (Take h = 0.05)
[5423]-104 2
(b) Using Gauss forward formula find y when x = 30 from the
following table :
x y
21 18.4708
25 17.8144
29 17.1070
33 16.3432
37 15.5154
dy
(B) (i) Given 1 y , y(0) = 0. Find. y(0.2) using Runge-Kutta
dx
second order method. (Take h = 0.1)
f ( x)
log f ( x) log 1 .
f ( x)
[5423]-104 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-105
ELECTRONICS
Paper I
(2013 PATTERN)
(e) Find number of ‘miss’ if there are 78 hits in total 156 references
of cache memory.
P.T.O.
(f) Draw state diagram of 3-bit up counter.
(i) For common anode seven segment display, write decoding logic
for a, b, c, d, e, f, g segments to display 4.
(a) Draw truth table of full adder circuit. Hence design it using
k-map and draw its circuit diagram.
[5423]-105 2
4. Attempt any one of the following : [1×10=10]
(A) (i) What is the need of interface unit ? Draw and explain
general input/output interface unit.
(ii) Draw and explain BIU (Bus Interface Unit) of 8086 processor.
Or
[5423]-105 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-106
ELECTRONICS
Paper II
(2013 PATTERN)
P.T.O.
(c) Draw the diagram of Inverting Amplifier Circuit.
(b) Draw the circuit diagram of first order active high pass filter
and explain frequncy response.
[5423]-106 2
4. Attempt any one of the following : [1×10=10]
Find :
Or
[5423]-106 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-107
EXAMINATION, 2018
ENGLISH
(Technical English)
(2013 PATTERN)
1. (A) Attempt any one of the following in about 100 words : [5]
(ii) What are the important causes which help civilized humans
to live longer than the uncivilized ones ?
(B) Attempt any one of the following in about 100 words : [5]
(ii) What are the problems that children who are ‘at the
mercy of five to six hours of television a day’ face when
they move into the real world ?
P.T.O.
2. (A) Attempt any one of the following in about 100 words : [5]
(i) Life changes for a girl, once she starts wearing the
purdah : How does the poem Purdah build this idea ?
(i) Virtues
(ii) Inumerable
(iii) Common
(iv) Interest
(v) Entrance.
[5423]-107 2
(v) He received a [strong/hearty] welcome.
4. (A) Fill in the blanks with appropriate tense forms of verbs given
in the bracket : [5]
(i) My father who is an Engineer .................... build houses.
[Simple Present]
(ii) Last night, while my friend ................. [take] a walk in
the path, he saw a sanke.
[Past Progressive]
(iii) Raghav ...................... (wait) at the airport when you reach
Delhi tomorrow.
[Future Progressive]
(iv) The nature lover ................. (walk) through the woods.
[Simple Past]
(v) I ...................... (write) an article next week.
[Simple Future Tense]
(B) Do as directed : [5]
(i) I went to see my cousin. His home was in the country.
[Simple into complex]
(ii) The boy lost his ticket because he was careless.
[Change into simple sentence]
(iii) What an exciting trip we had !
[Change into a declarative sentence]
(iv) Hasan said, “I am returning to Nagpur tomorrow”.
[Change into direct speech]
(v) A documentary on the white tiger is being made by the
Films Division.
[Change into active voice]
[5423]-107 3 P.T.O.
Total No. of Questions—5] [Total No. of Printed Pages—5
Seat
No. [5423]-2
P.T.O.
2. Attempt any four of the following : [4×5=20]
(a) Explain Hash file organization technique in detail.
(b) What is mapping cardinality ? What are its type ? Explain
with example.
(c) Explain various types of users in DBMS.
(d) What is Normalization ? Write advantages of Normalization.
(e) Explain different types of integrity constraint.
[5423]-2 2
(b) Consider the following relations :
Owner (licenceno, name, address, phoneno)
Car (carno, model, colour)
Owner and Car are related with one to many relationship.
Create a relational database in 3NF and solve the following
queries in SQL :
(i) Find the names of the owners of ‘Indica’ Car.
(ii) List all the models of owner ‘Mr. Shinde’ having colour
‘Green’.
(iii) Delete the record of owner ‘Mr. Pawar’.
(c) Consider the following relations :
Emp (eno, ename, salary, designation)
Dept (dno, dname, location)
Emp and Dept are related with many to one relationship.
Create a relational database in 3NF and solve the following
queries in SQL :
(i) List names of employee whose salary is between 25,000
to 30,000.
(ii) Find minimum salary having designation as ‘Clerk’.
(iii) Update salary of employee by 15% who belong to History
department.
(d) Consider the following relations :
Doctor (docno, docname, specialization)
Hospital (hospno, hospname, address)
Doctor and Hospital are related with many to many relation
with attribute day-of-visit.
Create a relational database in 3NF and solve the following
queries in SQL :
(i) List the name of the doctors visiting ‘Birla Hospital’
on Friday.
[5423]-2 3 P.T.O.
(ii) List the names of the hospitals in ‘Mumbai’ city
which has more than 20 doctors of ‘Surgeon’ specially
visiting it.
(iii) Delete all doctors with specialization ‘gynaec’.
(B) Attempt any one of the following : [1×5=5]
(a) Consider the following relations :
Employee (empname, street, city)
Works (empname, companyname, salary)
Company (Companyname, city)
Solve the following queries in relational algebra.
(i) Find the name of employees who works for ‘HDFC’.
(ii) Find names of cities of residence of all employees who
works for ‘SBI’.
(iii) Find the list of companies from Nagpur City.
(iv) Find the list of employees having salary more than
Rs. 20,000.
(v) Find the list of employees who work in same city
where they live.
(b) Consider the following relations :
Supplier (Sid, Sname, address);
Parts (Pid, Pname, Colour, Cost)
Catalog (Sid, Pid)
Solve the following queries in relational algebra :
(i) Find name of supplier who supply some green parts.
(ii) Find name of all parts whose cost is more than
Rs. 600.
(iii) Find name of all parts whose colour is red.
(iv) Find name of supplier and parts with its colour and
cost.
(v) Find name of supplier living in Delhi.
[5423]-2 4
5. (A) In a nursery, the plants are sold to the customers. These
plants are flowering and non-flowering. Nutrients are given
to the plants with some quantity. Nutrients include pesticides,
watering and manure.
(i) Design an E-R diagram.
(ii) Convert the E-R diagram into relational database in
3NF. [7]
(B) Write difference between single valued attribute and multivalued
attribute. [3]
Or
Explain natural join with example. [3]
[5423]-2 5 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-201
(2013 PATTERN)
(d) Using inline function may reduce execution time, but may increase
program size. State true/false.
}
P.T.O.
(i) List different types of inheritance in C++.
(a) What is purpose of virtual function ? State the rules for virtual
function. Give example.
(b) Write a C++ program to accept data from a user till a character
‘#’ is pressed. Write a data to a file “Output”. Also display
contents of file.
S = 12 + 22 + 32 +..........+ n2.
Or
Class A
int x;
};
[5423]-201 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-202
COMPUTER SCIENCE
Paper II
(2013 PATTERN)
(e) What are the basic activities involved in software coding phase ?
P.T.O.
(f) What is prescriptive process model ?
of waterfall model ?
(c) Explain the human factors that must exists among the agile
team.
by David Hooker.
[5423]-202 2
4. Attempt the following : [2×5=10]
Or
(a) List the requirements engineering tasks and describe any two
of them in detail.
(b) Draw a context level DFD and first level DFD for “Online
shopping for a departmental store.”
[5423]-202 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No.
[5423]-203
3 1
(i) If we apply the transformation matrix [T] , on a square
2 2
1 4
matrix [T] . Find the midpoint of A B .
4 2
P.T.O.
(iv) Obtain the transformation matrix for a cavalier projection for
= 45°.
(v) Determine the foreshortening factors fx and fy if the trans-
formation matrix for axonometric projection is :
0.5 0.43 0 0
0 0.86 0 0
.
0.86 0.25 0 0
3.58 0.75 0 1
[5423]-203 2
(ii) Find the concatenated transformation matrix for first scaling
in X and Z co-ordinates by factors 4 and 6 respectively, followed
by single point perspective projection onto the y = 0 plane
from centre of projection at yc = 20 on the Y-axis. Apply
this transformation onto the point P(2, 2, –1).
(iii) Obtain the transformation matrix for the trimetric projection
formed by rotation about the Y-axis through an angle
= 30°, followed by rotation about the X-axis through an angle
= 45° and then orthographic projection on the z = 0 plane.
Also determine the principal foreshortening factor.
[5423]-203 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—6
Seat
No.
[5423]-204
MATHEMATICS
Paper II
(2013 PATTERN)
D1 D2 D3 Supply
O1 5 3 12 60
O2 3 10 4 40
O3 3 5 1 40
Demand 30 65 45
P.T.O.
(ii) Find range of values of K that will render the entry (2, 2)
Player B
B1 B2 B3
A1 2 4 5
Player A
A 2 10 7 8
A3 4 K 6
Maximize :
Z = 2x + 3y
Subject to :
–x + y > 2
x – y > 2
x, y > 0.
Maximize :
Z = 15x1 + x2
Subject to :
x1 + 2x2 < 10
2x1 + 3x2 = 12
x1, x2 > 0.
[5423]-204 2
(v) Solve the following assignment problem for minimization :
Jobs
I II III
A 7 6 5
Operators B 3 7 3
C 2 9 7
[5423]-204 3 P.T.O.
(ii) Solve the following assignment problem to minimize the cost
such that machine M2 cannot be assigned Job-C and machine
M3 cannot be assigned Job-A :
Jobs
A B C D E
M1 9 11 15 10 11
M2 12 9 10 9
Machines
M3 11 14 11 7
M4 14 8 12 7 8
(iii) Solve the following transportation problem by matrix minima
method :
Destinations
D1 D2 D3 D4 Supply
O1 30 25 40 20 100
Origins O2 29 26 35 40 250
O3 31 33 37 30 150
2 4 3 1 3 2 2
Player A 3 4 3 7 5 1 2
4 4 3 4 1 2 2
5 4 3 3 2 2 2
[5423]-204 4
(ii) Solve the following assignment problem for minimum
cost :
I II III IV V
A 25 18 32 20 21
B 34 25 21 12 17
C 20 17 20 32 16
D 20 28 20 16 17
Player B
I II III
I 6 7 15
Player A
II 20 12 10
[5423]-204 5 P.T.O.
(b) The following is an IBFS of a transportation problem. Check
whether it is optimal. If not, find optimal solution by MODI
method :
[5423]-204 6
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-205
ELECTRONIC SCIENCE
Paper I
and Programming)
(2013 PATTERN)
(a) Draw structure of a port pin and explain how reading and
writing operation is performed using port pins ?
(c) Draw block diagram for interfacing DAC with 8051 and write
‘C’ program to generate triangular wave.
(i) NOP
(ii) ANL A, R5
(iii) MOVA, @ R0
[5423]-205 2
(b) Explain any five features of 8051 µC.
Or
(b) (i) Explain how LED can be interfaced to port P1.2 of 8051
µC with neat diagram. Write a program to blink the
LED. [5]
[5423]-205 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-206
ELECTRONICS
Paper II
(2013 PATTERN)
P.T.O.
(f) Define “dwell time” w.r.t. FHSS technology.
[5423]-206 2
4. Attempt any one of the following : [1×10=10]
Or
[5423]-206 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—2
Seat
No. [5423]-207
1. (A) Attempt any one of the following in about 100 words : [5]
(ii) Bring out the humour from the story With the Photographer.
2. (A) Attempt any one of the following in about 100 words : [5]
(i) Describe the emotions that still remain on the face of
sculpture in the poem Ozymandias.
(ii) Bring out the significance of the title of the poem “If”.
P.T.O.
(B) Attempt any one of the following in about 100 words : [5]
(i) According to the poem “If”, what are the challenges that
a person will have to face in life.
(i) Frame five interview questions along with their probable responses
for the post of a Software Engineer.
(ii) Jatin, Lalit, Ajay and Atul are discussing “the impact of films
on the society”. Write a transcript of the discussion in a dialogue
form.
(iii) Write a review of the film that you have seen recently.
[5423]-207 2
Total No. of Questions—5] [Total No. of Printed Pages—5
Seat
No. [5423]-3
P.T.O.
(9) Define binary tree and write its one property.
(10) Construct a simple graph G, such that k(G) = (G) = (G) = 2.
G1 G2 .
(2) Is the following graph a complete graph ? Justify your answer.
(3) Find the vertex connnectivity and edge connectivity of the complete
graph kn and hence find vertex and edge connectivity of k5.
(4) Give an example of the following :
(a) Eulerian as well as Hamiltonian graph.
(b) Not Eulerian but Hamiltonian graph.
[5423]-3 3 P.T.O.
(5) Find centre and radius of T for the following graph :
(6) In the following network, fill the missing figures so that the
result is a flow in the given network. Find also the value
of the flow :
[5423]-3 4
(3) Find adjacency and incidence matrix of the following
graph :
[5423]-3 5 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-301
T.Y. [Link]. (III Semester) EXAMINATION, 2018
COMPUTER SCIENCE
Paper-I
(CS-331 : System Programming)
(2013 PATTERN)
Time : Two Hours Maximum Marks : 40
N.B. :— (i) All questions are compulsory.
(ii) Figures to the right indicate full marks.
(iii) Neat diagrams must be drawn wherever necessary.
P.T.O.
(b) For the following assembly language program show the inter-
mediate code according to variant-I and variant-II :
START 350
READ A
READ B
BACK MOVER AREG, A
MOVER CREG, = '15'
BC ANY BACK
LTORG
MOVER AREG = '66'
ORIGIN 425
ADD CREG, B
PRINT A
STOP
A DS 2
B DS 1
END.
Instruction Assembly
Opcode mnemonics
00 STOP
01 ADD
02 MOVER
03 BC
04 READ
05 PRINT
[5423]-301 2
(b) For the following macro make the entries in the following data
structure :
(i) MNT
(ii) EVNTAB
(iii) MDT
(iv) PNTAB
(v) KPDTAB
MACRO
INCR &A, &B, &RFG = BREG
LCL &M
&M SET 1
MOVER ®, &A
MOVER ®, &B +1
MOVER ®, &A + &M
MEND.
(c) Explain any two operating system components.
[5423]-301 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—4
Seat
No. [5423]-302
COMPUTER SCIENCE
Paper II
(2013 PATTERN)
P.T.O.
(e) Write down the ‘E-closure’ of each state from the following
FA :
S ABA
A aA/ (epsilon)
B bB/ (epsilon).
[5423]-302 2
3. Attempt any two of the following : [2×5=10]
S AB | B
A BS
B AI|I
(A) (i) Construct the minimize DFA for the following DFA
a b
Start q0 q1 q2
q1 q1 q3
Final q2 q0 q1
q3 q1 q4
Final q4 q3 q1
[5423]-302 3 P.T.O.
(ii) Construct FA for the following regular expression :
Or
(B) (i) Construct Moore machines for binary input sequence such
that if it has a substring 101, the machine output ‘A’,
if it has substring 110 then output ‘B’ else output ‘C’. [4]
[5423]-302 4
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-303
EXAMINATION, 2018
COMPUTER SCIENCE
Paper III
(2013 PATTERN)
P.T.O.
(f) Define contention system.
(a) State and explain the difference between LAN and WAN.
(b) Explain coaxial cable and give its applications, advantages and
disadvantages.
(c) Calculate the total delay for a frame of size 5 million bits
which is sent on a link with 10 routers, each having queuing
time 2 µs and a processing time of 1 µs. The length of the
link is 2000 km and speed of light is 2 × 108 m/s in the
link. The link has bandwidth 5 mbps.
(a) Explain the similarities and differences between OSI and TCP/
IP reference model.
[5423]-303 2
4. Attempt A or B of the following :
(A) (i) What is framing ? Explain any two framing methods with
examples. [5]
Or
[5423]-303 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-304
T.Y. [Link]. (III Semester) EXAMINATION, 2018
COMPUTER SCIENCE
Paper-IV
CS-334 : Internet Programming–I)
(2013 PATTERN)
Time : Two Hours Maximum Marks : 40
N.B. :— (i) All questions are compulsory.
(ii) All questions carry equal marks.
P.T.O.
(j) Write the output of the following PHP script :
function change( )
{ $cnt ++; }
$cnt = 20;
change( );
echo $cnt;
[5423]-304 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-305
EXAMINATION, 2018
Paper V
(2013 PATTERN)
P.T.O.
(h) Which method is used to set the current position of the file
pointer within the file.
[5423]-305 2
(b) How is menu created in java ? Explain with suitable example.
Or
(iii) Write down any two differences between the abstract class
and interface. [2]
[5423]-305 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-306
Paper VI
(2013 PATTERN)
(a) “Classes may called as object type”. State True or False and
justify in short.
P.T.O.
(f) Write any two phases of RUP (Rational Unified Process).
(a) Explain any five artifacts and issues considered during Inceptions.
(b) Prepare a class diagram for “Online Gas Booking System” consisting
of at least three classes. Define appropriate relationship association
with multiplicity.
[5423]-306 2
4. Attempt the following : [10]
Or
[5423]-306 3 P.T.O.
Total No. of Questions—5] [Total No. of Printed Pages—5
Seat
No.
[5423]-4
1 1 0
M( ) = 0 1 0 .
1 0 1
P.T.O.
(iv) Prove that integers 361 and 420 are co-primes (Relatively
prime).
(v) Write the addition table for (Z5, +5).
(vi) Find the 50th derivative of y = amx.
1 2 3 4 5 6
(vii) Let permutation . Is this permutation
2 6 1 3 4 5
even or odd ?
(viii) Prove that :
19|(218 – 1).
(ix) State Taylor’s theorem for Cauchy’s form of remainder.
(x) Determine value of ‘a’ for which the following system of equations
has infinitely many solutions :
(a – 3)x + y = 0
x + (a – 3)y = 0.
(a) a + x b + x (mod n)
1 2 3 4 5 6 1 2 3 4 5 6
; .
3 4 5 6 1 2 2 4 3 1 6 5
Find :
(1) . p–1
(2) –1 . p2
(vi) Find the remainder of 333111 when divided by 7.
[5423]-4 3 P.T.O.
4. Attempt any four of the following : [16]
(i) For what values of k is the function :
f(x) = x, x < –2
= k . x2, x > –2
continuous everywhere ?
(ii) Expand f(x) = log (1 – x) in ascending powers of x.
(iii) Convert the following matrix A into Row Reduced Echelon form.
Hence determine the row rank of matrix A :
0 1 2 1
A= 0 1 0 2 .
1 2 1 1
3 6 3
4 7 4
to express M as L.U.
[5423]-4 4
(ii) Solve the following system of equations by Gauss Jordan elimination
process :
3x1 + 2x2 – x3 = –15
5x1 + 3x2 + 2x3 = 0
3x1 + x2 + 3x3 = 11
– 6x1 – 4x2 + 2x3 = 30.
(iii) If y = (sin–1 x)2, then prove that :
(a) (1 x 2 ) y2 xy1 2 0
(b) (1 x2 ) yn 2 (2n 1) x . yn 1 n2 yn 0.
[5423]-4 5 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-401
COMPUTER SCIENCE
(2013 PATTERN)
P.T.O.
(i) Define multiprocessor system.
P1 5 1
P2 6 0
P3 2 1
P4 4 0
[5423]-401 2
4. Attempt any one (A or B) : [1×10=10]
(A) (i) Explain the process of CPU-I/O burst cycle with neat
diagram. [4]
Or
(B) (i) Discuss the bounded buffer problem with its solution. [4]
1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5
[5423]-401 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-402
Paper II
(2013 PATTERN)
P.T.O.
(h) Define the term bootstrapping.
(i) Name the conflict which is not possible in LR parser.
(j) What is handle pruning ?
P a
[5423]-402 2
(c) State any four differences between Static and Dynamic Memory
Allocation.
(A) (i) Check whether the given grammar is LR (1) or not : [6]
S Aa|bAc
A d.
S aA|bB
A aA|b
B dB|b
Or
(B) (i) Check whether the given grammar is SLR (1) or not : [6]
E E + T|T
T T * F|F
F a.
[5423]-402 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-403
COMPUTER SCIENCE
Paper III
(2013 PATTERN)
P.T.O.
(g) List the protocols used at transport layer.
resolution in DNS.
[5423]-403 2
4. Attempt A or B : [1×10=10]
Or
(B) (i) Explain BSS and its types with diagrams. [4]
(iii) List the congestion control policies used at network layer. [2]
[5423]-403 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—2
Seat
No. [5423]-404
T.Y. [Link]. (IV Semester) EXAMINATION, 2018
COMPUTER SCIENCE
Paper-IV
(CS-344 : Internet Programming-II)
(2013 PATTERN)
Time : Two Hours Maximum Marks : 40
N.B. :— (i) All questions are compulsory.
(ii) All questions carry equal marks.
(iii) Figures to the right indicate full marks.
[5423]-404 2
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-405
COMPUTER SCIENCE
Paper V
(2013 PATTERN)
P.T.O.
(h) “Multithreading is better than multiprocessing”. Comment.
(a) Write JSP program to accept student name, address and class
from HTML and display it on another page.
[5423]-405 2
4. Attempt any one (either A or B) of the following :
Or
(iii) Write a code using Hashtable, that will maintain the names
and phone nos of two students. [2]
[5423]-405 3 P.T.O.
Total No. of Questions—4] [Total No. of Printed Pages—3
Seat
No. [5423]-406
Paper VI
(2013 PATTERN)
P.T.O.
(g) What is centre of projection ?
(a) Generate points only for one octant of circle with centre (2,3)
(b) Calculate final co-ordinates for point (2,3,4) after the following
(c) Calculate final co-ordinate of an object A(0, 0) B(1, 0), C(1, 1),
[5423]-406 2
4. Attempt any one (A or B) : [4+4+2=10]
(A) (i) What are choice type devices ? Give any two examples. [4]
(ii) Explain BSP tree algorithm for hidden surface elimination. [4]
Or
[5423]-406 3 P.T.O.
Total No. of Questions—5] [Total No. of Printed Pages—5
Seat
No.
[5423]-5
P.T.O.
(f) For a transistor, collector current changes from 10 mA to
20 mA when base current changes from 5 µA to 25 µA. Find
and of transistor.
(g) Derive relation between drain resistance (rd), transconductance
(gd) and amplification factor (µ) for JFET.
(h) Draw circuit diagram for unity gain amplification using
Op-Amp.
[5423]-5 2
(c) Draw DC load line for the following circuit and locate Q point.
Assume the transistor to be of silicon :
[5423]-5 3 P.T.O.
(e) Verify the maximum power theorem for load resistance 1 k ,
2 k , 3 k for the following circuit :
(1)
[5423]-5 4
(2)
[5423]-5 5 P.T.O.
Total No. of Questions—5] [Total No. of Printed Pages—4
Seat
No. [5423]-6
ELECTRONIC SCIENCE
Paper II
(2013 PATTERN)
Y = (A + A) (AC + ABC) .
P.T.O.
(e) Mention the different ways to eliminate race around condition
in JK flip-flops.
(f) Draw the symbol of a tristate inverter and give its truth table.
(h) Find the number of clock pulses required for four bit parallel
loading and shifting of data in a register.
(a) Perform :
Y = (A + B) (A + C) .
(c) With neat logic diagram explain the working of a full adder.
(a) Draw the symbol and give the truth table for :
[5423]-6 2
(b) Construct AND gate using only NOR and only NAND gates.
(c) With neat diagram explain the working of four bit parallel
adder.
(d) Draw the logic diagram and give the truth table for BCD to
decimal conversion.
(e) Show the connections of IC 7490 for MOD7 and MOD8 operation.
(a) Explain the working of two input AND gate using discrete
components.
(b) Simplify the given expression using K map. Draw the simplified
diagram :
(e) With neat logic diagram explain the working of a 3-bit serial
in serial out left shift register.
[5423]-6 3 P.T.O.
5. Attempt any two of the following : [2×8=16]
(a) (i) Explain the working of a 3-bit parity generator with suitable
diagram.
[5423]-6 4
Total No. of Questions—5] [Total No. of Printed Pages—8
Seat
No. [5423]-7
F.Y. [Link]. (Computer Science) EXAMINATION, 2018
STATISTICS
Paper I
(Statistical Methods—I)
(2013 PATTERN)
stated.
by .......................... .
P.T.O.
(B) Select the most appropriate option for each of the following :
[1 mark each]
(a) variance of X
(b) variance of Y
(c) 1
(a) 2 > 3
(b) 1 > 3
(c) 2 < 3
(d) 2 = 3
(iii) Which of the following indicates the strongest relationship ?
(a) r = 0.5
(b) r = 0.09
(c) r = –0.7
(d) r = 0.2
symmetrical or not ?
[5423]-7 2
(C) Attempt each of the following : [2 marks each]
(i) State AR(1) model of time series.
of Y = (2X – 1).
distribution.
attended by a student
10—15 24
15—20 —
20—25 90
25—30 122
30—35 —
35—40 56
40—45 20
45—50 33
[5423]-7 3 P.T.O.
(c) Explain stem and leaf chart with the help of an example.
(d) Consider the following data on strike rate of two batsmen
Batsman A Batsman B
your answer.
your answer.
8—11 12
11—14 17
14—17 22
17—20 16
20—23 13
Draw less than ogive curve and locate median from it.
[5423]-7 4
3. Attempt any four of the following : [4 marks each]
(a) Discuss merits and demerits of mean as a measure of central
tendency.
(b) The variance of a distribution is 14. What should be the
value of fourth central moment so that distribution will be
(i) mesokurtic (ii) leptokurtic ?
(c) Define rth raw and central moments for a raw data. Also,
express 3rd central moment in terms of raw moments.
(d) Comment upon skewness using appropriate coefficient of skewness
for each of the following :
(i) Q1 = 20, Q2 = 25, Q3 = 30
(ii) mean = 50, mode = 48, = 20.
(e) What is Bernoulli experiment ? Discuss how a Bernoulli
experiment leads to a binomial experiment. Also, state p.m.f.
of binomial distribution.
(f) The probability distribution of X is as follows :
xi P(X = xi)
10 k + 0.02
11 k + 0.05
12 5k – 0.02
13 7k + 0.03
14 2k + 0.02
15 2k
(i) Find the value of k.
(ii) Find P[(12 X 14)/(X 13)].
[5423]-7 5 P.T.O.
4. Attempt any two of the following : [8 marks each]
(A) (i) What is correlation ? Illustrate your answer with the
help of an example. Show perfect positive correlation on
a scatter diagram.
(ii) Consider the following calculations for a bivariate data :
n = 10, x = 130, y = 220, x2 = 2288, y2 = 5506,
xy = 3467.
Find the equation of line of regression of Y on X. Also,
estimate value of Y when X = 16.
(B) (i) Write a short note on Box plot.
(ii) The probability that a secretary will not put the correct
postage on an envelope is 0.2. If he puts postage on
9 envelopes, find the probability that the postage will
not be correct on 3 envelopes. Also find the probability
that at most 3 envelopes will not have correct postage.
(C) (i) Define Cumulative Distribution Function (CDF) for a discrete
random variable. State at least three properties of CDF.
(ii) A sweet mart has the following schedule of daily demand
for sweet boxes. X is number of sweet boxes demanded
per day :
xi pi
0 0.09
1 0.1
2 0.11
3 0.2
4 0.2
5 0.18
6 0.12
Find the values of mean, median and mode of X.
[5423]-7 6
(D) (i) 5% of the onion bags brought by a farmer in the market
have less than expected weight. The bags are inspected
for their weight one by one. Find the probability that
8th onion bag is the first one to have less than expected
weight. Also, find mean of the distribution.
(ii) For a trivariate data, r12 = 0.75, r13 = 0.43, r23 = 0.54.
Find the values of R2.13 and r23.1.
[5423]-7 7 P.T.O.
(ii) Consider the following data on inventory (‘000 Rs.) for
the years 1991 to 2000. Estimate trend values using method
1991 4620
1992 4910
1993 5490
1994 5730
1995 5400
1996 5600
1997 5850
1998 5990
1999 6010
2000 6120
[5423]-7 8
Total No. of Questions—5] [Total No. of Printed Pages—8
Seat
No.
[5423]-8
STATISTICS
Paper II
(Statistical Methods—II)
(2013 PATTERN)
P.T.O.
(B) Select the most appropriate option for each of the
following : [1 mark each]
(i) Given three arbitrary events A, B and C defined on ,
then the expression for the event ‘‘Simultaneous occurrence
of all events’’ is :
(a) A B C
(b) A (B C)
(c) A B C
(d) A (B C)
(ii) Let A and B be two events such that P(A) = 0.4,
P(B) = 0.3, P(A B) = 0.2, then P(A B) =
(a) 0.1
(b) 0.2
(c) 0.5
(d) 0.6
(iii) If X is a continuous random variable then var(5 – 3X)
is :
(a) –3 var(X)
(b) 9 var(X)
(c) 2 var(X)
(d) var(5) –3 var(X)
(iv) The nature of critical region depends upon :
(a) Degree of freedom
(b) Level of significance
(c) Type of null hypothesis
(d) Type of alternative hypothesis
[5423]-8 2
(C) Attempt each of the following : [4×2=8]
(i) A continuous random variable X has the probability density
function (p.d.f.) :
f(x) = 5x4 , 0 < X < 1
= 0, otherwise
Find E(X).
(ii) State lack of memory property of exponential distribution.
(iii) What is simulation ?
(iv) State axiomatic definition of probability.
Group I
2. Attempt any four of the following : [4 marks each]
(A) A student is to answer 8 out of 10 questions in an
examination :
(i) How many choices has he ?
(ii) How many choices has he if he must answer the first
3 questions ?
(B) Define each of the following with an illustration :
(i) Finite sample space
(ii) Exhaustive events.
(C) Of 10 research students, 3 have knowledge of Python software.
If two of the research students are chosen at random, find
the probability that :
(i) both have knowledge of Python software.
(ii) at least one has knowledge of Python software.
[5423]-8 3 P.T.O.
(D) Five books of Computers and two books of Mathematics are
arranged on a shelf. Find the probability that two books of
Mathematics are :
(i) not side by side
(ii) always together.
(E) Give classical definition of probability. State its limitations.
(F) (i) Prove that ‘‘If A' is the complement of A with respect
to then P(A) + P(A') = 1’’.
(ii) Given P(A) = 0.35, P(B) = 0.65 and P(A B) = 0.12,
find : P(A B) and P(A' B').
[5423]-8 4
(D) Define each of the following :
(i) Continuous random variable
(ii) Distribution function of a continuous r.v. X.
(E) The length of satisfactory service (years) provided by a certain
model of laptop computer is a random variable (r.v.) X having
the p.d.f. :
1 x|4.5
e , for x 0
f ( x) 4.5
otherwise
0,
[5423]-8 5 P.T.O.
(B) (i) State any four properties of the distribution function of
a continuous random variable X.
(ii) In a laboratory experiment, 18 determinations of the coefficient
of friction between leather and metal yielded the following
results :
0.59, 0.56, 0.49, 0.55, 0.65, 0.55, 0.51, 0.6, 0.56, 0.47, 0.58,
0.61, 0.54, 0.68, 0.56, 0.5, 0.57, 0.53.
Test the null hypothesis that the median is 0.55 against
it is not. Use 5% level of significance.
(C) (i) Explain the method of drawing a model sample from
N(µ, 2) distribution using Box-Muller transformation.
(ii) An airline claims that 6% of all lost luggage is never found.
If in a random sample, 17 of 200 pieces of lost luggage
are not found. Test the validity of the claim of 6% against
it is greater than 6% at 5% level of significance.
(D) (i) Describe procedure of Run-test.
(ii) The distribution function of a r.v. X is given by :
x3 1 1 x 2
,
F( x) 9
x 2
1,
[5423]-8 6
(ii) The demand for washing machine in a certain city is found
to vary from day to day. In a sample study the following
data was obtained : [4]
Day Number of Washing
Machine Demanded
Mon. 115
Tue. 126
Wed. 120
Thurs. 110
Fri. 125
Sat. 124
Test whether the demand for washing machine is indepednent
of the day of the week. Use 5% level of significance.
(iii) The following are the average weekly losses of worker-
hours due to accidents in 10 industrial plants before and
after a certain safety program was put into operation :
Before After
45 36
73 60
46 44
124 119
33 35
57 51
83 77
34 29
26 24
17 11
Test whether the safety program is effective. Use 5% level
of significance. [8]
[5423]-8 7 P.T.O.
(B) (i) Explain the large sample test for testing H0 : µ = µ0
against H1 : µ µ0 . [4]
(ii) A random sample of 90 adults is classified according to
gender and the number of hours they worked on computers
during a week :
Gender
[5423]-8 8