100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
AP Computer Science Study Guide 2024 $10.49   Add to cart

Exam (elaborations)

AP Computer Science Study Guide 2024

 17 views  0 purchase
  • Course
  • AP Computer Science
  • Institution
  • AP Computer Science

AP Computer Science Study Guide

Preview 1 out of 3  pages

  • July 30, 2024
  • 3
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
  • AP Computer Science
  • AP Computer Science
avatar-seller
millyphilip
AP Computer Science Study Guide
Integer - Answer -Variable type that only consists of whole numbers; 32 bits
Boolean - Answer -Variable type that consists of "true" or "false"
Char - Answer -Data type that represents only 1 index of a String
Short - Answer -Like an int, but only uses 16 bits of data and used to save memory space
Long - Answer -Like an int, but has a wider range of number values. Takes 64 bits of data
Double - Answer -Represents decimal numbers with 64 bits of data
Float - Answer -Represents decimal numbers with 32 bits of data; used when memory space used is critical
Byte - Answer -Used to represent integer numbers with only 8 bits of data.
Bubble Sort - Answer -Sorting method where if the n+1 index is greater than n, the two indices are swapped. This is one of the most inefficient sort methods that exist. It's efficiency is O(n^2) in average and worst case scenarios.
Insert Sort - Answer -As sort continues, the newest value is placed into the appropriate spot of whatever has already been sorted. Depending on the scenario, this has good or bad sort times
Selection Sort - Answer -Sorting process where the smallest element is selected from the unsorted array and swapped with the leftmost element, and that element becomes a
part of the sorted array. This process continues moving unsorted array boundary by one
element to the right.
Merge Sort - Answer -Sorting method where an array is broken into smaller and smaller arrays, sorted within the smaller arrays, then the smaller arrays are merged back together.
Interface - Answer -An object type that doesn't have any instance variables or constructors, and is only made up of abstract methods

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 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 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.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73314 documents were sold in the last 30 days

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

Start selling
$10.49
  • (0)
  Add to cart