6TH Sem End B.tech - CS, It2019
6TH Sem End B.tech - CS, It2019
r~"~ •
Roll No .
TCS-601
B. TECH. (CSE) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
COMPILER DESIGN·
Time: Three Hours
Maximum Marks: 100
Note: (i) Alli.
questions are compulsory.
,
I,
If j
(b) LR( 1) grammars encompass all LL( 1) (b) and (c). (2xlO=20 Marks)
grammars, plus many others. However, \. (a) Write a syntax directed translation scheme
LL(l) and LR(O) grammars' are
for producing postfix expression for the
incomparable-neither is a subset of the
expressions generated by the following
other.
grammar:
(i) Give an example of a grammar that is
LL(l) but not LR(O), and explain E~E+T
why? E~T
F. No.': b-JJ F. No.: b-JJ P. T.O.
~.
(4) TCS-60i ., {
T~T*F
(5) TCS-6(}l
T~F
(c) What is DAG ? For the following basic
F~9
block construct DAG : (COI & C06)
F~3
d = b * c;
F~2
e = a * b;
)
Draw the annotated parse tree and show b = b + c;
dependency graph for 9*3+2. (C03) c = b * c·,
(b) Write syntax directed definition for 5. Attempt any two questions of choice from (a),
constructing syntax tree of an expression (b) and (c). (?xI0=20 Marks)
derived from the grammar : (a) Construct basic blocks, data flow graph,
and identify loop invariant statements for .
E -> E + TIE - TIT the following:
T -> (E) I id Inum \ (C03) (i) - f=l .
':""
Roll No .
TCS-602
B. TECH. (CSE) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
SOFTWARE ENGINEERING -
Time: Three Hours
Maximum Marks: 100
Note :(i) All questions are compulsory.
(ii) Answer any two sub questions m
each main ,question.
~..
(iii)Total marks for each main question
is twenty.
1. Attempt any two parts of choice' from (if, (b)
and (c). (lOx2;=20 Marks)
- , -'-..
(a) Explain, why changes are inevitable, i~
complex systems. Name any two
approaches used in real life projects to
cope up with the change. Give an example.
I (C01, C02)
(b) (i) Describe all the steps involved from
the time of project initiation to project
completion. (C01, C02) ,.
F. No.: b-J3 P. T. O.
;,..1'
•..
(ii) Describe the characteristics of a between the Student and Gate Exam portal
quality software. (COI, C03) .system. (C03, C04, C05)
(b) Write short notes on any two of the
(c) What is Software Project Management
following: (COI, C04, C06)
(SPM) ? Which method of Agile supports
(i) Code review techniques
SPM ?'Explain the process in detail.
(COI, C03) (ii) Layered architectural pattern for
Library Management system
2. Attempt any two parts of choice from (a), (b)
(iii) Function point metrics
and (c). ) (IOx2=20 Marks)
(c) 'What is the benefit of modular design ?
(a) What is SRS document? What are the What are the different types of Cohesion
;, contents we should contain in the SRS and Coupling? . (C04, C05)
document? Elaborate with an example.
4. Attempt any two parts of choice from' (a), (b)
(C02, C04)
and (c). (IOx2=20 Marks)
(b) Differentiate between any two of the (a) How is testing integrated with· the life
following: ,(C05, /
C03,C04) ,cycle of a software product ? Is it
(i) Function oriented and Object oriented sufficient to test a software product only at
design theend of its.life cycle? . (COI, C06) , "
(ii) Decision Tree and Decision Table (b) (i) List and explain various Integration
(iii) Software verification and Validation Testing approaches. (C05, C06)
(c) Illustrate the methods used for discovering (ii) Design test case for a login page
the requirement~ in a project. (C02) consisting two fields only i.e. user id
and password.
3. Attempt any two parts of choice from (a), (b)
and (c). (IOx2=20 Marks) (c) Consider a program for determination of
nature of roots of a quadratic equation. Its
(a) What are different perspectives of a
system ? Design a system sequence input is a triple of positive integers
Q; b, c) and the values may be -frorn
diagram representing the interaction
F. No. : b-J3 F. No.: b-J3 P. T.O.
"
;;" ------~~~~~.-
(4) TCS--602
TC~02 600
,
F. No.: b-J3
•..
Roll No .
TCS-604
B. TECH. (CS/IT)
(SECOND SEMESTER) ,~
END SEMESTER EXAMINATION, 2019
COMPUTER NElWORKS-1
Time : Three Hours
(VIaximum Marks : 100
Note :(i) All questions are compulsory... .;,
(ii) Answer any two sub questions in each
main question. "-.
(iii) Total marks for each main question are
-~.•
twenty.
1. Attempt a~y two questions of choice from (a),
. ,
(b) and (c). (2xlO=20 Marks)
(a) Discuss the switching fabric inside of a
router. .. (COl)
(b) Explain the following headers of a TCP
segment : Source Port, Destination Port,
Sequence Number, Acknowledgement
number. (C02)
,.
F. No. : s-n P. T. O.
(2)
TCS-{)04 (3) TCs-604
(c) We would like to transfer 20 KB
(c) Find out all the subnets and show the
(B=Bytes) file across a network from node
range of valid hosts of each' subnet for
A to node F. Packets have a length of
131.107.32.1 and subnet mask
} KB (neglecting header). The path from
255.255.224.0 (C06)
node A to node F passes through 5 links,
and 4 intermediate nodes. Each of the 3. Attempt any two questions of choice from (a),
links is a I0 km optical fiber with a rate of (b) and (c). (2xl0=20 Marks)
0 (a) Explain how DHCP works.
1 Mbps (b ~ bits). Assume speed of light
in optical fiber is 2 x }08 rn/s, The 4 (C03 and C06)
intennediate nodes each have a processing (b) Consider a network using 8-bit host
delay of 50 Il s. How long does it take to addresses. Suppose a router uses longest'
send the entire file across the network? pre-fix matching and has the forwarding,
table shown below. For each of the four
(CO} and C02)
interfaces, give the associated range of
2. Attempt any two questions of choice frOm (a),
destination host addresses and the number
(b) and (c). (2X10=20 Marks) ....
. that range. (C02 and C06)
(a) What is the role of MIME in emails ?
Describe A, CNAME, NS and MX type of Prefix Match
1
Interface,
' ,0
-~
DNS Resource Records. (C02 and C03)
(b) Draw the FSM for the sender side for 11 1 '
reliable stop-and-wait protocol considering 111 ' 2
F. No. : s-n P. T. o.
(4) TCs-()04 (5) TCs-()04
and 115 ms. Compute the Estimated RTf (Host. A) respectively. Suppose Host A
after each of these Sample RTf values is sends 5 data segments to Host B, and the
obtained, using a value of a. = 0..125 and 2nd segment (sent from A) is lost. In the
assuming that the value of Estimated RTf end, all 5 data segments have been
was 10.0.ms just before the first of these correctly received by Host B. (C05)
five samples were obtained. Compute also (i) How many segments has Host A sent
the Dev RTf aftereach sample is obtained, in total and how many ACKs has Host
,.
F. No. : s-tt F. No.: s-n P. T. o.
"'oiII.~""""""
1-
(8) TCs--()04
TCS-604 600
.\
F. No.: bell
,.
"
Roll No .
TCS-608
B. TECH. (CSE) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
OBJECT ORIENTED ANALYSIS
AND DESIGN
Time: Three Hours
Maximum Marks: 100
Note :(i) All questions are compulsory.
(ii) Answer any two sub questions in
each main question.
(iii)Total marks for each main question .•..
is twenty.
1. Attempt any two parts of choice from (a), (b) -~
and (c). (lOx2=20 Marks)
(a) Explain various concepts used in object
- , '"
(2) TCS-608
(3) TCS-608
ship orders and bill the customer. If all j
orders are not ready, part of the order can 2. Attempt any two parts of choice from (a), (b)
be dispatched. Draw the Use case diagram and (c). (lOx2=20 Marks)
and consider the following things: (C02) (a) Explain Object Oriented Software
• Identify the actors that interact with Development : A Use Case 'Derive
the element. Candidate actors include approach in detail with suitable diagram.
groups that require certain behavior to (C02)
perform their tasks or that are needed (b) What is OOAD ? What are the benefits of
directly or indirectly to perform the OOAD over traditional analysis and
element's functions. design process of software development?
• Organize actors by identifying general (COt)
and more specialized roles. (c) Draw a use case diagram for booking an
• For each actor, consider the 'primary online movie ticket booking system having
ways in which that actor interacts with the following functionalities : (C02)
the element. • A distinction is made between users
• Consider also interactions that change and registered users. Only registered
,
W\ ..•..
the state of the element or its users can buy tickets. A user becomes
environment or that. involve a a .registered user by logging in.
-'-
•
response to some event.
Consider also the exceptional ways in
Unregistered users can register with a
usemame that has not been taken by - , ••
which each actor interacts with the another user, an e-mail address and a
element.. freely chosen password.
• Organize these behaviors as use cases, • Every user can search for movies,
applying include and extend actors, directors and other persons and
relationships to factor common theatres.
behavior and distinguish exceptional • For every movie and person t~ere is a
behavior. page showing their details. The movie
F No. :b-13
details consists of a title, the year it
,
F. No.. b-/3 P.T.O.
•••
was released in, a description, the .: a: customer can also place conference call
genre of this movie and a photo. Also and can receive addition calls. Draw Use
there are lists for the persons who case diagram and consider the following
were involved in this film, a things: (C03)
soundtrack and some other •. Identify the actors that interact with
information. The details to a person the element.
are restricted to its name, birthday, • For each actor, consider the primary
place of birth and a photo and the ways in which that actor interacts with
details of a theatre are composed of an the element.
address, show rooms and • . Consider interactions that change the
performances. Registered users .can state of the element or its environment
".
comment and rate movies, store their
or that involve a response to some
favourite movies and theatres in a event.
personal list and buy
,
tickets. .
• Consider the exceptional ways in
3. Attempt ~ny two parts of choice from (a), (b) which each actor interacts with the
and (c). (lOx2=20 Marks) element.
(a) Define an axiom. Mention the design • Organize these behaviors as use cases, -'-.
axioms applied to object oriented design \ "
applying. include and extend
process with suitable example. .(C03)
relationships to factor common
(b) What is the difference between activity behavior and distinguish exceptional
diagram and sequence diagram? Explain behavior.
with example. (C02)
4. Attempt any two parts of choice from (a), (b)
(c) A cellular network will interact with
and (c). (lOx2=20 Marks)
customers who place a call and receive a
. call. He/she can use scheduler to schedule (a) Explain the Object Modeling Technique
the Phone Calls. There may' be some (OMT) presented by Jim Rumbaugh et al.
exceptional behaviors of the users such as (C02)
F. No.: i-ts P. T. O.
F. No. : b-/3
TCS--608
(7)
(6 ) TCS-608 -
something or to keep track of the id or
(b) Model with a class diagram the following other details of his smart card. For
System : Vending Machine, A vending example: We're not interested in saying
machine sells small, packaged, ready to that the customer Arushi bought 10
eat items (chocolate bars, cookies, candies, candies with the smart card # 1.Weare
etc.). Each item has a price and,a name. A interested in Vending machine sold 10
customer can buy an item, using a smart candies, each with price ~ 1. (C03)
card (issued by the vending machine
(c) What is Object Storage ? Which address
company) to pay for it. No other payment space is used in it ? Explain the durability
forms (i.e. cash, credit card) are allowed. and scalability of object storage. (C04)
The smart card records on it the amount of
/' money available. The functions supported 5. Attempt any two parts of choice from (a), (b)
by the system are : and (c). (lox2=20 Marks)
• Sell an item (choose from' a list of (a) What do yo~ mean by a test plan and a test
items, pay item, distribute item) case ? Explain various types of testing
,
• Recharge the machine strategies. (COS)
• Set up the machine (define items sold
and price of items) (b) Which layer of three-tier architec)Ur~ is -~
called as access layer? How are classes of
. • Monitor the machine (number of access layer created ? Explain the
\
Roll No .
TCS-671
B. TECH. (CSE)
(SIXTH SEMESTER)
. END SEMESTER EXAMINATION, 2019
BIG DATA STORAGEAND PROCESSING
Time: Three Hours
Maximum Marks: 100
Note :(i) All questions are compulsory.
(ii) Answer. any two sub .questions In
\ir"o"
2. Attempt any two parts of choice from (a), (b) ~. 5. Attempt any two parts of choice from (a), (b)
and (c). (lOx2=20 Marks) and,(c). (lOx2=20 Marks)
(a) Explain the YARN components in
Hadoop. , . (C02) (a) Classify the tables in Hive with suitable
example. .(C04)
(b) Draw and explain the architecture of
HDFS. . (C03) (b) Compare the CAP, theorem with ACID
(c) Demonstrate the dataflow in Hadoop. properties.' (C04)
(C02 & 'C03) . -
)
(c) Demonstrate the working of HBaSe with
3. Attempt any two parts of choice from (a), (b)
so~e suitable examples. (C04 &, C05)
and (c). (lOx2=20 Marks)
. (a1 Classify the differentfile input types used
in Hadoop. (C03)
(b) Justify the conditions of combiner in Map-
Reduce program. (C05)
(c) Demonstrate the working of Map-Reduce
using "word-count" program. (C04)
4. Attempt any two parts of choice from (a), (b)
. and (c). (lOx2=20 Marks)
(a) Discuss the different mode of Hadoop
- , "
installation. (C04)
(b) Give original examples of Big Data
Applidations and criticize you points.
(COt)
(c) Explain the system requirements of
Hadoop installation andc justify with .
reasons. (C05) TCS-671 100
F. No.: b-14 F. No.: b~14
,
"
•.--=.- ~~:;-:':"~-: ---- - -- --..
Roll No .
TCS-693
B. TECH. (CSE) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
FULL STACK WEB DEVELOPMENT
.Time: Three Hours
topmost objects ofDOM injava script. Super Global Variable define in PHP with
(C03) suitable examples.. (C06)
(b) Define the CSS Box Model and use 4. Attempt any two questions of choice from (a),
selectors to provide the styles to the web (b) and (c). (2xlO=20 Marks)
pages at various levels. (C03) (a) Write a program in php how to upload a
(c) Write a function in java script to insert a file, check type of file is of image, length
string within a string at. a particular of a file' < 50000 and image type equal
position (default is 1). jpeg only. (C05) ,
r-c;;;;FTIf 77 ~ --- •• --
(4) TCS-693
TCS-693 600
,
F. No. : s-u
"'
-v
Roll No ~ .
TCS-691
B. TECH. (CSE) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
IMAGE PROCESSING AND COMPUTER
VISION
Time: .Three Hours
Maximum Marks : 100
Note :(i) All questions are compulsory.
(ii) Answer any two sub questions in
~\
each main question.
(iii)Total marks for each main question
. -'-.
1.-"Attempt any
IS twenty.·
"two
/
,
parts of choice from (a), (b)
- , "
,.
". F. No. : b-13
P. T. O.
"
(b) Apply Huffman encoding on the following '. 3. Attempt any two parts of choice from.(a), (b)
table. Frequency is number of times that and (c). (lOx2=20 Marks)
character occurred: (a) Write down the steps involved in
Character Frequency watershed algorithm and explain them.
a 50 ' (b) Write down the code' for background
b 230 extraction from an image using median.
,
c 200 pixel values.
)
d 300 (c) Define Hough transform using appropriate
e 720 formulas and graphs.
/'
4. Attemptany two parts of choice from (a), (b)
Also calculate how much space we have ..
saved using Huffman encoding. and (c). (lOx2=20 Marks)
(c) What is segmentation ? Give some (a) What is histogram specification? Explain
algorithms' name, which are used for with example histogram normalisation.
.
segmentation,
/
and (c). (lOx2=20 Marks) (c) Define Otsu algorithm. Write Matlab/cl
(a) Differentiate between Image Enhancement
python code ofOtsu's algorithm.
and Restoration.
(b) Write a Matlab/C/python code to detect 5. Attempt any two parts of choice from (a), (b)
edges in an image. and (c). , (10x2=20 Marks)
(c) What are the basic morphological (a) What is image compression ? Explain with
operation ? Explain its working with appropriate example why we need image
example. compression.
,
F. No. : b-J3 F. No. : s.ts P. T. o.
'"
(4 ) TCS-691
,(b) What is a connected component? Write a
Matlab/c/python code to find' number of
connected components in an image. .
(c) -What is Spatial domain and Frequency
domain ? How image is digitally formed in
a camera?
..;.",
-'- '"
TCS-691 400
,.
F. No.: b-J3
,
___ •. _ •• .~. __ • ~'.'!. j .7 q-MtNt .4(f1. ....
.••..•,_ _~- .. ?!
Roll No .
TCS-651
B. TECH. (CSE)
(SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
DEVOPS ON CLOUD
Time: Three Hours
Maximum Marks: 100,
Note :(i) All questions are compulsory.
(ii) Answer .any two sub .questions ill
2. Attempt any two .parts ofchoice from (a), (b) (b) .What is Puppet ? Describe the most
and (c). (lOx2=20 Marks) significant gain you made from
(a) What are .the benefits of using version automating a process through Puppet.
control ? Describe branching strategies (C05)
you have used, J (C02) (c) How is exactly Docker different from
hypervisor virtualization ? What are its
(b) Explain the scheduling mechanism in
benefits?' (C05)
Jenkins. Write down the' steps for
scheduling a job by timer in Jenkins.(C03) 5. Attempt any two parts of choice from (a), (b)
and (c). (lOx2=20 Marks)
(c) Mention' some of the useful plugin in
(a) What is Nagios ? How does Nagios
/' Jenkins and their use. (C02 & C03)
. work? (C03)
. 3. Attempt any two Pa:ts of choice from (a), (b) (b) What are containers ? What are the
and (c). (IOx2=20 Marks) advantages that Containerization provides
(a) What is continuous testing ? How to over virtualization ? (C06)
Automate testing ilJDevOps life-cycle? (c) What is the difference between Asset
(C03) Management and Configuration
(b) What is Selenium IDE ? What are the Management?
\ "
Testing types supported by Selenium? - I
(C03)
(c) What are the key elements of Continuous
testing tools? (C06)
4. Attempt any two parts of choice from (a), (b)
and (c). (lOx2=20 Marks)
(a) Explain the' docker image with docker
container and docker hub. (C04) TCS-651 150
,
F. No.: b-J3 F. No. : b-J3
"
=-=--1
Roll No .
TCS-672
B ..TECH ..(CSE) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, .
2019
.
MACHINE LEARNING 2
_ F. No. : b-II P. T. o.
~.
'f (
1---_
(4 ) TCS-672
5. Attempt any two questions of choice from (a),
(b) and (c). (2xIO=20 Marks)
~-'-.
-'-.
- , \I
TCS-672 ,.
100
F. No. : b·11
Roll No .
TIT-607
B. TECH. (IT) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
SOFTWARE VERIFICATION, VALIDATION
AND TESTING
F. No.: b-/4 P. T. o.
"
else y=y-x;
}
return x;
4. Attempt any two parts of choice from (a), (b)
and (c). (lOx2=20 Marks)
(a) What is the importance of debugging
process ? Discuss the steps required for
performing a debugging process. (C04)
(b) Explain the process and elements of
Security Testing. (C02/C06)
(c) Explain, why test cases are prioritized.
Mention the criteria for prioritizing the test
cases. (CaS)
5. Attempt any two parts of choice from (a), (b)
....
and (c). (lOx2=20 Marks)
(a) List and explain static and dynamic testing
tools for software testing (C05) II
TIT-607 50
,
. No. : b-14
"
Roll No .
TIT-608
B. TECH. (IT) (SIXTH SEMESTER)
END SEMESTER EXAMINATION, 2019
INFORMATION THEORY AND CODING
Time: Three Hours
Maximum Marks: 100
Note :(i) All questions are compulsory.
(ii) Answer any two sub questions ill
(2 ) TIT-608 (3)
2. Attempt any two parts of choice from (a), (b) . (C) What is the need of jpeg ? Describe its
and (c). (lOx2=20 Marks) compression technique. (C06)
(a) Explain Information Theory methodology
5. Attempt any two parts of choice from (a), (b)
and properties of information. (COI)
and (c). (lOx2=20 Marks)
(b) Explain digitization. How can different
information formats be digitized? (CaS) (a) CELP is an abbreviation for? Explain its
(c) LPC stands for ? Explain working encoding and decoding technique. (C06)
procedure and applications ofLPC. (C06) (b) What is an event? Write brief introduction
3. Attempt any two parts of choice from (a), (b) of sources of information and techniques
and (c). (IOx2=20 Marks) to measure this information. (COI)
(a) Write a short note on Video Compression. (c) Write shortcomings of Delta Modulation
Explain any format to support your and how is it different from Adaptive
answer. (C03) Delta modulation technique.
(b) Describe pixel, bitmap, vector and how (COI & C02)
they are different and similar to each
other. (C06)
(c) Describe audio and video coding formats.
(C06)
4. Attempt any two parts of choice from (a), (b)
and (c). (lOx2=20 Marks)
(a) Create a Adaptive Huffman Coding Tree
for - "aardvark". (C03 & C05)
(b) Give a brief idea of Arithmetic Encoding.
How is it better than Adaptive Huffman
Encoding? (C03 & CaS) TIT-608 50
F. No. : b-14 F. No. : b-14 ,.