SlideShare a Scribd company logo
1 of 2
Some last-minute tips for taking the high school
Java AP Exam
For 2021 Spring.- short tips for the college board exam
1) Look over “hello world” example
main is all lower case and must be in the top level class in the program
String [] is an array and you must use the []
args is dummy and can be any name
(it's static so its there from the start)
2) Look over what is a valid variable name
convention is to start with a lowercase letter, (you can start $ or _ but not recommended)
(variables cannot start with arithmetic operator +_*/ or % as they would trip up the parser confusing
with arithmetic ) Reserved words may not be used including some not currently used like “goto”
1000 and 1_000 are both valid and the same. The underscore can be added to a number for
readability but not at start or end or next to decimal, its used like a comma to make the number readable
and is stripped out.
3) All keywords are all lower case (public static void main, true false and primitive types)
Classes start capital, constants all uppercase Math.PI Math is a class PI is constant as example
4) Do not return anything for a constructor and there is no type (not even void)
5) do not print anything they don't ask In general don’t spend time doing anything not asked
6) Assignments will shove data over for primitives (a new clone) but share a reference for objects
(and will be aliases of the same thing). a=b will shove b into a as a copy for primitives but is a
reference for objects like String or ArrayList or Array While primitives will deal with a copy, object
assignments is like handing a voodoo doll and whatever you do with a will affect b
7) Check the cheat sheet they give you (as much as possible) especially if the case uses property
length as used in Array, method length() as used in String or size() as used in ArrayList and
collections in general
8) Think whether the method changes the original or returns a change. Sometimes a method
leaves the original unchanged and the change is only in the return (they might try and trick you in a
multiple choice on that)
9) Mult-dimensional arrays are row major meaning row then column array[row][column]
10) The graders are friendly and want to find ways to give you points so make your code readable, mark
with comments which parts apply to the questions parts if it makes it readable. Give them opportunity to
give you part credit. Write code that is easy to read, comment for emphasis for you address the question
parts
Array may be multi-dimensional (is iArray int{10][10{ iArrayList ArrayList<Integer> is single
dimensional
11) Datatypes defaults for literal numbers are integer and double
a constant 1 would be int 1.0 would be double
assigning something larger to smaller like float <-- double or int <--- long will cause an error
you can however cast things like byte a = (byte) b ; long as the data is not too big for the variable
that contains it
Java has no unsigned type as there is in C C== or C# that you need to worry about for this test.
Byte will be -127 to +127
Short will be about -32k to +32k
Int will be about -2G to +2G
Integer.MAX and Integerrimine for example are static constants you can use on that
(inJava,the number1 isnot true and 0 isnot false.Integers andBooleanare separate datatypes)
12) Classesyou can only have1 parent but can implementmanyinterfaces. There is no multiple
inheritance forclassesinJava. Onthe otherhand,you can implementmultiple interfaces(youcan
considermultiple requirementsYou canthinkof Object-orientedprogrammingashierarchical
programming.
You can have abstract interfacesand abstractclasses(an abstract class anotherwayof implementinga
requirement) Youcannotconcretize them, makinganobjectuntil all the abstractmethodsare
implementedinanon-abstractclass

More Related Content

What's hot

Presentation on python data type
Presentation on python data typePresentation on python data type
Presentation on python data typeswati kushwaha
 
Method Overloading in Java
Method Overloading in JavaMethod Overloading in Java
Method Overloading in JavaSonya Akter Rupa
 
Variables & Data Types in R
Variables & Data Types in RVariables & Data Types in R
Variables & Data Types in RRsquared Academy
 
Java - Class Structure
Java - Class StructureJava - Class Structure
Java - Class StructureVicter Paul
 
Data Structure and Algorithms –Introduction.pptx
Data Structure and Algorithms –Introduction.pptxData Structure and Algorithms –Introduction.pptx
Data Structure and Algorithms –Introduction.pptxR S Anu Prabha
 
ITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaAtul Sehdev
 
Scheme Programming Language
Scheme Programming LanguageScheme Programming Language
Scheme Programming LanguageReham AlBlehid
 
Bc0038– data structure using c
Bc0038– data structure using cBc0038– data structure using c
Bc0038– data structure using chayerpa
 
Bt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-deBt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-desmumbahelp
 
Input processing and output in Python
Input processing and output in PythonInput processing and output in Python
Input processing and output in PythonRaajendra M
 
Data Structures 2004
Data Structures 2004Data Structures 2004
Data Structures 2004Sanjay Goel
 
Data Structure Question Bank(2 marks)
Data Structure Question Bank(2 marks)Data Structure Question Bank(2 marks)
Data Structure Question Bank(2 marks)pushpalathakrishnan
 

What's hot (20)

Presentation on python data type
Presentation on python data typePresentation on python data type
Presentation on python data type
 
Python Data Types
Python Data TypesPython Data Types
Python Data Types
 
Method Overloading in Java
Method Overloading in JavaMethod Overloading in Java
Method Overloading in Java
 
Python Fundamentals Class 11
Python Fundamentals Class 11Python Fundamentals Class 11
Python Fundamentals Class 11
 
7.pointers
7.pointers7.pointers
7.pointers
 
Variables & Data Types in R
Variables & Data Types in RVariables & Data Types in R
Variables & Data Types in R
 
Java - Class Structure
Java - Class StructureJava - Class Structure
Java - Class Structure
 
Recursion CBSE Class 12
Recursion CBSE Class 12Recursion CBSE Class 12
Recursion CBSE Class 12
 
Data Structure and Algorithms –Introduction.pptx
Data Structure and Algorithms –Introduction.pptxData Structure and Algorithms –Introduction.pptx
Data Structure and Algorithms –Introduction.pptx
 
Data Types
Data TypesData Types
Data Types
 
ITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in java
 
Scheme Programming Language
Scheme Programming LanguageScheme Programming Language
Scheme Programming Language
 
Regular Expressions in Stata
Regular Expressions in StataRegular Expressions in Stata
Regular Expressions in Stata
 
NLP_KASHK:Minimum Edit Distance
NLP_KASHK:Minimum Edit DistanceNLP_KASHK:Minimum Edit Distance
NLP_KASHK:Minimum Edit Distance
 
Bc0038– data structure using c
Bc0038– data structure using cBc0038– data structure using c
Bc0038– data structure using c
 
Bt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-deBt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-de
 
Input processing and output in Python
Input processing and output in PythonInput processing and output in Python
Input processing and output in Python
 
Data Structures 2004
Data Structures 2004Data Structures 2004
Data Structures 2004
 
ID3 ALGORITHM
ID3 ALGORITHMID3 ALGORITHM
ID3 ALGORITHM
 
Data Structure Question Bank(2 marks)
Data Structure Question Bank(2 marks)Data Structure Question Bank(2 marks)
Data Structure Question Bank(2 marks)
 

Similar to Some tips for taking the High School AP Java college board exam

C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board ExamsC++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Examshishamrizvi
 
Should begin with a letter and may contain additional letters and di.pdf
Should begin with a letter and may contain additional letters and di.pdfShould begin with a letter and may contain additional letters and di.pdf
Should begin with a letter and may contain additional letters and di.pdfsudhinjv
 
OCA Java SE 8 Exam Chapter 3 Core Java APIs
OCA Java SE 8 Exam Chapter 3 Core Java APIsOCA Java SE 8 Exam Chapter 3 Core Java APIs
OCA Java SE 8 Exam Chapter 3 Core Java APIsİbrahim Kürce
 
Coding Standards & Best Practices for iOS/C#
Coding Standards & Best Practices for iOS/C#Coding Standards & Best Practices for iOS/C#
Coding Standards & Best Practices for iOS/C#Asim Rais Siddiqui
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basicsrobertbenard
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basicsrobertbenard
 
COMPLEX AND USER DEFINED TYPESPlease note that the material on t.docx
COMPLEX AND USER DEFINED TYPESPlease note that the material on t.docxCOMPLEX AND USER DEFINED TYPESPlease note that the material on t.docx
COMPLEX AND USER DEFINED TYPESPlease note that the material on t.docxdonnajames55
 
Coding Best Practices
Coding Best PracticesCoding Best Practices
Coding Best Practicesmh_azad
 
CIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and VariablesCIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and VariablesHamad Odhabi
 
5 Coding Hacks to Reduce GC Overhead
5 Coding Hacks to Reduce GC Overhead5 Coding Hacks to Reduce GC Overhead
5 Coding Hacks to Reduce GC OverheadTakipi
 
Erlang kickstart
Erlang kickstartErlang kickstart
Erlang kickstartRyan Brown
 
Python breakdown-workbook
Python breakdown-workbookPython breakdown-workbook
Python breakdown-workbookHARUN PEHLIVAN
 
Java căn bản - Chapter9
Java căn bản - Chapter9Java căn bản - Chapter9
Java căn bản - Chapter9Vince Vo
 
Ruby data types and objects
Ruby   data types and objectsRuby   data types and objects
Ruby data types and objectsHarkamal Singh
 
perl 6 hands-on tutorial
perl 6 hands-on tutorialperl 6 hands-on tutorial
perl 6 hands-on tutorialmustafa sarac
 
Chapter 9 - Characters and Strings
Chapter 9 - Characters and StringsChapter 9 - Characters and Strings
Chapter 9 - Characters and StringsEduardo Bergavera
 
Data Structures- Part1 overview and review
Data Structures- Part1 overview and reviewData Structures- Part1 overview and review
Data Structures- Part1 overview and reviewAbdullah Al-hazmy
 
Regular expressions
Regular expressionsRegular expressions
Regular expressionsRaghu nath
 

Similar to Some tips for taking the High School AP Java college board exam (20)

C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board ExamsC++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
 
Should begin with a letter and may contain additional letters and di.pdf
Should begin with a letter and may contain additional letters and di.pdfShould begin with a letter and may contain additional letters and di.pdf
Should begin with a letter and may contain additional letters and di.pdf
 
OCA Java SE 8 Exam Chapter 3 Core Java APIs
OCA Java SE 8 Exam Chapter 3 Core Java APIsOCA Java SE 8 Exam Chapter 3 Core Java APIs
OCA Java SE 8 Exam Chapter 3 Core Java APIs
 
M C6java2
M C6java2M C6java2
M C6java2
 
Coding Standards & Best Practices for iOS/C#
Coding Standards & Best Practices for iOS/C#Coding Standards & Best Practices for iOS/C#
Coding Standards & Best Practices for iOS/C#
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basics
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basics
 
COMPLEX AND USER DEFINED TYPESPlease note that the material on t.docx
COMPLEX AND USER DEFINED TYPESPlease note that the material on t.docxCOMPLEX AND USER DEFINED TYPESPlease note that the material on t.docx
COMPLEX AND USER DEFINED TYPESPlease note that the material on t.docx
 
Coding Best Practices
Coding Best PracticesCoding Best Practices
Coding Best Practices
 
CIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and VariablesCIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and Variables
 
5 Coding Hacks to Reduce GC Overhead
5 Coding Hacks to Reduce GC Overhead5 Coding Hacks to Reduce GC Overhead
5 Coding Hacks to Reduce GC Overhead
 
Erlang kickstart
Erlang kickstartErlang kickstart
Erlang kickstart
 
Python breakdown-workbook
Python breakdown-workbookPython breakdown-workbook
Python breakdown-workbook
 
Java căn bản - Chapter9
Java căn bản - Chapter9Java căn bản - Chapter9
Java căn bản - Chapter9
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Ruby data types and objects
Ruby   data types and objectsRuby   data types and objects
Ruby data types and objects
 
perl 6 hands-on tutorial
perl 6 hands-on tutorialperl 6 hands-on tutorial
perl 6 hands-on tutorial
 
Chapter 9 - Characters and Strings
Chapter 9 - Characters and StringsChapter 9 - Characters and Strings
Chapter 9 - Characters and Strings
 
Data Structures- Part1 overview and review
Data Structures- Part1 overview and reviewData Structures- Part1 overview and review
Data Structures- Part1 overview and review
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
 

More from Michael Scaman

Psalms book 1 class version.pdf
Psalms book 1 class version.pdfPsalms book 1 class version.pdf
Psalms book 1 class version.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdfUnexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdfMichael Scaman
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 8 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 8 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 8 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 8 p...Michael Scaman
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 7 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 7 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 7 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 7 p...Michael Scaman
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 6 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 6 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 6 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 6 p...Michael Scaman
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 3 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 3 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 3 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 3 p...Michael Scaman
 
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 7 pp...
Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 7 pp...Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 7 pp...
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 7 pp...Michael Scaman
 
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 6 pp...
Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 6 pp...Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 6 pp...
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 6 pp...Michael Scaman
 
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 4 pp...
Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 4 pp...Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 4 pp...
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 4 pp...Michael Scaman
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 9 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 9 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 9 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 9 ppt.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 8 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 8 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 8 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 8 ppt.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 7 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 7 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 7 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 7 ppt.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 5 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 5 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 5 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 5 ppt.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 4 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 4 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 4 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 4 ppt.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 1 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 1  ppt  pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 1  ppt  pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 1 ppt pdf.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 8 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 8 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 8 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 8 ppt pdf.pdfMichael Scaman
 
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdfUnexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdfMichael Scaman
 

More from Michael Scaman (20)

Psalms book 1 class version.pdf
Psalms book 1 class version.pdfPsalms book 1 class version.pdf
Psalms book 1 class version.pdf
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
 
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdfUnexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdf
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 8 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 8 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 8 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 8 p...
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 7 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 7 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 7 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 7 p...
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 6 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 6 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 6 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 6 p...
 
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 3 p...
Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 3 p...Unexpected Discord In The Psalms- book 5  - Psalm 107 though 150  version 3 p...
Unexpected Discord In The Psalms- book 5 - Psalm 107 though 150 version 3 p...
 
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 7 pp...
Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 7 pp...Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 7 pp...
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 7 pp...
 
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 6 pp...
Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 6 pp...Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 6 pp...
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 6 pp...
 
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 4 pp...
Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 4 pp...Unexpected Discord In The Psalms- book 4  - Psalm 90 though 106  version 4 pp...
Unexpected Discord In The Psalms- book 4 - Psalm 90 though 106 version 4 pp...
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 9 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 9 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 9 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 9 ppt.pdf
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 8 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 8 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 8 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 8 ppt.pdf
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 7 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 7 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 7 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 7 ppt.pdf
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 5 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 5 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 5 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 5 ppt.pdf
 
Unexpected Discord In The Psalms - Psalm 73 though 89 version 4 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89  version 4 ppt.pdfUnexpected Discord In The Psalms - Psalm 73 though 89  version 4 ppt.pdf
Unexpected Discord In The Psalms - Psalm 73 though 89 version 4 ppt.pdf
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 11 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 11 ppt pdf.pdf
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 1 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 1  ppt  pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 1  ppt  pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 1 ppt pdf.pdf
 
Unexpected Discord In The Psalms - Psalm 42 though 72 version 8 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72  version 8 ppt pdf.pdfUnexpected Discord In The Psalms - Psalm 42 though 72  version 8 ppt pdf.pdf
Unexpected Discord In The Psalms - Psalm 42 though 72 version 8 ppt pdf.pdf
 
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdfUnexpected Discord In The Psalms - Psalm 1 though 41  version 10  ppt PDF.pdf
Unexpected Discord In The Psalms - Psalm 1 though 41 version 10 ppt PDF.pdf
 

Recently uploaded

software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 

Recently uploaded (20)

software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 

Some tips for taking the High School AP Java college board exam

  • 1. Some last-minute tips for taking the high school Java AP Exam For 2021 Spring.- short tips for the college board exam 1) Look over “hello world” example main is all lower case and must be in the top level class in the program String [] is an array and you must use the [] args is dummy and can be any name (it's static so its there from the start) 2) Look over what is a valid variable name convention is to start with a lowercase letter, (you can start $ or _ but not recommended) (variables cannot start with arithmetic operator +_*/ or % as they would trip up the parser confusing with arithmetic ) Reserved words may not be used including some not currently used like “goto” 1000 and 1_000 are both valid and the same. The underscore can be added to a number for readability but not at start or end or next to decimal, its used like a comma to make the number readable and is stripped out. 3) All keywords are all lower case (public static void main, true false and primitive types) Classes start capital, constants all uppercase Math.PI Math is a class PI is constant as example 4) Do not return anything for a constructor and there is no type (not even void) 5) do not print anything they don't ask In general don’t spend time doing anything not asked 6) Assignments will shove data over for primitives (a new clone) but share a reference for objects (and will be aliases of the same thing). a=b will shove b into a as a copy for primitives but is a reference for objects like String or ArrayList or Array While primitives will deal with a copy, object assignments is like handing a voodoo doll and whatever you do with a will affect b 7) Check the cheat sheet they give you (as much as possible) especially if the case uses property length as used in Array, method length() as used in String or size() as used in ArrayList and collections in general 8) Think whether the method changes the original or returns a change. Sometimes a method leaves the original unchanged and the change is only in the return (they might try and trick you in a multiple choice on that) 9) Mult-dimensional arrays are row major meaning row then column array[row][column] 10) The graders are friendly and want to find ways to give you points so make your code readable, mark with comments which parts apply to the questions parts if it makes it readable. Give them opportunity to give you part credit. Write code that is easy to read, comment for emphasis for you address the question parts Array may be multi-dimensional (is iArray int{10][10{ iArrayList ArrayList<Integer> is single dimensional
  • 2. 11) Datatypes defaults for literal numbers are integer and double a constant 1 would be int 1.0 would be double assigning something larger to smaller like float <-- double or int <--- long will cause an error you can however cast things like byte a = (byte) b ; long as the data is not too big for the variable that contains it Java has no unsigned type as there is in C C== or C# that you need to worry about for this test. Byte will be -127 to +127 Short will be about -32k to +32k Int will be about -2G to +2G Integer.MAX and Integerrimine for example are static constants you can use on that (inJava,the number1 isnot true and 0 isnot false.Integers andBooleanare separate datatypes) 12) Classesyou can only have1 parent but can implementmanyinterfaces. There is no multiple inheritance forclassesinJava. Onthe otherhand,you can implementmultiple interfaces(youcan considermultiple requirementsYou canthinkof Object-orientedprogrammingashierarchical programming. You can have abstract interfacesand abstractclasses(an abstract class anotherwayof implementinga requirement) Youcannotconcretize them, makinganobjectuntil all the abstractmethodsare implementedinanon-abstractclass