Answer the following statements true (T) or false (F)
1. When declaring a variable that will refer to a submarine, a good name for the variable is sub.
2. The function Int will always round mixed numbers down to the next lowest integer.
3. Round(dblNum, 2) rounds the value of dblNum to two decimal places.
4. When using the equal sign to assign values, the variable on the left hand side of the equal
sign will always receive the value.
5. The variables firstName and firstNAME are identical.
1. False
2. True
3. True
4. True
5. True
You might also like to view...
What is the name of the function to convert from a c-string that contains only digits to an integer?
Fill in the blank(s) with the appropriate word(s).
Which of the following statements is false?
a. Like other popular languages, such as Java and C#, Python is a purely func-tional language. b. Functional-style programs can be easier to parallelize to get better perfor-mance on today’s multi-core processors. c. You’ve already used list, string and built-in function range iterators with the for statement, and several reductions (functions sum, len, min and max). d. All of the above statements are true.
To embed a chart, you select the ________ option in the Paste Special dialog box
A) Paste link B) Paste C) Paste object D) Paste chart
Which of the following is a case on a desktop that contains and protects the item shown in the accompanying figure and other electronic components?
A. system unit B. master section C. control port D. base chip