
Code Debugging
Authored by Asst. Chennai
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
104 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
What will be the output of the following Python code? i = 1 while True: if i%3 == 0: break print(i) i + = 1
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Which of the following functions can help us to find the version of python that we are currently working on?
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
What will be the output of the following Python function? len(["hello",2, 4, 6])
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print(i, end=' ')
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
A function can be executed automatically without calling it
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the output of the following? i = 1 while False: if i%2 == 0: break print(i) i += 2
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the output of the following? x = "abcdef" while i in x: print(i, end=" ")
Evaluate responses using AI:
OFF
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?