IT 116: Introduction to Scripting
Class 4 Ungraded Quiz
-
What is an expression?
-
What are the four types of expressions?
-
What is wrong with the following variable name?
1st_try
-
Is there a limit to the number of arguments you can use in a
print
function?
-
What is the name of the function used to read input from the keyboard?
-
What is purpose of the argument to the function mentioned above?
-
Write an assignment statement that asks the user for his or her name and
assigns it to the variable name.
-
Write an assignment statement that asks the user for an integer, converts it
to the correct data type and assigns it to the variable number.
-
Write an assignment statement that asks the user for a decimal number, converts it
to the correct data type and assigns it to the variable number.
-
Name three data types.