TCS NQT Stacks and Queues Quiz – 1

Question 1

Time: 00:00:00
How can we insert different type of data in the stack.

Not possible

Not possible

By implementing union

By implementing union

Structure data type

Structure data type

Both b and c

Both b and c

Question 2

Time: 00:00:00
What type of data structure is used to create an internal space  for parameters and local variables.

Queue

Queue

Stack

Stack

tree

tree

array

array

Question 3

Time: 00:00:00
What type of method is used to place a method onto the top of the Stack.

pop()

pop()

push()

push()

Evaluation()

Evaluation()

Create()

Create()

Question 4

Time: 00:00:00
If user is trying to pop element from the empty stack, the condition is called as

Overflow condition

Overflow condition

Underflow condition

Underflow condition

Garbage collection

Garbage collection

Empty collection

Empty collection

Question 5

Time: 00:00:00
If a stack size is 5 and the user is trying push more elements then the condition is

Underflow

Underflow

Crash

Crash

Overflow

Overflow

Userflow

Userflow

Question 6

Time: 00:00:00
Handling of interruption is real time system so that these interruptions are handled in some order. The order is

Last in first out

Last in first out

First come first serve

First come first serve

Both can be use

Both can be use

Both are not use

Both are not use

Question 7

Time: 00:00:00
Call center bassically solve the customer queries. So when the two customer call in call center so that one of them have to stay in hold. So what type of data structure  is used here

Tree

Tree

Stack

Stack

Queue

Queue

Calls are picked randomly.

Calls are picked randomly.

Question 8

Time: 00:00:00
When a lady wears and removes her bangles what type of data structure she is using.

queue

queue

hashing

hashing

stack

stack

none of them

none of them

Question 9

Time: 00:00:00
When multiple processes require CPU at the same time, various CPU scheduling  algorithms are used which are implemented using data structure, That is:

tree

tree

link list

link list

Advance data structure

Advance data structure

Queue

Queue

Question 10

Time: 00:00:00
When the data is transferred  asynchronously between two processes. Then data structure is used for synchronization.

Hashing

Hashing

Stack

Stack

Queue

Queue

Tree

Tree

null
null


Buy TCS NQT Paid Materials

Paid Materials TCS NQT

Join TCS NQT Online Classes