0% found this document useful (0 votes)
10 views10 pages

Data Structures Quiz2

data struct

Uploaded by

seion vane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
10 views10 pages

Data Structures Quiz2

data struct

Uploaded by

seion vane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
siz02021 ‘SCSA1203-DATA STRUCTURES-LMS QUIZ-I on 20.08.2024 Dashboard / My courses / SCSAI203-DATA STRUCTURES / UNIT-lI 1 SCSA1203-DATA STRUCTURES-LMS QUIZ-II on 20.05.2021 Question A linear list of elements in which deletion can be done from one end (front) and insertion can take place ony at the ether end (rear) is @ a stack © b.aueve © Linked List © d tee Clear my choice Question Pushing an element to a stack means © » Searching a given elementin the stack © ba Sorting the elements inthe stack @ € Ading 4 new element tothe stack © 4. Removing an element fom the stack Clear my choice Question Not yet answered area out ot .20 A stacks a data stuctute in which additionof new elemento deletion of an existing element always takes place at an end called POP Select one O we © Fake hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 sno siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I vestion Notyet newer Insertion and Deletion operation in Queue is known 35 ? © ® Insert and Dek @ b Enqueue and Dequeve © e Pushand Pop © a. None ofthe given options Clear my choice Question Not yet answered Stack data structure cannot be used for @ 2. Allocation Resources and Scheduling Ob Reversing string © € Evaluation of string in post form © dl mplementation of Recursive Function Clear my choice uestiond Aqueve follows @ aro © b.uFo Oc Ordered array © d.None ofthe given options Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 2no siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I uestion7 Notyet newer ‘A Queue Data Structure can be used for © »- Recursion O Expression Parsing @ c Resource Allocation © dAllofthe given options Clear my choice Question & Not yet answered ‘What wil be the initial value with which top is intalized? Oro © d.careage Clear my choice Question In the stack, i the user try to remove elementfrom the empty stack t © 2 overflow of stack © b Garbage Collection © c Undertow of stack d.Empty Collection Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 3n0 siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I on 20.08.2024 vention 10 Notyet newer Circular queue is also known 35. © ».Ring Butler © b curve Butler © e Rechtangle Butler Od. Square butter Clear my choice Question Not yet answered \What willbe the output after performing these sequence of operations push20}: push}; popo;PopO;push(S)t0p0: Oa eos © « stack undertow an Clear my choice Question 12 arked out of .00 Ifthe sie ofthe stack is 10 and we try to add the 17th element inthe stack then the colton is known 35 © Garbage Collection © b overtow © € Undertow © d.None ofthe given option Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 4no on 20.08.2024 siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I Question 13, Notyet newer Which ofthe following isthe infix expression? © ®.None ofthe given options > sae Oc asces @ ane Clear my choice Question IG Which ofthe following real world scenarios would you assaciate with a stack data structure? © @ people standing ina line tobe serviced at a counter CO be tata Ticket Booking in RCTC © < pling up of chairs one abowe the other CO d.otter services based on the priority of the customer Clear my choice Question IS Which ofthe following isthe prefix form of As B*C? @ a sac © basces O€ saw Od avec Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 510 siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I vention 6 Notyet newer Which ofthe following is not the correct statement for a stack data structure? © © rays can be usd to implement the stack @ b Stack fllowe IFO © © top ofthe stack contains the inst inserted element © 4 ements ae stored ina sequential manner Clear my choice uestion 7 ‘A normal queue, if implemented using an array of size MAX SIZE, gets fll when? © 2. Rear = front © b Front mod MAK SIZE © © Rear = MAX SIZE O d.front = rear e+ Clear my choice Question 1B Of the following choices which operator has the lowest precedence? Oar Obs eee oat Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 on 20.08.2024 ano siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I on 20.08.2024 vention 19 Notyet newer Evaluate the following statement using infix evaluation algorithm and choose the correct answer, 1#2°3-2 @as Ove Oe oa Clear my choice uestion20 Not yet answered Round robin algorithm is 2 CPU scheduling algorth is effectively used to schedule or order the processes inside the queue Select one © te O Fate vestion 21 Notyst anew Evaluation of infix expression is done based on precedence of operators, Select one © te O Fale (Question 22 ‘Queve is also called as Oa Fto Ovmo @cFIFO © duro Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 70 siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I on 20.08.2024 vention 23 Notyet newer peek operation hes to access or view front element of the queve. Select one: © tne O Fae vesion 24 Not yet newer ‘The end from which an element gets removed from the queue is callec © bitep © c bottom © d font Clear my choice vestion 25 ‘The operation of deleting an element from the queue a front position called enqueue Select one O Te © Fate question 26 Not yet anew Keyboard Buffer isan application of queue Select one: © tne O Fate hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 aio siz02021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I on 20.08.2024 vention 27 Notyet newer Ifthe elements“ “C* and °D" are placed in a queue and are deleted one at atime, in what order will they be removed? @ ».aceo © b.pcas © cDcaA © dasco Clear my choice question 28 Not yet answered Which one of the following isan application of Queue Data Stucture? © a.Whon a resource is shared among multe consumers © b Alf the above © € Load Balancing Od. When dat ie transferred asynchronously (data nt necessarily received at same rat a sent) between two pracesses Clear my choice estion 29 {A circular queue is implemented using an array of size 10. The array index starts with 0, front is 6, and rear s 8. The insertion of next element takes place at the array index. Oa ovr Oc8 @40 Clear my choice hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 sn0 5120/2021 'SCSA1203-DATA STRUCTURES-LMS QUIZ-I vestion 30 Notyet answers on 20.08.2024 Which one of he following is the overflow canltion fs cculr queue is implemented using aray having sie MAX? © a. rear= MAX © b reae= MaKe © € None ofthe given options © 4 trontn tears} mod max Clear my choice 4 UNITS STACK PPT Jump to. uNITav> (GS) saTuvazama Sathyabama Learning Management System ~Developed by Cognibot IAB e-Resources INFO Facebook Litter instagram YouTube hyabama Staff Forum GET SOCIAL Copyright © 2020 - cognibotroboticzcom hitps:isathysbama.cognisotinimodiquziattempt php attempt=5450088cmid=36977 10110

You might also like