CA2 Flashcards

C2

1
Q

State:

“True or false value”

A

Boolean

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

Define:

Character

A

“Single character which can be a letter, number or symbol”

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

Define:

Integer

A

“Whole numbers, positive or negative”

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

State:

“Any number, with or without decimal places, positive or negative”

A

Real/Float

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

Define:

String

A

“A group of characters stored together”

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

Define:

Immutable

A

“When the value of a number data type changes, a new object is created”

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

Define:

Casting

A

“Converting a variable from one data type to another”

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

Define:

Data Structures

A

“Collection of data objects which facilitate the storing and managing of data in a program”

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

State:

2 advantages of using data structures

A
  • Optimise memory usage within a system
  • Can be reused and compiled into libraries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

State:

“A collection of data items, can be of different data types and items are accessed using each data items index value”

A

List

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

State:

“Contains a group of elements of the same data type”

A

Array

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

Define:

Dictionary

A

“A set of values, each with associated keys. Items are unordered and when accessed by the key, will return the associated value”

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

Define:

Index

A

“A numerical representation of an item’s position in a sequence”

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

Define:

Scope

A

“Where a variable can be accessed within a program”

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

Fill The Blank:

A ………. variable is only accessable in a pre-determined part of a program

A

Local

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

Fill The Blank:

Two variables can use the same identifier if they are in different ………. because they are in a seperate area in ………

A

Scopes, RAM

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

Fill The Blank:

The scope of a local variable is the ………… where it has been ………..

A

Subprogram, Declared

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

Fill The Blank:

The scope of a global variable is the …………. program

A

Complete

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

State:

Where global variables are declared

A

Start of the program

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

State:

Where local variables are declared

A

Declared within subroutines or programming blocks and can only be used within the scope it is declared in

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

Define:

Snakecase

A

Where words are delimited using underscores: Variable_a

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

Define:

Camelcase

A

All words are started with a capital letter, apart from the first word with no spaces: variableA

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

Define:

Pascalcase

A

words are started by capital letters: VariableA

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

Define:

Hungarian Notation

A

Describe the purpose and/ore type of variable at the start followed by a descriptor that states the function of the variable: iStudentMarks

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

Fill The Blank:

It is important variable names are ……………. and easily ……………… and understandable.

A

Consistent, Readable

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

State:

Add Operator

A

+

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

State:

Subtract Operator

A

-

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

State:

Multiply Operator

A

*

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

State:

Divide Operator

A

/

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

State:

Integer Division Operator

A

// (DIV)

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

State:

Modulus

A

% (MOD)

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

State:

Equal To Operator

A

==

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

State:

Not Equal To Operator

A

!= or <>

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

State:

Greater Than

A

>

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

State:

Greater Than OR Equals

A

> =

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

State:

Less Than

A

<

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

State:

Less Than OR Equal To

A

<=

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

Explain:

AND

A

True if both are true

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

Explain:

NOT

A

Input is reversed

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

Explain:

OR

A

True if EITHER inputs are true

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

Fill The Blank:

Python treats files as either ……. or ……….. depending on the …………. of the file

A

Text, Binary, Contents

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

State:

When open() is used it requires two parameters, requiring the …….. ……….. and ………

A

File Name, Mode

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

State:

4 different modes of opening a file

A

Append “a” - appending (editing) a file
Create “x” - create the specified file
Read “r” - open file for reading
Write “w” - open a file for writing (overwrites current contents)

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

State:

How to close a file

A

{filevariablename}.close()

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

Fill The Blank:

If when creating a file (using “x”) and the file ….. then it returns an error

A

Exists

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

State:

3 constructs used when creating algorithms

A
  • Sequence
  • Selection (branching)
  • Iteration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

Define:

Sequence

A

Running a list of instructions in a strict order, the main logical structure of algorithms and programs

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

Define:

Selection

A

Making a decision to dictate the flow of a program

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

Define:

Iteration

A

Repeating a set of instructions

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

Define:

Sequencing

A

Order in which the program code is executed

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

State:

What ‘IDLE’ stands for

A

Integrated Development Learning Environment

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

State:

Why the IDLE is useful

A

Identifying mistakes; syntax and runtime errors

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

Fill The Blank:

Not all devices have debuggers, especially not ….. devices. If a device has no debugger then you can use ……….. debugging

A

IoE, Print

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

Fill The Blank:

Debugging can be …….. ………… and not …….. to use

A

Time Consuming, Easy

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

