Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In theabove equations: F =Force (N); m-mass (Kg); a a acceleration (m/sh v veloc

ID: 3888408 • Letter: I

Question

In theabove equations: F =Force (N); m-mass (Kg); a a acceleration (m/sh v velocity (n/s), t-time Q5.(12 points) State whether the following are valid identifiers (variable names, function names etc.) they are invalid names state why? If valid state if they are mnemonic names Note: there are 4 requirements, set by compiler/assembler for identifiers ( a variable used by programmer). 1. it cannot be Ct+ keyword? 2.It cannot have a special character or blank space. Underscore is permitted 3. It must begin with an alphabet or an underscore. 4.The maximum number of characters in an identifier is 1024 Power Density m1234S a. b. d. newamp e. 1234 f. abcd total h. tangent absval j. Computed k. a2-b2 32292 19 PERPORATED

Explanation / Answer

5. Power, Density, m1234$, newamp, abcd, total, tangent, absval, Computed are valid identifier

1234 is invalid as it does not start with letter or underscore

a2-b2 contains special characer, it is a expression so invalid

Power, Density, newamp,total, tangent, absval, Computed are mnemonic names as they are words in english