QuestionQ92

VerifiedIT Concepts and Terminology

Given this 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 option best describes the type of data being used?

Explanation

The DATA statement contains an ordered sequence of numeric elements, and READ obtains successive elements from that sequence into Q and W. This is best described as an array.

Community Discussion

No comments yet. Be the first to start the discussion!