Fill The Blank:

In early versions of ……….. there was no …….. statement and developers had to use …………… mapping

A

Python, Case, Dictionary

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

Define:

Dictionary

A

Iterable data structure built in to Python that contains a series of values with corresponding keys

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

State:

3 uses of iteration

A
  • Adding numbers
  • Repeating functions
  • Cycling through values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

State:

Statement used to force a loop to stop (even if a condition is true)

A

break

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

State:

How to run a block of code after a for or while loop has been completed - that is not needed because it continues anyway

A

else:

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

State:

Statement used to stop the current iteration and continue with the next iteration

A

continue

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

Fill The Blank:

When code does not function how it is intended, it is necessary to …….. it

A

Debug

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

State:

Give 3 examples of mistakes that could cause error messages

A

3 of:
* Syntax error OR within syntax error:
* Missing punctuation
* Typing errors in commands/Python
* Missing indentations

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

Define:

Function

A

Code written to perform a specific task and can be used more than once

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

Define:

Built-in Functions

A

Functions included in the programming language

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

Define:

User-defined functions (UDFs)

A

Functions that can be created by software developers

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

Define:

Anonymous Function

A

Also known as lambda functions, functions not declared with the standard keyword (‘def’ in Python)

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

Define:

Method

A

A function that is part of a class and is accessed using an instance or object of a class

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

Define:

Arguments

A

Value that is sent to a function

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

Define:

Parameter

A

Variable that is listed inside the parentheses of a function

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

State:

2 requirements of a procedure

A
  • Name
  • Programming code to perform required task (code block)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
71
Q

State:

Difference between Procedure & Function

A

Function: Returns a value and control, compiled before and re-compiled if needed - with different parameter values
Procedure: Returns the control but no value, only compiled once - no values will change, a paramater value once accepted once cannot change

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

State:

Another name for linear search

A

Serial search

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

State:

How a linear search functions

A

Starting at the beginning of the dataset, each value is examined until a match is made

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

Fill The Blank:

Binary Search is a ……. search algorithm and works on the principle of ………… and ………….

A

Fast, Divide, Conquer

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

State:

What is one requirement of Binary Search

A

Data is in a sorted format

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

Fill The Blank:

The search ……….. is repeatedly …………. in half. If the middle value is greater than the value of the search then the interval is changed to the ……….. half of the array. If the middle value is lower than the value of the search then the interval is changed to the ………. half of the array.

This is ………….. until the value is found or the interval is …………

Steps of binary search

A

Interval, Divided, Lower, Upper, Repeated, Empty

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

State:

3 advantages of using linear search

A

3 of:
* List does not have to be ordered
* Fast performance when searching small to medium lsits
* Because list is not sorted, elements can be added and deleted - if needed to be sorted re-ordering would be needed
* Linear search is simpler and easier to implement
* Can be used on any type of data

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

State:

1 advantage of binary search

A

Faster performance than linear search because the data being searched is halfed at each stage

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

State:

1 disadvantage of linear search

A

Very slow when searching lists with large quantitiese of data items

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

State:

1 disadvantage of binary search

A

Data must be ordered/sorted first

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

Define:

Pre-written code

A

Code that already exists when developing new software either within your own organisation or from an external source

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

State:

3 ways that code can be reused

A
  • Using third party libraries
  • Open-sourced frameworks
  • Repurposing code that has been used/developed/written internally
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
83
Q

State:

2 benefits of using pre-written code

A
  • Shorter development time - reduces time needed to develop a solution (python package index) because reduces time planning and writing code
  • Improved end product - add greater functionality with pre-written code
84
Q

State:

3 drawbacks of using pre-written code

A
  • Security risks - code could have security vulnerabilities if not tested properly
  • Lack of control - if changes are made to codfe they may have an impact on program being developed because you do not own it
  • Naming conventions - Conventions used within the code and names can be different to a programming language that software is being developed in
85
Q

Define:

Open Source

A

Software where the copyright holder grants users the right to use, edit and distribute the source code

86
Q

Define:

Injection Flaws

A

Allow attackers to relay malicious code through an application to another system

87
Q

Define:

Cross-site scripting (XSS)

A

Type of injection, where attackers inject client side scripts so that other users can view them and to bypass access controls; found on websites or web apps that accept end-user input

88
Q

Define:

Standard Libraries

A

Contain reusable sections of code (modules) that can be incorporated into other programs/projects

89
Q

Fill The Blank:

