Professional Documents
Culture Documents
TCS-601
B. TECH. (CSE) (SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
COMPILER DESIGN
Time : 1 : 30 Hours
Maximum Marks: 50
Note: (i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
Section-A
.•.
1. Fill in the blanks/True-False: (1 x5=5 Marks)
(a) In a compiler, keywords of a language are "'"
"l..'l..s-'
(2) TCS-601 (3) TCS-601
(d) Recursive descent' parsing is an example (b) Consider the following grammar:
of bottom up parsing. (TruelFalse)
S ~ (A)la
. (e) Regular expressions can be implemented
using finite automata. (True/False) S ~A, SIS
2. Attempt any five parts: (3x5=15Marks) , Construct leftmost derivations and parse
(a) Describe the need of separating the trees for the following sentences:
analysis phase into lexical phase and (i) (a, (a, a»
e .
parsing. (ii) (a, ((a, a), (a, a»)
(b) What is the main idea of Left factoring ?
(c) Define tokens, patterns and lexemes. List
Give an example. "
(c) Point out why is buffering used in lexical of tokens in the following C statement:
analysis. What are the commonly. used printf("i = %d, &i = %x", i, & i);
buffering methods?
4. Attempt any two parts .of choice from (a), '(b)
(d) What is bootstrapping?
and (c). (5x2=10 Marks)
(e) Consider the following grammar:
A~CB (a) What is Shift-Reduce and Reduce-Reduce
C ~ aBIB conflict ? HoW can these be resolved?
B ~ be Explain error recovery in LR parsing.
I
Find the FIRST and FOLLOW of all non- (b) Construct LR(O) parse table for the ,
.;
terminal in grammar. following grammar:
(f) Draw transition diagram for an identifier. ) E ~ E+FIF
Section-B
F ~ Flalb
3. Attempt any two parts of choice from (a), (b)
and (c). . (5x2=10 Marks) (c) Write the rule to eliminate left recursion in
(a) Describe the following expressions a grammar. Prepare and eliminate the left
after each phases : a : = b*c - d. recursion for the grammar :
How various phases could be combined S ~ Aalb
as pass in a compiler? A ~ AclSdle
F. No. :a-J2 F. No.: a-J2 P. T. O.
(4) TCS-601
<'
TC~Ol 600
F. No. :a-/2
Roll No .
TCS-602
B. TECH. (CSE) (SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
)
SOFTWARE ENGINEERING
Time : 1 : 30 Hours
Maximum Marks: 50
Note : (i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
Section-A
~ o.<t>
t
(2) • TCS-602 (3) TCS-602
( C) In the V-V model of software (d) What are the different types of design ?
development, testing starts in parallel with List their activities.
the development. (True/False) (e) What is maintenance? Describe its types.
(d) Initially a context diagram is drawn, which (f) Discuss levels of testing.
is a simple representation of the entire Section-B
system under investigation. This IS
3. Attempt any two parts of choice from (a), (b)
followed by which level of diagram ?
and (c). (5x2=lO Marks) :
(LevelllLeveI2)
(a) Describe the software development life
(e) What is the final outcome of the cycle for software development.
requirements analysis and specifications ..
(b) List and describe the characteristics -of
phase? (Drawing the data flow diagram!
software.
The SRS Document)
(c) Explain Incremental Model with the help
2. Attempt anyfive parts: (3x5=15 Marks) of suitable example.
..•.-
(Define/Short Numerical/Short Programming! 4. Attempt any two parts of choice from (a), (b) ,
Draw) and (c). (5x2=10 Marks)
.(a) What are functional and non-functional ) (a) Give the techniques used for Requirement
requirements? Elicitation and discuss pros and cons of
(b) Differentiate between Software and each.
Program. (b) Explain the process of project
(c) Why is Spiral Model also called Meta management using Serum in Agile
Model ? software development.
'.
- -'.-,"'-
-:.
TCS-602 600
F. No.: a-15
Roll No.... ~ ~~.~: ..~
TCS-604 II~
B. TECH. (CSE/CSE-CC/CSE-BDAlIT)
(SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
COMPUTER NETWORKS-I
Time : 1 : 30 Hours
Maximum Marks: 50
Note: (i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
Section-A
1. Fill in the blanks/True-False: (1x5=5 Marks) ~.'~
4,
(3 ) TCS-604
for the resource record (RR) that contains Host A converts on-the-fly analog voice to
the hostname of the mail server ? If not,
a digital 64-Kbps bit stream. Host A then
why?
groups the bits into 48-byte packets. There
(b) Suppose N packets arrive simultaneously is one .link between host A and B; its
to a link at which no packets are currently
transmission rate is 1 Mbps and its
being transmitted or queued. Each packet
propagation delay is 2 ms. As soon as Host
is of length L and the link has transmission
rate R. What is the average queuing delay A gathers a packet, it sends it to Host B.
for the N packets? F. No. : 0-/5
P. T. O.
F. No. :0-/5
.::-
As soon as Host B receives an entire 4. Attempt any two parts of choice from (a), (b)
packet, it converts the packet's bits to an and (c). (5x2=10 Marks)
analog signal. How much time elapses (a) Explain the following cache control
from the time a bit is created (from the mechan1sms : must-revalidate, no-cache,
original analog signal at A) until a bit is max-age.
decoded.
(b) Consider distributing a file of F = 15 Gbits
(c) Refer the figure given below. Consider a to N peers. The server has an upload rate
;.
file of 8 Mb size is sent from source to of Us = 30 Mbps, and each peer has a
destination. Suppose each link in the download rate of d, = 2 Mbps and an
figure is 2 Mbps. Ignore propagation, 4 upload rate of u. For N = 10, 100, and .
queuing and processing delays. How long 1,000 and u = 300 Kbps, 700 Kbps, and
does it take to move the file from source to 2 Mbps, prepare a chart giving the
destination if it is sent as a single packet. minimum distribution time for each of the
Now suppose the file is segmented into combinations of N and u for both client-
800 packets with each packet being server distribution and P2P distribution.
10,000 bits long. Now how long does it (c) Refer to the following figure where a
I
take to move the file from host to server is connected to a router by a )
destination ? 100 Mbps link with 50 ms propagation
delay. This router is connected to two
other routers each over a 50 Mbps link
with 200 ms propagation delay. A 1 Gbps
So~rc~ Packet $W/tc:h P~cket switch Destination
link connects a host and a cache to each of
these routers, these links have
F. No.: 0-15
F. No.: 0-15 P. T. o.
•..
(6 ) TCS-60-t
(7) TCS-604
o propagation delay. All packets are
5. Attempt any two parts of choice from (a), (b)
20,000 bits long.
and (c). (5x2=10 Marks)
j
Server
(a) What are the main tasks ofDNS ?
100 t.ibp.s
!50 rruJ
(b) Consider a new peer Oggy that joins Bit
Torrent without possessing any chunks.
Without any chunks, he cannot become a
top-four uploader for any of the other
peers, since he has nothing to upload. How
then will Oggy get his first chunk ?
lGbps~ ~ 1 Gt>os (c) Assume that a client wants to retrieve
Om!J I Oms
www.yahoo.com but has no information
~
Client
§J
Cache
~.
Client
5If
Cnche about tlie web server's IP address.
(i) What is the end-to-end delay from Describe the process of the client
when a packet is transmitted by the obtaining the IP address under the ..•..
.~
server to when it is received by the assumption that it is not cached at the local
DNS server and the local DNS server has
client ? Assume there are no caches,
not cached an entry for the .com DNS
ignore processing and queuing delays.
server (Describe for the recursive case).
(ii) Assume one single active client but
caches are on and behave like HTTP
caches. A client's HTTP GET is first
directed to its local cache. 65% of the
request can be satisfied by the local
cache. What is the average rate at
which each client can receive data?
TCS-604 600
F. No. : o-I i
F /1'0. : o-l s
Roll No .
TCS-608
B. TECH. (CSE) (SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
OBJECT ORIENTED ANALYSIS
AND DESIGN
Time: 1 : 30 Hours
Maximum Marks: 50
Note: (i) This question paper contains two
Sections. '.
(ii) Both Sections are compulsory.
Section-A
1. Fill in-the blanks/True-False: (1 x5=5 Marks)
•.....
(a) An represents a relationship
between two classes .
. (b) The fact that \ the same operation, may
apply to two or more classes is
called .
(c) When the whole .is deleted, parts in
aggregation are also removed. (True/False)
(d) Knowing UML means one can handle
object-oriented analysis and design.
(True/False)
F. No. :a-I5 P. T.O.
..
/t)i
\
(2) •. TCs-{)08 (3) TC S-{) 08
(e) Structure diagrams do not emphasize the (b) Draw a sequence diagram for telephone
things that must be present in the system call.
being modeled. (True/False) (c) What is UML ? What are the building
2. Attempt any five parts: (3x5=15 Marks) blocks ofUML?
(Define/Short Numerical/Short Programming! 4. Attempt any two parts of choice from (a), (b)
Draw) 'and (c). (5x2=10 Marks)
(a) Write a short note on "Object-Oriented (a) Write the difference between sequence
'> Modeling Techniques". diagram and collaboration diagram with
(b) Draw Use _case diagram for Online suitable example.
Shopping. (b) Draw a UML Class Diagram representing
(c) Draw Sequence diagram for Railway the following elements from the problem
Reservation System. domain for a hockey league. A hockey ,
(d) Compare Object Oriented Analysis and league is made up of at least four hockey
\
Design (OOAD) and. Structured Systems teams. Each hockey team is composed of
,
Analysis and Design (SSAD) with six to twelve players, and one player
example. captains the team. A team has a name and
a record. Players have a number and a
(e) Define the terms encapsulation,
position. Hockey teams play games
inheritance and polymorphism.
against each other. Each game has a score
(f) Draw the activity diagram for ATM
and a location. Teams are sometimes lead
machine for withdrawing cash.
by a coach. A coach has a level of
Section-B
accreditation and a number of years of
3. Attempt any two parts of choice from (a), (b) experience, and can coach multiple teams.
and (c). (5x2=lO Marks) Coaches and players are people, and
(a) Write a short note on Booch Methodology people have names and addresses. Draw a
~-~~.-
and Jacobson Methodology. class diagram for this information, and be
F. No. :0-/5 F. No. : 0-/5 P. T. O.
(4) TC S-{) 08
(5) TCS-608
sure to label all associations with
appropriate multiplicities. cloud administrator has a authority to
register and authenticate users for
(c) Draw an appropriate Use case diagram for
accessing the application. Both user/
student registration system of your
admin. can login for uploading!
university. Identify objects with their
) downloading a file from cloud server.
attributes and functionalities before
Both can also view and update his/her
making the Use case diagram. Only
profile and can view their files. They can
teachers and administrator can access such
delete files for the cloud storage which are
system.
no longer in use. In addition, an
5. Attempt any two parts of choice from (a), (b) administrator can view the user profile of
and (c). (5x2=10 Marks) all us~rs and can also delete a user profile.
(a) What are some of the form of After completing all operations, user/
associations ? Draw their UML admin. has to logout from application.
')..
TCS-671
B. TECH. (CS-BDA)
)
(SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
BIG DATA STORAGE AND PROCESSING
Time : 1 : 30 Hours
Maximum Marks: 50
Note: (i) This question paper contains two
Sections.
(ii) Both Sections are compulsory. '.
Section-A .•..
.,.-
1. Write TruelFalse : (1x5=5 Marks)
~
(a) Hadoop follows default replication factor
)
"4".
(b) Each file is stored in HDFS as block.
(c) The default block size is 128 MB In
Hadoop 2.x.
(d) Data Node receives heartbeat and block
reports from all the Name nodes.
(e) HDFS uses Master/Slave architecture.
F. No. :0-15 P. T.O.
I I
t
(2) TCS-671\ (3)
2. Attempt anyfive parts: (3x5=15 Marks) (b) Do you prefer good data or good models ?
(Define/Short Numerical/Short Programming! Why?
Draw) (c) Row is combiner important in MapReduce
(a) Draw the RDFS architecture. program? Write a Java code to implement
(b) Importance of box classes in Hadoop a combiner.
Framework.
5. Attempt any two parts of choice from (a), (b)
(c) What is YARN?
and (c). • (5x2=10 Marks)
(d) Main components of RDFS.
(a) What is reducer? Explain the difference
(e) .Write a short note on commodity
between combiner and reducer.
hard~are~
(f) Write a short note on Node Manager. (b) What are the three running modes of
Radoop?
Section-B
3. Attempt any two parts of choice from (a), (b) (c) Write a MapReduce code for
"WordCount" .
and (c). (5x2=10 Marks)
(a) Tell us how big data and Hadoop are
related to each other.
(b) Explain the different file input formats for
Hadoop.
(c) What are the differences between Hadoop
2 and Hadoop 3 ?
4. Attempt any two parts of choice from (a), (b)
and (c). (5x2=10 Marks)
(a) Explain the characteristics of Big Data in
terms of five "V". TCS-671 100
F. No. : 0-/5 F. No. :0-/5
Roll No .
TCS-693
B. TECH. (CS/IT) (SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
) FULL STACK WEB DEVELOPMENT
Time: 1:30 Hours
M~ximum Marks: 50
Note :(i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
/'
Section-A
\0.
1. Fill.
in the~blanks/True-False:
. (1 x5=5 Marks)
. (a) The closing HTML tag is indicated by the ""
"" ..,
I
.......... character.
,
(b) The tag used for comments in
HTML.
(c) CSS can be used inline and internal at
same time. (True/False)
(d) HTML is case sensitive. (TruelFalse)
(e) Java script is server side scripting
language. (TruelFalse)
F. No. : a-21
P. T. o.
-")
(2) TCS-693 (3) TCS-693
2. Attempt any five parts: (3x5=15 Marks) (b) What is selector in CSS ? Can I attach
(Define/Short Numerical/Short Programming! more than one declaration to a selector ?
Draw) What is cascading order?
(a) What is Favicon ? Write the code for (c) Briefly -discuss the event handling from
adding Fevicon. form elements and button elements in
I
I
.. r 0 -1 T,:~.ooooo
o.
:,.... '0.
..J
~
I (c)
.Navigator Object in detail.
Create a web page which uses promptt)
F~4 dialog to ask a user for their name, age and
~
o
,"!I
I' , ,
TCS-693 600
F. No.: 0-21
Roll No .
TCS-691
B. TECH. (CSE) (SIXTH SEMESTER)
) MID SEMESTER EXAMINATION, 2019
IMAGE PROCESSING AND
COMPUTER VISION
Time: 1 : 30 Hours
Maximum Marks: 50
Note:(i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
Section-A .•..
F. No.: a-IS P. T. O.
l
(
(2) TCS-691 (3) TCS-691
2. Attempt anyfive parts: (3x5=15 Marks) (b) Write a MATLAB program to compute
(Define/Short Numerical/Short Programming! the histogram of a grayscale image.
Draw) (c) Apply 3 x 3 median filter on the image
(a) Describe what IS sampling and data matrix below :
quantization m the digital Image
·255 255 254 254
formation.
(b) Write a MATLAB program to rotate an 253 34 253 34
image IS{) degrees clockwise. 253 234 45 33
(c) Write a MATLAB program to create an 128 129 35
"",125
image of the Japan flag and save it. It has a
4. Attempt any two parts of choice from (a), (b)
red coloured disc in the center of the white
background. and (c). (5x2=10 Marks)
(d) Give the equation for Convolution. (a) Distinguish between a binary, grayscale
(e) Give the list of different filters that are and colour image.
. _ •..
1
used for edge detection. " ( (b) Write a MAtLAB program to convert an
(f) What is an image complement ? How to 8-bit grayscale image into an equivalent of
compute it?
the 3-bit grayscale image.
'Section-B
(c) Describe RGB and HSI colour system.
3. Attempt any two parts of choice from (a), (b)
Give the MATLAB functions for
and (c). (5x2=10 Marks)
(a) Explain the different noise models with converting from one to another.
appropriate figures and equations.
.•.
.•..
."•..
"'
'~
j
TCS-691 400
F. No. :a-15
Roll No .
TCS-6S1
B. TECH. (CS-CC)
(SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
DEVOPS ON CLOUD
Time: 1 : 30 Hours
Maximum Marks: 50
Note : (i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
.•...
Section-A
1. State True/False: (1x5=5 Marks)
(a) Agile, best suited when requirement
change frequently. (True/False)
(b) DevOps best suited when, development
and operations need to be agile.
(True/False)
(c) Git is centralized version control tool.
(TruelFalse)
F No. : 0-/5 P. T. O.
l
=,
(2 ) TCS-651 \ (3)
(d) Jenkins is used for continuous integration. 4. Attempt any two parts of choice from (a), (b)
(TruelF alse) and (c). (5x2=10 Marks)
(e) Maven and Gradle is used for testing. (a) What are the fundamental difference
(True/False) between DevOps and Agile?
2. Attempt any five parts: (3x5=15 Marks)
(b) Explain the important stages of DevOps.
(Define/Short Numerical/Short Programming!
(c) Explain some basic git commands.
~raw)
(a) Differentiate between Git and GitHub. 5. Attempt any two parts of choice from (a), (b)
(b) Write a short note on SDLC. and (c), . (5x2=10 Marks)
(c) What is Dark Launching? (a) What is meant by continuous integration?
(d) Define scalability and elasticity.
(b) Explain how can you set up Jenkins job.
(e) Life Cycle of DevOps.
(c) Mention some of the useful plugins in
(f) Major Open Source DevOps Tools.
Jenkins and their role.
Section-B _ .j
Roll No .
TCS-672
B. TECH. (CSE) (SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
MACHINE LEARNING-II
Time: 1 : 30 Hours
Maximum Marks: 50
Note :(i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
, ,.
Section-A
'* .•, ,*.
1. Write True/False: (lx5=5 Marks)
(a) Linear regression can be used for
classification,
(b) There can be' only one dependent variable
in one regression equation.
(c) ANN is a machine learning technique.
(d) A neural network is a multilayered model.
(e) SVM is a statistical learning technique.
2. Attempt any five parts: (3x5=15 Marks) (c) What is the difference between Linear
(Define/Short Numerical/Short Programming! regression and Logistic regression?
Draw)
4. Attempt any two parts of choice from (a), (b)
(a) Distinguish between classification and
regression. and (c). (5x2=10 Marks)
(b) What are Lagrange Multipliers ? (a) Differentiate between supervised,
(c) What are support vectors?
unsupervised and reinforcement learning.
(d) Explain the kernel method.
(e) Define Loss Function. (b) What are karush-Kuhn- Tucker
(f) 'What is principal component analysis? conditions?
Section-B ..
(c) What equations are used for classification
,
3. Attempt any two parts of choice from (a), (b) in a linear support vector machine? -
and (c). (5x2=10 Marks)
5. Attempt any two parts of choice from (a), (b)
(a) Describe the perspectives and issues in
machine learning. and (c). (5x2=10 Marks)
(b) Obtain the equation of the lines of (a) Explain the steps required for selecting the
regression from the following data:
right machine, learning algorithm. .j
x y
(b) Suppose you are running a factory,
1 9
producing some sort' of widget that
2 8
3 10 requires steel as a raw material. Your costs
".
.•..
~....
"
TCS-672 100
F. No. :0·15
Roll No .
TIT-607
B. TECH. (IT) (SIXTH SEMESTER)
MID SEMESTER EXAMINATION, 2019
) SOFTWARE VERIFICATION, VALIDATION
AND TESTING
Time: 1 : 30 Hours
Maximum Marks: 50
s,
Note :(i) This question paper contains two
Sections.
(ii) Both Sections are compulsory.
Section-A
.........
1. Fill in the blanks: (1 x5=5 Marks)
(a) is also known as functional
testing. (White boxIBlack box)
(b) Bug prevention is a goal of
software testing. (Short-termlLong-term)
(c) An Oracle is the means to judge the
................. ofa test.
(SuccesslFailurelBoth)
F. No.: a-19 P. T. O.
r
(2) TIT-607 (3) TIT-607
(d) The domain of possible inputs to the (b) Explain different stages of STLC.
software is too to test. (c) Differentiate between (any two) :
(e) "Are we building the right product T" is (i) Effective and Exhaustive testing
.............. . (VerificationlValidation) (ii) Verification and Validation
2. Attempt anyfive parts': (3x5=15 Marks) (iii) Structural and Functional testing
(Defme/Short Numerical/Short Programming! 4. Attempt any two parts of choice from (a), (b)
Draw) and (c). (5x2=IO Marks)
(a) What are the benefits of early testing? (a) Explain decision table technique for
(b) What is the Psychology behind testing by designing test case with suitable example.
an Independent team ? (b) Explain the difference between
(c) What is the need for verification ? s, verification and validation. Explain hQW
(d) Differentiate between error, bug, fault and these activities play role in V-process
failure. model.
(e) Give the different types of bug based on (c) A program reads an integer number with
.•..
criticality. the range [1, 100] and determine whether
(f) What are the types of errors detected by it is a prime number or not. Design test "
<
F. No.: a-19
F. No. :a-19 P. T. o.
-
( 4) TIT-607
...
TIT-607 50
F. No. : a-19
Roll No .
TIT-608
B. TECH. (IT) (SIXTH SEMESTER)
)
MID SEMESTER EXAMINATION, 2019
Time: 1 : 30 Hours
Maximum Marks: 50
F. No. : a-/9 P. T. o.
t )
•
(2) TIT-608 (3) TIT-608
F. No.: 0-19
F. No. : 0-19 P. T. O.
-
(4) TIT-608
~....
TIT-608 50
F. No.: a-19