All Quizes for ADS: Test Your Understanding

All Quizes for ADS: Test Your Understanding

12th Grade

38 Qs

quiz-placeholder

Similar activities

International Morse Code

International Morse Code

KG - Professional Development

36 Qs

maths

maths

4th Grade - Professional Development

43 Qs

KIMIA

KIMIA

12th Grade

40 Qs

Korean alphabet

Korean alphabet

KG - 12th Grade

40 Qs

Atención y Concentración 20/08/22

Atención y Concentración 20/08/22

12th Grade

40 Qs

Test repaso unidad 1 2 Bach: La economía y la empresa

Test repaso unidad 1 2 Bach: La economía y la empresa

12th Grade

37 Qs

private cloud

private cloud

12th Grade

35 Qs

Morse Code

Morse Code

KG - University

39 Qs

All Quizes for ADS: Test Your Understanding

All Quizes for ADS: Test Your Understanding

Assessment

Quiz

Other

12th Grade

Medium

Created by

mins mins

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of inserting a new element at the beginning of a linked list?

a) O(1)

b) O(log n)

c) O(n)

d) O(n log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the degree of a vertex in a graph?

a) The number of edges connected to it.

b) The number of vertices adjacent to it.

c) The number of paths that pass through it.

d) The distance from the root node to the vertex.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an adjacency list?

a) A list of all edges in a graph.

b) A list of all vertices in a graph.

c) A list of vertices adjacent to a given vertex.

d) A list of paths in a graph.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an adjacency list used for in graph representation?

a) Representing the connections between vertices using a list of lists.

b) Storing the weights of edges in a graph.

c) Creating a list of all vertices in a graph.

d) Storing the degree of each vertex in a graph.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of searching for a specific element in a sorted array using binary search?

a) O(1)

b) O(log n)

c) O(n)

d) O(n log n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an adjacency matrix used for in graph representation?

a) Storing the weights of edges in a graph.

b) Representing the connections between vertices using a 2D array.

c) Creating a list of all vertices in a graph.

d) Storing the degree of each vertex in a graph.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the peek operation in a Queue when the queue is empty?

O(1)

O(n)

O(log n)

O(n^2)

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?