Computer Science and Information Technology
GATE CSE topic:computing PYQs
Build your understanding with focused practice from past exam papers.
Questions 221–230 of 975. Imported answers require independent review unless marked reviewed.
Question 46
Open questionCSMSQ2 marksNeeds review
Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
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 46
Open questionCSMSQ2 marksNeeds review
Consider the following relational schema along with all the functional dependencies that hold on them.
R1(A, B, C, D, E): {
,
,
}R2(A, B, C, D): {
,
,
}Which of the following statement(s) 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 47
Open questionCSMSQ2 marksNeeds review
Consider a relational schema
, with functional dependencies
. The relation
is decomposed into two relations,
and
. Which of the following statement(s) 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 47
Open questionCSMSQ2 marksNeeds review
Consider a demand paging system with three frames, and the following page reference string: 1 2 3 4 5 4 1 6 4 5 1 3 2. The contents of the frames are as follows initially and after each reference (from left to right):
initial | after |
|---|---|
- | 1* 2* 3* 4* 5* 4 1 6* 4 5 1* 3* 2* |
- | 1 1 1 1 1 1 1 6 6 6 6 6 2 |
- | - 2 2 4 4 4 4 4 4 4 4 1 1 |
- | - - 3 3 5 5 5 5 5 5 5 3 3 |
The *-marked references cause page replacements.
Which one or more of the following could be the page replacement policy/policies in use?
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 48
Open questionCSMSQ2 marksNeeds review
Which of the following predicate logic formula/formula is/are CORRECT representation(s) of the statement: “Everyone has exactly one mother”? The means of the predicates used are:
:
is the mother of
:
and
are not equalYour 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 48
Open questionCSMSQ2 marksNeeds review
consists of all active processes in an operating system.
consists of single instances of distinct types of resources in the system.The resource allocation graph has the following assignment and claim edges.
Assignment edges:
,
,
,
(the assignment edge
means resource
is assigned to process
, and so on for others)Claim edges:
,
,
,
,
(the claim edge
means process
is waiting for resource
, and so on for others)Which of the following statement(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 answerQuestion 49
Open questionCSMSQ2 marksNeeds review
is the set of non-negative integers. Let F be the set of functions from A to itself. For any two functions,
, we define
for every number
in A. Which of the following is/are CORRECT about the mathematical structure
?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 49
Open questionCSMSQ2 marksNeeds review
Three floating point numbers
,
, and
are stored in three registers
,
, and
, respectively in IEEE 754 single precision format as given below in hexadecimal:
, and
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 answerQuestion 50
Open questionCSMSQ2 marksNeeds review
Consider the following deterministic finite automaton (DFA) defined over the alphabet,
. Identify which of the following language(s) is/are accepted by the given DFA. 
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 50
Open questionCSMSQ2 marksNeeds review
Which of the following Boolean algebraic equation(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