CSEC-IT-Data Base Presentation
CSEC-IT-Data Base Presentation
CSEC IT
DATA SECURITY?
CSEC IT 2
A QUICK CAPE NOTE
Data warehouses
Data Marts
CSEC IT 3
WHAT YOU SHOULD ALREADY KNOW
S I M P L E D ATA B A S E T E R M S
D ATA B A S E O B J E C T S
FIELD – one item which represents
1. TABLES
one piece of information in a
record 2. QUERIES
CSEC IT 6
What’s missing????
CSEC IT 7
LOOK AT THIS TABLE
StID First Name Address DOB
2201918 Mary-Kate Olsen 3/23/2007
2201318 Jackie Chan 3/11/2008
CSEC IT 8
THE PHONE!!
SUBTITLE GOES HERE
CSEC IT 9
CSEC IT
CSEC IT 11
Fingerprints
Voice Timbre
CSEC IT 12
Today’s objects
CSEC IT 13
STUDENT TABLE
CSEC IT 14
QUICK QUESTION:
•What would happen if a the letters
HTR12342 were entered for a
students Identification?
StID First Name Address DOB
HTR12342 Mary-Kate Olsen 3/23/2007
2201318 Jackie Chan 3/11/2008
CSEC IT
INFORMATION PROCESSING
• Types of Queries
• Simple Select Queries
• Calculated fields
CSEC IT 17
TYPES OF QUERIES - ACCESS
SELECT – get information from existing tables
APPEND – add information to a table
UPDATE – make changes to specific fields in a table
DELETE – re m o ve s re co rd s f ro m a ta b l e
CSEC IT
WORKING WITH QUERIES
• SELECT QUERIES
• Simple criterion examples
• Like Keyword
• Calculated field
CSEC IT 19
THE FIRST QUERY
CSEC IT 20
THE FIRST QUERY
Ta b l e b e i n g u s e d Query Grid
• L i ke “J * ”
• WILDCARD
CSEC IT 21
CRITERION USING A DATE – FIND THE PERSON
BORN AFTER SEPTEMBER 1 ST, 2007
criterion Dissecting the query:
CSEC IT 22
CALCULATED QUERY –FEES OWED
CSEC IT 23
CALCULATED QUERY – OWING
CSEC IT 24
WHAT DID WE REVIEW?
• Database: Segues
• Fields
• Data and Internet Security
• Data types
• Date criterion
CSEC IT 26
QUICK QUESTION:
This program should display whether
students of 5L receive iPhone 11s, for
attaining only ones and twos in their
subjects on the upcoming CSEC
examination.
CSEC IT
QUICK QUESTION:
#tvjschoolsnotout
CSEC IT
Times up!!!
IPO Chart
Truth Tables
Pseudocodes
Flowcharts
Trace Tables
CSEC IT 31
IPO Chart
Input Processing Output
CSEC IT 32
Truth Table
8 or more subjects – get iPhone
No No
Yes Yes
CSEC IT 33
Truth Table
8 or more subjects – get iPhone
No No No
No Yes No
Yes No No
PRINT “Please enter name of student and the number of grade User Prompt
ones attained”
STOP
CSEC IT 36
POP QUIZ
This program should display whether
students of 5L receive iPhone 11s, for
attaining only ones and twos in all
their subjects on their upcoming CSEC
examination.
#tvjschoolsnotout
CSEC IT
START
Solution:
StudentName = “AAAAA” undetermined
GradeOnes = 0
Number of
REPEAT Student
PRINT “Please enter name of student and the number of grade ones
attained. Enter -1 for grade ones or the word ‘end’ for the student’s name”
ENDIF
DOWNLOAD THIS
PRESENTATION
CSEC IT
DOWNLOAD THIS PRESENTATION
CSEC IT