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
Tanasia:
I just wanna ask if you guys can help me pray for my twin she is in the hospital due to gallstones she might have to get her kindey or liver removed she is
Twaylor:
how do I make my candy harder? is it the cook time, sugar amount, water amount, o
curriful:
Is there a maximum to how many emojis you can add onto a QC group? Or is it limit
zanesafoodie:
have any of you worked with a teacher that you physically just CAN'T suck it up a
Shadow:
Hello QuestionCove Users! Today we are officially announcing two promotions to our staff, @eiwoh2 (Howie) as our new Senior Moderator, and @axie as our new
Arizona:
I'm Doing the ACT testing tomorrow which I feel like I don't even want to try but my friends are making me.
Twaylor:
NASA's Artemis II will be going around the moon today at exactly 1 pm EST (right now) https://www.
5 hours ago
2 Replies
0 Medals
18 hours ago
2 Replies
0 Medals
18 hours ago
4 Replies
2 Medals
2 days ago
3 Replies
0 Medals
2 days ago
29 Replies
14 Medals
4 days ago
4 Replies
3 Medals
3 days ago
1 Reply
1 Medal