Академический Документы
Профессиональный Документы
Культура Документы
1.
2.
3.
4.
5.
question.
clearly.
forNLILL.
S6fn ^ W _ I .T.
gGlJ -L
L . T,
0S1 O I yatf
'
IU
tlI
(ii)Code
generator
(c)
I.
II.
III.
IV.
(A) I,II,III
(B) I, III,IV
(C)
Consider the following parse tree,
(d)
I,U,IV
IlI
I2l
Speciff expression for which parse tree is generated. Which operators are having
higher precedence than other? [hint: operators used are *r+]
(e) When will you call a grammar as the left recursive one?
(f) What is forward reference problem? How to overeorne this situation. State clearly.
(g) Left factor the following grammar G1:. S -+ iEtS I iEtSeS la E -+ g.
(h) Explain with example: Token, Pattern and Lexemes.
Q.2
t1I
tzl
I2l
I2l
*/
Character constants- anything between ' '. Apostrophe can be included in the
character constant, but it should occur in pair. Ex- 'it"s valid statement'.
Q.3
(a)
Q.3
I12l
OR
(b)
F---+(E)lid. I8l
Verif, whether
l4l
;ffiil
FACULTY OF TECHNOLOGY
FIRSI'SESSIONAL
SUBJECT: (CT6t6) SOFTWARE ENGINEERING
: B.TECH - Semester VI
:06/01/2015 ;12:45 to 2:00 PM
Examination
Date
Time
No.
Day
Max. Marks
Seat
: Tuesday
: 36
INSTRUCTIONS:
I
2.
3.
1.
Q.r
Do as directed.
rnodel
[i,
(0 Which
Q.2
Attempt Any
It2l
(a) Explain the function point metric
with an appropriate example.
ib) Using a schematic diagram show the order'in which the following are
estimated in the
COCOMO estimation technique: cost, effoft, duration, size.
(c) For the following C program estimate
the Halstead's length and volume measures.
/*Program to calculate GCD of trvo numbers*/
int compute_gcd(x.y)
f
I
while(x!:y1
{
y:y-x;
return x;
I
I
)
Q.3
Q.3
(a)
OR
write a short note on the configuration i<ientification and control. Take appropriate
example.
16l
16l
Page 1
of
INSTRUCTIONS:
a
2.
3.
4.
Q.l
sean.$ T.r
A.o.s
SCJJ
o)
"
Do as directed.
(a) Give difference between hard real time and soft real time operating system.
@j Explain convoy effect occurred in FCFS process scheduling algorithm with example.
(c) Write output for following program.
#include<stdio.h>
#include <sys/types.h>
int main0
t2l
I2l
Pl
{ if(forkQ::0)t}
else
if(fork0=:0X)
else { }
forkO;
printf('\n Hello");
return 0;
j
(d)
l2l
following statements are True or False, and Correct them if needed:
is
scheduling
thread
specific
when
an
application
Thread
is
suitable
Kernel
Level
Use of
State whether
(i)
required.
(ii)
User Level Thread can utilize multiprocessor system in best way rather than Kernel
Level Thread can utilize.
l2l
(e) Discuss in brief: (i) zombie process, and (ii) orphan process
I2l
(f) What is the benefit of placing list of open fi/es in the process control block?
Q.2
e.3
Il2l
processes A, B and C each execute a loop of 100 iterations. In each iteration of the loop, a [61
process performs a single computation that requires T" CPU milliseconds and then initiates a
iingle I/b operation that lasts for Tio milliseconds. It is assumed that the computer where the
processes execute has sufficient number of I/O devices and the OS of the computer assigns
different I/O devices to each process. Atso, the scheduling overhead of the OS is negligible. The
processes have the following characteristics :
Tio
Tc
Process
500 ms
100 ms
500 ms
350 ms
500 ms
200 ms
The processes A, B, and C are started at times 0, 5 and 10 milliseconds respectively, in a pure
time sharing system (round robin scheduling) that uses a time slice of 50 milliseconds. Find out
the time in milliseconds at wlrich process C would complete its first VO operation.
(a) Three
A
B
C
id
(b) Process
Pl
P23
P35
Arrival Time
Burst Time
l6l
5
5
a
P4
Draw Gantt Chart for Round Robin scheduling algorithm. Consider Time Quantum = I
Also find Average Waiting Time, Average Tumaround Time and Average Response Time.
Q.3
(a)
(l)
OR
Discuss advantages and disadvantages
operating I4I
system approaches.
(!IT
Examination
Date
ltme
No.
Day
INSTRUCTLONS:
1.
2.
3.
4.
Q.l
Do as directed.
Ir2l
Q.2
(c)
Q.3
create GIII.
Explain Page life cycle of asp,net with its Events.
questions.
IlZt-
Il)
Q.3
process.
t6l
questions.
Page 1 of
iin
INSTRUCTIONS:
1.
2.
3.
4.
Q.l
Do as directed.
(a) For given set {1,2,3} Of the three properties reflexivity, symm
Determine which one the relation has.
I. Rl : {(1,3), (3',1), (2,2)}
II. R2 : {(l, t), (2,2), (3,3), (1,2)}
(b) Suppose f: R X R -> R X R is a bijection function defined by
( >q y) : ( x* y, x -y). find out f-r
(c) Define formally each of set using formulas.
I. A : {0, -1, 2, -3, 4, -5...}
II. B : {10, I 100, I 11000...}
(d) True / False Justifu your Answer ( a + b)*:4*+ !*
(e) Define regular expression for given string.
I. Strings with next to last symbol0.
II. Strings not contain any sub string of form 00xl L
(f) Define regular expression corresponding to FA.
efi
and,transitivity,
l2l
I2t
I2l
I2l
Ill
I2l
lll
*b
Q.2
Q.3
(a)
:
:
. L2
Ll n L2
(a)
(b)
I6l
I6l
I2l
I4t
t6l
trtzl
l6t
OR
:
:
Page 1 of
I6I
l6l
ffi
Examination
Date
Time
: l2:45to
l0l0l/2015
DaY
2:00
Max. Marks
i s"trr"d"y
:36
INSTRUCTION.S:
Figures to the right indicate maximum marks for that question.
The symbols used carry their usual meanings.
Assume suitable data, if required & mention them clearly.
Draw neat sketches wherever
I
2.
3.
4,
Q.l Do as directed.
l. Distributed Z. Robust
Q.2
I6l
I2l
I2l
I2t
2.
t31
t3t
t6t
t6t
Q.3 Explain
(a)
(b)
Q.3
following questions.
Describe class called Area which has three subclasses say Triangle, Rectangle
and t6t
Circle. The subclasses have their own instance variables & constructors.
Define one
abstract method area0 in the class Area and override areag in these
three subclasses to
calculate area for specific object. i.e. area0 of Triangle subclass should
calculate area
of triangle etc. Same for Rectangle and Circle. oveiide the toString( method cf
to
)
return a user defined string for specific object.
Explain Following.
t6l
l. valueof0 and parselntO method of Integer wrapper class.
2. The role of .super' keyword in Java with exampie
3. Listout and exprain any four rnethods of Stringbuffer class.
OR
17l
class.
Page 1
of I
Isl