Evaluator Report

Anushri

Roll: 2423509
File: Lohitakksh-2423531-PracticeTest .ipynb
Total: 24.0/24 (100.0%)

Question: check_number

+
Description: **Return:** A string such as `'Positive'`, `'Negative'`, or `'Zero'`
AssertionStatusScoreError
assert check_number(5) == 'Positive'passed1.0
assert check_number(-3) == 'Negative'passed1.0
assert check_number(0) == 'Zero'passed1.0

Question: numbers_1_to_n

+
Description: Example if n = 5 then **Return:** `[1, 2, 3, 4, 5]`
AssertionStatusScoreError
assert numbers_1_to_n(5) == [1, 2, 3, 4, 5]passed1.0

Question: even_numbers_1_to_n

+
Description: Example if n = 11 then **Return:** `[2, 4, 6, 8, 10]`
AssertionStatusScoreError
assert even_numbers_1_to_n(11) == [2, 4, 6, 8, 10]passed1.0

Question: square_number

+
Description: **Example:** For input `4`, return `16`
AssertionStatusScoreError
assert square_number(4) == 16passed1.0
assert square_number(0) == 0passed1.0

Question: check_password

+
Description: **Example:** Input `'java'` → `'Access Denied'`; Input `'python'` → `'Access Granted'`
AssertionStatusScoreError
assert check_password('python') == 'Access Granted'passed1.0
assert check_password('PYTHON') == 'Access Denied'passed1.0
assert check_password('java') == 'Access Denied'passed1.0

Question: larger_number

+
Description: **Example:** Input `(4, 9)` → `9` **Return:** The larger number.
AssertionStatusScoreError
assert larger_number(4, 9) == 9passed1.0
assert larger_number(10, 3) == 10passed1.0
assert larger_number(5, 5) == 5passed1.0

Question: even_or_odd

+
Description: **Example:** Input `4` → `'Even'`
AssertionStatusScoreError
assert even_or_odd(2) == 'Even'passed1.0
assert even_or_odd(3) == 'Odd'passed1.0

Question: sum_1_to_n

+
Description: **Example:** Input `5` → `15` because 1+2
AssertionStatusScoreError
assert sum_1_to_n(5) == 15passed1.0
assert sum_1_to_n(10) == 55passed1.0

Question: squares_1_to_n

+
Description: if n is 5 **Return:** `[1, 4, 9, 16, 25]`
AssertionStatusScoreError
assert squares_1_to_n(5) == [1, 4, 9, 16, 25]passed1.0

Question: count_letter

+
Description: **Example:** Input `('banana', 'a')` **Return:** `3`
AssertionStatusScoreError
assert count_letter('banana', 'a') == 3passed1.0
assert count_letter('apple', 'p') == 2passed1.0
assert count_letter('python', 'z') == 0passed1.0

Question: average_of_three

+
Description: **Example:** Input `(4, 8, 10)` → `7.3333...` **Return:** The arithmetic mean of the three numbers.
AssertionStatusScoreError
assert round(average_of_three(4, 8, 10), 2) == 7.33passed1.0
assert average_of_three(3, 3, 3) == 3passed1.0
assert average_of_three(10, 0, 5) == 5passed1.0

Student Summary

StudentRoll NumberMarks ObtainedOut of
Anushri242350924.024