Digital design principles Flashcards

(19 cards)

1
Q

What is decomposition?

A

Breaking a large problem down into smaller, more manageable problems called sub problems.

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

What is pattern recognition?

A

Involves observing key characteristics, patterns and trends in the data that is being considered

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

What is abstraction?

A

Involves removing specific details from a problem that are not needed to solve it.

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

What is an algorithm?

A

Used to design a solution. This is a step by step set of instructions that specifies how the problem is going to be solved. The order of the instructions in an algorithm is important. Both flowcharts and pseudo-code can be used in algorithm design

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

What is a flowchart?

A

A graphical representation that includes special symbols and flow lines to represent the solution to a problem

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

What is pseudo-code?

A

A set of English-like,language independent instructions that use keywords and control structures to represent the solution to a problem.

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

How can algorithms be evaluated?

A

The speed at which it sorts large amounts of data

The amount of memory used during the sorting process

The number of comparisons carried out within a sort

The number of exchanges carried out during the sort

The stability of the sort

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

Disadvantage of bubble sort?

A

Inefficient for sorting large amounts of data - the time taken to sort data is related to the square of the number of items to be sorted

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

Advantages of insertion sort?

A

Adaptive - the performance adapts to the initial order of the elements, this algorithm may be used when the data items are nearly sorted

Stable - retains the relative order of the same elements

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

What is refinement?

A

The process of reviewing the design for a solution and making necessary changes so that the design meets the user’s requirements efficiently and accurately

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

Why would you refine a design?

A

To ensure that the user will receive a product that meets their needs.

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

How can you identify if something needs refinement?

A

Possible refinements can be identified by examining the solution and by using a test plan to test the solution prior to writing the code.

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

Who can make additional refinements?

A

The user as long as they are part of the design team

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

What can a test plan be used for?

A

The test plan will specify extreme, valid and invalid values to be input

The test plan is used to test the functionality of the solution and the accuracy and appropriateness of the output to be produced from the solution

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

What are the steps of the traditional development model?

A

Analysis - where the user requirements are determined

Design - Where the solution is designed and refined

Implementation - Where the design is coded

Testing - Where the coded solution is tested using a variety of different methods

Maintenance - Where the system is changed or tweaked after it has been released to the user

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

What is meant by data requirements?

A

The data that a program or system uses, including data input, information output and any values to be stored temporarily during processing

They can be used to help create a test plan

17
Q

What should the user interface be like?

A

Easy to use/User friendly

Designed using colours, icons and messages in a consistent manner, placing menus, messages and buttons in the same place throughout the system

Responsive and not have lengthy loading times

Supportive of the user if they make a mistake, by providing helpful messages and feedback

Focused on the user experience, have visual appeal and be attractive to the user

It should be drawn using wireframes and sketches, it should be shown to the user who can make suggestions to improve it

18
Q

How do you create a trace table?

A

Number each line of code or pseudo-code

Create a table structure

Create a column for each variable in the section of code

Add an output column to show any output generated from the code

19
Q

What is a dry run?

A

A paper-based exercise that allows the programmer to go through the solution on a step-by-step basis. The dry run highlights any errors in the logic of the solution