Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
Where must the expected answer of a test come from? | StemPy Lab
Quizzes
/
Where must the expected answer of a test come from?
Python Programming
Easy
High School (11–12)
High School (9–10)
Undergraduate
General
Python Going Further › Testing and Debugging
Created by
StemPy Lab
Where must the expected answer of a test come from?
From the first answer that looks right
From running the function and copying its answer
From another test
From the rules of what the function should do
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student writes a search of a graph with a queue, but does not remember the places that were seen. The graph has a loop. What happens?
What does a passing assert show? →
More on
Python Going Further › Testing and Debugging
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Think of a bug that you met while working through this book, or write one on purpose.
Easy
This function should give the average of a list, but gives a wrong answer for [2, 4, 6] (it gives…
Easy
A pipeline has three stages. For the input "Hello, World", it should give ["hello", "world"], but…
Medium
Write three properties that must be true for any list x and the function reversed_list(x) that…
Medium
All problems on this topic →