Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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 s

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions

Question

Develop skills for building positive relationships.

Answered: 1 week ago

Question

Describe techniques for resolving conflicts.

Answered: 1 week ago

Question

Give feedback effectively and receive it appropriately.

Answered: 1 week ago