>
Exams
>
Programming and Data Structure
>
Stack
>
which of the following sequences of output can be
Question:
Which of the following sequences of output can be generated?
GATE CS
Updated On:
Feb 12, 2024
200, 300, 400, 100
100, 200, 400, 300
400, 200, 100, 300
300, 200, 400, 100
Hide Solution
Verified By Collegedunia
The Correct Option is
A,
C,
D
Solution and Explanation
The correct options are (A), (C) & (D).
Download Solution in PDF
Was this answer helpful?
0
0
Questions Asked in GATE CS exam
With respect to a TCP connection between a client and a server, which of the following is true?
GATE CS - 2026
Computer Networks
View Solution
Let $P, Q, R, S$ be relational schemas. Let ``$\rightarrow$'' indicate a functional dependency (FD) in this context. Which of the following best describes the meaning of a functional dependency?
GATE CS - 2026
Database Management Systems
View Solution
Let a Non-deterministic Finite Automaton (NFA) have 6 states over a finite alphabet. Which of the following cannot be the number of states in a minimal Deterministic Finite Automaton (DFA) that is equivalent to this NFA?
GATE CS - 2026
Theory of Computations
View Solution
A certain processor uses a fully associative cache of size 16 kB. The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?
GATE CS - 2026
Computer Organization and Architecture
View Solution
Consider $Z = X - Y$, where $X$, $Y$ and $Z$ are all in sign-magnitude form. $X$ and $Y$ are each represented in $n$ bits. To avoid overflow, the representation of $Z$ would require a minimum of:
GATE CS - 2026
Computer Organization and Architecture
View Solution
View More Questions