Ask
your own question, for FREE!
Computer Science
30 Online
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.
Still Need Help?
Join the QuestionCove community and study together with friends!
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!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
gelphielvr:
I have a square to design with graffiti for my art class. Does anyone know what I
gelphielvr:
Based on the 1920s identify new behaviors, dress, and attitudes of women in Ameri
gelphielvr:
How did buying on credit create an economic boom in the 1920s?
gelphielvr:
Where are the different types of valance electrons located on the periodic table?
Twaylor:
It's my birthday :D 16 Years - What have I done? No idea how to start this so Iu2019ll just start by typing how I think.
breiadabrattzz:
Which from the following underlined text is the most effective way to introduce t
2 hours ago
7 Replies
0 Medals
10 minutes ago
11 Replies
0 Medals
14 minutes ago
4 Replies
0 Medals
1 day ago
3 Replies
3 Medals
10 hours ago
103 Replies
7 Medals
2 days ago
32 Replies
1 Medal