Computing Java Unit 1

0.0(0)
studied byStudied by 11 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

software

a collection of instructions that is run by a computer

2
New cards

source code

a collection of programming commands

3
New cards

integrated development environment

a software application for writing, compiling, testing, and debugging program code

4
New cards

syntax

the rules for how a programmer must write code for a computer to understand

5
New cards

class header

consists of the class keyword and the name of the class / public class MyClass {

6
New cards

class

a programmer-defined blueprint from which objects are created

7
New cards

package

a collection of similar classes

8
New cards

object

an instance of a class

9
New cards

attributes

characteristics of objects

10
New cards

behaviours

actions an object can perform

11
New cards

instantiate a new object

Painter myPainter = new Painter();

12
New cards

state

the attributes of an object that are represented by its instance variables

13
New cards

constructor

a block of code that has the same name as the class and tells the computer how to create a new object

14
New cards

procedural abstraction

allows a programmer to use a method by knowing what the method does even if they do not know how the method was written

15
New cards

boolean

primitive data type that can be either true or false

16
New cards

logic error

an error that occurs when the code runs but does not do what was expected

17
New cards

decomposition

the process of breaking a problem down into smaller parts

18
New cards

edge case

a bug that occurs at the highest or lowest end of a range of possible values or in extreme situations

19
New cards

redundant code

code that is unnecessary

20
New cards

open source code

code that is freely available for anyone to use, study, change, and distribute

21
New cards

inheritance class header

public class MyClass extends MyFirstClass {

public MyClass() {

super();

}

}

22
New cards

superclass

more general than a subclass and should not access the extra attributes and behaviours of a subclass

23
New cards

instantiate a method

public void MethodName() {

24
New cards

void method

a method that performs an action but doesn’t return a value

25
New cards

algorithm

a set of instructions to solve a problem or accomplish a task