SDD Flashcards

1
Q

What 3 basic control structures can all programming languages be reduced to?

A

Sequence, selection and iteration

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

What are the different types of programming languages?

A

Procedural, Declarative, Object-oriented, domain specific

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

What must happen before high level languages are executed?

A

Translated into machine code

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

What will modern programming languages include?

A

A text editor and debugging tools

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

Floating point representation uses what?

A

A mantissa and exponent, the mantissa determines the accuracy of the number and the exponent determines the range of numbers which can be stored

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

What is Unicode?

A

Unicode is a 16bit code for storing characters

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

Compare ASCII and UNICODE?

A

Unicode uses more storage than ascii but allows a wider range of characters to be displayed

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

How are sound files stored?

A

Sound files are stored digitally by sampling the analogue sound wave?

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

Data types can be divided into two sorts called what?

A

Simple and structured

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

What are the simple data types?

A

Integer, Real, Character, Boolean

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

What are the structured data types?

A

Array, string, record

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

Arrays, strings and records use what to identify there contents?

A

Indexes which start at 0

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

What kind of process is software development ?

A

Software development is an iterative process

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

Explain RAD?

A

Rapid application development is an attempt to streamline the waterfall model by using prototyping and involving the client at more development stages

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

Explain Agile Development?

A

Agile development is small teams of developers work to complete the finished product. it is designed to be flexible to change in requirements.

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

Why are graphical design notations used in the design stage of the software development process?

A

To help the developers break the problem down into manageable sub problems

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

Explain structure diagrams?

A

Structure diagrams are a graphical representation of the top down design where blocks in the diagram correspond to modules in the program

18
Q

What are data flow diagrams used for?

A

Data flow diagrams are used to represent how data is passed between modules?

19
Q

Psedocode is what?

A

Psedocode is an informal description of the logic of each module which can then be used to write source code

20
Q

Where are wireframes used?

A

Program and website design

21
Q

Describe input validation?

A

Input validation is used to ensure that software is robust by repeatedly asking the user for input data and rejecting invalid data

22
Q

What is a computational construct?

A

A computional construct is a combination of control structures which can be used to make solving programming problems more intuitive

23
Q

What is meant by the scope of a variable?

A

The scope of a variable describes where it can be accessed from

24
Q

Explain global and local variables?

A

Global variables have a scope throughout a program, local variables can only be accessed within their own sub procedure

25
Q

What is a method in an object oriented language?

A

A method is a function that is defined inside a class

26
Q

explain passing by value and by reference?

A

Parameters which are passed into a procedure but not changed are passed by value. parameters which are passed into a procedure and can be changed are passed by reference.

27
Q

What is the job of a test plan?

A

A test plan is a set of test data which should systematically and comprehensively test the software to ensure it meets original specification.

28
Q

what is a syntax error?

A

A syntax error is where the grammatical rules of the language have been broken

29
Q

What is a logic error?

A

A logic error is one where the code is grammatically correct but does not result as expected.

30
Q

What is an execution error?

A

An execution error is one which cause the program to crash when run

31
Q

What is a dry run?

A

A dry run is a manual walk through of the program

32
Q

What is a breakpoint?

A

A breakpoint is a set point in a program where it will stop execution so that the values of variables can be examined

33
Q

What is a watchpoint?

A

A watchpoint is when a program is set to halt when a variable has reached a certain value

34
Q

Describe the CPU?

A

The CPU consists of several different parts the Arithemtic and logic unit, the control unit and registers?

35
Q

What is the ALU?

A

The Arithmetic and logic unit performs calculations and makes logical decisions

36
Q

What is the control unit?

A

The control unit loads, decodes, and executes instructions

37
Q

What are registers?

A

Registers are small temporary memory locations used by the processor

38
Q

What are buses?

A

Buses are groups of lines which connect the CPU to main memory

39
Q

The total number of memory locations which can be addressed by the processor is determined by what?

A

The number of lines in the address bus

40
Q

The number of lines in the data bus determines what?

A

The word size of the processor

41
Q

What is an emulator?

A

An emulator is software which imitates the behaviour of another computer system

42
Q

What is a virtual machine?

A

A virtual machine is a type of emulator that recreates a complete substitute of a full computer system