Cyber Monday 2024! 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-U61 Topic 4 Question 71 Discussion

Actual exam question for CompTIA's FC0-U61 exam
Question #: 71
Topic #: 4
[All FC0-U61 Questions]

A programmer needs to specify how to store a test score entered using a web form. Which of the following would be best to use?

Show Suggested Answer Hide Answer
Suggested Answer: A

A variable is the best option to store a test score entered using a web form. In programming, variables are used to store data values that can change over time, such as user input. The variable can be set to store the score when the user submits it, allowing the program to manipulate or display the score later as needed. Reference: The use of variables for data storage and manipulation is a basic programming concept covered in CompTIA IT Fundamentals and other introductory programming courses.


Contribute your Thoughts:

Billy
3 months ago
I'm not sure about that. I think A) Variable could also work if we only need to store one test score at a time.
upvoted 0 times
...
Latrice
3 months ago
Constant, for sure. Wouldn't want some prankster to mess with the test scores, would we? *winks*
upvoted 0 times
...
Lonna
3 months ago
Variable, all the way. I love the flexibility, you know? Keeps me on my toes.
upvoted 0 times
Miles
2 months ago
I prefer D) Array for storing multiple test scores efficiently.
upvoted 0 times
...
Lucille
2 months ago
D) Array
upvoted 0 times
...
Man
2 months ago
Definitely A) Variable, it's the most flexible option.
upvoted 0 times
...
Ronna
2 months ago
A) Variable
upvoted 0 times
...
...
Jacquelyne
3 months ago
I agree with Anjelica. Arrays are great for storing multiple values in a single variable.
upvoted 0 times
...
Anjelica
3 months ago
I think the best option would be D) Array because it can store multiple test scores.
upvoted 0 times
...
Valentin
3 months ago
An array would be perfect for storing multiple test scores. Gotta keep track of those students!
upvoted 0 times
...
Leah
3 months ago
Definitely a constant! We don't want that test score changing, right?
upvoted 0 times
Lucia
2 months ago
B: Yeah, a constant would ensure that the test score doesn't change.
upvoted 0 times
...
Flo
2 months ago
A: I think a constant would be the best choice for storing the test score.
upvoted 0 times
...
...

Save Cancel