Solved

The Variables LastName and FirstName Are Strings and the Variable

Question 42

Multiple Choice

The variables lastName and firstName are Strings and the variable hoursWorked is Numeric. Why would the following statements cause errors?
LastName = 10
FirstName = hoursWorked


A) String variables are being assigned literal values.
B) Numeric variables being assigned literal values.
C) The data types do not match.
D) Numeric constants are being assigned numeric values.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents