exam questions

Exam FC0-U61 All Questions

View all questions & answers for the FC0-U61 exam

Exam FC0-U61 topic 1 question 117 discussion

Actual exam question from CompTIA's FC0-U61
Question #: 117
Topic #: 1
[All FC0-U61 Questions]

Which of the following BEST explains the use of float over integer to store monetary values?

  • A. It accepts negative values.
  • B. It stores symbols
  • C. It accommodates larger values.
  • D. It supports decimals.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lexxone
2 months, 1 week ago
Selected Answer: D
D. It supports decimals. Explanation: Monetary values often include cents or fractional units (e.g., $10.99), which require decimal precision. Floats (or better alternatives like decimal types) allow for precise representation of values with decimals, unlike integers, which only store whole numbers. Why not the other options? A. It accepts negative values. → Both integers and floats can store negative values. B. It stores symbols. → Data types do not store symbols; string data types are used for that. C. It accommodates larger values. → While floats can store large values, integers can also represent large whole numbers (and often with more precision for whole numbers).
upvoted 1 times
...
69
8 months, 4 weeks ago
FLOAT - DECIMALS INTEGER - WHOLE NUMBER CHARACTER- A SINGLE NUMBER BOOLEAN - ON/OFF SWITCH OR IF STATEMENT, DETERMINES WHAT IS IN AND WHAT STAYS OUT / PARAMETER STRING - COLLECTION OF NUMBERS
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago