100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COMP 230 Week 4 Quiz | 20 out of 20 | (100% Correct Solution) $10.99   Add to cart

Exam (elaborations)

COMP 230 Week 4 Quiz | 20 out of 20 | (100% Correct Solution)

 2 views  0 purchase
  • Course
  • Institution

COMP 230 Week 4 Quiz Question:(TCO 4) A variable that determines if a loop will continue is known as a ____. Question:(TCO 4) What is the name for the statements that are repeated during loop…..? Question: (TCO 4) Which piece of pseudocode represents incrementing the loop-control…? Question: (T...

[Show more]

Preview 2 out of 6  pages

  • May 4, 2022
  • 6
  • 2021/2022
  • Exam (elaborations)
  • Questions & answers
avatar-seller
COMP230 WEEK 4 QUIZ
Score for this attempt: 20 out of 20
Submitted Sep 19 at 7:39pm
This attempt took 19 minutes.

Question 1
pts
(TCO 4) What is the name for the statements that are repeated during loop execution?



Loop variables


Loop group




Loop body or code block




Decision statements
See the Week 4 Lecture, Doc Sharing files, and textbook references to Chapter 10.


Question 2
pts
(TCO 4) Which of the following would NOT be a valid comparison to control a While
Loop?




count




count > 1


count > true




This study source was downloaded by 100000845689434 from CourseHero.com on 05 -04-2022 07:03:52 GMT -05:00


https://www.coursehero.com/file/25108538/COMP230-WEEK-4-QUIZdocx/

, count * 3 > 100
See the Week 4 Lecture, Doc Sharing files, and textbook references to Chapter 10.


Question 3
pts
(TCO 4) What is wrong with the following Do While Loop?

count = 1
Do while count < 10
print count
count = count - 1
Loop



The loop is missing a loop condition.




The loop will not terminate properly.




The loop is missing loop body.




The loop is not initialized.
See the Week 4 Lecture, Doc Sharing files, and textbook references to Chapter 10.


Question 4
pts
(TCO 4) A countdown loop operates by having the loop control variable .



checked




This study source was downloaded by 100000845689434 from CourseHero.com on 05 -04-2022 07:03:52 GMT -05:00


https://www.coursehero.com/file/25108538/COMP230-WEEK-4-QUIZdocx/

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ProfGoodlucK. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling

Recently viewed by you


$10.99
  • (0)
  Add to cart