Study sets matching "science ap computer"

Study sets
Classes
Users

Study sets matching "science ap computer"

AP Computer Science
String
int
double
Declare a variable
used to store things in quotes
used to store integers
used to store "floating point" numbers (decimal fractions).
state that a variable exists and what type it is.
String
used to store things in quotes
int
used to store integers
18 terms
AP Computer Science Computer Definitions
Central Processing Unit (CPU)
Hard Drive
Motherboard
RAM
Brain of the computer that performs instructions defined by s…
Storage device that stores digitally encoded data on rapidly…
Printed circuit board on which the CPU, RAM chips and other e…
Random Access Memory - temporary place to store material that…
Central Processing Unit (CPU)
Brain of the computer that performs instructions defined by s…
Hard Drive
Storage device that stores digitally encoded data on rapidly…
AP Computer Science Computer Definitions
Central Processing Unit (CPU)
Hard Drive
Motherboard
RAM
Brain of the computer that performs instructions defined by s…
Storage device that stores digitally encoded data on rapidly…
Printed circuit board on which the CPU, RAM chips and other e…
Random Access Memory - temporary place to store material that…
Central Processing Unit (CPU)
Brain of the computer that performs instructions defined by s…
Hard Drive
Storage device that stores digitally encoded data on rapidly…
31 terms
AP Computer Science A Terms
Variable
Method
Identifier
Code Block
the main way to remember values, states, and references.
A way of doing something; A programmer-defined expression. Ta…
The name of a variable or class used to access the value it s…
A group of statements surrounded by curly braces { }
Variable
the main way to remember values, states, and references.
Method
A way of doing something; A programmer-defined expression. Ta…
99 terms
AP Computer Science Vocab - 2015
Packages
Source files
Bytecode
Public
related classes are grouped into this.
the java files that comprise your program.
a compiler converts source code into machine readable form ca…
A keyword that signals that the class or method is usable out…
Packages
related classes are grouped into this.
Source files
the java files that comprise your program.
52 terms
AP Computer Science A
object reference
instance of a class
data field
instance variable (object variable )*
variable that points to an objects location in memory
an object
...
...
object reference
variable that points to an objects location in memory
instance of a class
an object
107 terms
AP Computer Science Terms
"has a" relationship
"is a" relationship
"out of bounds" array index
Abstraction
A class contains an instance variable (an object) of this typ…
A derived class relationship done with "extends"
An array subscript for a position in the array that does not…
Writing a generic method or class that will never be used dir…
"has a" relationship
A class contains an instance variable (an object) of this typ…
"is a" relationship
A derived class relationship done with "extends"
AP Computer Science A Terms
Variable
Method
Identifier
Code Block
the main way to remember values, states, and references.
A way of doing something; A programmer-defined expression. Ta…
The name of a variable or class used to access the value it s…
A group of statements surrounded by curly braces { }
Variable
the main way to remember values, states, and references.
Method
A way of doing something; A programmer-defined expression. Ta…
99 terms
AP Computer Science Vocab
Packages
Source files
Bytecode
Public
related classes are grouped into this.
the java files that comprise your program.
a compiler converts source code into machine readable form ca…
A keyword that signals that the class or method is usable out…
Packages
related classes are grouped into this.
Source files
the java files that comprise your program.
AP Computer Science: Loops
Source Code
Statement
Method
Syntax Error
A program in a high-level language, before being compiled.
A part of a program that specifies a computation.
A named collection of statements
An error in a program that makes it impossible to parse (and…
Source Code
A program in a high-level language, before being compiled.
Statement
A part of a program that specifies a computation.
23 terms
AP Computer Science - String Class
"f"
"" (the empty string)
"tr"
"xtro"
"foxtrot".substring( 0, 1 )... What is returned by substring?
"foxtrot".substring( 0, 0 )... What is returned by substring?
"foxtrot".substring( 3, 5 )... What is returned by substring?
"foxtrot".substring( 2, 6 )... What is returned by substring?
"f"
"foxtrot".substring( 0, 1 )... What is returned by substring?
"" (the empty string)
"foxtrot".substring( 0, 0 )... What is returned by substring?
110 terms
Ap Computer Science
Packages
Import statement
Java program must have at least...
Source files
related classes that are grouped
allows programmer to use the objects from another package
one class and a main method
Java files that make up your program
Packages
related classes that are grouped
Import statement
allows programmer to use the objects from another package
20 terms
AP Computer Science
String
int
double
boolean
Used to store "words" or combinations of characters, symbols,…
Primitive data type that stores integers.
Primitive data type that stores "floating point" numbers (dec…
Primitive data type that stores a value of either true or fal…
String
Used to store "words" or combinations of characters, symbols,…
int
Primitive data type that stores integers.
249 terms
AP Computer Science Midterm
Method
Class
The public interface
Implicit parameter
a sequence of instruction that accesses the data of an object
defines the methods you can apply to its objects.
specifies what you can do with its objects.
the object on which the method is called
Method
a sequence of instruction that accesses the data of an object
Class
defines the methods you can apply to its objects.
AP Computer Science Vocabulary
Bit
Bit rate
Protocol
Router
Binary Digit, the single unit of information in a computer.
the number of bits that are processed in a unit of time
A set of rules used for transmitting data.
a computer designed to receive and redirect packets of inform…
Bit
Binary Digit, the single unit of information in a computer.
Bit rate
the number of bits that are processed in a unit of time
10 terms
AP Computer Science Principles
Internet
World Wide Web (WWW)
Cloud
Cloud applications
The global communication network that allows all computers to…
An information system on the Internet that allows documents t…
A storage system that allows different types of data to be ho…
An application that is hosted in the cloud but can be accesse…
Internet
The global communication network that allows all computers to…
World Wide Web (WWW)
An information system on the Internet that allows documents t…
24 terms
AP Computer Science - String Class
"foxtrot".substring( 0, 1 )... What is re…
"foxtrot".substring( 0, 0 )... What is re…
"foxtrot".substring( 3, 5 )... What is re…
"foxtrot".substring( 2, 6 )... What is re…
"f"
"" (the empty string)
"tr"
"xtrot"
"foxtrot".substring( 0, 1 )... What is re…
"f"
"foxtrot".substring( 0, 0 )... What is re…
"" (the empty string)
40 terms
AP Computer Science Final
Central Processing Unit (CPU)
Hard Drive
Motherboard
RAM
Brain of the computer that performs instructions defined by s…
Storage device that stores digitally encoded data on rapidly…
Printed circuit board on which the CPU, RAM chips and other e…
Random Access Memory - temporary place to store material that…
Central Processing Unit (CPU)
Brain of the computer that performs instructions defined by s…
Hard Drive
Storage device that stores digitally encoded data on rapidly…
61 terms
AP Computer Science vocab
compile
source code
object code
executable
To translate a program in a high-level language into a low-le…
A program in a high-level language, before being compiled.
The output of the compiler, after translating the program.
Another name for object code that is ready to run.
compile
To translate a program in a high-level language into a low-le…
source code
A program in a high-level language, before being compiled.
22 terms
AP Computer Science A: Operators
+ [Arithmetic]
- [Arithmetic]
* [Arithmetic]
/ [Arithmetic]
Addition
Subtraction
multiplication
division
+ [Arithmetic]
Addition
- [Arithmetic]
Subtraction
56 terms
Ap Computer Science Mid term
When a Java string does not have surro…
Text, like everything else in your com…
Programs that are designed to "work fo…
The devices that feed data and program…
Compile-time error
Unicode
application programs
input devices
When a Java string does not have surro…
Compile-time error
Text, like everything else in your com…
Unicode
32 terms
AP Computer Science Principles
sequence
selection (if/else)
repetition or Iteration (repeat)
algorithm
An algorithm is a sequence of precise statements (blocks)
An algorithm can select between two alternative paths based o…
An algorithm can repeat a sequence of statements
An algorithm is a precise sequence of instructions for proces…
sequence
An algorithm is a sequence of precise statements (blocks)
selection (if/else)
An algorithm can select between two alternative paths based o…
126 terms
AP Computer Science Terms
used to hold information of a particul…
a container used to hold a series of v…
a container used to hold a series of v…
a class describes an object and includ…
variable
array
ArrayList
class
used to hold information of a particul…
variable
a container used to hold a series of v…
array
47 terms
Ap Computer Science Mid term
When a Java string does not have surro…
Programs that are designed to "work fo…
The devices that feed data and program…
If your java source code program compi…
Compile-time error
application programs
input devices
runtime error
When a Java string does not have surro…
Compile-time error
Programs that are designed to "work fo…
application programs
54 terms
AP Computer Science - Principles
(1.1) Prototype
(1.2) Binary question
(1.2) Binary message
(1.3) Bit
A preliminary sketch of an idea or model for something new. I…
A question to which there are only two possible answers.
A message that can only be one of two possible values.
A contraction of "Binary Digit". The single unit of informati…
(1.1) Prototype
A preliminary sketch of an idea or model for something new. I…
(1.2) Binary question
A question to which there are only two possible answers.
18 terms
AP Computer Science #2
Who regulates the Internet?
Who is in the IETF?
What is and RFC?
What are some privacy and security iss…
IETF (internet engineering task force)
Loosely organized citizens and engineers connected by email
Request for comments
Broadcast mode allows all users to see all of the moves in pl…
Who regulates the Internet?
IETF (internet engineering task force)
Who is in the IETF?
Loosely organized citizens and engineers connected by email
40 terms
AP Computer Science Final
Central Processing Unit (CPU)
Hard Drive
Motherboard
RAM
Brain of the computer that performs instructions defined by s…
Storage device that stores digitally encoded data on rapidly…
Printed circuit board on which the CPU, RAM chips and other e…
Random Access Memory - temporary place to store material that…
Central Processing Unit (CPU)
Brain of the computer that performs instructions defined by s…
Hard Drive
Storage device that stores digitally encoded data on rapidly…
AP Computer Science Final
Central Processing Unit (CPU)
Hard Drive
Motherboard
RAM
Brain of the computer that performs instructions defined by s…
Storage device that stores digitally encoded data on rapidly…
Printed circuit board on which the CPU, RAM chips and other e…
Random Access Memory - temporary place to store material that…
Central Processing Unit (CPU)
Brain of the computer that performs instructions defined by s…
Hard Drive
Storage device that stores digitally encoded data on rapidly…
90 terms
AP Computer Science FINAL
Source Code
Machine Code (Byte Code)
Compiler
Class
instructions in a programming language that need to be transl…
instructions that can be executed directly by the CPU (centra…
special computer program that translates the high-level descr…
a programmer-defined data type; fundamental building blocks o…
Source Code
instructions in a programming language that need to be transl…
Machine Code (Byte Code)
instructions that can be executed directly by the CPU (centra…
AP Computer Science Chapter 4
State and behavior
Classes
Scope
Instance data
The values of an object's variables describe the object's sta…
An object is defined by a class. A class is the model, patter…
The location at which a variable is declared defines its scop…
Attributes such as the variable face are also called instance…
State and behavior
The values of an object's variables describe the object's sta…
Classes
An object is defined by a class. A class is the model, patter…
20 terms
AP Computer Science Chapter 1
Algorithm
Program
Digital
Binary Numbers
A step-by-step description of how to accomplish a task.
A list of instructions to be carried out by a computer.
Based on numbers that increase in discrete increments, such a…
A number composed of just 0's and 1's, also known as a base-2…
Algorithm
A step-by-step description of how to accomplish a task.
Program
A list of instructions to be carried out by a computer.
AP Computer Science
Who regulates the Internet?
Who is in the IETF?
What is and RFC?
What are some privacy and security iss…
IETF (internet engineering task force)
Loosely organized citizens and engineers connected by email
Request for comments
Broadcast mode allows all users to see all of the moves in pl…
Who regulates the Internet?
IETF (internet engineering task force)
Who is in the IETF?
Loosely organized citizens and engineers connected by email
AP Computer Science Chapter 2
Primitive data
Data type
Object's attributes
Behavior
Common values such as numbers and characters; The different k…
A set of values and operations - what we can do with those op…
Values it stores internally, representing it's state; These v…
Defined by the methods of an object
Primitive data
Common values such as numbers and characters; The different k…
Data type
A set of values and operations - what we can do with those op…
AP Computer Science Vocab
binary number system
code
protocol
abstraction
-The base two number system implemented in almost every compu…
-a system for transferring information among people and machi…
a set of rules governing the exchange or transmission of data
-allows us to ignore the details of a complex device...and us…
binary number system
-The base two number system implemented in almost every compu…
code
-a system for transferring information among people and machi…
36 terms
AP Computer Science Ch. 4
Control Statements
Counter
Counter-Controlled Loops
Entry-Controlled Loops
while and if-else
increases by one every iteration
once the counter reaches a certain predetermined number the l…
continuation condition is tested at the top of the loop on ea…
Control Statements
while and if-else
Counter
increases by one every iteration
40 terms
AP Computer Science Vocab (1)
double
int
boolean
string literal
A primitive data type used for fractions and floating point n…
A primitive data type used for integers (positive-negative wh…
A primitive data type used for true - false or on - off.
Set of characters inside double quotes.
double
A primitive data type used for fractions and floating point n…
int
A primitive data type used for integers (positive-negative wh…
15 terms
AP Computer Science Vocab
Binary number system
Code
Bit
Protocol
The base two number system implemented in almost every comput…
a system for transferring information among people and machin…
Short for "binary digit"; the single unit of information in a…
A set of rules governing the exchange/transmission of data
Binary number system
The base two number system implemented in almost every comput…
Code
a system for transferring information among people and machin…
33 terms
AP Computer Science Chapter 2 Terms
object reference
object
state
behavior
A variable that represents an object.
Something that is created or manipulated by the program.
The description of an object.
The different functions of an object.
object reference
A variable that represents an object.
object
Something that is created or manipulated by the program.
26 terms
AP Computer Science A - Chapter 3
syntax
style
main method
comments
Very rigid rules which the text of a program is governed by a…
_______ is intended to make programs more readable. This is a…
The ________ __________If present, it is better to put it at…
Start the source code of each Java class with a _________ tha…
syntax
Very rigid rules which the text of a program is governed by a…
style
_______ is intended to make programs more readable. This is a…
AP Computer Science Notes
Overflow
int
byte
short
When computation exceeds the range of a type
- Integer... - (Range) -2,147,483,648 to 2,147,483,647... - (Size)…
- Describes single byte... - (Range) -128 to 127... - (Size) 1 byte
- short int... - (Range) -32768 to 32767... - (Size) 2 bytes
Overflow
When computation exceeds the range of a type
int
- Integer... - (Range) -2,147,483,648 to 2,147,483,647... - (Size)…
41 terms
AP Computer Science Chapter 1 Terms
packages
import packagename.*;
main method
source files
In Java, related classes are grouped into _______.
To import all of the classes in a package called "packagename…
A Java program must have at least one class, the one that con…
The java files that comprise your program are called _______.
packages
In Java, related classes are grouped into _______.
import packagename.*;
To import all of the classes in a package called "packagename…
10 terms
AP Computer Science A
Object Oriented Programming
Object
Attributes
Behaviors
Makes programs more closely model the way people think about…
Represents an item that has a job to do
Aspects of an object that describe it
Things that the object can do
Object Oriented Programming
Makes programs more closely model the way people think about…
Object
Represents an item that has a job to do
86 terms
AP Computer Science Terms
Address
Algorithm
Applet
Application Program
A unique number assigned to a byte of RAM memory
A list of steps to be performed, written in English
A Javascript program written to be run by an Internet Web Bro…
A program written to perform some real job in the real world.…
Address
A unique number assigned to a byte of RAM memory
Algorithm
A list of steps to be performed, written in English
23 terms
Ap computer science terms
Math.floor(x)
Math.ceil(x)
Math.pow(x,y)
Math.abs(x)
rounds x down (double)
rounds x up (double)
returns x to the power of Y (double)
returns the absolute value of x (matches type of x)
Math.floor(x)
rounds x down (double)
Math.ceil(x)
rounds x up (double)
10 terms
AP Computer Science - Java Review
bit
byte
statement
variable
A binary digit.
A sequence of bits used to encode a character in memory.
An individual instruction in a program.
A memory location, referenced by an identifier, whose values…
bit
A binary digit.
byte
A sequence of bits used to encode a character in memory.
38 terms
AP Computer Science Ch. 5
Accessors
Application Programming Interface (API)
Aspect Ratio
Default Constructor
a type of object... does return a value
a set of interfaces in a package or in an entire language
the ratio of the width to the height
a constructor without parameters... the object's internal state…
Accessors
a type of object... does return a value
Application Programming Interface (API)
a set of interfaces in a package or in an entire language
AP computer science terms
abstraction
Address
Aggregation
Alias
The idea of hiding details
A numeric value that identifies a memory location in main mem…
Something that is made up, at least in part of, other things
A reference to an object that is also referred to by another…
abstraction
The idea of hiding details
Address
A numeric value that identifies a memory location in main mem…
AP Computer Science Chapter 2
double
int
boolean
string literal
Floating point data type, stored using 64 bits.
Integer data type, stored using 32 bits.
Used to represent two values, true and false. Can't be change…
The character string that appears inside double quotation mar…
double
Floating point data type, stored using 64 bits.
int
Integer data type, stored using 32 bits.
AP Computer Science Terms
class
compiler
compile time error
constructor
creates objects; defines a type and what objects can and can'…
translates java source files (.java) to class files (.class)
error detected by the computer during compiling
initializes the values of fields;
class
creates objects; defines a type and what objects can and can'…
compiler
translates java source files (.java) to class files (.class)
124 terms
AP Computer Science
hardware
system software
application software
Euclid's algorithm
physical parts of a computer: input, output, CPU/ALU, main me…
operating system: provides user interface and manages compute…
any software that runs programs other than the operating system
algorithm used to find LCM and GCF
hardware
physical parts of a computer: input, output, CPU/ALU, main me…
system software
operating system: provides user interface and manages compute…
1 of 10