Ask
your own question, for FREE!
Computer Science
32 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
MariaNorie:
I am working on my art class, but I was wondering if I am shading, is charcoal pe
thereneelg:
Hey guys!!! This is my first time doing Digital art. How did I do? Yes, I decided not to colour it and just make the outlines the colours they're supposed t
jhaseker:
Anyone got help with this but I'm confused with this question. How do we accurate
JBlizzy:
the old me and new me the old me would let people push him around and he would ta
unknownnnnnn:
life is great. life is great, right? parents separate parents fight 24/7 walls shake doors slam silence feels louder than screaming father cheats like vows
jhaseker:
I need a creator to explain dis but why there lines on my chat like symbols
addison123456:
Iu2019m just so tired, like completely drained. I donu2019t even want to be here anymore; the weight of everything is just too much to carry.
CloverKris:
If I were to make a bullet game similar in gameplay to the famous Touhou, does an
1 hour ago
7 Replies
6 Medals
2 days ago
3 Replies
0 Medals
4 hours ago
19 Replies
1 Medal
1 day ago
4 Replies
0 Medals
2 days ago
6 Replies
1 Medal
2 days ago
17 Replies
2 Medals
4 days ago
0 Replies
0 Medals
2 days ago
4 Replies
1 Medal