Consider the following two statements : Statement I : The stack data structure…

HPSC Assistant Professor 2025

Consider the following two statements :

Statement I : The stack data structure follows LIFO policy.

Statement II : The queue data structure uses a PUSH instruction to insert an element into it.

In light of the above statements, choose the Correct answer from the options given below :

  1. A.

    Both Statement I and Statement II are true.

  2. B.

    Both Statement I and Statement II are false.

  3. C.

    Statement I is correct, but Statement II is false.

  4. D.

    Statement I is incorrect, but Statement II is true.

Attempted by 41 students.

Sign up free to check your answer

Sign up free

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…