Please login

Prime

Prepinsta Prime

Video courses for company/skill based Preparation

(Check all courses)
Get Prime Video
Prime

Prepinsta Prime

Purchase mock tests for company/skill building

(Check all mocks)
Get Prime mock

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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()

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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.

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

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

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]


Buy TCS NQT Paid Materials

Paid Materials TCS NQT

Join TCS NQT Online Classes

Completed

0/0

Accuracy

0%

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Comments