AP Computer Science first semester Review
What are identifiers? - Answer -Variables whose names must start with a lowercase letter.
What is an int? - Answer -A variable thats stores only numbers, and only decimals. (1) (2)
What is a double? - Answer -A variable that only stores numbers, and only decimals. (1.5) (.5)
What is a boolean? - Answer -Does true and false statements.
What types are booleans, doubles, and ints an example of/ - Answer -Primitive
What are objects (examples) - Answer -Stings, Arrays, ArrayLists, etc.
What type are objects? - Answer -Reference
What are finals and what do they have to have? - Answer -They are names and the names are all capital letters and may have numbers or underscores. (final in NUM = 15;)
(final double PI = 3.14;)
What symbol do you use to add in java? (arithmetic) - Answer -+
What symbol do you use to subtract in java? (arithmetic) - Answer --
What symbol do you use to multiply in java? (arithmetic) - Answer -*
What symbol do you use to divide in java? (arithmetic) - Answer -/
What symbol do you use to find the remainder (modulus) in java? (arithmetic) - Answer -
%
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 millyphilip. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.