exam questions

Exam FC0-U61 All Questions

View all questions & answers for the FC0-U61 exam

Exam FC0-U61 topic 1 question 218 discussion

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

Which of the following data is MOST likely to be stored as a string?

  • A. 3.1415927
  • B. x
  • C. Cat
  • D. 42
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
fcc_class
2 months ago
Selected Answer: C
C. Cat Explanation: A string is a sequence of characters, typically enclosed in quotes in programming languages. Among the given options, "Cat" is the most likely to be stored as a string because it consists of alphabetic characters and represents a word rather than a numerical value. Why not the others? A. 3.1415927 – This is a floating-point number (decimal), typically stored as a numeric data type. B. x – This could be stored as a character (char) rather than a full string. While some languages might treat a single character as a string, it is more commonly stored separately. D. 42 – This is an integer and would typically be stored as an int data type rather than a string unless explicitly converted. Since "Cat" is a word and not a numerical value, it is the best choice for data most likely stored as a string.
upvoted 1 times
...
teejay82
7 months, 2 weeks ago
whats the difference between x and Cat? they are both textual characters
upvoted 2 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