The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+1 vote
I want to challenge the recursive question of gate 2019.Can u suggest what supporting document can be placed?
in GATE by (271 points) | 1.3k views

8 Answers

+2 votes
please do challenge the question because none of the option is matching, you may get reference from gate 2017 question on foo. Give proper justification of stack overflow, explain every concept related to recurssion, and if possible upload in one pdf.
by (73 points)
what about nor gate question?
can u please help me?

minimum 3 NOR gates are required,hope they will correct the answer.

we have to challenge the question.we does not depend on hope
+2 votes

Here is the code running:  


It keeps on running for 15 seconds. 

by Junior (521 points)
+1 vote
Gate 2017 question on foo function
by (139 points)
+1 vote
for nor gates answer 4 is correct.plz read the question carefully it asking for sum of product i.e. BD+B'D' not for product of sum.
by (85 points)

3 should be correct
i had read the question

the question say that it is expressed in form of sop but minimum no is 3
0 votes
52 is correct answer because in return statement post increment is there so initially it will return 7 itself.
by (85 points)
0 votes
Are you talking about r();r(); r() ? you can just run it in your computer and see the output.
by Junior (521 points)

i am asking about the question whose answer shoulbe not print anything and terminate.
0 votes

@mkagenius, @iiitnaveen we are talking about the question in which there is condition while(n<0) , whether it will terminate or not.

by (11 points)
The simple logic is the first three options were outrightly wrong leaving us with the fourth option as closest to being correct.I understand under an exam situation people would have skipped it in worst case but it was only if you could not rule out the other three options also don't you feel a person say has marked prints binary in reverse should he also get marks for this question(and even not penalized). What if this question becomes the decider between you and this person.
actually i want to challenge both question

the nor gate and recursion
0 votes
Recursive program without termination will give runtime error stack overflow and program will stop because stack size over.

So answer is no output and program will stop

No option matching...Precise and sufficient.
by (11 points)

Related questions

+5 votes
5 answers
0 votes
2 answers
–2 votes
0 answers
asked Jul 1, 2018 in GATE by J Kargo 2 (-7 points) | 125 views
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
49,845 questions
54,783 answers
80,412 users