Must Know Vocab For Pop Quiz Flashcards

1
Q

Array

A

Lists stored into a variable
Values of the same type
Can be accessed by index integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Actual arguments

A

Expression

Supplied for a formal parameter of method by the caller

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

API

A

Application programming interface

Code library for building programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bit

A

Binary digit
Smallest unit of info
1 or 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Block

A

A group of statements bracketed by { }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Blue J

A

Easy program for learning Java

For 1st year students

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Boolean type

A

A type with 2 values: either true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Byte

A

Made up of 8 bits

Current computers use bytes as the smallest measure of storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Bytecode

A

Instructions made by compiler and then interpreted by JVM

Files end in .class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cast

A

Explicitly converting one type to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Char

A

Keyword

Variable = character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Class

A

groups related fields and methods

Blueprint for making an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Comment

A

Helps humans understand what the heck is goin on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Compiler

A

Source code — machine (object) code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Compile-time error

A

Error detected when program is combined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Constructor

A

Uses “new” method, automatically called and run when object is called
INITIALIZES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

CPU

A

Central Processing Unit

Executes the machine code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Editor

A

Program used to write computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Escape character

A

/n

Non literal meaning

20
Q

GUI

A

Graphical User Interphase

Graphics: windows, buttons, menus, pointing device, mouse, keyboard, user input

21
Q

Final variable

A

Set value

22
Q

Fields

A

Variables defined outside of all functions but inside of a class

23
Q

Formal parameters

A

Variables in the parenthesis of a function

Actual variables passed into formal variables

24
Q

Header

A

First line of function

25
Q

Interpreter

A

Source code — machine code

One line at a time

26
Q

IDE

A

Integrated Development Environment

Combines an editor, Java compiler, debugger, JVM

27
Q

Local variable

A

Defined inside of a function/ block

Limited scope

28
Q

Logic error

A

When the programmer fails

29
Q

Main

A

Starting function

30
Q

Objects

A

Something which we can interact with and manipulate in a program

31
Q

Object code

A

Machine code after compiled / interpreted

32
Q

OS

A

Operating System

Software that controls the execution of computer programs and may provide various services

33
Q

Order of operations

A

U should know this

34
Q

Package

A

Group of related classes

35
Q

Pseudocode

A

Half code half English

Ex: java.awt.Image

36
Q

Accessor method

A

Method,
returns data,
accesses object doesn’t change it
Ex: getX( )

37
Q

RAM

A

Random Access Memory

Electronic circuits that store codes and data needed to run program

38
Q

Random

A

” import java.util*; “

Random gen = new Random( );
int carrotSticks = gen.nextInt(15);

Or

int carrotStick = (int)(Math.random( )*15);

39
Q

Reserved words

A

Predefined, can’t be changed

40
Q

Run time error

A

Error only when program runs, not when it compiles

Ex: 1/x only has an error when x = 0

41
Q

Signature

A

The name of a method and the types of its parameters

42
Q

Semantics

A

Defined rules for interpreting the meaning of statements

43
Q

Source program

A

Program written in English, in Java files end in .java

44
Q

Variable

A

Memory location, referenced by an identifier

45
Q

Instance Variable

A

FIELD

  • for that class
  • made when an object is made
46
Q

Instance

A
  • when you use the “new” operator to make an object

- an object is an instance of a class