Software Development Flashcards

1
Q

Describe the role of the client when developing software using agile methodologies

A

 Details requirements
 Outlines scope and boundaries
 Evaluates prototype/suggest changes
 Provides feedback/liaising with development team throughout process

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

What is meant by the scope of a variable

A

Section of code in which a variable is accessible/usable

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

Describe the analysis stage of the software development process.

A
 Requirements elicitation eg
o Interview Client
o Inspect documentation
o Observation 
 Produce(software) specification
 Identify inputs/processes/outputs
 Identify scope/boundaries
 Functional requirements detailing features of software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe how object-oriented languages are used to create software

A

 Uses classes/sub-classes
 Classes are created with attributes and methods
 Subclasses inherit code of a superclass
 Objects of these classes can be instantiated
 Methods perform an operation
 Attributes store properties/values (for an instance)
 Subclasses need only define additional attributes and
methods

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

What is meant by a formal parameter?

A

 A formal parameter can be a copy of the actual parameter
 A formal parameter can be a pointer/placeholder to the actual parameter
 A formal parameter can control the flow of data eg. by
reference or by value

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

Describe benefits of using local variables.

A

 More efficient as memory assigned to a local variable becomes available once function is terminated
 Allows variables of the same name in different modules without affecting others
 Aids modularity

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

State benefits of using parameter passing rather than global variables.

A

 (Data flow is clearer so) code is more readable/easier to maintain
 Portability is improved as code can be reused (without altering variable names)
 Aids modularity
 Reduces clashes between variable names
 Reduces impact or load on main memory

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

Explain why passing by value is more demanding on system resources when the data being passed is held in an array.

A

 Makes a copy of the array
 Increases the number of processing instructions
 Increases RAM requirements

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

Harrison’s program is modular and makes use of functions. Explain what is meant by a function.

A

Returns a single value (used in assignment)

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

What are the 4 elements covered by the Analysis stage?

A

Purpose
Functional Requirements
Scope
Boundaries

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

What is purpose at analysis stage?

A

A summary statement of what the program is to be used for/ must do.

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

What is meant by functional requirements?

A

The inputs, processes and outputs that are to be performed by the program.

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

What is meant by Scope?

A

What needs to be delivered to the client to make the program functional.

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

What are Boundaries?

A

What is and isn’t in the project. They will clarify any assumptions by putting limits on what is to be done.

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

What are the 3 stages of the Design phase?

A

Design of the user interface
Design of the structure of the software
Design of the detailed logic of the software.

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

What are subprograms?

A

Sub-Programs are used to describe a clear independent block of code within a program. Each block of code and be reused necessary, and it possible to test sub-programs independently.

17
Q

What are the 2 types of subprograms?

A

Procedures & Functions

18
Q

What are procedures?

A

Sub-programs designed to performs a series of commands, the majority of the time will not return values to the main program

19
Q

What are Functions

A

Sub-programs designed to always return values to another part of the program.

20
Q

What’s a local variable?

A

A local variable only exists within the subprogram in which it is declared.

21
Q

What’s a global variable?

A

A global variable is recognised by all the subprograms within the program.

22
Q

What is parameter passing?

A

Parameters is a variable or value that is passed into and/or out of a subprogram.

Parameter passing allows the values of local variables within a main program to be accessed, updated and used within multiple sub-programs without the need to create or use global variables.

23
Q

Write the code to create a RECORD STRUCTURE to hold forename, surname and age

A

RECORD member IS {STRING forename, STRING surname, INTEGER age}

24
Q

Declare Member 1 Harrison Rice, 17

A

DECLARE member1 INITIALLY Member(“Harrison”,”Rice”,17)

25
Q

What’s an actual parameter

A

The parameters used in the call to a module are called actual parameters. These are the actual values that are passed into the procedure or function