LESSON 2 Flashcards

1
Q
  • Perform syntactic analysis on the description
A

Decomposition

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

A graphical way of depicting a problem in terms of its inputs, outputs, and processes

A

FLOWCHARTING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • In flowchart shape it is the start/end of a program
A

Rounded Rectangle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • In flowchart shape it is the program input and output
A

Parallelogram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • In flowchart shape it is the processing
A

Rectangle

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

Writing down all the major steps you will use in the program as depicted in your flowchart

A

PSEUDOCODE

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

Enumerate the Elements of Pseudocode Design:

A

Get - get info from the user
Display - display info for the user
Computer - perform arithmetic operation +, -, *, /, =, ( ) - Standard arithmetic operators
Store - store a piece of info for later use

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

In flowchart shape it is used for decisions. The “question” being asked goes inside the diamond. An arrow for each “answer” protrudes from the diamond.

A

Diamond

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

One or more lines of code terminated by a semicolon

A

JAVA STATEMENTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • One or more statements bounded by an opening and closing curly braces that groups the statements as one unit.
  • Can be nested indefinitely
A

JAVA BLOCKS

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

Tokens that represent names of variables, methods, classes, etc

A

JAVA IDENTIFIERS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  • Predefined identifiers reserved by Java for a specific purpose
  • Cannot be used as names for variables, classes, methods, etc.
A

JAVA KEYWORDS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  • Not keywords, but also cannot be used as names
  • true, false, null
A

RESERVED WORDS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  • Describes how its data elements (variables) are associated with storage in memory and how they are related to one another
  • Indicates the type of value that the variable can hold
A

DATA TYPES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  • An item of data used to store state of objects
  • Has a data type and a name
  • Must follow rules for identifiers
A

VARIABLE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • store data in the actual memory location of where the variable is.
A

PRIMITIVE VARIABLES

17
Q
  • variables that stores the address in the memory location
  • It points to another memory location of where the actual data is
A

REFERENCE VARIABLES