make it stop

make it stop

University

•

25 Qs

quiz-placeholder

Similar activities

Python MCQ

Python MCQ

University

•

20 Qs

Network topologies

Network topologies

8th Grade - University

•

20 Qs

WML & WAP

WML & WAP

University

•

20 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

•

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

•

20 Qs

QUIZ BAB 4: SISTEM OPERASI

QUIZ BAB 4: SISTEM OPERASI

8th Grade - University

•

20 Qs

INTERNET

INTERNET

University

•

20 Qs

Round 1 ( RHA Learner Contest )

Round 1 ( RHA Learner Contest )

University

•

20 Qs

make it stop

make it stop

Assessment

Quiz

•

Computers

•

University

•

Practice Problem

•

Medium

Created by

Shan Alingasa

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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

Already have an account?