Nat 5 Computing Science Flashcards

1
Q

How many bits in a byte?

A

8

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

How many bytes in a kilobyte?

A

1024

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

How do you write a date in SQL?

A

With quotation marks. For example: “xx/xx/xx”

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

What are the two translator types?

A

Interpreter and compiler

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

What are the two types of loops?

A

Fixed and conditional

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

What are all the vector objects?

A
  • Ellipse
  • Rectangle
  • Polygon
  • Line
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are all the vector object attributes?

A
  • Coordinates
  • Line colour
  • Fill colour
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the design process keywords?

A
  • Calculate
  • Retrieve
  • Validate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are end user requirements?

A

End user requirements are what the final users of the database need it to do. For example: Search for dogs based on their breed.

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

What are functional requirements?

A

Functional requirements are what the database needs to do, think SQL command words. For example: Insert new details about dogs such as their name and breed.

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

What are the requirements of GDPR?

A
  • Data is processed fairly, legally and in a transparent manner
  • Data is used for the declared use only
  • Data must be relevant and limited to the declared purpose only
  • Data must be accurate
  • Data must be held securely
  • Data must not be kept for longer than necessary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe an executional error?

A

An error that occurs when the computer is asked to do something it cannot, such as divide by 0 or store a string as an integer.

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

What are predefined functions used for?

A

To save time because you do not need to write as much code. Used for tasks that occur frequently such as round, length or random.

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

If a user interface is to be used by multiple people what must it have?

A

A submit button

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

When referring to a computer’s memory what must you refer to it as?

A

RAM which has unique addresses

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

When describing what code does what must you do?

A

Check the marks and make sure you describe it accordingly

17
Q

What are all of the computational constructs, there are 8?

A
  • Assigning values - Setting or changing variables
  • Returning values using arithmetic operators - Using variables to do calculations
  • Concatenating strings - Join two smaller strings into one larger string
  • Selection constructs using simple conditional statements - An if statement with a simple condition
  • Selection constructs using complex conditional statements - An if statement with a complex condition
  • Logical operators - AND, OR and NOT
  • Iteration and repetition - Using fixed and conditional loops
  • Predefined functions with parameters - Round, length, random
18
Q

What are the standard algorithms?

A
  • Input validation
  • Running total within a loop
  • Traversing a 1D array
19
Q

What are firewalls used for?

A

A firewall is used to check packets that are coming in and ensure they are coming from a safe source.

20
Q

What must you show when writing INSERT INTO SQL statements?

A

All the fields that will be filled