Search Header Logo
N5 Revision

N5 Revision

Assessment

Presentation

Computers

10th Grade

Practice Problem

Easy

Created by

Tracy Mutter

Used 2+ times

FREE Resource

10 Slides • 12 Questions

1

N5 Computing Revision

2

Database Design & Development

Keys

At N5 we work with relational databases - one which has two or more tables of related data. To uniquely identify every record in the database we create Primary Keys in each table. This should be something that can be unique for each record and not change over time. To link the tables together we create a Foreign Key. This is a primary key in its own table but used in another to link the data together. This allows us to search for data across the tables.

3

NOTE:
Each table has 1 primary key
Only 1 table will have a foreign key

Keys

media

4

Multiple Choice

Question image

Which field is the Foreign Key?

1

productName

2

productCode

3

manufacturerID

4

telephoneNumber

5

Draw

Draw and name the relationship

6

Queries

Query Design

This is normally asked for SELECT queries - when you are searching the database for something.

media

7

Multiple Choice

If I need to change a record that is already in the database, which query would I create?

1

SELECT

2

INSERT

3

UPDATE

4

DELETE

8

Multiple Choice

If I need to find something in the database, which query would I create?

1

SELECT

2

INSERT

3

UPDATE

4

DELETE

9

Multiple Choice

If I wanted to add a record in to the database, which query would I create?

1

SELECT

2

INSERT

3

UPDATE

4

DELETE

10

General Data Protection Regulations

Legal Aspects of Databases

This is the only Law you need to know for N5 Computing. It's also known as UK GDPR
It covers personal / sensitive data held about individuals by organisations.
There are implications for both the individual and the organisation.

11

UK GDPR

UK General Data Protection Regulation (UK GDPR) that data must be:

  • Organisation

  • processed lawfully, fairly and in a transparent manner in relation to individuals, used for the declared purpose only, limited to the data needed for the declared purpose, accurate, not kept for longer than necessary, held securely

  • Individuals

  • Right to view data held, have it changed if wrong, compensation if inaccurate data caused harm / loss



12

Multiple Choice

Question image

Why does GDPR not apply to this situation?

1

It's a small business and they are exempt

2

They have not applied for GDPR yet

3

They do not hold personal information

4

You cannot identify anyone from the data it holds

13

Software Design & Development

14

Loops - Repetition

Fixed Loops

We use a fixed loop when we know in advance how many times the code needs to repeat. We use a FOR loop.

for counter in range(5):
guess = input("What is your guess?")

15

Loops - Repetition

Conditional Loops

We use a conditional loop when we do NOT know in advance how many times the code needs to repeat. We use a WHILE loop - it has a condition to make the loop run.

while password != "Let me in":
print("eh no!")
password = input("What is the password?")

16

Multiple Choice

A program takes in rainfall for a year.

Which type of loop will it use?

1

Fixed

2

Conditional

17

Multiple Choice

A program checks a user's password is valid.

Which type of loop will it use?

1

Fixed

2

Conditional

18

Multiple Choice

A program displays the 4 times table up to 48.

Which type of loop will it use?

1

Fixed

2

Conditional

19

Always look at the choice(s) given for answering: - pseudocode or programming language

Coding Questions

media

20

Multiple Choice

Which type of loop is used with the standard algorithm Input Validation?

1

Fixed

2

Conditional

21

Open Ended

Question image

Write an answer to this question

22

Word Cloud

What topics do you want to cover on Wednesday?

N5 Computing Revision

Show answer

Auto Play

Slide 1 / 22

SLIDE