Given the following pseudocode:
10 READ Q,W
20 PRINT Q,W
30 GOTO 10
40 DATA 10,20,30,40,50,60,70,80,90,100
Which of the following best defines the type of data being used?
Suggested Answer: B
Get Premium FC0-U71 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The DATA statement lists multiple values (10, 20, 30, etc.) which are stored sequentially and accessed in order, representing an array or list of data elements.
Other options:
Boolean is true/false,
Variable stores a single value,
Function performs operations or calculations.
20 comments · newest first
SE
Selma
11 months ago
Wait, are we sure it's not a function? That seems odd.
HU
Hubert
11 months ago
I thought it might be a variable, but now I'm not so sure.
HE
Herman
11 months ago
It's definitely an array. Those DATA values are a list.
SA
Sage
12 months ago
Totally agree, it's an array for sure!
KR
Kristal
12 months ago
No way it's Boolean, that's just true or false!
MA
Margret
1 year ago
I’m confused because I thought functions were involved in data processing, but this looks more like just storing values.
YO
Yoko
1 year ago
This question reminds me of a practice one we did where we had to identify data types. I feel like "Array" could be the right choice here.
DE
Delisa
1 year ago
I'm not entirely sure, but I remember something about variables being used to store single values, so that might not be it.
KI
Kimberlie
1 year ago
I think the data in the pseudocode is more like an array since it lists multiple values.
LA
Lavonna
1 year ago
I'm not too familiar with this type of pseudocode, but based on the structure and the DATA statement, I'm pretty sure the answer is B) Array.
DA
Dana
1 year ago
This seems straightforward. The array of numbers in the DATA statement is the type of data being used. I'll just need to double-check that the answer "Array" is the correct choice.
YO
Yolande
1 year ago
Okay, I think I've got this. The DATA statement is providing a list of numbers, so the type of data being used is an array. The loop is just printing out those array elements.
CA
Cassie
1 year ago
Hmm, I'm a bit confused by the pseudocode. Is this supposed to be a specific programming language? I'm not sure how to interpret the GOTO and DATA statements.
MA
Markus
1 year ago
This looks like a simple loop that reads in two values, prints them, and then repeats. The data being used is probably an array, since it's listed in the DATA statement.
CR
Crissy
1 year ago
I see your point, Novella, but I still think it's B) Array because the data is being accessed sequentially.
NO
Novella
1 year ago
I'm not sure, but I think it could also be C) Variable since the values are changing.
KA
Katie
1 year ago
I think it's a function. The GOTO statement looks like it's calling a function repeatedly.
ST
Stefania
1 year ago
I agree with Ellsworth, because the data is being stored in a list.
LA
Launa
1 year ago
Definitely an array. The pseudocode is clearly reading and printing a list of numbers.
EL
Ellsworth
1 year ago
I think the answer is B) Array.