• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 24 pages
Exam (elaborations)

AP Computer Science Principles Final/AP Practice Questions

Document preview thumbnail
Preview 3 out of 24 pages

AP Computer Science Principles Final/AP Practice Questions What is a special data type that has one of two values? (Correct Answer) - a boolean What are the two values a boolean can have? (Correct Answer) - true or false What are the three ways a boolean can be returned? (Correct Answer) - as a result of evaluating a condition as a result of comparing two values when evaluating one or more Boolean conditions 10 MOD 2 (Correct Answer) - 0 20 MOD 0 (Correct Answer) - error 20 MOD 4 (Correct Answer) - 0 4 MOD 20 (Correct Answer) - 4 0 MOD 4 (Correct Answer) - 0 How can you determine if a number is even or odd? (Correct Answer) - by using x MOD 2, if the answer is 1, it is odd, if the answer is 0, it is even What are the two main reasons modulus is used in programming? (Correct Answer) - to determine if a number is odd or even to convert between number systems What is the opposite of less than? (Correct Answer) - greater than or equal to What is the opposite of greater than? (Correct Answer) - less than or equal to What is the opposite of is equal to? (Correct Answer) - is not equal to What is the opposite of is not equal to? (Correct Answer) - is equal to


Connected book
 image
Publisher: 2018 ISBN: 9780738612348 Edition: Unknown

Document information

Uploaded on
May 15, 2023
Number of pages
24
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$9.74

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GeekBano
3.7
(63)
Sold
480
Followers
354
Items
1996
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.