Computer Programming Flashcards

1
Q

IDE (Integrated
Development
Environment)

A

Software for building applications that combines
common developer tools in a single interface.

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

Interpreted Language

A

Source code is read and executed by an interpreter

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

Compiled Language

A

Source code is translated into machine code, and the
machine code is stored in a separate file.

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

High-Level Language

A

Programming Language that enables a programmer to
write programs that are closer to human language.

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

Low-Level Language

A

Programming language that contains basic
instructions recognized by a computer.

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

Syntax Error

A

Error which is detected and prevents the program
from running.

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

Run-Time Error

A

Error in the code that occurs while the program is
running

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

Logic Error

A

Mistake in the code that produces incorrect results.

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

Debugging

A

Finding and fixing problems in an algorithm or program.

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

White Space

A

Blank lines and extra spacing to improve readability of
code.

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

Identifiers

A

Names given to variables, constants, methods, and
functions.

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

Variable

A

A named value within a program.

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

Function

A

A named group of programming instructions.

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

Constant

A

Data values that stay the same every time a program is
executed.

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

Camel Case

A

Naming convention where the first letter of name is
lowercase, and each new word is capitalized.
(camelCase)

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

Pascal Case

A

Naming convention where the first letter of each
compound word is capitalized. (PascalCase)

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

Snake Case

A

Naming convention where spaces are replaced with
underscores. (snake_case)

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

Software Development
Life Cycle

A
  1. Requirements Analysis - Identify
    specifications and understand requirements to create
    a solution.
  2. Planning/Design - Design an algorithm to solve
    the problem using appropriate documentation
    (UML diagrams and pseudocode).
  3. Implementation - Write the code
  4. Testing - Test program for verification of errors
    and proper functionality.
  5. Release & Maintenance - Release the solution and
    provide updates when necessary.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Algorithm

A

A finite set of instructions that accomplish a task.

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

Scope

A

Determines the accessibility (visibility) of variables.

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

Local Variable

A

Only recognized inside the function in which it is
declared.

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

Global Variable

A

Recognized from anywhere inside a program.

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

Input

A

The information computers get from users, devices,
or other computers.

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

Output

A

The information computers give to users, devices, or
other computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
String
An ordered sequence of characters.
26
Integer
A data type that is used for a whole number
27
Boolean
A data type that is either true or false.
28
Float
A data type that is used for fractional values in decimal format.
29
Declaration
Stating the name and data type of a variable.
30
Initialization
Assignment of an initial value for a variable.
31
Arithmetic Operators
Includes addition, subtraction, multiplication, division, and modulus operators.
32
Comparison Operators
<, >, ≤, ≥, ==, ≠ indicate a Boolean expression.
33
Order of Operations
Parenthesis, exponents, multiplication, modulus, division, addition, subtraction (PEMMDAS).
34
Logical Operators
NOT, AND, and OR, which evaluate to a Boolean value.
35
Expression
A combination of operators, constants, and variables.
36
Integer Division
Division in which the fractional part (remainder) is discarded
37
Float Division
Division in which the fractional part (remainder) is included with a certain number of values after the decimal.
38
Function
A named group of programming instructions
39
Readability
The ease with which the code is read and understood.
40
Reusability
Capability of being used again or repeatedly.
41
Modularity
Enables reusability and minimizes duplication.
42
Abstraction
Hiding unnecessary details from the user.
43
Built-In Function
Any function that is provided as part of a high-level language and can be executed by a simple reference with specification of arguments.
44
User-Defined Function
A function created by the user.
45
Arguments
The variables given to the function for execution.
46
Parameters
The names listed in the method/function’s definition.
47
Return
A value that is sent back to the user by a method/function.
48
Void Return
Indicates that the function does not return a value
49
Simple Data Types
char, string, integer, float, double, boolean.
50
Complex Data Types
enumeration, array, list, object.
51
Conditional Statement
Decision making based on a Boolean value
52
Nested IF Statement
An if statement placed inside another if statement.
53
For Loop
Initial Value Condition Increment/Decrement
54
While Loop
Loops through a block of code as long as a specified condition is true
55
Nested Loop
A loop placed inside another loop
56
Break
Statement used to immediately terminate a loop.
57
Met Condition
Expression evaluates to true.
58
Failed Condition
Expression evaluates to false.
59
Iterate
Each cycle through a loop.
60
Infinite Loop
A loop that, due to a logic error, will continue endlessly
61
Complex Condition
Formed by combining multiple conditions with logical operators
62
Exit Condition
Used to exit a loop.
63
Computer Programming/Software Engineering Team
Team Leader Analyst Senior Developer Junior Developer Client/Subject-Matter Expert
64
a = expression
Evaluates expression and then assigns a copy of the result to the variable a
65
DISPLAY(expression)
Displays the value of (expression) in the console window
66
INPUT( )
Accepts a value from the user and returns the input value
67
a + b a - b
The arithmetic operators +, -, *, and / are used to perform arithmetic on a and b.
68
a * b a / b
For example, 17 / 5 evaluates to 3.4. The order of operations used in mathematics applies when evaluating expressions.
69
a MODULUS b -or a MOD b
Evaluates to the remainder when a is divided by b. For example, 17 MOD 5 evaluates to 2. MODULUS (MOD) has the same precedence as the * and / operators.
70
NOT condition
Evaluates to true if condition is false; otherwise evaluates to false.
71
condition1 AND condition2
Evaluates to true if both condition1 and condition2 are true; otherwise evaluates to false.
72
condition1 OR condition2
Evaluates to true if condition1 is true or if condition2 is true or if both condition1 and condition2 are true; otherwise evaluates to false.
73
FOR(condition) { }
The code in is executed a certain number of times.
74
WHILE(condition) { }
The code in is repeated until the (condition) evaluates to false.
75
IF(condition1) { { ELSE IF(condition2) { } ELSE {
If (condition1) evaluates to true, the code in is executed; if (condition1) evaluates to false, then (condition2) is tested; if (condition2) evaluates to true, the code in is executed; if both (condition1) and (condition2) evaluate to false, then the code in is executed.
76
PROCEDURE procName( )
Defines procName as a procedure that takes no arguments. The procedure contains . The procedure procName can be called using the following notation: procName( )