Built-in functions are pre-………….. functions with a set of statements. When these statements are combined with other statements or ………, they can perform tasks. This means a …….. does not need to create code to perform a particular ……………. because it can be selected from the available built-in functions.

A

Defined, Code, User, Function

90
Q

Define:

Input validation

A

Checks made to ensure that data entered is sensible and reasonable.

91
Q

Fill The Blank:

Abnormal inputs or conditions are dealth with using ……….. ………………

A

Error Checking

92
Q

Fill The Blank:

Error messages must be ………. and provide users with the options available to ………… any issues. This is different to exception handling.

A

Clear, Resolve

93
Q

Define:

Presence Check

A

Check to see if a required field that should contain data, has been left blank

94
Q

Define:

Length Check

A

Ensures that data entered does not contain fewer or more characters than the specified minimum or maximum number

95
Q

Define:

Type Check

A

Ensure that is input is of the correct data type

96
Q

Define:

Format Check

A

Used to verify that the data input is of the correct format.

97
Q

Define:

Range Check

A

Verify that an inputted value lies between a range of set values

98
Q

Define:

Check Digit

A

An extra value transmitted with data to determine if it is correct or not

99
Q

Fill The Blank:

It is important software is of good quality to make it more ………….. and easier to ……………

A

Durable, Maintain

100
Q

Define:

Reliable and Robust

A

Code is able to deal with errors during execution and be able to deal with the input from the end user if it is not correct.

101
Q

Fill The Blank:

If a user inputs invalid data it is important that the program can deal with this and provide an ………. …………………. so they can make changes to solve the issue.

A

Error message

102
Q

State:

2 reasons to use defined style conventions

A
  • Consistent format
  • Maintainability
103
Q

State:

The current style convention for Python

A

PEP8 - Python Enhancement Proposal

104
Q

State:

4 things that PEP8 provides guidelines for

A

4 of:
* Naming conventions/styles
* Use of comments
* Use of white space
* The structure of the code
* Indentation

105
Q

State:

Why it is not possible to enforce the PEP8 convention?

A

It is an open-source programming language

106
Q

Fill The Blank:

Names in python must be ……….. and …………… to be easy to understand what they represent

Naming conventions

A

Logical, Sensible

107
Q

Fill The Blank:

Irrelevant or inappropriate ………. can make it difficult to locate ………. during maintanence or ……………….

Naming conventions

A

Names, Errors, Debugging

108
Q

State:

Convention for constants

Naming conventions

A

Capital single letter, word or words with words seperated by underscores _

109
Q

State:

Convention for functions

Naming conventions

A

Lowercase word or words with words seperated by underscores _

110
Q

State:

Convention for module

Naming conventions

A

Short, lowercase word or words with words seperated by underscores _

111
Q

State:

Convention for variable

Naming conventions

A

Lowercase signle letter, word or words with no whitespace or special characters and words seperated by underscores _

112
Q

State:

Symbol used to start a comment in python

Use of comments

A

#

113
Q

Fill The Blank:

Comments make code easier to ……………… as the meaning of the code is explained

Use of comments

A

Maintain

114
Q

Fill The Blank:

Comments should not explain obvious elements of a program but explain ………… elements

Use of comments

A

Implicit

115
Q

Fill The Blank:

White space helps code look less …………….. and helps with …………….. and understandibility.

Use of white space

A

Cluttered, Readability

116
Q

Fill The Blank:

If code contains too much white space then it can be difficult to understand which ……………… of code should be read together

Use of white space

A

Elements

117
Q

State:

The PEP8 advice for use of white space when using operators, mathematical, relational or boolean

Use of white space

A

Single space each side

118
Q

Fill The Blank:

If an expression has multiple operators then PEP8 advises to use white space only on the ………… priority ……………

Use of white space

A

Lowest, Operators

119
Q

State:

2 things that the structure of code will have an impact on

The structure of code

A
  • Readability
  • Ease of maintanence
120
Q

State:

Max line length advised by PEP8

The structure of code

A

79 Characters - including comments (because it is easier to read text vertically)

121
Q

State:

4 examples of elements of code structure

The structure of code

A

4 of:
* White space
* Indentation
* Tabes or spaces
* Blank lines
* Line breaks

122
Q

Fill The Blank:

Software testing is a check to establish if a software ……………. meets the …………………. and is ………… free

Software Testing

A

Product, Requirements, Defect

123
Q

State:

2 purposes of testing of software

Software Testing

