comp sci summer work

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

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

algorithm

A methodical, logical rule or procedure that guarantees solving a particular problem.

2
New cards

sequencing

to arrange in a specific order

3
New cards

syntax error

a mistake in the program where the rules of the programming language are not followed.

4
New cards

logic error

an error that produces the wrong output, happens after

5
New cards

run time error

A mistake in a program that happens during, stops the program

6
New cards

data type

indicates the type of data that can be stored in a field

7
New cards

primitive data type

Integer, real, character or Boolean data types, fundamental

8
New cards

reference type

a data type that contains a pointer to the memory location of an object

9
New cards

int

a command defining variables, whole numbers

10
New cards

double

data set that stroes numbers with decimals

11
New cards

boolean

A single value of either TRUE or FALSE

12
New cards

variable

a named container for a value in memory, must declare it

13
New cards

literal

an unchanging variable as soruce code

14
New cards

escape sequence

A sequence of code that represents a special character when used inside a string, /n

15
New cards

remainder operator %

Performs division and returns the remainder

16
New cards

assignment operator/statement

allows a program to change the value represented by a variable equals sign

17
New cards

casting operator

Converts one data type to another.

18
New cards

interger overflow error

when a mth number is too high

19
New cards

round off error

Error from attempting to represent a number that is too precise. The value is rounded.

20
New cards

comment

not an executable command, used for clarity

21
New cards

precondition

a condition that must be true to run

22
New cards

postcondition

a condition that is guaranteed to be true after the code is ran

23
New cards

method

a block of code preforming a task

24
New cards

parameter

a variable used in a function to recieve input values when a procedure is called

25
New cards

void method

a method that does not return any result after completion

26
New cards

non void method

A method that returns a value

27
New cards

class method

method bound to the class, not the object

28
New cards

object

a part of the program thar knows how to executre a command and preform actions

29
New cards

class

a template for creating actions

30
New cards

superclass

class that inherits another

31
New cards

subclass

class that inherits attributes from another class

32
New cards

compiler

A computer program created to read an entire program and convert it into bytecode(0's and 1's)

33
New cards

string literal

text in double quotes

34
New cards

compound assignmnt operators

used in place of assignment operator in numeric expressions

35
New cards

increment/decrement operators

used to add or subtract from stored values

36
New cards

API

informs programmer how to use classes

37
New cards

declaration

creates a container name, int studentAge

38
New cards

Initialization

the answer to a declaration, studentAge = 16

39
New cards

expression

combination of variables, literals and operators

40
New cards

output

provides methods for displaying information to the console

41
New cards

Widening Conversion (Implicit)

Happens when you convert a smaller data type to a larger one

42
New cards

Narrowing Conversion (Explicit)

Requirs you to manually specify the casr using parentheses