100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
AP Computer Science A Terms Exam Questions and Answers $10.99   Add to cart

Exam (elaborations)

AP Computer Science A Terms Exam Questions and Answers

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

AP Computer Science A Terms Exam Questions and Answers

Preview 3 out of 18  pages

  • July 30, 2024
  • 18
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
  • AP Computer Science
  • AP Computer Science
avatar-seller
millyphilip
AP Computer Science A Terms Exam Questions and Answers
% - Answer -This symbol is the modulas symbol; gives remainder after division.
// - Answer -This symbol is the single line comment symbol.
Abstract class - Answer -A superclass that represents an abstract concept, and therefore should not be instantiated.
Abstraction - Answer -A technique used to command newly-created instances to perform different actions.
Abstract method - Answer -A method under an abstract class that has no implementation, just a header.
Accessor Method - Answer -a method that accesses an object but does not change it
Access Specifier - Answer -a keyword that indicates the accessibility of a feature, such as private or public
Algorithm - Answer -A list of actions to perform a task or solve a problem.
aliasing - Answer -Having two references for the same object. This causes unintended problems.
Alpha - Answer -In-house group of programmers
Analog - Answer -Continuous representation of physical property - wave sound
Animation - Answer -A sequence of actions that simulate movement.
Argument - Answer -Describes how to perform the procedure.
Arithmetic Operators - Answer -A lexical unit used to perform basic mathematical operations by taking two operands and returning the result of the mathematical calculation. Array - Answer -An object that holds multiple variables. An index can be used to access the variables.
Assignment - Answer -placing a new value into a variable
Assignment Operator - Answer -This word is used to describe a Java statement that initializes a variable in a program.
attribute - Answer -Member variable of a class that are defined by variables; properties of an object.
Automatic - Answer -Capture data with sensors (temperature, sound, pressure, light, chemical, etc.).
Axes - Answer -The three dimensional x, y, and z coordinates that each object resides on. They can be manipulated to change the object's position and appearance.
Base case, termination condition - Answer -causes the method to end.
behavior - Answer -Methods or functions.
Beta - Answer -Selected group of outside users that are willing to give feedback on program.
Binary Operator - Answer -an operator that takes two arguments, for example + in x + y
binary search - Answer -How it works recursively: if the last element in the first half is greater than the key, cut that half and repeat. if the last element in the first half is less than the key, cut the second half in half and do the same.
Bit - Answer -Binary Digit; the smallest unit of information, having two possible values: 0
and 11. A data element consisting of n bits has 2n possible values
black box - Answer -any device whose workings are not understood by its user
Block - Answer -piece of code enclosed in a {} pair. When a block is exited, the memory for a local variable is automatically recycled.
Boolean - Answer -This data type can only hold the value true or false.
bottom up development - Answer -implement lowest level, independent classes first
Break - Answer -A keyword used to terminate a loop from executing before the loop condition is met. break the array into two halves, mergesort the left and right half, merge
the two subarrays into one. Bug - Answer -a programming error
Byte - Answer -A number made up of eight bits. Essentially all currently manufactured computers use a byte as the smallest unit of storage in memory.
Bytecode - Answer -a compiler converts source code into machine readable form called this.
camelCase - Answer -A naming convention to eliminate spaces in a name, but to ease readability with capitalization.
Case Sensitive - Answer -Distinguishing upper and lowercase characters
Cast - Answer -Explicitly converting a value from one type to a different type. For example, the cast from a floating-point number x to an integer x is expressed in Java by the cast notation (int) x.
castings - Answer -A general form of conversion in Java, used to round floating point number to nearest integer or it can convert an int to a floating point number. (preferred data type in parenthesis.)
char - Answer -This primitive data type is designed to hold single character values
Checked exception - Answer -where code to handle the exception is given (not tested).
Class - Answer -A specification, such as a blueprint or pattern and a set of instructions, of how to construct something.
ClassCastException - Answer -a runtime exception thrown to signal an attempt to cast an object to a class of which it's not an instance of.
Code Blocks - Answer -Segments of code identified by beginning with { and ending with }.
Collision - Answer -When an object unintentionally overlaps with another.
Comment - Answer -An explanation to help the human reader understand a section of a
program; ignored by the compiler
Comparison operators - Answer -Symbols that compare two random values in a method.
Compilation - Answer -Translates the source code into a machine code that the computer can understand. This ensures that you added the source code or class correctly before you proceed. translates java source files (.java) to class files (.class)

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.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78998 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.99
  • (0)
  Add to cart