1. What is the purpose of the input function?
Allow the program to make choices
Display text in the console
Store data in a structured way
Allow the user to enter data which can be used by the program
2. Which of the following input statements are valid?
answer=input(Is RAM volatile or non-volatile?)
answer=input(“Is RAM volatile or non-volatile?”)
answer=print(“Is RAM volatile or non-volatile?”)
answer=imput(“Is RAM volatile or non-volatile?”)
Log in or sign-up to access the quiz
Don't have a login?
You can still revise this topic