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
Q

What programming language type requires an assembler to produce an executable program?

A

Assembly Language

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

What Generation III programming language type requires a compiler to produce an executable program?

A

Compiled

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

What Generation III programming language type requires an interpreter on the computer where the program is running?

A

Interpreted/Scripting

28
Q

What Generation III programming language type requires a virtual machine to translate byte code created by compiling the source code into byte code?

A

Just-In-Time (JIT)

29
Q

Which programming language type is best for writing simple programs for automating routine tasks and allow the user to easily modify the program?

A

Interpreted/Scripting

30
Q

Which programming language type is best for writing large programs that can be cross-platform?

A

Just-In-Time

31
Q

Which programming language type is best for writing large complex programs that the user cannot modify?

A

Compiled

32
Q

Which programming language type is best for writing small programs that talk directly to hardware?

A

Assembly

33
Q

The process of taking a program from one programming language or system architecture and modifying it to work in a different language or architecture.

A

Porting

34
Q

Attributes and behaviors that are defined by a class are known as ___ of that class.

A

Members

35
Q

The specific features of an object

A

Characteristics

36
Q

The defined actions an object can perform

A

Behaviors

37
Q

The actions of an object

A

Methods

38
Q

The defined characteristics of an object

A

Attributes

39
Q

___ Programming makes program modular by grouping instructions together that perform a specific task.

A

Procedural (functions)

40
Q

An instance of a class that does not exist until instantiated in the program.

A

object

41
Q

Provides a means to access members (characteristics and methods) of an object:

A

Dot Notation

42
Q

conceals functional details of a class, to include attributes and behaviors to help ensure the object’s integrity.

A

Encapsulation

43
Q

A class (child class) receives attributes and behaviors from another class (parent class), and can also introduce new attributes and behaviors.

A

Inheritance

44
Q

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.

A

Polymorphism

45
Q

This methodology allows the data to control what actions are available and is the most complex.

A

object-oriented

46
Q

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.

A

goal

47
Q

The process of how a program decides and then runs the next statement or block of code.

A

Program Flow

48
Q

A structure that allows a selection of one or more different courses of action in a program’s flow of execution.

A

Branch, Branching, Branches

49
Q

This type of structural component is a repetition structure which makes it possible to run the same sequence of statements more than once.

A

Loop, Looping, Loops

50
Q

Without branching or looping, this is how a program’s normal flow of execution operates: one statement after another in a linear progression.

A

Sequential Action

51
Q

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:

A

Nesting

52
Q

SLAM PCAL ‘cuz its LAME refers to what?

A

Stages of Compilation

53
Q

What is the first stage of compilation?

A

Pre-processor

54
Q

What is the second stage of compilation?

A

Compilation

55
Q

What is the third stage of compilation?

A

Assembly

56
Q

What is the fourth stage of compilation?

A

Linking

57
Q

What are the four stages of compilation?

A

Pre-processor
Compilation
Assembly
Linking

58
Q

What is the diddy for the whole stages of compilation cycle?

A

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
Q

What does the LAME portion of SLAM PCAL ‘cuz its LAME mean?

A

LAME is the first letter of the outputs

Logical File
Assembly Code
Machine Code (Object Code)
Executable File

60
Q

What does the SLAM portion of SLAM PCAL ‘cuz its LAME mean?

A

SLAM is the first letter of the inputs

Source Code
Logical File
Assembly Code
Machine Code

61
Q

program instructions in text format:

A

Source Code

62
Q

The C++ compiler used in class is called:

A

g++

63
Q

Allows a programmer to extract commonly used sections of code into their own sections independent of the main program.

A

functions

64
Q

Are function parameters are globally scoped?

A

no

65
Q

What are the four parts of a function definition in the order found as written in code.

A

Return Type, Function Name, Parameters, Function Body

66
Q

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.

A

function declaration