round 2

round 2

University

20 Qs

quiz-placeholder

Similar activities

Об'єктно-орієнтоване програмування

Об'єктно-орієнтоване програмування

University

20 Qs

Basic Integration

Basic Integration

12th Grade - University

17 Qs

Javapie Quiz

Javapie Quiz

University

20 Qs

TECHTRIX2025 BUGHUNT SET4

TECHTRIX2025 BUGHUNT SET4

University

20 Qs

CS8391 Data Structure U.II

CS8391 Data Structure U.II

University

15 Qs

Theory of Computation-Finite Automata

Theory of Computation-Finite Automata

University

15 Qs

Continuity and Limits at Infinity

Continuity and Limits at Infinity

11th Grade - University

19 Qs

Разработка приложений в C# 1 аттестация

Разработка приложений в C# 1 аттестация

University

25 Qs

round 2

round 2

Assessment

Quiz

Other

University

Hard

Created by

PETLU BATCH

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

Identify the AVL tree among the following options?

C

  A

Both A and C

   B

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Media Image

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?