Questions 891–900 of 975. Imported answers require independent review unless marked reviewed.

Topic practice 975 questionsPage 90 of 98

Question 23

Open question
CSNAT1 markNeeds review

is an undirected graph with

vertices and 25 edges such that each vertex of

has degree at least 3. Then the maximum possible value of

is __________.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 24

Open question
CSNAT1 markNeeds review
Consider the following CPU processes with arrival times (in milliseconds) and length of CPU bursts (in milliseconds) as given below:
Process
Arrival time
Burst time
P1
0
7
P2
3
3
P3
5
5
P4
6
2
If the pre-emptive shortest remaining time first scheduling algorithm is used to schedule the processes, then the average waiting time across all processes is __________ milliseconds.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 24

Open question
CSNAT1 markNeeds review
Consider a quadratic equation

with coefficients in a base

. The solutions of this equation in the same base

are

and

. Then

__________.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 25

Open question
CSNAT1 markNeeds review
Consider a two-level cache hierarchy with L1 and L2 caches. An application incurs 1.4 memory accesses per instruction on average. For this application, the miss rate of L1 cache is 0.1; the L2 cache experiences, on average, 7 misses per 1000 instructions. The miss rate of L2 expressed correct to two decimal places is ____________.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 25

Open question
CSNAT1 markNeeds review
The minimum possible number of states of a deterministic finite automaton that accepts the regular language

is __________.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 26

Open question
CSMCQ2 marksNeeds review
Let

be any connected undirected edge-weighted graph. The weights of the edges in

are positive and distinct. Consider the following statements:
(I) Minimum Spanning Tree of

is always unique. (II) Shortest path between any two vertices of

is always unique.
Which of the above statements is/are necessarily true?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 26

Open question
CSMCQ2 marksNeeds review
P and Q are considering to apply for a job. The probability that P applies for the job is

, the probability that P applies for the job given that Q applies for the job is

, and the probability that Q applies for the job given that P applies for the job is

. Then the probability that P does not apply for the job given that Q does not apply for the job is
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 27

Open question
CSMCQ2 marksNeeds review
A multithreaded program P executes with

number of threads and uses

number of locks for ensuring mutual exclusion while operating on shared memory locations. All locks in the program are non-reentrant, i.e., if a thread holds a lock

, then it cannot re-acquire lock

without releasing it. If a thread is unable to acquire a lock, it blocks until the lock becomes available. The minimum value of

and the minimum value of

together for which execution of P can result in a deadlock are:
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 27

Open question
CSMCQ2 marksNeeds review
If

are Boolean variables, then which one of the following is INCORRECT?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 28

Open question
CSMCQ2 marksNeeds review
The value of

Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer