Perl Variables  «Prev  Next»

Scalar Type and Variable - Quiz

Each question is worth one point. Select the best answer for each question.
 
1. Which of the following is a correct scalar variable name?
Please select the best answer.
  A. firstName
  B. $1firstName
  C. $firstName



2. What is the difference between a scalar value and a scalar variable?
Please select the best answer.
  A. A scalar value has a name associated with it
  B. A scalar variable has a name associated with it
  C. A scalar variable can refer to two-dimensional data

Your score is 0.0