100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
AP Computer Science Principles - Programming Review Questions and Answers 100% Pass R232,79   Add to cart

Exam (elaborations)

AP Computer Science Principles - Programming Review Questions and Answers 100% Pass

 2 views  0 purchase
  • Course
  • Prep Tests
  • Institution
  • Prep Tests

AP Computer Science Principles - Programming Review Questions and Answers 100% Pass When choosing a programming language, which of the following will not be determined by the choice of language? A. The clarity and readability of the code. B. The data structures available. C. The syntax highl...

[Show more]

Preview 2 out of 11  pages

  • November 10, 2024
  • 11
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Prep Tests
  • Prep Tests
avatar-seller
Copyright © OLIVIAWEST2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED




AP Computer Science Principles -

Programming Review Questions and

Answers 100% Pass


When choosing a programming language, which of the following will not be determined by the choice of

language?


A. The clarity and readability of the code.


B. The data structures available.


C. The syntax highlighting options available.


D. Whether or not a solution exists. - ANSWER✔✔-D. Whether or not a solution exists.


Which of the following statements are true about high-level programming languages? Select two

answers.


A. A high-level programming language often uses natural language elements.


B. A high-level programming language does not ensure program reliability.


C. A high-level programming language must be used to execute commands such adding and multiplying.


D. a high-level program langauge allows for code re-use - ANSWER✔✔-A. A high-level programming

language often uses natural language elements.


D. A high-level program language allows for code re-use



Copyright ©Stuvia International BV 2010-2024 Page 1/11

, Copyright © OLIVIAWEST2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED


A team of students is programming a robot to find its way out of a maze(exact layout unknown) for a

national competition. The robot will be timed, and teams with the best times will move on to the next

level of the competition. What strategy should the team take?


A. Have the robot create a virtual map of the maze, return to the starting position, calculate the quickest

route, and take it.


B. Program the robot to move at maximum speed, turning left or right at random until it finds the end.


C. Use a language most appropriate to the problem at hand, and us built-in functions, such as

rotate(RIGHT) and move(), to have the robot complete the task.


D. Create an algorithm which, although not finding the ideal solution, finds a reasonable solution quickly.

- ANSWER✔✔-D. Create an algorithm which, although not finding the ideal solution, finds a reasonable

solution quickly.


In researching a local deer population, a scientist has gathered much information about the deer and is

going to write a program to model population growth over time. She wants to analyze how illness and

population size are related to available food sources. Which of the following factors most likely does not

need to be included in her program:


A. Population size.


B. Food supply.


C. Antler size.


D. Prevalence of illness in herd. - ANSWER✔✔-C. Antler size


Which of the following best describes an undecidable problem?


A. Heuristic methods are used to find a reasonable, but not the best, solution.

Copyright ©Stuvia International BV 2010-2024 Page 2/11

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 EFT, 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 this summary from?

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

Will I be stuck with a subscription?

No, you only buy this summary for R232,79. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73918 documents were sold in the last 30 days

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

Start selling
R232,79
  • (0)
  Buy now