nerdexam
CompTIA

FC0-U71 · Question #34

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?

The correct answer is B. Array. 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.

Software Development Concepts

Question

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?

Options

  • ABoolean
  • BArray
  • CVariable
  • DFunction

How the community answered

(55 responses)
  • A
    2% (1)
  • B
    93% (51)
  • C
    2% (1)
  • D
    4% (2)

Explanation

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.

Topics

#Data types#Arrays#Pseudocode#Programming concepts

Community Discussion

No community discussion yet for this question.

Full FC0-U71 Practice