/7

Please pay attention that some questions have multiple choice


ELEKS quiz

Complete the test with a score of 40-100% to receive a prize.

The number of attempts remaining is 1

Please fill in the form

1 / 7

What will happen when this code runs?


def counter_decorator(func):
    count = 0

    def wrapper(*args, **kwargs):
        nonlocal count
        count += 1
        print(f"Call #{count}")
        return func(*args, **kwargs)

    return wrapper


@counter_decorator
def greet(name):
    print(f"Hello, {name}!")


greet("Alice")
greet("Bob")

2 / 7

What will this code print ?


def counter():
    for i in range(5):
        yield i
    yield "done"

gen = counter()
print(next(gen))

for num in gen:
    if num == 2:
        break
    print(num)

print(list(gen))

3 / 7

What operation should you perform on every value of a numerical variable to make its average exactly equal to zero, while preserving its variance?

4 / 7

When it is reasonable to use the Leave-One-Out Cross-Validation (LOOCV)?

5 / 7

What was the initial LeNet-5 neural network use case?

6 / 7

A baker wants to model the number of raisins found in each muffin they bake. He knows that on average, there are 5 raisins per muffin, and raisins are distributed randomly and independently. Which probability distribution is most appropriate to model the number of raisins in a single muffin?

7 / 7

Pick one answer that describes slowly changing dimensions Type 2. (SCD2)

Your score is

The average score is 48%

0%

© 1991-2025 ELEKS, All rights reserved