Question
QUESTION 1 in Do-while-loop...? a.the loop may not run any iteration b.the number of iterations is known in advanced c.it checks the loop condition first
QUESTION 1
in Do-while-loop...?
a.the loop may not run any iteration
b.the number of iterations is known in advanced
c.it checks the loop condition first
d.it does the loop instructions first
QUESTION 2
A counter keeps track of _________.
a.the number of times an event has occurred
b.the number of machine cycles required by a segment of a program
c.the number of loop structures with a program
d.the number of times software has been revised
QUESTION 3
When two loops are nested, the loop that is contained be the other is the __________ loop.
a.captive
b.unstructured
c.inner
d.outer
QUESTION 4
To ensure that a user's entry is the correct data type, frequently you _________________.
a.prompt the user to verify that the type is correct.
b.use a method built into the programming language.
c.include a statement at the beginning of the program that lists the data types allowed
d.all of the above
QUESTION 5
A while loop ________.
a.has a body that must execute at least one time
b.is a type of pretest loop
c.can be replaced by a for loop
d.1+2
$ @85 LG .11 76% 6:04 AM 1thecs.s.lte luupw..:liutilu:1 OUE$TION 2 A courter keeps tr3ck of of timea an event has occumed 1he number of mochie cycks requred by senment of program 1he number of loop strctures with s progrsm ofumea a sottware haa bean 111.STICIN cop caplive uiatrucbur lo ensure that auser's entry is the correc! dMA type, frenently yo" prompt lhe user ID yenty th 11he type is carrect. melhod buih nto the programming langunge. Includestatemen atthe bednning of lhe program d'at llsta tie da types allowed hc above QUISTION 3 A whllc loop HK H lady llll mal H.HI-" HI IH.xl ane lil"H typ aprettlop can be replaced by for loop 1+2 LTiCK suse!ni "ide'lli !e s:1w!!. submu. LZici, iave tii. ..ses s w suwe!li uudkw sStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started