Search Header Logo
DB Intro

DB Intro

Assessment

Presentation

•

Computers

•

9th Grade

•

Medium

Created by

Kjeil Lease

Used 4+ times

FREE Resource

13 Slides • 22 Questions

1

Intro to the Data Tier
media

2

Information Technology

So far we've learned how to

  • Present Data

  • Modify data in our local code

  • Transfer data between pages

    • Directly

    • Indirectly

Let's Review.........

media

3

Multiple Choice

What type of data is quickly available to users but very difficult to update?

1

Session Variable

2

Local Variable

3

Parameter

4

Static Content on HTML Page

4

Multiple Choice

What type of data is immediately available to code anywhere on the same page and is very easy to update?

1

Session Variable

2

Local Variable

3

Parameter

4

Static Content on HTML Page

5

Multiple Choice

What is the best method to transfer data directly from one page to another?

1

Session Variable

2

Local Variable

3

Parameter

4

Static Content on HTML Page

6

Multiple Choice

What type of data is stored in a way that makes it available to any page the user views?

1

Session Variable

2

Local Variable

3

Parameter

4

Static Content on HTML Page

7

Multiple Choice

Other than HTML, do ANY of the previous options store data for later use?

1

Yes

2

No

8

Multiple Choice

Other than HTML, are any of the previous options saved if you turn the computer off?

1

Yes

2

No

9

Multiple Choice

Other than HTML, can ANY of the previous options handle very large amounts of data?

1

Yes

2

No

10

media
So we're missing a piece right?

11

media
  • Holds data for short term or long term use

  • Usually uses

    • Databases*

    • File Systems

  • Usually can handle very large amounts of data

  • Peformance starts becomeing an issue

​

​Data Tier

12

  • Information is stored in specialized software such as Oracle, MySQL, SQL Server, etc.

  • Much faster at searching and sorting but is expensive and complex

​Database

  • Store data in files on local or network storage.

  • Examples include google docs, text files, or program created files

  • Usually cheap and easy to use but much slower when searching or sorting

​File System

Storage Options

13

Multiple Choice

Which would be best for data that is not accessed very often and only by a limited amount of people?

1

File System

2

Database

14

Multiple Choice

Which would be best for data that is accessed very frequently by a large number of people?

1

File System

2

Database

15

Multiple Choice

Which would be best for data that is commonly needs to be presented a certain way or you are searching for very specific data?

1

File System

2

Database

16

Multiple Choice

Which would be best for data that people usually try and find very broad data and can browse through whatever is presented?

1

File System

2

Database

17

Database Server Software
  • Stores data in a structured, relational, and efficient manner

  • Allows for east searching and the ability to arrange the data in the way you need it

  • Provides features important to business continuity

    • Security: Controls access to the data

    • Scalability: Making sure the system has enough capacity to handle the planned load

    • Redundancy : Guards against hardware or system failure to ensure data is not lost and/or is still available to applications

18

Multiple Choice

Which function failed if a hacker gains access to user names and passwords?

1

Security

2

Scalibility

3

Redundancy

19

Multiple Choice

Which function failed if the system gets too busy and users have to wait too long?

1

Security

2

Scalibility

3

Redundancy

20

Multiple Choice

Which function failed if no users are able to use any part of the system because that database server was lost in a fire?

1

Security

2

Scalibility

3

Redundancy

21

Can be VERY expensive but have mission critical abilities

Examples:

  • Oracle

  • Microsoft SQL Server

​Commercial

Free but usually have limited functionality

Examples:

  • MySQL

  • Postgre

Open Source

Types of database Software

Some text here about the topic of discussion

​There are also applications like Microsoft Access that are "light" databases that do not need to run on a server

22

Poll

Which makes more sense, one textbook for each class or one big book for all your classes?

One for each class

One big book with everything

23

​Relational Databases

  • Are organized in a way that groups information in a way that makes it easier to either focus in on very specific information or combine a lot of information

  • Data is stored in tables that contain information usually limited to one category

  • These tables are linked by something they have in common

Subject | Subject

Some text here about the topic of discussion

24

  • Employee Number

  • First Name

  • Last Name

  • Hire Date

  • Certification Area

​Teachers

  • Title

  • Subject

  • Period

  • Teacher

Classes

Table Examples

How are they related?

​Tables include "Fields" which is where the specific information is stored

25

  • Employee Number

  • First Name

  • Last Name

  • Hire Date

  • Certification Area

​Teachers

  • Title

  • Subject

  • Period

  • Teacher

Classes

"Joining" Tables

Some text here about the topic of discussion

26

Structured Query Language (SQL)

​Pronounced like "sequel"

  • Language for building queries that are used for accessing or modifying data stored in a database

  • Only has four basic commands:

    • Select

    • Insert

    • Update

    • Delete

  • BUT has many functions and modifiers that can make things very complex!

27

Let's Review

28

Multiple Choice

What language is used for accessing information in a database?

1

Assembly

2

Java

3

SQL

4

HTML

29

Multiple Choice

What is the proper name for requesting information from a database?

1

join

2

link

3

index

4

query

30

Multiple Choice

What is the proper name for getting information from different tables using a common field?

1

join

2

link

3

index

4

query

31

Multiple Choice

Something named "Classrooms" is most likely a database:

1

Table

2

Field

32

Multiple Choice

Which database server software would most likely be used for a credit card company?

1

Text Files

2

Oracle

3

MySQL

4

Microsoft Access

33

Multiple Choice

Something named "RoomNumber" is most likely a database:

1

Table

2

Field

34

Multiple Choice

Which field would most likely be the link between these tables:

Players: A list of players on a football team

GameEvents: A list of events by a particular player in a game

1

Event Type (tackle, interception, touchdown, etc)

2

Event Time

3

Player Jersey Number

35

What's Next

CodeHS: Hour of SQL Module

Due Friday for EVERYBODY

Subject | Subject

Some text here about the topic of discussion

pattern-tertiary
Intro to the Data Tier
media

Show answer

Auto Play

Slide 1 / 35

SLIDE