Which language uses indentation to specify compound statements? Lua Scheme Ruby Python 2. Which loops are guaranteed to be executed at least once? Pretest logically controlled loops Posttest logically controlled loops Both pretest and posttest logically controlled loops Loops with user-located control mechanisms 3. Which of the following languages allow only Boolean (not arithmetic) expressions for loop control in the for statement? Java C C# C++
Added by Laura W.
Step 1
Python uses indentation to specify compound statements. Show more…
Show all steps
Your feedback will help us improve your experience
Rashmi Prakash and 59 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Which of the following statements most accurately summarizes the creation of programming languages? 1 Some programming languages are always better than others, and new programming languages are being written all the time. 2 Different programming languages are better for different functions, but new programming languages have largely stopped being written. 3 Some programming languages are always better than others, and new programming languages have largely stopped being written. 4 Different programming languages are better for different functions, and new programming languages are being written all the time.
Rupsa S.
Java: What is true about do statement? a) do statement executes the code of a loop at least once b) do statement does not get execute if condition is not matched in the first iteration c) do statement checks the condition at the beginning of the loop d) do statement executes the code more than once always
Madhur L.
which of the following is false ?
Rushil P.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD