Programming Fundamentals Flashcards

1
Q

What are the three Design Phase stages in order?

A

Requirement Analysis
Program Design
Coding

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

A structured solution to abstract technical details that provides a graphical depiction of any process.

A

Flowchart (one word)

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

A structured written representation of a process to leave a clear idea of the logical steps necessary to solve a problem, abstract of syntax and technical details.

A

Pseudocode

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

___ is the process of testing the parts of a program. The tests used are created prior to the Testing and Deployment Phase

A

Unit Testing

You’re testing each unit as you go

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

Beta Testing is conducted by a limited group of customers with ____ on a real system in the environment it will work inside.

A
Real Data
(putting the program into practice)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Testing done by a separate team that is not developing the application is known as ____.

A

Quality Assurance (QA)

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

Testing done by a team separate from the development team. Testing is based on the requirements documentation, intended use, and error handling.

A

Quality Assurance (QA) Testing

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

Testing done by the end-user to ensure the software meets the users needs.

A

Beta Testing

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

Testing done by the programmer during the development phase of the SDLC.

A

Unit Testing

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

What does SDLC stand for?

A

Software Development Life Cycle

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

Which Support phase maintenance category is a modification of software performed to keep the software usable in a changing environment.

A

Adaptive Maintenance

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

What are the four Support Phase maintenance categories?

A

Adaptive Maintenance
Corrective Maintenance
Perfective Maintenance
Pre-vent-ive (not Pre-vent-at-ive) Maintenance

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

Which Support phase maintenance category is a reactive modification of software performed to correct discovered problems.

A

Corrective Maintenance

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

Which Support phase maintenance category is a modification of software performed to improve/enhance performance of maintainability.

A

Perfective Maintenance

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

Which Support phase maintenance category is a modification of software performed to detect and correct latent faults before they become effective faults.

A

Preventive Maintenance

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

The debugging method where the program prints program status to a log file instead of to the screen.

A

Logs

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

The debugging method that allows the programmer to step through the program one line at a time.

A

Debugging tools

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

The debugging method where output statements are added to display program state, variable values, or markers to identify where issues reside.

A

Print Statements

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

The methodical process of finding and reducing the number of bugs (defects) in a computer program is known as

A

Debugging

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

The correct title for this Software Development Life Cycle phase description:

Fix bugs and add new features.

A

Support

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

The correct title for this Software Development Life Cycle phase description:

Select a programming methodology and write the code.

A

Design

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

The correct title for this Software Development Life Cycle phase description:

Ensure the program meets the needs of the customer.

A

Testing and Deployment

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

The correct title for this Software Development Life Cycle phase description:

Determines what the program needs to do.

A

Requirements

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

Which programming language type requires the programmer to write in the native language of the computer?

A

Machine Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What programming language type requires an assembler to produce an executable program?
Assembly Language
26
What Generation III programming language type requires a compiler to produce an executable program?
Compiled
27
What Generation III programming language type requires an interpreter on the computer where the program is running?
Interpreted/Scripting
28
What Generation III programming language type requires a virtual machine to translate byte code created by compiling the source code into byte code?
Just-In-Time (JIT)
29
Which programming language type is best for writing simple programs for automating routine tasks and allow the user to easily modify the program?
Interpreted/Scripting
30
Which programming language type is best for writing large programs that can be cross-platform?
Just-In-Time
31
Which programming language type is best for writing large complex programs that the user cannot modify?
Compiled
32
Which programming language type is best for writing small programs that talk directly to hardware?
Assembly
33
The process of taking a program from one programming language or system architecture and modifying it to work in a different language or architecture.
Porting
34
Attributes and behaviors that are defined by a class are known as ___ of that class.
Members
35
The specific features of an object
Characteristics
36
The defined actions an object can perform
Behaviors
37
The actions of an object
Methods
38
The defined characteristics of an object
Attributes
39
___ Programming makes program modular by grouping instructions together that perform a specific task.
Procedural (functions)
40
An instance of a class that does not exist until instantiated in the program.
object
41
Provides a means to access members (characteristics and methods) of an object:
Dot Notation
42
conceals functional details of a class, to include attributes and behaviors to help ensure the object's integrity.
Encapsulation
43
A class (child class) receives attributes and behaviors from another class (parent class), and can also introduce new attributes and behaviors.
Inheritance
44
Allows a derived class member to be treated just like their parent class, but allows the child to modify the default behavior to achieve a different result.
Polymorphism
45
This methodology allows the data to control what actions are available and is the most complex.
object-oriented
46
A program is a series of instructions a computer follows to achieve a(n) ____. Most often this a problem that would take a long time for a human to solve.
goal
47
The process of how a program decides and then runs the next statement or block of code.
Program Flow
48
A structure that allows a selection of one or more different courses of action in a program's flow of execution.
Branch, Branching, Branches
49
This type of structural component is a repetition structure which makes it possible to run the same sequence of statements more than once.
Loop, Looping, Loops
50
Without branching or looping, this is how a program's normal flow of execution operates: one statement after another in a linear progression.
Sequential Action
51
Sometimes in the making of the logical process to solve a problem, you have to include a branching/looping structure inside of another branching/looping structure. This is known as:
Nesting
52
SLAM PCAL 'cuz its LAME refers to what?
Stages of Compilation
53
What is the first stage of compilation?
Pre-processor
54
What is the second stage of compilation?
Compilation
55
What is the third stage of compilation?
Assembly
56
What is the fourth stage of compilation?
Linking
57
What are the four stages of compilation?
Pre-processor Compilation Assembly Linking
58
What is the diddy for the whole stages of compilation cycle?
SLAM PCAL 'cuz its LAME SOURCE CODE gets PRE-PROCESSED into LOGICAL FILES LOGICAL FILES get COMPILED into ASSEMBLY CODE ASSEMBLY CODE gets ASSEMBLED into MACHINE CODE MACHINE CODE gets LINKED with other libraries to make an EXECUTABLE FILE
59
What does the LAME portion of SLAM PCAL 'cuz its LAME mean?
LAME is the first letter of the outputs Logical File Assembly Code Machine Code (Object Code) Executable File
60
What does the SLAM portion of SLAM PCAL 'cuz its LAME mean?
SLAM is the first letter of the inputs Source Code Logical File Assembly Code Machine Code
61
program instructions in text format:
Source Code
62
The C++ compiler used in class is called:
g++
63
Allows a programmer to extract commonly used sections of code into their own sections independent of the main program.
functions
64
Are function parameters are globally scoped?
no
65
What are the four parts of a function definition in the order found as written in code.
Return Type, Function Name, Parameters, Function Body
66
A single line of code that informs the compiler and programmers of what a function expects as arguments and the kind of data the function will return.
function declaration