A
  • Identify errors
  • Find missing requirements/gaps
124
Q

Fill The Blank:

Software testing is important because if …… or errors are not found it could be ……………….. or sometimes ………………………

Software Testing

A

Bugs, Expensive, Dangerous

125
Q

Fill The Blank:

Testing ensures …………., reliability and ………………….. of the product

Software Testing

A

Security, Performance

126
Q

State:

3 outcomes of software testing

Software Testing

A
  • Save time
  • Cost effective
  • Customer satisfaction
127
Q

State:

4 benefits of software testing

Software Testing

A
  • Security - means software can be trusted
  • Cost effective - cheaper than constant fixes later on
  • Product Quality - Ensures that meets client requirements
  • Customer Satisfaction - Ensures they are happy with the product
128
Q

True or False:

Compatibility testing is a type of functional testing

Compatability Testing

A

False - It is non-functional testing

129
Q

Explain:

4 forms of compatability testing

Compatability Testing

A

4 of:
* Hardware - Check software compatible with diff. hardware configs
* Operating System - Ensure that software is compat. with different OSs
* Software - Ensure compat. with other software
* Network - Test in network env. variate: bandwith, speed, capacity
* Browsers- Different browser testing
* Devices - Different types of device; printers, USB devices, Bluetooth etc.
* Mobile - Ensure compatible with Android and IOS platforms and mobile OS platforms; must be adaptive and respond to other; input methods, screen orientation, browser types
* Software Versions - Test to ensure compat. with different versions of software being interacted with
* Data - Test using data to confirm functionality

130
Q

Define:

Backward compatibility

Compatability Testing

A

Confirm hardware/software is compatible with older versions of software and hardware already installed or in use

131
Q

Define:

Forward compatibility

Compatability Testing

A

Ensure software/hardware is compatible with new versions of hardware/software

132
Q

Define:

Beta testing

Resulting Service (final product)

A

A form of user acceptance testing performed by real users where a limited number are given access to provide feedback on the quality of the product

133
Q

Fill The Blank:

Beta testing is used to increase quality through ………………. ………………..

Resulting Service (final product)

A

Customer validation

134
Q

Define:

Traditional beta testing

Resulting Service (final product)

A

Software program is released to target customer and related data is gathered as feedback

135
Q

Define:

Public beta testing

Resulting Service (final product)

A

Where software program is released to the world through online channels with improvements made based on collected feedback

136
Q

Define:

Technical beta testing

Resulting Service (final product)

A

Software is released to a group of employees in a specific organisation to gain feedback

137
Q

Define:

Focused beta testing

Resulting Service (final product)

A

Released to a target audience to collect feedback on specific features of the program

138
Q

Define:

Post-released beta testing

Resulting Service (final product)

A

Released to intended end-users and data is collected and analysed so improvements can be pushed to future releases

139
Q

Define:

UAT

Resulting Service (final product)

A

Process that verifies that a software program works for the end user as intended

140
Q

State:

4 questions that UAT assesses

Resulting Service (final product)

A
  • Can the user use the software?
  • Does the end user have difficulty using the software?
  • Does it meet their requirements?
  • Does it function as intended?
141
Q

Fill The Blank:

UAT is the ……….. before software is released to the use

Resulting Service (final product)

A

Last

142
Q

Fill The Blank:

Testing ensures a solution, software or network, meets the …..-……. requirements and …………. as intended

A

End-user, Functions

143
Q

Fill The Blank:

……… testing is used to understand the ………… and …………………. for a concept.

A

Concept, Strengths, Weaknesses

144
Q

State:

How concept testing is carried out

A

Internal/External stakeholders provided with information on the basic concept who then provide feedback which is collated (combined) and analysed to decide if development should be continued

145
Q

State:

One advantage of concept testing

A

Save a lot of unnecessary costs in the long term

146
Q

State:

One disadvantage of concept testing

A

Can cost lots of time and money

147
Q

Define:

Unit testing

A

Where individual components or units of a software program are tested individually

148
Q

State:

At what phase of a project is unit testing carried out

A

During development

149
Q

State:

Two examples that could be tested during unit testing

A

2 of:
* Individual function
* Procedure
* Method
* Module
* Object

150
Q

State:

What is another name for unit testing?

A

White box testing

151
Q

Define:

White Box Testing

A

Testing when the internal structure and design of the software is known to the tester (software development team)

152
Q

Fill The Blank:

……….. testing is carried out after all units have undergone unit testing

A

