Unit 2 Flashcards

1
Q

algorithm

A

lists the steps that you can follow to solve a problem

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

pseudocode

A

natural language combined with some programming code to explain the solution to a problem (often a brainstorming step)

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

coding

A

translating an algorithm into a program

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

declaring variables

A

allocates space in memory

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

variable

A

a storage location in computer memory where a value can be used

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

data type

A

the kind of data that is stored in a variable (ex: integers, characters, strings, etc)

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

int keyword

A

declares an integer number

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

double keyword

A

floating point number

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

identifier

A

name of a variable, method or class (they are case sensitive in Java)

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

string concatenation

A

when strings are stapled together

“Hello” + “World” = “HelloWorld”

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

Scanner class

A

used to get user input through the keyboard

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

System

A

refers to standard input and output devices

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

System.out

A

refers to standard output

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

System.in

A

refers to standard input

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

import

A

used for specific importing of programs

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

import * (wildcard)

A

imports all package classes via an asterisk

17
Q

constants

A

used to store a value in a program which does not change. Also known as a final variable.

Denoted by:
final CONSTANT_NAME =

18
Q

final keyword

A

used for declaring constants