make it stop

make it stop

University

25 Qs

quiz-placeholder

Similar activities

Compiler Design

Compiler Design

University

20 Qs

Midterm Exam - DV - Part 1

Midterm Exam - DV - Part 1

University

20 Qs

Visualization

Visualization

University

20 Qs

Cybersecurity Essentials Chapter 5 Review

Cybersecurity Essentials Chapter 5 Review

9th Grade - University

20 Qs

BCS 8th BDA Quizz

BCS 8th BDA Quizz

University

20 Qs

Cybersecurity Essentials Chapter 2 Review

Cybersecurity Essentials Chapter 2 Review

9th Grade - University

20 Qs

AJP - UNIT I - DESIGN PATTERNS

AJP - UNIT I - DESIGN PATTERNS

University

20 Qs

DWDM Unit1 Quiz

DWDM Unit1 Quiz

University

21 Qs

make it stop

make it stop

Assessment

Quiz

Computers

University

Medium

Created by

Shan Alingasa

Used 12+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you have an array of coins [9, 6, 5. 1) and you want to make change for 11 cents using the minimum number of coins. What is the optimal subset of coins that you should use?

[6.5]

[9.1,1]

[1,1,1,1,1,1,1,1,1,1,1]

[5,5.1]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for the number of edges that are incident to a vertex in a graph?

Size

Length

Degree

Order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you have a hash table of size 10 that uses the hash function h(k) = k mod 10. What is the index of the cell where the key 35 will be stored ?*

3

7

0

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for a connected graph that has no cycles?

5panning tree

Bipartite graph

Tree

Forest

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the optimization technique that speeds up the execution of a function by caching its previous results and returning them when the same inputs are given again ?

Parallelization

Memoization

Recursion

iteration

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the property that a problem must have in order to be solved by dynamic programming. which means that the optimal solution of the problem can be obtained by using the optimal solutions of its subproblems ?

Optimal substructure

Greedy choice

Overlapping subproblems

Divide and conquer

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the problem that asks for the optimal way to select a subset of activities from a given set. such that no two activities overlap in time and the number of selected activities is maximized, which can be solved using a greedy algorithm?

Coin change problem

Activity selection problem

Knapsack problem

Job scheduling problem

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?