IT 116: Introduction to Scripting
Class 4 Ungraded Quiz

  1. What is an expression?


  2. What are the four types of expressions?


  3. What is wrong with the following variable name?
    1st_try



  4. Is there a limit to the number of arguments you can use in a print function?


  5. What is the name of the function used to read input from the keyboard?


  6. What is purpose of the argument to the function mentioned above?


  7. Write an assignment statement that asks the user for his or her name and assigns it to the variable name.


  8. 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.


  9. 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.


  10. Name three data types.