Integration

153
Q

Define:

Integration testing

A

Testing the interface between two software components (units)

154
Q

Fill The Blank:

Integration testing is used to to test the …………. between units

A

Interaction

155
Q

Define:

Big-bang integration

Types of Integration Testing

A

All units are put together and tested

156
Q

State:

“Where lower level units are tested with higher level units and the system is broken down into the different subsytems and the integration between the units in each subsytem is tested”

Types of Integration Testing

A

Bottom-up integration

157
Q

Define:

Top down integration

Types of Integration Testing

A

High level units are tested, using simulated low level units, and the low level units are then tested before being integrated and re-tested for functionality

158
Q

Fill The Blank:

……… integration is a combination of top-down and bottom-up testing. The ….-level units are tested then the ……-level units are tested and are then tested again once …………………

Types of Integration Testing

A

Mixed, Top, Bottom, Integrated

159
Q

Fill The Blank:

Mixed integration is effective for ……… products

Types of Integration Testing

A

Large

160
Q

State:

4 things that performance (perf) testing is used to test for

A

4 of:
* Speed
* Response Time
* Reliability
* Stability
* Scalability
* Resource Usage

161
Q

Fill The Blank:

Performance testing is used to ensure any performance issues are ……….. and ……….. while software is under a specific ……………

A

Identified, Rectified, Workload

162
Q

Define:

System testing

A

Testing the complete and fully integrated digital solution

163
Q

Fill The Blank:

System testing is …….. …… testing and is the ……. testing used to verify the system meets the required ………………. and tests the ………….. and non-…………….. requirements

A

Black Box, Final, Specification, Functional, (Non-) Functional

164
Q

Define:

Usability/Acceptance testing

Forms of system testing

A

Tests if a solution will make an end user have a positive experience and ensure the system will meet the requirements of the stakeholders

165
Q

Fill The Blank:

Load/Stress testing is a form of non-……………. testing which provides information on how the software/digital system performs under specific ………..

Forms of system testing

A

Functional, Loads

166
Q

Define:

Regression Testing

Forms of system testing

A

Confirm any changes or additions to code haven’t had an adverse impact on existing features

167
Q

Define:

Functionality Testing

Forms of system testing

A

Confirms that the software/digital system performs and functions according to the user specifications

168
Q

Fill The Blank:

…………….. testing is used when seeing if a program/system can be moved to a new digital system like a new ……………. or server. This testing checks that …….. and any …………. can still be accessed

A

Migration, Platform, Data, Dependencies

169
Q

Define:

Compatibility Testing

A

Test that the software will work on different platforms/environments etc.

170
Q

State:

“A series of tests using boundary values, a form of black box testing”

A

Boundary Testing

171
Q

Define:

Fuzz Testing

A

Introduce invalid, random or unexpected data as inputs to see what the result is

172
Q

State:

“Testing of software when the internal structure and design is unknown to a tester”

A

Black box testing

173
Q

Define:

Automated Testing

Automated Testing

A

Using specialised tools to control execution of tests and compare actual results to a list of expected results

174
Q

Fill The Blank:

……………….. tests are repetitive actions and are automated

Automated Testing

A

Regression

175
Q

Fill The Blank:

……………….. tests are when non-functional and functional tests are re-run to check any newly created code has not introduced new …… into the original software

A

Regression, Bugs

176
Q

True Or False:

Automated testing is only used on functional testing

A

False - Automated testing is used on both non-functional and functional testing

177
Q

State:

Purpose of functional testing

Functional Testing

A

Confirm functionality of the software system against the functional requirements (spec)

178
Q

Describe:

How functional testing is carried out

Functional Testing

A

Test each function by providing an input and comparing the output against the functional requirements

179
Q

Fill The Blank:

Functional testing is primarily ……….. box testing

Functional Testing

A

Black

180
Q

State:

4 areas of a program that functional testing checks

A

4 of:
* UI
* APIs
* Databases
* Security
* Client-server communication

181
Q

State:

4 factors that should be considered when selecting tools for automated and functional testing

A

4 of:
* Compatability with OSs
* Versatility
* Compatibility with a variety of platforms
* Test creation
* Maintenance
* Cost

182
Q

State:

The purpose of Root Cause Analysis (RCA)

A

Get to the ‘root’ of the problem by asking questions such as:
* What is the problem
* What has caused the problem
* How can the problem be solved

183
Q

Fill The Blank:

