The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
3,235 views posted Apr 25 in Others by Loyal (6,911 points) | 3,235 views
0
Like
0
Love
0
Haha
0
Wow
0
Angry
0
Sad

39 Comments

Dense index quest. is correct I think. I saw it in some book I think....just one ans. Is correct n that is secondary index
Question 1 is incorrect
https://gateoverflow.in/213587/isro2018-1
Question 43 answer should be Compilation error
https://gateoverflow.in/213545/isro2018-43
Let P be a procedure that for some inputs calls itself (ie recursive). If  P is guaranteed to terminate which of the following statements must be true?
1) P has a local variable
2) P has a execution path where it does not call itself
3) P either refers to a global variable or that has atleast one parameter.
 

In key it given as both 2) and 3) are correct.

But only statement 2) is correct. Consider a procedure refers a global variable or  has atleast one parameter.
But if it is not using that variable in its base condition then also the procedure doesn't terminate. It terminate only if termination condition properly use these variables. We can easily find an example.

Please comment..
Same thought yaar, pls chalange that question.
When is the final key and the result expected?
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

44,304 questions
49,797 answers
164,414 comments
65,857 users