Outcome 1 Flashcards

(54 cards)

1
Q

Numeric Data

A

Data that consists of whole numbers, or decimal numbers

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

Floating Point

A

numeric data type that consists of a computers representation of real numbers

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

Integer

A

numeric data type that can only support whole numbers (represents binary digits)

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

Boolean

A

data type that represents two states - on or off - true or false

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

character

A

data type that is a symbol (that has meaning - could be a, could be a chinese character etc)

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

Array

A

data structure that contains groupings of data

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

Associative Array

A

Array where the index value can be of any data type (commonly string)

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

Dictonary

A

same as associative array

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

Hash Table

A

Array where the index value can be of any data type (commonly string)
and where the value is another array

  • referred to as a bucket
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Queue

A

data structure that is first in, first out

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

Stack

A

data structure that is first in, last out

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

Linked list

A

ordered set of elemtns in which each element is connected to the next element in the list

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

Record

A

basic collection of related elements (could be different data types)

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

Fields

A

Components of the record (etc FirstName)

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

Problem Statements

A

Statement that is a concise description of the problem
Done before you do an SRS
Doesn’t include a potential solution to the problem

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

Observations

A

Watching someone use a solution in various situations. Provides a whole picture for either evaluation or documenting the problem

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

Interview

A

A list of fixed questions - used to either evaluate a solution or document the problem

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

Data Dictionaries

A

Used to plan the storage of software elements
Can be for variables, data structures of objects
Represented in a table

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

Object Descriptions

A

Describes all relevant properties, methods and events of an object

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

Mockups

A

Sketch showing how a screen or printout will look
Needs enough detail so a different person could create the interface without asking questions

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

Pseudocode

A

Flexible, quick, language independent way of describing a calculation strategy.
After an algorithm has been sketched in pseudocode -> it could be converted in source code for any desired programming langauges

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

Purpose of Psuedocode

A
  • Allows the programmer to express the logic and design of an algorithm
  • Programmer can identify errors in logic before commencing development
  • allows other developers to understand the program more easily
23
Q

Methods of representing solution designs

A
  • Data Dictionaries
  • Object Descriptions
  • Mockups
  • Pseudocode
24
Q

Plain Text Files

A

Structured file that contains characters of readable data.

Can be separated with spacing, new lines and tabs, but can only be read as character and string types

Commonly used for configuration files

25
Delimited Files
Type of text file where the file is separated by a programmer-selected character -> called a delimited-separated value
26
XML
Data type that uses a set of rules for encoding data that can be structured in a form that is both human and computer readable -> gives data meaning better than CSV - enables the embedding of metadata using element names and attributes
27
Binary Files
unreadable to humans, but readable to computers. Examples include images and sound
28
Naming Convention
conventions for naming variables in source code
29
Naming Conventions - Purposes
- Provide consistency in the naming of variables - Effort needed to read and understand the source code during development is lessened
30
Camel Case
compounding words using a capital letter for each new word e.g. firstName
31
Snake Case
compounding words and phrases with an underscore e.g. first_name
32
Hungarian Notation
compounding words and phrases without spaces (similar to camel) that adds a prefix that represents the data type e.g. strFirstName
33
Variable
method of storing data so that it can be retrieved later in the program
34
Instruction
unit of code that can be executed by a compiler or an interpreted
35
Functions
Returns a value after performing a calculation
36
Function Arguments
functions can optionally include variables in their definitions which are then passed when the function is called
37
Function Visibility
restricts actions to functions within an application
38
Procedure
methods of code that runs, and does not return a value
39
Classes
allows a programmer to group together related functions and variables into one place, acts as template for creating objects
40
Methods
Functions that exist inside a class
41
Control Structures
Sequences Conditional Iteration
42
Sequence
instructions that executes code line by line, with no variable change
43
Conditional
structure that allows a programmer to write lines of code that are only run when a particular requirement is met
44
Iteration
repeat sections of code multiple times until a condition is met
45
Existence Check
checks if a value has been entered
46
Range Check
checks if a value is within an acceptable limits or comes from a range of acceptable values
47
Type Check
ensures that values entered into the fields are of the expected data type
48
Syntax Errors
done when you mistype code to the point where it doesnt meet the formatting requirements of the language
49
Runtime Errors
errors that occur when the program is running
50
Logic/Sematic Errors
occurs when the logic of the program fails and un unexpected output is shown
51
Appropriate Test Data - composition
Above the boundary At the boundary Below the boundary
52
Trace Tables
Simulates the execution of a program Each feature is executed, step-by-step and values of the algorithm are tracked to ensure the logic of the algorithm is correct
53
Internal Documentation
notes and comments written by a programmer inside the code
54
Internal Documentation - purposes
- provides context and important information as to what the code does - assists others to read the code - assists with debugging and testing - assists with maintenance