DSBS-AN-31.01.2024

DSBS-AN-31.01.2024

Professional Development

15 Qs

quiz-placeholder

Similar activities

Testing

Testing

Professional Development

15 Qs

Quiz 1

Quiz 1

Professional Development

20 Qs

CO Level-3  Q:3

CO Level-3 Q:3

Professional Development

20 Qs

SASI -1st year -DAY4-AN (21.12.23)

SASI -1st year -DAY4-AN (21.12.23)

Professional Development

15 Qs

SASI -1st year -DAY4-FN (21.12.23)

SASI -1st year -DAY4-FN (21.12.23)

Professional Development

15 Qs

VCE-GAMMA-21.11.2023-AN

VCE-GAMMA-21.11.2023-AN

Professional Development

15 Qs

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

Professional Development

20 Qs

roots fill in the blank

roots fill in the blank

Professional Development

19 Qs

DSBS-AN-31.01.2024

DSBS-AN-31.01.2024

Assessment

Quiz

English

Professional Development

Hard

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

AI

Enhance your content

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider two strings A = "qpqrr" and B = "pqprqrp". Let x be the length of the longest common subsequence (not necessarily contiguous) between A and B and let y be the number of such longest common subsequences between A and B. Then x + 10y = ___.
33
23
43
34

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Let A1, A2, A3, and A4 be four matrices of dimensions 10 x 5, 5 x 20, 20 x 10, and 10 x 5, respectively. The minimum number of scalar multiplications required to find the product A1A2A3A4 using the basic matrix multiplication method is
1500
2000
200
100

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What happens when a top-down approach of dynamic programming is applied to any problem?
It increases both, the time complexity and the space complexity
It increases the space complexity and decreases the time complexity.
It increases the time complexity and decreases the space complexity
It decreases both, the time complexity and the space complexity

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The Fibonacci sequence is often used to illustrate dynamic programming concepts. What is the time complexity of a naive recursive implementation of Fibonacci numbers?
O(1)
O(log n)
O(n)
O(2^n)

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

time_to_reach[2][3] = {{17, 2, 7}, {19, 4, 9}} time_spent[2][4] = {{6, 5, 15, 7}, {5, 10, 11, 4}} entry_time[2] = {8, 10} exit_time[2] = {10, 7} num_of_stations = 4 For the optimal solution which should be the starting assembly line?
Line 1
Line 2
All of the mentioned
None of the mentioned

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider the following array: {1, 3, 5, 8, 9, 2, 6, 7, 6} What is the minimum number of jumps required to reach the end of the array?
1
2
3
4

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Find the longest increasing subsequence for the given sequence: {10, -10, 12, 9, 10, 15, 13, 14}
{10, 12, 15}
{10, 12, 13, 14}
{-10, 12, 13, 14}
{-10, 9, 10, 13, 14}

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?