DSBS-FN-31.01.2024

DSBS-FN-31.01.2024

Professional Development

15 Qs

quiz-placeholder

Similar activities

UNIT 7 ARTIFICIAL INTELLIGENCE- VOCAB-PART 3

UNIT 7 ARTIFICIAL INTELLIGENCE- VOCAB-PART 3

Professional Development

13 Qs

Travel

Travel

Professional Development

10 Qs

The envious Neighbour

The envious Neighbour

KG - Professional Development

11 Qs

IELTS Essay Types

IELTS Essay Types

University - Professional Development

20 Qs

Vocab  210

Vocab 210

University - Professional Development

20 Qs

Post test Mini LL.M

Post test Mini LL.M

Professional Development

15 Qs

U12 Practice (Interchange 1)

U12 Practice (Interchange 1)

Professional Development

19 Qs

Wonders G4 U2 W1

Wonders G4 U2 W1

Professional Development

17 Qs

DSBS-FN-31.01.2024

DSBS-FN-31.01.2024

Assessment

Quiz

English

Professional Development

Hard

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which one of the following array elements represents a binary min heap?
12 10 8 25 14 17
8 10 12 25 14 17
25 17 14 12 10 8
14 17 25 10 12 8

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will be the position of 5, when a max heap is constructed on the input elements 5, 70, 45, 7, 12, 15, 13, 65, 30, 25?
5 will be at root
5 will be at last level
5 will be at second level
5 can be anywhere in heap

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following algorithms is the best approach for solving Huffman codes?
greedy algorithm
exhaustive search
divide and conquer algorithm
brute force algorithm

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Fractional knapsack problem is solved most efficiently by which of the following algorithm?
Backtracking
Greedy algorithm
Dynamic programming
Divide and conquer

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Fractional knapsack problem is also known as __________
0/1 knapsack problem
Continuous knapsack problem
Divisible knapsack problem
Non continuous knapsack problem

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the objective of the knapsack problem?
To get maximum total value in the knapsack
To get maximum weight in the knapsack
To get minimum total value in the knapsack
To get minimum weight in the knapsack

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The main time taking step in fractional knapsack problem is ___________
Breaking items into fraction
Adding items into knapsack
Sorting
Looping through sorted items

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?