Warm-up 01.04.2025

Warm-up 01.04.2025

Assessment

Flashcard

Professional Development

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does [] + [] evaluate to in JavaScript?

Back

2.

FLASHCARD QUESTION

Front

What does this Java snippet print? Options: true, false, NullPointerException, Compilation error

Media Image

Back

false

3.

FLASHCARD QUESTION

Front

What is the result of 0.1 + 0.2 in JavaScript?

Back

0.30000000000000004

4.

FLASHCARD QUESTION

Front

What is the time complexity of the following code? Options: O(n), O(n / 2), O(log n), O(n^2)

Media Image

Back

O(n)

5.

FLASHCARD QUESTION

Front

What is the time and memory complexity of the following code?

Media Image

Back

time - O(n), mem -O(log n)

6.

FLASHCARD QUESTION

Front

What is the time complexity of a naïve recursive Fibonacci implementation?

Media Image

Back

O(2^n)

7.

FLASHCARD QUESTION

Front

What is the main mistake in this classic binary search implementation?

Media Image

Back

Integer overflow on mid = (l + r) / 2

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?

Discover more resources for Professional Development