Section 1

Preview this deck

Method

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (88)

Section 1

(50 cards)

Method

Front

Actions; functions of classes

Back

compiler

Front

translates a program from a high-level language to a low-level language the computer can run

Back

process

Front

program that is currently executing

Back

operating system

Front

supervisory program that oversees the operation of the computer

Back

System.out

Front

object for sending output to the screen

Back

loop statement

Front

repeats an action until a stopping condition occurs

Back

Software

Front

programs and data - sets of instructions for the computer to follow and relevant information that accompanies these instructions

Back

primitive type

Front

used for simple, non-decomposable values such as an individual number or individual character

Back

bug

Front

An error in a program

Back

Class Loader (linker)

Front

automatically connects the classes together

Back

input

Front

the program's instructions or the data needed by the program

Back

bit

Front

a digit with a value of either 0 or 1.

Back

Syntax Errors

Front

Grammatical mistakes in a program; compiler catches syntax errors and prints an error message

Back

user

Front

person who interacts with the program

Back

Decoding

Front

translating from the encoded symbol set back to the original symbol set

Back

compile command

Front

javac className.java

Back

byte

Front

consists of 8 bits; in main memory, resides at a numbered location called its address.

Back

Auxiliary Memory (Secondary Memory)

Front

More or less permanent (nonvolatile memory)

Back

output

Front

result(s) produced by following the instructions in the program

Back

algorithm

Front

finite sequence of instructions for solving a problem or performing some task.

Back

variable

Front

something that can store data`

Back

Applications

Front

regular programs, meant to be run on your computer

Back

Processor (CPU)

Front

processes a program's instructions

Back

Applets

Front

Little applications, Meant to be sent to another location on the internet

Back

object

Front

performs an action when you invoke or call one of its methods

Back

switch statement

Front

multiway branch that makes a decision based on an integral expression

Back

if-else Statement

Front

A branching statement that chooses between two possible actions

Back

type cast

Front

temporarily changes the value of a variable from the declared type to some other type

Back

Object-oriented programming

Front

treats a program as a collection of objects that interact by means of actions

Back

Flow of control

Front

order in which a program performs actions

Back

identifier

Front

case sensitive name, such as the name of a variable

Back

package

Front

library of classes that have been defined already

Back

println

Front

method/function to print whatever is in parentheses to the screen

Back

exit Method

Front

program can be terminated normally by System.exit(0);

Back

programmer

Front

person who writes a program

Back

Byte-code

Front

machine language for a hypothetical computer (or interpreter) called the Java Virtual Machine

Back

Main memory

Front

type of volatile memory, measured in gigabytes, GB of RAM(stands for random access memory)

Back

syntax

Front

grammar rules for a programming language

Back

interpreter

Front

A program translates each byte-code instruction, executing the resulting machine-language instructions

Back

Hardware

Front

tangible parts of computer systems

Back

program

Front

finite sequence of instructions for a computer to follow written in a programming language

Back

statement

Front

instruction to the computer

Back

argument

Front

items inside parentheses provides the information needed by methods

Back

debugging

Front

Eliminating errors

Back

run command

Front

java className

Back

value

Front

data stored by a variable

Back

Logic/Semantic Errors

Front

Errors that are not detected during compilation or while running, but which cause the program to produce incorrect results

Back

encoding

Front

Translating from one set of symbols to another set of symbols

Back

class/object type

Front

used for a class or objects and has both data and methods

Back

Runtime Errors

Front

Errors that are detected when your program is running, but not during compilation; terminates the program and prints an error message

Back

Section 2

(38 cards)

Encapsulation

Front

divides class definition into class interface and class implementation

Back

UML Class Diagrams

Front

Contains an outline of a class

Back

JAR

Front

Java ARchive. A group of Java classes and supporting files combined into a single file compressed with ZIP format, and given .jar file extension.

Back

Java array

Front

collection of variables all of the same type

Back

2D ragged arrays

Front

Contains at least two rows with different lengths

Back

Enumerations

Front

enumeration lists the values a variable can have

Back

new operator

Front

allocates memory for an object like an array on the program's heap

Back

Postcondition comment

Front

Tells what will be true after method execution

Back

do-while loop

Front

Similar to a while statement, except that the loop body is executed at least once

Back

Static external method call

Front

Class name followed by dot followed by method call

Back

continue statement

Front

Ends current loop iteration, begins the next one

Back

class implementation

Front

Contains private variables; Includes definitions of public and private methods

Back

package

Front

collection of classes grouped together into a folder

Back

body of the loop

Front

statement or group of statements to be repeated

Back

for statement

Front

typically executes the body of a loop a fixed number of times

Back

Static variables

Front

shared by all objects of a class

Back

this keyword

Front

stands for the current instance of the object

Back

loop

Front

portion of a program that repeats a statement or a group of statements

Back

method stub

Front

simplified version of a method for testing purposes

Back

Information hiding

Front

Designing a method so it can be used without knowing details

Back

class variables

Front

static variable

Back

array

Front

simple data structure that stores values of the same type contiguously in memory

Back

Precondition comment

Front

States conditions that must be true before method is invoked

Back

Overloading

Front

When two or more methods have same name within the same class

Back

infinite loop

Front

loop which repeats without ending itself; semantic (logic) errors

Back

Non-static external method call

Front

Object name followed by dot followed by method call

Back

controlling expression

Front

switch statement begins with the keyword switch followed by an integral expression or String in parentheses

Back

class interface

Front

Tells what the class does; Gives headings for public methods and comments about them

Back

accessor method (getter)

Front

When instance variables are private must provide methods to access values stored there

Back

class path

Front

The location(s) in which Java looks for class files

Back

signature

Front

A method's name and number and type of parameters

Back

while statement

Front

repeats while a controlling boolean expression remains true

Back

sentinel value

Front

For large input lists, can be used to signal the end of the list

Back

data structure

Front

particular way of storing and organizing data in a computer so it can be used effectively

Back

mutator method (setter)

Front

Must also provide methods to change the values of the private instance variable

Back

Assertion

Front

boolean expression that represents the state of a program

Back

Constructors

Front

A special method called when instance of an object created with new

Back

void method

Front

Method does not return a value

Back