comp sci Flashcards

1
Q

program

A

A set of instructions that a computer uses to perform a specific function.

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

Class

A

A blueprint or template of an object that has states and behaviors;
a concept

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

Method

A

Something a class can do (behavior)

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

Void

A

Signifies that a method will not return any data

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

Parameter

A

Data that is passed to a method

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

int

A

stores numbers

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

double

A

stores numbers with decimals

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

boolean

A

stores if something is true or false

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

char

A

stores a single letter or punctuation (use single quotes)

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

String

A

stores multiple letters (use double quotes)

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

variable

A

A variable is a value that can change during the running of a program. Each variable takes up some space in memory

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

data type

A

The sort of data that a variable can hold. This also defines which operation can be performed on the variable.

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

Operator

A

the type of action that can be performed on variables

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

final

A

indicates that a variable cannot change

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