Software Design and Development Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Variable

A

Used to identify storage locations in memory. Like a memory cell within a program

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

Assigning a Variable a Value

A

variable=0/(“P”)/[0,2]

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

Adding

A

+

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

Subtracting

A

-

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

Multiply

A

*

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

Divide

A

/

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

Exponent

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

Modulo

A

%

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

Concatenation

A

Joining text strings together to form a new text string

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

Normal Programme Sequence

A

Input, Process, Output

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

If statements

A

Used to let a program select an action depending upon the value of variables held in the program

if variable==”Party”:

print (“Yay!”)

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

<

A

Less than

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

>

A

More than

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

<=

A

Less than or equal to

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

>=

A

More than or equal to

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

==

A

Equals

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

=!

A

Not equal to

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

And

A

Both sides of the operator must be true for the statement to succeed

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

Or

A

Either side of the operator must be true for the statement to succeed

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

Fixed Loop

A

The loop repeats a sequence of code a set number of times (for)

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

Conditional Loop

A

Loop keeps repeating code until a condition is met (while)

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

Pre-Defined Functions

A

Round

Integer

Random

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

Round Function

A

Rounds a value to a specific number of decimal places

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

Random Function

A

Returns a random number between two set values

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

Integer Function

A

Returns only the integer part of a value

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

Real

A

Stores numbers that contain decimal places/values

27
Q

Character

A

Stores a single character which can be a letter, number or symbol ($)

28
Q

String

A

Stores alphanumeric(numbers and letters) combinations and just text (2k17)

29
Q

Boolean

A

Stores True or False Only

30
Q

Arrays

A

Let programmers store items in a list

31
Q

Data Structures

A

Arrays

Strings

32
Q

Test Data Types

A

Normal

Extreme

Exceptional

33
Q

Normal Data

A

Data you would expect to work/be accepted that lies within the range

34
Q

Extreme Data

A

Data at the lower and upper limits of the range

35
Q

Exceptional Data

A

Data that should not be accepted by the program

36
Q

Errors

A

Syntax

Logic

Execution/Run-time

37
Q

Increasing Code Readability

A

Internal Commentary

Meaningful Variable Names

Indentation

White Space

38
Q

Common Design Notations

A

Pseudocode

Flow Charts

Structure Chart

39
Q

Pseudocode

A

Looks like code but does not need to be implemented as strictly

40
Q

Flow Charts

A

Show what is going on and how data flows around the program

41
Q

Structure Chart

A

Breaks problem down into smaller sections

42
Q

Algorithm

A

Step-by-step procedure for solving a problem in a finite number of steps

43
Q

Algorithm Uses

A

Check data has been entered correctly

Test if a number is even

Calculate a person’s salary

Convert a piece of text from lower case to upper case

44
Q

Everything Stored As

A

1’s or 0’s (Binary)

45
Q

Floating Point Storage

A

Number stored as mantissa and exponent

46
Q

Mantissa

A

All the digits of a number

47
Q

Exponent (FPA)

A

Used as a multiplier to move mantissa to correct size

48
Q

Storing Text

A

Every character has a standard binary value which is detailed in the ASCII table

49
Q

Unicode Advantages

A

Allows for representation of more characters

50
Q

Unicode Disadvantage

A

Takes up more storage

51
Q

Low-level Languages

A

Like Machine Code

  • Hard to read
  • Takes up lots of space on screen
  • Difficult to spot errors
52
Q

High-Level Languages

A

More English Like (Python, Visual Basic)

  • Easy to read
  • Easy to spot errors
53
Q

Units

A
  • Bit (1 or 0)
  • Byte (8 bits)
  • Kilobyte (1024 bytes)
  • Megabyte (1024 kilobytes)
  • Gigabyte (1024 megabyte)
  • Terabyte (1024 Gigabyte)
54
Q

Translator Types

A

Interpreters

Compilers

55
Q

Interpreter

A

Translates each line before running it. Does one line at a time

56
Q

Interpreter Advantages

A

Program will run even if it’s not finished

Easy to find errors

57
Q

Interpreter Disadvantages

A

Code has to be translated each time the program is run

Slows program down

Need to have translator program running

58
Q

Compiler

A

Translates the whole program and then runs it

59
Q

Compiler Advantages

A

Program only needs to be translated once

User doesn’t need translator on their computer

60
Q

Compiler Disadvantages

A

Have to wait until whole program is perfect to run it

Have to re-translate whole program each time you make a change

61
Q

System Bus

A

Made up of:

  • Data Bus
  • Address Bus
  • Control Bus
62
Q

Address Bus

A

Carries address information from the processor to the main memory or peripherals

63
Q

Data Bus

A

Carries data between the processor and the memory or peripherals