Ask
your own question, for FREE!
Computer Science
13 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
glomore600:
to all who knows me here on qc, I'm quitting this app. mainly because this app has bought pain to my mental state and the lack of communication because of f
danielfootball123:
here is an update on my site (screen recording coming up
xXMarsXx:
His ABC's. A is for how attractive you were. B is for how you went behind my back.
zanesafoodie:
mirrors and broken glass reminds me of nothing but my past I take a deep breath b
BadBunnyHalftime:
Poem: A Loss Of Time All lives are due to end someday, they could be ended maybe in each and every way.
BadBunnyHalftime:
Was asked this by a teacher for the exit ticket, I have no idea what this could possibly be.
CozyLittleBug:
What is it called when you know there's a god, but you're not sure if you want to
2 hours ago
1 Reply
0 Medals
7 hours ago
21 Replies
1 Medal
11 hours ago
8 Replies
2 Medals
17 hours ago
10 Replies
0 Medals
13 hours ago
4 Replies
0 Medals
7 hours ago
11 Replies
1 Medal
1 day ago
6 Replies
1 Medal