Quiz [ MCQ ]
Stacks & Queues
The following sequence of operations is performed on a stack: PUSH(10), PUSH(20), POP, PUSH(10), PUSH(20), POP, POP, POP, PUSH (20), POP The sequende of values popped out is:
let * be defined as X*Y = !X+Y. Let z= X*Y value of Z*X is
The concatenation of two lists is to be performed in O(1) time. Which of the following implementations of a llist should be used?
If the proposition ~p => q is true, then the truth value of the proposition ~p v (p => q), where ~ is negation, 'V' is inclusive or and '=>' is implication, is
Which scheduling policy is most suitable for a time-shared operating systems?
The number of substrings (of all lengths inclusive) that can be formed from a character string of length n is
©2020 Gate2iit. All rights reserved