Search Header Logo
Databases and SQL

Databases and SQL

Assessment

Presentation

Computers

10th - 12th Grade

Medium

Created by

R Sorhaindo

Used 311+ times

FREE Resource

7 Slides • 15 Questions

1

Databases and SQL

Topic 1.3.1

Slide image

2

Multiple Choice

A database can be stored on a computer or paper-based (manual)

1

True

2

False

3

Database Overview

A collection of information stored together in a structured and organised way

Databases are arranged using tables, records and fields

Each record has a fields that uniquely identifies (separates) that record from others. This is the primary key

Slide image

4

Multiple Choice

In a database for an online shopping company, all the information about a single customer would be stored as a ...

1

Field

2

Record

3

Relationship

4

Table

5

Multiple Choice

In a database for an online shopping company, all the customer information would be stored as a ...

1

Field

2

Record

3

Relationship

4

Table

6

Fill in the Blank

Type answer...

7

Fill in the Blank

Type answer...

8

Flat-file

  • Repeated data (duplication)

  • Greater chance for inaccuracy

  • Increases data entry time

  • Reduced data integrity (trust in data and query results)

  • Easy to create

Slide image

9

Relational Database

  • Data stored and inputted once

  • Can setup access rights for individual tables

  • New tables or fields can be added without affecting other tables

  • Difficult to setup with specialised software required

Slide image

10

Multiple Choice

A database has multiple tables with links. What kind of database is it?

1

Flat file

2

Relational

11

Multiple Choice

Which kind of database is easier to setup?

1

Flat file

2

Relational

12

Multiple Choice

Which kind of database would require greater computer power and resources to run queries (searches)?

1

Flat file

2

Relational

13

Multiple Choice

Question image

A service allows students to rent videos. The ERD shows the tables related using a many-to-many relationship.

Which diagram would show a more efficient setup?

1
2
3

14

Multiple Choice

A delivery company sends parcels across the UK.

The database contains a table called parcel and a table called customer.


Which entity relationship diagram shows the parcel and customer relationship?

1
2
3

15

Structured Query Language

  • Allows us to interrogate databases

  • Allows modification and creation of databases

  • Can be use inputs from web pages as criteria and return query results

16

SELECT query

SELECT Name, Class

FROM Student

WHERE [ID No.] > 500

Slide image

17

Fill in the Blank

Type answer...

18

Multiple Choice

Question image

SELECT First_Name

FROM Employee

WHERE Title = "Programmer" AND Gender = "F"


Would return what?

1

Yolanda

2

Yolanda and Jennifer

3

Jennifer

19

Fill in the Blank

Type answer...

20

UPDATE query

UPDATE Student

SET Name="Pete"

WHERE [ID No.] = 412

Slide image

21

Multiple Choice

Question image

UPDATE Student

SET Room = 49

WHERE Room = 56


How many records would be affected?

1

0

2

1

3

2

4

3

22

Multiple Choice

Question image

UPDATE Student

SET Room = 40

WHERE NOT Class = "5B"


How many records would be affected?

1

0

2

1

3

2

4

3

Databases and SQL

Topic 1.3.1

Slide image

Show answer

Auto Play

Slide 1 / 22

SLIDE