2.1.2 Thinking ahead Flashcards

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

2.1.2 A)
What’s does Identifying the inputs and outputs for a given situation do ?

A

Allows developers to consider problems that may arise taking these account early on

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

2.1.2 A)
Identifying the inputs and outputs for a given situation

A

What is the goal ? (output)
back track to find inputs
input > process > outpit
order / method data is imputed in should be taken into account (suitable data type)

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

2.1.2 B)
Determine the preconditions for devising a solution
to a problem

A

precondition - requirement that must be met be execute programs allow for safety of data meeting criteria
reduces complexity and length of program

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

2.1.2 C)
What is caching
and whats the advantages

A

storing instructions or values in cache
saves time , loads without delay

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

2.1.2 C)
What is prefetching

A

predicts what likely to be fetched again less time waiting

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

2.1.2 C)
What is prefetching limited by

A

by accuracy of algorithm used, difficult to implicate

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

2.1.2 D)
What is the need for reusable program

A

Shortens development time / cost
saves systems rescores
reduces redundant code

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

2.1.2 D)
How to make a program more reusable

A

creating subroutines / functions
software libraries

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