Ask
your own question, for FREE!
Computer Science
6 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
Bounty:
how does this sound any pointers on how to make ur voice more powerful
Wolfwoods:
"sometimes the best comfort that is given is simply existing in someone's life. Not everything has to be seen or heard to be understood by the person who lo
TJH:
I wanted to thank the mods and people of qc for the chance to make ne friends this school year and hope everyone has an even better year next year TJH signi
Demon25:
What is the worst thing about senior year in high school? What are some tips to h
notmeta:
My geometry teacher is letting us use an 8x11 sheet cheat for the final. What are
Wolfwoods:
From sunset to sun rise we were entangled together, our hands never leaving each others bodies.
1 day ago
6 Replies
2 Medals
2 days ago
1 Reply
0 Medals
4 days ago
13 Replies
1 Medal
4 days ago
4 Replies
0 Medals
5 days ago
6 Replies
1 Medal
4 days ago
11 Replies
3 Medals