exam questions

Exam FC0-U61 All Questions

View all questions & answers for the FC0-U61 exam

Exam FC0-U61 topic 1 question 119 discussion

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

Which of the following BEST describes the purpose of a vector in programming?

  • A. Storing a collection of data
  • B. Repeating a similar operation
  • C. Capturing user input
  • D. Performing mathematical calculations
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
FaisalJ
Highly Voted 3 years, 9 months ago
A is correct. A vector, in programming, is a type of array that is one dimensional. Vectors are a logical element in programming languages that are used for storing data. Vectors are similar to arrays but their actual implementation and operation differs.
upvoted 8 times
Kunjesh9867
7 months, 1 week ago
Thanks for the info
upvoted 1 times
...
...
ismail069
Highly Voted 3 years, 10 months ago
A is correct. vectors are used for storing objects and collections of objects in an organized structure
upvoted 6 times
...
lexxone
Most Recent 2 months, 2 weeks ago
Selected Answer: A
A. Storing a collection of data A vector in programming is a dynamic array that stores a collection of data. It allows elements to be added or removed dynamically, making it a flexible data structure commonly used in languages like C++ and Python (as lists).
upvoted 1 times
...
Colonel23
10 months, 3 weeks ago
Sure A is correct
upvoted 1 times
...
Dion79
3 years, 6 months ago
I'd go with A
upvoted 2 times
...
Eunike_Nally1
3 years, 11 months ago
I believe it's supposed to be D
upvoted 1 times
yanis88
1 year, 9 months ago
Nah, A is correct!
upvoted 1 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