
round 2
Authored by PETLU BATCH
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following option is objective of the topology diagram
Configuring and Troubleshooting a Switched Network
Performing an Initial Switch Configuration
Performing an Initial Router Configuration
Configuring WEP on a Wireless Router
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If circular queue is implemented using array having size MAX_SIZE in which array index starts with 0, front points to the first element in the queue, and rear points to the last element in the queue. Which one of the following conditions used to specify that the circular queue is empty?
Front=rear=0
Front=rear= -1
Front=rear= --1
a) None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are given a function to find the shortest path using Dijkstra's Algorithm. Fill in the missing line.
heapq.heappush(pq, (distance, neighbor))
heapq.heappush(pq, (current_distance, neighbor))
pq.append((distance, neighbor))
pq.append((current_distance, neighbor))
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are given a function to merge two sorted arrays in the merge step of Merge Sort. Fill in the missing lines.
j += 1 and i += 1
i += 1 and j += 1
i += 1 and k += 1
i += 1 and k += 1
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the AVL tree among the following options?
C
A
Both A and C
B
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose a depth-first search is executed on the graph below, starting at some unknown vertex. Assume that a recursive call to visit a vertex is made only after first checking that the vertex has not been visited earlier. Then the maximum possible recursion depth (including the initial call) is _________.
15
19
18
24
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose you are given an implementation of a queue of integers. The operations that can be performed on the queue are:
i. isEmpty (Q)—returns true if the queue is empty, false otherwise.
ii. delete (Q): deletes the element at the front of the queue and returns its value.
iii. insert (Q, i)—inserts the integer i at the rear of the queue.
Consider the following function:.
What operation is performed by the below function, f?
Reverses the order of the elements in the queue Q
Empties the queue Q
Leaves the queue Q unchanged
None of the above
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?