make it stop

make it stop

University

25 Qs

quiz-placeholder

Similar activities

Parallel & Distributed Database

Parallel & Distributed Database

University

20 Qs

Chapter 14 - File System Implementation

Chapter 14 - File System Implementation

University

20 Qs

Data Structures and Algorithms Quiz - BATCH 1

Data Structures and Algorithms Quiz - BATCH 1

University

23 Qs

Hash

Hash

University

20 Qs

Lecture EIGHT.

Lecture EIGHT.

University

20 Qs

Operating System Gate and placement Questions

Operating System Gate and placement Questions

University

20 Qs

3ICTH7H8DSA

3ICTH7H8DSA

University

25 Qs

Digital Forensics

Digital Forensics

University

20 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?