TPT
Total:
$0.00
CompSciGuy Banner

CompSciGuy

Rated 4.49 out of 5, based on 13 reviews
23 Followers
Hanover, New Hampshire, United States

All resources

Preview of AP Computer Science A - Java String Practice! Reverse a string

AP Computer Science A - Java String Practice! Reverse a string

Created by
CompSciGuy
AP Computer Science A Review Worksheet! String methods: reverse a string in Java. You can use this for homework, test prep, extra practice, extra credit, for an in class activity, or more. Students will write a static Java method to reverse a string in Java. You can download and print the activity as a PDF or students can access it virtually via TPT Easel.
Preview of AP Computer Science A Problem 2: Java Array Practice! Find Max and Min

AP Computer Science A Problem 2: Java Array Practice! Find Max and Min

Created by
CompSciGuy
A worksheet that allows students to practice a common AP Computer Science exam question: finding the maximum and minimum values in an array using a linear search. Includes fully coded answer! Example: Write methods to find the maximum and minimum values in an array and return the indices at which they occur. If the array length is zero, return -1.int[] arr = {10, 3, 85, 2, 9, 14, 11}; int index = arrayMax(arr); System. out.println(“Max value “ + arr[index] + “ found at index “ + index); > &gt
Preview of AP Computer Science A Problem 4: Array Practice! Merge Arrays in Java

AP Computer Science A Problem 4: Array Practice! Merge Arrays in Java

Created by
CompSciGuy
AP Computer Science A Problem 4: Array Practice! Merge Arrays in Java A common array programming exercise for students reviewing arrays in Java - or practicing for the AP Computer Science exam! Students must write a method to merge two arrays and return the final array. Includes fully coded and tested solution! Write a method that takes in two integer arrays, and outputs a single integer array that contains all the elements from both input arrays, in order.int[] arr1 = {1, 2, 3}; int[] arr2 = {6
Preview of AP Computer Science A: Free Response Question in Java for AP® Test Review

AP Computer Science A: Free Response Question in Java for AP® Test Review

Created by
CompSciGuy
AP Computer Science A Test Review and Practice: Free Response Question A full, unique free response question using Java in the style of the AP Computer Science exam. Students complete three methods from a library management system. The problem presents two existing classes: Library and Book. Students complete three new methods as a part of the Library class: public void addBook(Book newBook)public ArrayList<String> findBooksByAuthor(String author)public Book recommendBook(int targetYear)
Preview of AP Computer Science A - Java String Practice! Substrings and String building

AP Computer Science A - Java String Practice! Substrings and String building

Created by
CompSciGuy
Students implement a common AP Computer Science task of extracting a substring from a larger string using two indices.
Preview of AP Computer Science A - Problem 3: Array Practice! Increasing numbers in Java

AP Computer Science A - Problem 3: Array Practice! Increasing numbers in Java

Created by
CompSciGuy
A common array programming exercise for students reviewing arrays in Java - or practicing for the AP Computer Science exam! Includes fully coded and tested solution! Write a method that takes in an array of integers and returns true if each element in the array is greater than the last, and false otherwise. Return false if the array has zero elements.int[] arrInc = {1, 2, 3, 4, 5, 6, 7}; int[] arrNotInc = {2, 4, 1, 9, 3, 5}; System. out.println(arrayIncreasing(arrInc)); > > true System. o
Preview of SAT Math Prep! SAT standardized test algebra worksheet with answer key

SAT Math Prep! SAT standardized test algebra worksheet with answer key

Created by
CompSciGuy
SAT Math Practice: Algebra PrepGet ready for the SAT math section with algebra practice problems!Preparing for the SAT? Strengthen your algebra skills with this practice packet. This resource is crafted to help you tackle the algebra section with confidence, featuring 9 SAT-style questions with full answers and explanations that reflect what you’ll actually see on the exam. What’s Inside:Focused Practice: Dive into 9 algebra questions that are typical of the SAT, perfect for honing your problem
Preview of AP Computer Science A Problem 1: Array Practice! Array Linear Search in Java

AP Computer Science A Problem 1: Array Practice! Array Linear Search in Java

Created by
CompSciGuy
AP Computer Science A Problem 1: Array Practice! Array Linear Search in Java A review worksheet for free response linear array search questions on the AP Computer Science exam. Allows students write a search method using a for loop. Includes fully coded answer key! Example: Search an integer array of arbitrary length for a specific value n, and return the index at which this value n appears. If n is not in the array, return the value -1.int[] arr = {3, 9, 30, 6, 8, 2, 4, 10}; int index = simpleS
Preview of AP Computer Science A - Java String Practice! String selection

AP Computer Science A - Java String Practice! String selection

Created by
CompSciGuy
A worksheet that allows students to practice a common AP Computer Science exam question: copying an array of Strings while excluding a specific target String. Includes fully coded answer! Example: Write a method that takes in an array of Strings and a “target” string, and returns a new array of Strings that does not include the target String.String[] arrStr = {“a”, “c”, “u”, “ll”, “h”}; String target = “c”; System. out.println(stringSelect(arrStr, target)); > > [“s”, “u”, “ll”, “h”]
Showing 1-9 of 9 results