Comp Sem IV - r19 C - May 2021
Comp Sem IV - r19 C - May 2021
Choose the correct option for following questions. All the Questions are
Q1. compulsory and carry equal marks
Option C: Domain
2. Sample of two types of electric bulbs were tested for length of life and the
following data were obtained
Size Mean SD
Sample 1 8 1234 h 36 h
Sample 2 7 1036 h 40 h
Option A: t=10.77
Option B: t=9.39
Option C: t=8.5
Option D: t=6.95
Option B:
Option C:
Option D:
1|Page
4.
If [ ] , Then following is not the eigenvalue of
Option A: 6
Option B: 2
Option C: 4
Option D: 3
5.
For the matrix[ ] the eigenvector corresponding to the distinct
eigenvalue is
Option A:
[ ]
Option B:
[ ]
Option C:
[ ]
Option D:
[ ]
Option B:
Option C:
Option D:
2|Page
9. Integral ∫ along a circle | | is equal to
Option A: 1
Option B: -1
Option C: 3/2
Option D: 0
10. Analytic function gets expanded as a Laurent series if the region of convergence
is
Option A: rectangular
Option B: triangular
Option C: circular
Option D: annular
12.
z-transform of an unit impulse function ( ) is
Option A: 1
Option B: 0
Option C: -1
Option D: k
13. * ( )+ is
Option A:
Option B:
Option C:
Option D:
3|Page
16. If the primal LPP has an unbounded solution then the dual has
Option A: Unbounded solution
Option B: Bounded solution
Option C: Feasible solution
Option D: Infeasible solution
Subject to
Option A: Minimize
Subject to
, y’ unrestricted
Option B: Minimize
Subject to
Option C: Minimize
Subject to
, y’ unrestricted
Option D: Minimize
Subject to
, y’ unrestricted
Option B:
Option C:
Option D:
4|Page
Option C: Either the objective function or atleast one of the constraints should be non-linear
Option D: The objective function and all constraints should be linear.
Subjective/descriptive questions
Q2 Solve any Four out of Six5 marks each
(20 Marks )
In an exam taken by 800 candidates, the average and standard deviation of
A marks obtained (normally distributed) are 40% and 10% respectively. What
should be the minimum score if 350 candidates are to be declared as passed
Fit a poisson distribution to the above data and test the goodness of fit.
5|Page
Show that the matrix [ ] is not diagonalizable.
B
If ( ) find * ( )+
D
E Subject to
6|Page
7|Page
8|Page
9|Page
University of Mumbai
Examination June 2021
Examinations Commencing from 1st June 2021
Program: Computer Engineering
Curriculum Scheme: Rev2019
Examination: SE Semester IV
Course Code: CSC402 and Course Name: Analysis of Algorithm
Time: 2 hour Max. Marks: 80
=====================================================================
Choose the correct option for following questions. All the Questions are
Q1. compulsory and carry equal marks
3. In Quicksort algorithm, there is a procedure for finding a pivot element that splits
the array into two sub-arrays, each of which contains at least Two-fifth of the
elements. Let T(n) be the number of comparisons required to sort n elements.
Then
Option A: T(n) <= 2T(n/5) + n
Option B: T(n) <= T(2n/5) + T(3n/5) + n
Option C: T(n) <= 2T(4n/5) + n
Option D: T(n) <= 2T(n/2) + n
6. If you are sorting in ascending order with insertion sort, average case running
time it will take is?
Option A: O(N)
1|Page
Option B: O(N log N)
Option C: O(log N)
Option D: O(N2)
9. Consider the graph M with 3 vertices. Its adjacency matrix is shown below.
Which of the following is true?
10. Given items as {value, weight} pairs {{60,10}, {20,10}, {40,5}}. The capacity of
knapsack=20. Find the maximum value output assuming items to be divisible.
Option A: 110
Option B: 80
Option C: 100
Option D: 40
11. A graph with negative weight cycle is having ______no. of shortest paths
Option A: One
Option B: Two
Option C: Zero
Option D: Infinite
13. In assembly line scheduling problem, _____ lookup tables are required.
Option A: 0
Option B: 1
Option C: 2
Option D: 3
2|Page
14. A travelling salesman problem with 55 cities has____________no. of feasible
tours.
Option A: 37 arcs
Option B: 54 arcs
Option C: 55 arcs
16. Of the following given options, which one of the following is a correct option that
provides an optimal solution for 4-queens problem?
Option A: (3,1,4,2)
Option B: (2,3,1,4)
Option C: (4,3,2,1)
Option D: (4,2,3,1)
17. Chromatic number of a graph is ______no of colors required to color the vertices
in graph.
Option A: Maximum
Option B: Same
Option C: Minimum
Option D: More than Number of vertices
20. Given a pattern of length- 5 window, find the spurious hit in the given text string.
Pattern: 7 3 9 9 2
Modulus: 13
Index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Text: 2 3 5 9 0 2 3 1 4 1 5 2 6 7 3 9 9 2 1 3 9
3|Page
Option A: 6-10
Option B: 12-16
Option C: 3-7
Option D: 13-17
4|Page
University of Mumbai
Examination June 2021
Examinations Commencing from 1st June 2021
Program: SE SEM IV R2019 C Scheme May 2021
Curriculum Scheme: Rev2019
Examination: SE Semester IV
Course Code: CSC403 and Course Name: Database Management System
Time: 2 hour Max. Marks: 80
=====================================================================
Choose the correct option for following questions. All the Questions are
Q1. compulsory and carry equal marks
Option A: To modify schema definition in one level without affecting schema definition in
the next lower level.
Option B: To modify schema definition in one level without affecting schema definition in
the next higher level.
Option C: To modify data in one level without affecting the data in the next lower level.
Option D: To modify data in one level without affecting the data in the next higher level.
2. Data redundancy leads to higher storage and access cost. It may lead to
Option A: Data isolation
Option B: Data inconsistency
Option C: Integrity problem
Option D: Atomicity
3. The an attribute (say X) of entity set is calculated from other attribute value
(say Y). The attribute X is called
Option A: Single valued
Option B: Multi valued
Option C: Composite
Option D: Derived
4. A weak entity type always has a total participation constraint w.r.t. its identifying
relationship, because
1 | Page
Option A: Weak entity have a partial key
Option B: Weak entity cannot be identified with an owner entity.
Option C: Weak entity cannot be identified without an owner entity.
Option D: Weak entity cannot identified without an identifying relationship
8. r∩s=
Option A: r – (r – s)
Option B: s – (r – s)
Option C: (r u s) – (r – s)
Option D: (r u s) /(s u r)
2 | Page
9. Let E1 and E2 be two entities in an E-R diagram with one multi-valued attribute
in E1,R1 and R2 are two relationships between E1 and E2, where R1 is one-to-
many and R2 is many-to-many,R1 and R2 do not have any attributes of their
own,What is the minimum number of tables required to represent this situation in
the relational model.
Option A: 2
Option B: 4
Option C: 3
Option D: 5
10. Write a query to set default value for salary to 25000 for table employee
Option A: UPDATE employee MODIFY salary DEFAULT 25000
Option B: UPDATE employee SET salary To DEFAULT 25000
Option C: ALTER TABLE employee SET salary To DEFAULT 25000
Option D: ALTER TABLE employee MODIFY salary DEFAULT 25000
11. Consider the employee table:employee ( employee id, name, dept name,
salary )Create a new employee `E-101', named `Ashwin singh', with 50,000 salary
for department `developer'. Identify the appropriate SQL.
Option A: INSERT INTO TABLE employee VALUES (`E-101',`Ashwin Singh',`Wireless',
100000)
Option B: INSERT INTO employee (`E-101',`Ashwin Singh',`DEVELOPER', 50000)
Option C: INSERT INTO employee VALUES(`E-101',`Ashwin Singh',`DEVELOPER',
50000)
Option D: INSERT INTO employee table(employee id, name, dept name, salary) VALUES
(`E-101',`Ashwin Singh',`DEVELOPER', 50000)
3 | Page
The following Query is executed
SELECT Price from Product order by Name DESC;
Find out correct order of tuple numbers in the output ,if the tuple numbers in the
above table are 1,2,3,4
Option A: 2,3,4,1
Option B: 3,4,2,1
Option C: 4,1,2,3
Option D: 2,3,1,4
4 | Page
Option D: BCNF
17. Identify correct rules in growing phase (first phase) in two-phase locking
protocol.
Option A: Transaction can only acquire shared lock(lock-s) and exclusive (lock-X)
Option B: transaction can only acquire shared lock(lock-s) ,exclusive (lock-X) and covert
lock-s to lock-X
Option C: transaction can release shared lock(lock-s) ,release exclusive (lock-X) and covert
lock-s to lock-X
Option D: transaction can acquire only shared lock(lock-s) and release exclusive (lock-X)
18. Suppose in a database, there are three transactions T1, T2 and T3 with timestamp
10, 20 and 30 respectively. T2 is holding a data item which T1 and T3 are
requesting to acquire. Which of the following statement is correct in respect of
Wait-die Deadlock Prevention scheme?
Option A: Transaction T1 will wait for T2 to release the data item.
Option B: Transaction T1 will be aborted.
Option C: Transaction T3 will wait for T2 to release the data item.
Option D: Transaction T2 will wait for T1 to release the data item.
5 | Page
20. When transactions execute properly without interference from concurrently
executing transactions then this property is referred to as.
Option A: Atomicity
Option B: Concurrency
Option C: Consistency
Option D: Isolation
Consider above relational schema and formulate SQL queries for the
following:
C
(i)Modify the cost of DBMS books by 10%
(ii)Find the author of the books which are available in Mumbai store
(iii)Find the title of the most expensive book
(iv)Find the total quantity of books in each store
(v) Add a new record in Book(Assume values as per requirement)
6 | Page
B Explain conflict and view serializability with suitable examples .
C Explain deadlock handling in DBMS with suitable examples.
7 | Page
University of Mumbai
Examination June 2021
Examinations Commencing from 1st June 2021
Program: Computer Engineering
Curriculum Scheme: Rev 2019 “C” Scheme
Examination: SE Semester IV
Course Code: CSC404 and Course Name: Operating System
Time: 2 hour Max. Marks: 80
=====================================================================
Choose the correct option for following questions. All the Questions are
Q1. compulsory and carry equal marks
2. Multiprogramming systems__________________
1 | Page
Option B: CPU utilization
Option C: Response time
Option D: Throughput
5. A Process Control Block (PCB) does not contain which of the following?
Option A: Code
Option B: Data
Option C: Stack
Option D: Bootstrap program
8.
_______is a synchronization tool and _______operation decrements its value.
Option A:
thread, wait
Option B:
semaphore, signal
Option C:
semaphore, wait
2 | Page
Option D:
socket, signal
9.
A scenario in which thread A performs an action that causes thread B to perform
an action that in turn causes thread A to perform its original action is called____
Option A: Spinlock
Option B: Livelock
Option C: Belady’s anomaly
Option D: Deadlock
10.
Which algorithm requires that the system must have some additional a priori
information available about resources?
Option A: Deadlock prevention
Option B: Deadlock recovery
Option C: Deadlock avoidance
Option D: Deadlock allocation
11.
Which one is Reusable resource in the system?
Option A: Interrupts
Option B: Main memory
Option C: Signals
Option D: Information in I/O buffers
12. What is the name of the memory allocation strategy in which the OS allocates the
smallest free partition that is big enough to hold the process?
Option A: Worst Fit
Option B: Best Fit
Option C: First Fit
Option D: Next Fit
3 | Page
13. If the size of the logical address space is 2^m, and a page size is 2^n addressing
units then how many high order bits of a logical address designate the page
number?
Option A: m-n
Option B: m
Option C: n
Option D: m+n
14. What is the name of the system where processes initially reside in secondary
memory and when it needs to execute a process OS swaps it into main memory?
15. Instruction or data near to the current memory location that is being fetched , may
be needed soon in near future. this is the principal of _________
Option A: Spatial Locality
Option B: Temporal Locality
Option C: Buffering
Option D: Branching
16. A low-level integer used to identify an opened file at the kernel level, in Linux
called as ______________
4 | Page
Option A: Process
Option B: Memory
Option C: Interrupt
Option D: File
18.
Which one is not the correct purpose of the device controller?
19. If the drive controller is busy and a process needs I/O to or from a disk, then ____
Option A: the request will be ignored
Option B: the request will be placed in the queue of pending requests for that drive
Option C: the request will be processed immediately
Option D: the request will be transferred to different controller
20.
In which of the following algorithms, the disk head moves from one end to the
other , servicing requests along the way, when the head reaches the other end, it
immediately returns to the beginning of the disk without servicing any requests on
the return trip?
Option A: LOOK
Option B: SCAN
Option C: C-LOOK
Option D: C-SCAN
5 | Page
A Describe microkernel operating system structure
B What is thread? Describe any four advantages of multithreading model.
C Why is semaphore known as a synchronisation tool?Give an example.
Describe how logical address is converted into physical address when the
D
program and its associated data is divided into segments
E Summarize various File Attributes
F With the help of a diagram explain I/O management.
Compare short term, medium term and long term scheduler along with
A
diagram
Consider a disk with 51(0 to 50) cylinders. While the seek to cylinder 11 is
in progress, the request comes for the following cylinders, in the order 1,
B 36, 16, 34, 9, 12 and 40. The arm moves in an increasing number of
cylinders. What is the total distance the arm moves to complete pending
requests using FCFS and LOOK algorithms?
describe in detail requirements that intends to achieve memory
C
Management
6 | Page
University of Mumbai
Examination June 2021
Examinations Commencing from 1st June 2021
Program: Computer Engineering
Curriculum Scheme: Rev2019
Examination: SE Semester IV
Course Code: CSC405 and Course Name: Microprocessor
Choose the correct option for following questions. All the Questions are
Q1. compulsory and carry equal marks
Option D: NOP
2. The instructions that are used for reading an input port and writing an output port
respectively are
Option A: MOV, XCHG
Option B: MOV, IN
Option C: IN, MOV
Option D: IN, OUT
1 | Page
Option B: 1MB
Option C: 2MB
Option D: 256KB
7. In 8257 register format, the selected channel is disabled after the terminal count
condition is reached when
Option A: Auto load is set
Option B: Auto load is reset
Option C: TC STOP bit is reset
Option D: TC STOP bit is set
8. All the functions of the ports of 8255 are achieved by programming the bits of an
internal register called
Option A: data bus control
Option B: read logic control
Option C: control word register
Option D: Status Register
2 | Page
Option A: set the ISR
Option B: reset the ISR
Option C: set the INTR
Option D: reset the INTR
10. For a single task in protected mode, the 80386 can address the virtual memory of
Option A: 32 GB
Option B: 64 MB
Option C: 32 TB
Option D: 64 TB
11. The recurrence of the numerical values or constants in a program code is reduced
by
Option A: EQU
Option B: ASSUME
Option C: LOCAL
Option D: LABEL
13. The 80386 enables itself to organize the available physical memory into pages, which
is known as
Option A: segmentation
Option B: Paging
3 | Page
14. The number of debug registers that are available in 80386, for hardware debugging
and control is
Option A: 2
Option B: 4
Option C: 8
Option D: 16
18. For 8086 microprocessor, the stack segment may have a memory block of a
maximum of
4 | Page
Option D: 128K bytes
20. The type of the interrupt may be passed to the interrupt structure of CPU from
Option B: Stack
Option D: Segments
5 | Page
unordered array of 8-bit numbers?
Interface 32K word of memory to 8086 microprocessor system. Available
C memory chips are 16K*8 RAM. Use suitable decoder for generating chip
logic.
6 | Page