Hardcoding numbers (unnamed, literal constants) in code without explanation is a bad programming practice. What are these hardcoded numbers known as?

A. constant issues
B. token numbers
C. magic numbers
D. character sets

Answer: C

Computer Science & Information Technology

You might also like to view...

Your boss just returned for a security conference and is concerned that users are not creating good passwords. He want you to run password auditing software against the password file. What would be the biggest benefit of loading the file onto a 4-server cluster and running the scan there?

A. better scan results B. faster results C. less network traffic created D. less chance of malware infection

Computer Science & Information Technology

A program that takes interactive input always

a. prompts the user for input and then extracts data from the keyboard using the >> operator b. prompts the user for input and then displays data on the screen using the >> operator c. extracts data from the keyboard using the >> operator and then prompts the user for input d. extracts data from the keyboard using the >> operator and then passes the data to a function

Computer Science & Information Technology