Question 1

Time: 00:00:00
Which bitwise operations are used to toggle a particular bit?

SHIFT

SHIFT

XOR

XOR

MASK

MASK

AND

AND

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

Please login to submit your explanation

Question 2

Time: 00:00:00
How many minimum numbers of stacks are required to implement a stack?

2

2

1

1

4

4

Zero

Zero

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

Please login to submit your explanation

Question 3

Time: 00:00:00
How can we initialize an array in C language ?

int arr [ 2 ] ( 70 , 80 )

int arr [ 2 ] ( 70 , 80 )

int arr [ 2 ] = { 70 , 80 }

int arr [ 2 ] = { 70 , 80 }

int arr ( 2 ) = { 70, 80 }

int arr ( 2 ) = { 70, 80 }

int arr ( 2 )=( 70 , 80 )

int arr ( 2 )=( 70 , 80 )

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

Please login to submit your explanation

Question 4

Time: 00:00:00
Which one of the following is the size of int arr [ 7 ] assuming that int is 8 bytes ?

49

49

65

65

56

56

87

87

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

Please login to submit your explanation

Question 5

Time: 00:00:00
Which one of the following is the process of inserting an element in the stack ?

Pop

Pop

Insert

Insert

Dequeue

Dequeue

Push

Push

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

Please login to submit your explanation

Question 6

Time: 00:00:00
In which of the following conditions does the user try to delete the element from the empty stack ?

Overflow

Overflow

Underflow

Underflow

Empty

Empty

None of the above

None of the above

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

Please login to submit your explanation

Question 7

Time: 00:00:00
Which data structure is mainly used for implementing the recursive algorithm ?

Array

Array

Linked list

Linked list

Stack

Stack

Queue

Queue

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

Please login to submit your explanation

Question 8

Time: 00:00:00
Which data structure is required to convert the infix to prefix notation ?

Array

Array

Linked list

Linked list

Stack

Stack

Queue

Queue

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

Please login to submit your explanation

Question 9

Time: 00:00:00
Which of the following is the infix expression ?

+ E * F / G H

+ E * F / G H

E+G*/FH

E+G*/FH

E F * G H / +

E F * G H / +

E/F*G+H

E/F*G+H

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

Please login to submit your explanation

Question 10

Time: 00:00:00
Which of the following are linear data structures?

Linked list

Linked list

Array

Array

Stack

Stack

All of the above

All of the above

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

Please login to submit your explanation

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

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%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.

Comments