Computer Science and Information Technology
GATE CSE topic:computing PYQs
Build your understanding with focused practice from past exam papers.
Questions 181–190 of 975. Imported answers require independent review unless marked reviewed.
Question 26
Open questionCSMSQ1 markNeeds review
Which of the following statement(s) is/are TRUE for any binary search tree (BST) having
distinct integers?Your answerSelect all correct options. You can choose more than one.
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 answerQuestion 26
Open questionCSMCQ1 markNeeds review
Processes
arrive in that order at times 0, 1, 2, and 8 milliseconds respectively, and have execution times of 10, 13, 6, and 9 milliseconds respectively. Shortest Remaining Time First (SRTF) algorithm is used as the CPU scheduling policy. Ignore context switching times.Which ONE of the following correctly gives the average turnaround time of the four processes in milliseconds?
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 answerQuestion 27
Open questionCSMSQ1 markNeeds review
A partial data path of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the data path as shown?

Your answerSelect all correct options. You can choose more than one.
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 answerQuestion 27
Open questionCSMSQ1 markNeeds review
An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account
attempted simultaneous transfers of Rs. 1000 each from account
to account
. Both transactions read the same value, Rs. 1000, as the initial balance in
and were allowed to go through.
was credited Rs. 1000 twice.
was debited only once and ended up with a balance of Rs. 1000.Which of the following properties is/are certain to have been violated by the system?
Your answerSelect all correct options. You can choose more than one.
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 answerQuestion 28
Open questionCSMSQ1 markNeeds review
A regular language
is accepted by a non-deterministic finite automaton (NFA) with
states. Which of the following statement(s) is/are FALSE?Your answerSelect all correct options. You can choose more than one.
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 answerQuestion 28
Open questionCSMSQ1 markNeeds review
Which of the following is/are part of an Instruction Set Architecture of a processor?
Your answerSelect all correct options. You can choose more than one.
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 answerQuestion 29
Open questionCSNAT1 markNeeds review
Suppose in a multiprogramming environment, the following C program segment is executed. A process goes into I/O queue whenever an I/O related operation is performed. Assume that there will always be a context switch whenever a process requests for an I/O, and also whenever the process returns from an I/O. The number of times the process will enter the ready queue during its life time (not counting the time the process enters the ready queue when it is run initially) is ______. (Answer in integer)
int main()
{
int x=0,i=0;
scanf("%d",&x);
for(i=0; i<20; i++)
{
x = x+20;
printf("%d\n",x);
}
return 0;
}
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 answerQuestion 29
Open questionCSMSQ1 markNeeds review
Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected simple graph G is/are TRUE?
Your answerSelect all correct options. You can choose more than one.
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 answerQuestion 30
Open questionCSNAT1 markNeeds review
Let
be the set of all ternary strings defined over the alphabet
. Consider all strings in
that contain at least one occurrence of two consecutive symbols, that is, “aa”, “bb” or “cc”. The number of such strings of length 5 that are possible is ______. (Answer in integer)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 answerQuestion 30
Open questionCSMSQ1 markNeeds review
Consider the two lists List I and List II given below:
List I | List II |
|---|---|
(i) Context free languages | (a) Closed under union |
(ii) Recursive languages | (b) Not closed under complementation |
(iii) Regular languages | (c) Closed under intersection |
For matching of items in List I with those in List II, which of the following option(s) is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.
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