Vocabulary Flashcards

Keep track of the programming terms I am learning.

1
Q

Integrated Development Environment (IDE)

A

A program used to write, right n and debug code. Converts code to machine code.

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

Console

A

Text interface that outputs text from the program.

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

Modulus (%)

A

Remainder of divisional operation. I.e

Take 10 / by 3 and give remainder (not answer). Used to determine if an integer is even or odd.

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

Strings

A

Text or Anything enclosed by quotation marks.

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

Concatenation

A

Adding strings together

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

Variable

A

Something that can store information, can be referenced and manipulated. Components of a Variable include: type, name, a piece of information

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

Primitive type variables

A

Integers, booleans, floats, doubles, strings and chars.

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

Integer

A

Variable that can store a whole number in range from -2147484648 to 2147483648. (NO decimals).

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

Boolean

A

True or False

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

Floats

A

32 bits of information.

Can store number w/ decimal places.

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

Doubles (Double Variables)

A

64 bits of information. Can store decimals.

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

String Variables

A

Strings of letters. Useful for displaying text and storing input information.

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

Char Variables

A

Stands for character. Holds just one character. Useful to read a button press or one character without a string.

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

Naming Variables

A

Variable names must be one continuous string. Folks use camelCase.

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

Conditional Statements

A

Change the path of the code based on certain conditions. Include: If statement.

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

Else-if statement

A

Follows an if statement, only be evaluated when the if statement is false.

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

Else statement

A

Follows an Else If Statement or If Statement. Carries out instructions when previous statements are false. Good idea to always have one for funky results.

18
Q

Switch Statement

A

An easy way to collapse if statements.

19
Q

Array

A

A list of Integers, strings, other arrays. All info in an array is related.

When created, must either fill the array with data or set the specific size of the array. Cannot be increased or decreased.

Must decide type of Array when initializing. Examples: String Array, Integer Array etc. Data type must be the same within the Array.

20
Q

Index

A

Data’s place in an array. Start counting place at zero.

21
Q

2D Array

A

An array made up of arrays. Has two numbers for it’s index.

22
Q

Loops

A

A statement that is used to run certain instructions repeatedly. Useful for repeated sections of code

23
Q

For Loop

A

Carry out certain instructions numerous times. 3 basic parts: integer value, conditional statement the integer must reach to exit the loop, operation to modify the integer value after the instructions inside loop are completed. MUST set up exit condition or infinite loop will crash prog.

24
Q

For Each Loop

A

Used for iterating through entire arrays or lists.

25
Q

While Loop

A

Continuously carries out instructions while a condition statement is true. May be an infinite loop.

26
Q

Do-while Loop

A

Similar to while loops, but always carry out instructions once. Instructions run once before checking the conditional statement.

27
Q

Syntax Error

A

Parts of the program where you fail to meet the programming rules.

28
Q

Runtime Error

A

Part of code cannot be computed in a reasonable amount of time like the infinite loop.

29
Q

Logic Error

A

Code runs but result isn’t what you wanted.

30
Q

Breakpoint

A

Pauses a program when the line you placed it at is reached untill you continue.

31
Q

Function

A

Segment of code that can be easily run by calling the function name. Example: Print, loop, calculations. Found actions recycle sections of code that are used over and over. They save space and are powerful.

32
Q

Name 4 types of functions

A

Takes Arguments, Returned Values
Takes Arguments, Returns No Value
Doesn’t Take in Argents, Returns Values
Doesn’t Take in Argents, Returns No Values

33
Q

Arguments

A

Variables we pass into a function to be returned, printed or used in other operations. Any kind of variable can be used.

34
Q

Import Function

A

Used to import libraries of code from exterior sources. Must specify library, package, and class.

35
Q

ArrayLists

A

A growing array that dynamically changes size. Defaults to 10 to start.

36
Q

Dictionaries

A

Stores multiple values and is tied to an identifier called a key that is used to reference it.

37
Q

Searching Algorithms

A

Look for a particular piece of data in an array.

38
Q

Linear Search

A

Starts at top, goes down in order.

39
Q

Binary Seach

A

Must be an ordered list. Goes to middle value, figures out if desired data comes before or after, eliminates the half off the list without the data, halves the list again, etc.

40
Q

Recursion

A

When a function repeatedly calls itself. Breaks larger problems into simpler pieces.

41
Q

Stack

A

Data structure that contains all of the instructions your program needs to complete.

42
Q

LIFO Structure

A

Last in, first out. (Last item on the stack is fist completed.)