Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam FC0-U71 Topic 6 Question 2 Discussion

Actual exam question for CompTIA's FC0-U71 exam
Question #: 2
Topic #: 6
[All FC0-U71 Questions]

Which of the following data types would be best for storing data representing a phone number?

Show Suggested Answer Hide Answer
Suggested Answer: A

A phone number is best stored as a string because it may include leading zeros, parentheses, dashes, or plus signs, which are not handled properly by numeric data types like integers or floats.

Other options:

Integer and float are numeric types unsuitable for formatted phone numbers,

Char holds only a single character.


Contribute your Thoughts:

Lawana
21 days ago
I disagree. B) Integer would be more efficient for storing phone numbers as it takes up less memory and allows for easier mathematical operations.
upvoted 0 times
...
Darrin
22 days ago
I think A) String is the best choice too. Phone numbers can have different lengths and special characters.
upvoted 0 times
...
Cheryl
26 days ago
Char? What is this, the stone age? String is the way to go, people.
upvoted 0 times
Ivette
9 days ago
I agree, using a string data type allows for flexibility and easy manipulation of phone number data.
upvoted 0 times
...
Peggy
14 days ago
String is definitely the best choice for storing phone numbers.
upvoted 0 times
...
...
Micheal
1 months ago
Float? Really? Who's gonna have a phone number with decimal places?
upvoted 0 times
...
Caprice
1 months ago
Integer, because phone numbers are just numbers, right? No need for all that string stuff.
upvoted 0 times
Lachelle
3 days ago
B) Integer
upvoted 0 times
...
Elizabeth
11 days ago
A) String
upvoted 0 times
...
...
Irving
1 months ago
String for sure, gotta fit all those digits in there!
upvoted 0 times
Evangelina
10 days ago
A) String is the way to go for phone numbers.
upvoted 0 times
...
Carmen
23 days ago
Definitely String, you need all those digits!
upvoted 0 times
...
Thurman
26 days ago
A) String
upvoted 0 times
...
...
Tora
1 months ago
A) String would be best for storing a phone number because it can hold a sequence of numbers and characters.
upvoted 0 times
...

Save Cancel