
TECH FEUD
Authored by 20CSE091 A
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?
INSERTION SORT
QUICK SORT
HEAP SORT
MERGE SORT
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
CONSIDER THE FOLLOWING C PROGRAM
THE VALUE PRINTED BY THE PROGRAM IS:
26
25
24
22
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is an advantage of adjacency list representation over adjacency matric representation of a graph?
In adjacency list representation, space is saved for sparse graphs.
Add vertex in adjlist representation is easy than adjmatrix representation
All of the above
None of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
THE OUTPUT OF THE FOLLOWING CODE IS:
20
30
10
0
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A single array A[1…MAXSIZE] is used to implement two stacks, the two stacks grow from opposite ends of array. Variables top1 and top2(top1<top2) point to the location of the topmost element in each of the stacks, If the space is to be used efficiently, the condition for “stack full” is
(top 1= MAXSIZE/2) AND (top 2 = MAXSIZE/2 +1)
top1 1 + top 1 = MAXSIZE
(top 1= MAXSIZE/2) OR (top 2 = MAXSIZE)
top 1 = top 2 - 1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
CONSIDER THE FOLLOWING C PROGRAM
THE OUTPUT OF THE PROGRAM IS:
20
19
18
17
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following graph, among the following sequences:
(I) a b e g h f
(II) a b f e h g
(III) a b f h g e
(IV) a f g h b e
Which are depth first traversals of the above graph?
I, II AND IV only
I AND IV only
I, III, AND IV only
II, III, AND IV only
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?