Ask
your own question, for FREE!
Computer Science
17 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
xXAikoXx:
Does anybody else have rapid changes in their weight? Sometimes I would lose a lot of weight, gain more, lose again, and the cycle continues lol.
Shadowandsage:
The Ghost (I did the story for a fan bc they asked on their message so now am seeing if u guys like it so this is second attempt) I was driving to the woods
breiadabrattzz:
Anyone opinons on the gurl tht died on the train or the guy tht got beheaded in m
MAGABACK:
WHY WAS CHARLIE KIRK ASSASINATED? WHY DID THAT NEED TO HAPPEN?????????????
TheVoid:
[b] Tv show script - Feedback wanted! [/b] Different parts will be put in respons
4 hours ago
5 Replies
0 Medals
12 hours ago
5 Replies
0 Medals
1 hour ago
17 Replies
0 Medals
1 day ago
78 Replies
3 Medals
20 hours ago
6 Replies
0 Medals