Once the ……… of a problem is found, an assessment of the situation can take place and consideration given to what lessons have been ……………. and how ……………. problems can be ……………. in the future

A

Root, Learnt, Similar, Mitigated

184
Q

Fill The Blank:

The defined process for RCA should be followed to ensure the analysis is efficient, ……………. and …………..

A

Effective, Useful

185
Q

Fill The Blank:

A …………….. can be simple with one root cause or more complex with multiple ………… causes and time must be given to establish if all the root causes associated with a problem have been identified

A

Problem, Root

186
Q

Fill The Blank:

The problem solving approach should be …………… for investigating the problem, enabling gathering the …………………. and detailed ………………… as to why and how the problem has occurred.

A

Planned, relevant, evidence

187
Q

Explain:

Why documentation during root cause analysis must be documented

A

Needs to be sufficient information to support the identification of any potential corrective actions that will be required

188
Q

Explain:

The five ‘whys’ method in root cause analysis

A

When every ‘why’ question is asked, a further ‘why’ question is posed until eventually the root cause fo the problem is exposed

189
Q

Fill The Blank:

Root cause analysis should be used when an ………… occurs that results in outcomes that …………………………. an organisation and its stakeholders

A

Issue, Disadvantages

190
Q

State:

3 examples of criteria that that can be used to determine if an RCA should be carried out

A

3 of:
* Failure of service delivery/functional operations
* Loss of data
* The occurence of an undefined process
* System downtime
* Complaint or feedback from a stakeholder

191
Q

Fill The Blank:

Step 1
Important to …………… what the problem is and the impact that is has on the stakeholders involved. How does it impact on the business ……………… and consider if there is a potential ……………. of the investigation happening on the stakeholders

Process of RCA

A

Identify, Function, Impact

192
Q

Fill The Blank:

Step 2
What …………………. is there available about issues/problems that have occured and when did it happen and what …………… where also being carried out? Gather as much information and data as possible

Process of RCA

A

Information, Tasks

193
Q

Fill The Blank:

Step 3
What would be the ………. on the organisation and stakeholders if the problem is not ………… at all - or delayed

Process of RCA

A

Impact, Resolved

194
Q

Fill The Blank:

Step 4
Once information and data is gathered, identify what caused the …………… to occur - there could be more than one

Process of RCA

A

Problem

195
Q

Fill The Blank:

Step 5
Use the … ………. until you get to the ……….. cause of the problem

Process of RCA

A

5 Whys, Root

196
Q

Fill The Blank:

Step 6
If there is more than one cause to a problem, use a ………….. approach and plan and organise priorities of what should be solved first considering the ………. these changes can have on the organisation

Process of RCA

A

Systematic, Impact

197
Q

Fill The Blank:

Step 7
Eliminate the problem by identifying suitable …………………., this will be affected by the prioritisation of tasks and the …………………

Process of RCA

A

Solutions, Investigation

198
Q

Fill The Blank:

Step 8
……….. the process of changes in the technology and make changes as and when required

A

Monitor

199
Q

Fill The Blank:

Step 9
Establish how and when the system will be ………../monitored to ensure that it is ………………….. as required

A

Tested, Performing

200
Q

Fill The Blank:

When conducting testing on a digital system/software it should be done ……………. and not just as a form of end-testing

A

Iteratively

201
Q

Fill The Blank:

A test plan should should be created with the planned tests at the ……… of the project but new tests can be ……………… to the test plan during the project

A

Start, Added

202
Q

State:

4 things an effective test plan should do

A
  • Identify the tests to be carried out
  • Describe the purpose of the identified test
  • Identify test data to be used
  • Describe the expected results
203
Q

Describe:

‘Identify the tests to be carried out’

Key elements of a test plan

A
  • What should be tested depends on what is being tested
  • Selection of tests in line with current
204
Q

Explain:

‘Describe the purpose of the identified test’ when creating a test plan

Key elements of a test plan

A

It is important to ensure that the reason behind the test is clear and informative and tests are not grouped together and are instead identified seperately and the purpose of each test clearly explained

205
Q

State:

The 6 types of data that must be considered when creating test data

Key elements of a test plan

A
  • Valid
  • Valid extreme
  • Invalid
  • Invalid extreme
  • Erroneous
  • Absent
206
Q

Explain:

What is meant by the term ‘expected results’ in a test plan and how they are used

Key elements of a test plan

A

Ideal result that should be obtained after the test has been carried out; used to compare against actual results to see if there is an issue that needs fixing