FC0-U61 · Question #418
Consider the following statements: Given the input (userin) of "analyst", to which of the following would the clearance variable be set?
The correct answer is D. restricted. Float is a data type that can store decimal or fractional numbers, such as 3.14, 0.5, or -2.75. Float would be the best data type to use for storing monetary values because monetary values often involve decimals, such as $1.99, 0.25,or-5.50. Integer is a data type that can only s
Question
Consider the following statements:
Given the input (userin) of "analyst", to which of the following would the clearance variable be set?
Exhibit
Options
- Atopsecret
- Bnormal
- Canalyst
- Drestricted
How the community answered
(45 responses)- A4% (2)
- B7% (3)
- C16% (7)
- D73% (33)
Explanation
Float is a data type that can store decimal or fractional numbers, such as 3.14, 0.5, or -2.75. Float would be the best data type to use for storing monetary values because monetary values often involve decimals, such as $1.99, 0.25,or-5.50. Integer is a data type that can only store whole numbers, such as 1, 0, or -2. Integer would not be suitable for storing monetary values that have decimals. The other options are not data types that can store numerical values.
Topics
Community Discussion
No community discussion yet for this question.
