Complete GATE CSE 2020 Paper 1 overview, original pages and practice · Timed previous-paper practice

Questions 49–51 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 17 of 22

Question 39

Open question
CSMCQ2 marksNeeds review
Which one of the following predicate formulae is NOT logically valid? Note that

is a predicate formula without any free occurrence 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

Question 40

Open question
CSMCQ2 marksNeeds review
Let

be a directed, weighted graph with weight function

. For some function

, for each edge

, define

as

. Which one of the options completes the following sentence so that it is TRUE? “The shortest paths in

under

are shortest paths under

too, ________.”
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 41

Open question
CSMCQ2 marksNeeds review
In a balanced binary search tree with

elements, what is the worst case time complexity of reporting all elements in range

? Assume that the number of reported elements 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