Mtech DSC Sem 1 Paper
Mtech DSC Sem 1 Paper
::s L-
M.TEC H (DSC)
FJRST SEMESTER
MID SEMESTER EXAM INATIO N
Septem ber 2024
i) A bank can have multiple branches associated to it. Each bank should have at least
one branch and every branch must be associated with ex actly one bank.
ii) A branch can maintain multiple accounts and each account be long to exactly one
branch. A newly opened branch might not have any account associated to it
iii) A branch can offer mulliple loans and each loan must belong to exactly one branch
A newly opened branch might not have any loan associated Lu it.
(iv) An account can be held by mu lti ple customers (joint account ) and n single
customer can hold mulliple accounlS .
(v) A loan can be availed by multiple customers UoinL loan) and a single customer
can avail multiple loans.
(vi) A customer who has availed a loan, might not have an account and a cu st0 mer
who holds an account, might not have availed any loan.
(b) Convert the above obtained ER diagram into tables . with schema diagram
representation (2+ I) IC03 I
Q4. Consider the following MAILORDER relational schema describing the data for
a mail order company :
PARTS (Pno, Pname, Qoh, Price, Olevel)
CUSTOMERS (Cno, Cname, Street, Zip, Phone)
EMPLOYEES (Eno, Ename, Zip, 1-ldate)
ZIPCODES (Zip. City)
ORDERS (Ono, Cno, Eno, Received, Shipped)
ODETAILS (Ono, Pno, Qty)
Qoh stands for quantity on hand, the other attribute names are self-explanatory.
(a) Specify and execute the following queries using the Relational algebra query on
the MAILORDER database schema
(b) Specify and execute the fo llowing queries usmg the SQL query on the
MAlLORDER database schema
1) Retrieve the pairs of customer number values of customers who live in the same
ZlP Code.
2) Retrieve the names of customers who have ordered parts from employees
living in Wichita.
3) Retrieve the names of customers who have ordered parts costing less _than
$20.00.
4) Retrieve the names of customers who have not placed an order.
5) Retri'eve the names of customers who have placed exactly two orders.
(2+5=7) 1co21
Q5. What do you understand by subqueries? Explain the concept and execution order
of child and parent query. Also explain Co-related subquery with example.
(2) 1co21
Total No. ofPages OJ Roll No .... ...
FffiST SEMESTER
M.Tech. (SWE/DSC)
MID TERM EXAMINATION Sept-2024
SWE 5406/DSC 504 - MACHINE LEARNING
Time: 1:30 Hours Max. Marks: 20
Note: Answer ALL questions. All questions carry equal marks.
Assume suitable missin data, if an .
B) What do you mean by Overfitting? Explain two techniques to reduce iL (CO i) [2]
Q2. Explain different feature representation strategics for various types of data_ (CO2) [4]
Q3. Based on below table, find Information gain for Outlook, Temperature, Humidity, and
Windy using entropy as splitting criteria.
/O utlook
---
Tempe r.-ture
-
Humidity
- --- Wind Played footb ... ll{ye~/no)
Sunny Hot ' Hl&h wea k No •
Sunn y Hot ;, Hl&h Strona No
/ Ove rc.-st H ot '
R a in MIid t ' hilh
High
Weak
We•k
Ye s
Yes
•
•
/R•tn Cool . Normal We•k Yes
I
Aa , n Cool , Normal Str on tt No '•
\Ovar..t,u Cool , Normal serons Yes )'I
Sunny
S unny
Mild I
Cool . High
Normal
weak
weak
No •
Yes '
R ain M Iid • l ,1ormal w e ak Yes
1s unny
Ove r~ st
Mild
M Iid •
• Normal
Hl&h
Strona Yes .'
1
Strona Yes •
overc.-st Hot \ Nor m.- 1 Wea k Ye s
Rain Mild \ HIIJh Slrons No
'
'
(CO2)[4]
Q4. Calculate the regression coefficient and find regression line x on y for the given data.
(CO2) [4]
X 2. 4 e a
V G e "12
QS. A) How logistic regression and sigmoid function are related? (CO2) [2]
8) Explain Binary Cross Entropy as a loss function? (CO3) [2]
- -- - - - . - - ,
FIRST SEMESTER
M.Tech. (SWE, DSC, RSE)
MID SEMESTER EXAMINATION September-2024
SWE505, DSC507 Advanced Data Structure
Time: 1:30 Hours Max. Marks: 20
Q.4. You are developing a music playlist app where songs are mana
ged
using a linked list. Each node contains inform ation about a song, such
as
song ID, name , and artist. The app also supports a "Recently Played" featu
re
implemented using a stack to track the last few songs that were played. Wri
te
pseudocode to add a song to the "Recently Played" stack. If the stack is full
(maximum of 5 songs), remove the oldest song. [5][C02]
.. u,w Hu. UJ rages:uL J\Vll JWV, , , . , , • ..., . , , . I -
FIRST SEMESTER
M.Tech. (SE/DSC)
MID SEMESTER EXAMINATION SEP-2023
Pl 0 8 2
P2 1 4 1
P3 2 9 3 '
P4 3 5 2
PS 4 2 4
Find the Average Turnaround Time and Average Waiting Time for each
scheduling algorithm.
1. Round Robin with 4 quantum
4. Explain the working of Test and Set for synchronization and mutual
exclusion. What are the perfonnance issues related to it tS J (CO2 J
5. Explain how Deadlock can be prevented along wi th proposed solutions
[5] [C03]
b. What is a context switch and how it deals with a PCD [C02 J [21
7
Tntal No. nr Pages : ~
Roll no ........... ..
FIRST SEMESTEf ~
M.Tcc h.
MID TERM EXAMINA TION Scptembcr-202-1
Q.J Whal are the various types of empirical studies? Exp lain.
f5l[C01J
Q.4 (a) Differentiate between sy stematic literatu re revi ew and survey papc:r.
(b) List the import:rnce of research from the pers pective o f sofh vart'
industries, academicians, and researchers'?
Is11 co 1,cn~1
Q.5 (a ) What is im pncl fa ctor nnd 11 -in de~? Explain how do we L'akulote them
with nn example.
(h) Wha l is th e diffi.:renci.: between conle rcn ce paper, _i numnl paper, and
book chapter?
1s11co11
Roll No ....
Total No. of Pages () I
FIR ST SEM EST ER
M.Tech. (DSCJ
Sep tem ber -20 24
MID SEM EST ER EXAMINATION
IN CO MP UTE R
DSC 501 MATHEMATICAL FOU ND ATI ON S
SCI ENC E
/Jlfla. J'v/arks: 2{)
Time: 1:30 Hours
l marks.
Note: Answer ALL question s. All question s carry equa
Assume suitable missin g data, if any.
~5)
f ind 1hc value of (i} K, (Ii} P(X~ 2) und (iii) l'(J<X
(.' we hnv1:
(II) Use part (i) to show 1ha1 for nny event s A. B, nnd
n - P(A n ll n C)
/'(A) :; /'(A nn) + /J(A n C ) -t /'(An 11' C')
151 jc,) 11