Section 8 Flashcards

(21 cards)

1
Q

What is the letter called which replaces a Boolean expression?

A

Boolean Variable

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

What are the Boolean variables either?

A

True or False

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

What is a truth table?

A

Representation of the logic showing the output, given each possible input

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

Why is authentication used?

A

Make sure that a person is who they say they are

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

What are examples of methods of authentication?

A
  • Optical Recognition
  • Facial Recognition
  • Fingerprint Recognition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why are you normally only allowed three attempts to type in the correct password?

A

Protect system from unauthorised access

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

What are examples of validation check?

A
  • Range: Number within range
  • Type: Data type
  • Length: Text entered too long
  • Presence: Data has been entered
  • Format: e.g. postcode
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What can validation only check?

A
  • If it is reasonable, not correct
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is verification?

A

Double-check data has been typed correctly
- Two version compared

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

What are ways of making program code understandable?

A
  • Subprograms
  • Naming Conventions
  • Indentation
  • Comments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are syntax errors?

A
  • Where translator expects commands to have a certain format, so without it won’t be able to translate it into machine code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a logic error?

A
  • Once no syntax errors, it can be run.
  • Logic error is where program doesn’t do what is expected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Types of testing

A
  • Iterative (Subroutine tested separately when written)
  • Terminal (Program finished and works)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What should test data include?

A
  • Normal
  • Boundary
  • Invalid
  • Erroneous
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a trace table?

A

Tracks how a value of a variable changes

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

What are the two types of languages?

A
  • High-Level
  • Low- Level
17
Q

When is assembly language often used?

A

Embedded Systems

18
Q

What is an assembler?

A
  • Converts assembly language to machine code
19
Q

What is a compiler?

A
  • Translates program written in high-level programming language to machine code
20
Q

What is an interpreter?

A

Also translates high-level language to machine code, but translates each line of source code and executes

21
Q

What does the IDE do?

A
  • Enter, edit and save source code
  • Identify and correct syntax errors
  • Translate source to machine code
  • Execute program