# Recent exams in GATE Overflow Tests

## Select an Exam

 Exam Category Select GATE ISRO TIFR UGC NET GATE Overflow Tests Tests by Mentors External Tests Exam Type Full Length Random Subject Wise
1
Both the programs are equivalent in the sense that the output will be the same at the end of execution. Q just writes 1 to u but this will be overwritten by the following write of 0. So, in any computer both P and Q should produce the same result at the end of execution. Correct Answer: $D$
2
their is the second option is true. Option 2 : Code A uses lesser memory and is faster than Code B If we are define 3 variable then low memory used. and if go with the 4 variable then every time d=(a-b) firstly. so the code becomes slow. so the I m go with Option 2 : Code A uses lesser memory and is faster than Code B.
3
It is told in the question "If the people suffer, the government will be unpopular". And "government will not be unpopular" means, people will not suffer. It is like $A \rightarrow B$ is true and ~B is given. So, ~A must be true. So, (A) is valid (always true). Lets take ... if no regulation then no wage or price rise So, (B) and (D) are valid (always true) and (C) and (E) are not valid.
4
50 Marks, 90 Minutes, 30 Questions