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
ShikuniShigana:
The first image is a drawing from 2 yrs ago, the second image is something I did
Spongeboy:
bossgirl I can see ur txt but I cant txt u back it doesn't let me
676767:
GUYSSSS ITS CHRISTMAS TIMEEE! IM SO HAPPY! I LOVE EVERY SINGLE ONE OF YOUUUU! I H
Spongeboy:
A mutant cell line expresses a constitutively active \(G_{\alpha s}\) subunit coupled with a complete loss-of-function mutation in phosphodiesterase (PDE),
SaltySuga:
how deep must a cut be before its considered life threatening?
EdwinJsHispanic:
"parents" Crazy how parents can be master manipulators yet someone you love so freaking dearly, But its confusing.
14 hours ago
1 Reply
0 Medals
1 day ago
4 Replies
0 Medals
23 hours ago
4 Replies
0 Medals
3 days ago
0 Replies
0 Medals
1 day ago
7 Replies
1 Medal
1 day ago
3 Replies
0 Medals