Ask your own question, for FREE!
Computer Science 30 Online
OpenStudy (anonymous):

How will you construct a loop in Visual Basic to read delimited data from a sequential file? (1)Create a sentinel-controlled loop using the EndOfData as the sentinel value. (2)Create a counter-controlled loop using the number of records as the exit value. (3)Create a sentinel-controlled loop using the field delimiter as the sentinel value. (4)Create a counter-controlled loop using the number of fields as the exit value.

OpenStudy (anonymous):

Number 1 should be the correct answer. Typically you don't know the number of records in a file ahead of time so you can't you can't use a counter to end the loop. And using the field delimiter will not help you get the to the End Of File designation either. Leaving #1 as the only correct answer.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
MASKEDJ0Y: How many constellations are there??
2 hours ago 6 Replies 0 Medals
gelphielvr: How did buying on credit create an economic boom in the 1920s?
14 minutes ago 4 Replies 0 Medals
Twaylor: It's my birthday :D
1 day ago 0 Replies 0 Medals
breiadabrattz: I thought C on this..
2 days ago 39 Replies 2 Medals
breiadabrattz: I really don't understand this .
2 days ago 14 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!