
Activity Book Quiz
Authored by Kelzang Lethro
others
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
41 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a program to create a function that takes two arguments, name and age, and print their value.
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code using a function that takes in the width and length of a rectangle, and returns the area and the perimeter of the rectangle.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called greet that takes a name as an argument and prints out a message addressed to the person. Test the function by calling it with your name.
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called multiply that takes two numbers as arguments and returns the result of multiplying them. Test the function by calling it with different numbers.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called is_even that takes a number as an argument and returns True if the number is even, and False otherwise. Test the function by calling it with different numbers.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called largest that takes a list of numbers as an argument and returns the largest number. Test the function by calling it with different lists of numbers.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a python code to create a function called count_vowels that takes a sentence as an argument and returns the number of vowels in the sentence.
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?