Ask
your own question, for FREE!
Computer Science
14 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
SnowyBreaks:
You ever get the types of dreams where it feels as if you aren't breathing? And w
laylasnii13:
Poem/diary i wrote I Want Out Iu2019m so tired of screaming into walls. Every fight with my mom leaves something broken and itu2019s not just plates or slam
Countless7Echos:
Aye.. I need actually some help on the shading here.. if the light is from above too I just feel something is off.
Countless7Echos:
I don't know just no sketch doodle day :p finished a video already so I'm pretty
7 hours ago
6 Replies
0 Medals
1 day ago
13 Replies
3 Medals
2 days ago
19 Replies
3 Medals
5 days ago
9 Replies
2 Medals