SlideShare a Scribd company logo
DR ATIF SHAHZAD
Fundamentals of
Computer Systems
IE-321
LECTURE #10
9/27/2018 2
Dr.AtifShahzad
WhatW have seen
Logic
Logical variables
Conditional, Negation, Contrapositive,Biconditional
AND, OR,NOT,XOR
Logic gates
TruthTables
BooleanAlgebra
Examples
Q&A
MicrosoftVisio
Microsoft Project
Spreadsheet Concepts:
Using Microsoft Excel
Creating Charts in Microsoft Excel
Debugging Concepts Using Microsoft Excel
Presentation Concepts Using Microsoft PowerPoint
Image Concepts
Memory
Memory Cell
CPU
Register
Program Counter
Fetch-Execute Cycle
Q&A
File Management
Word Processing Basics Using MicrosoftWord
MicrosoftWord Layout and Graphics Features
Making and using compressed Files
WinZip, 7Zip
Notepad++
Wordpad
Adobe acrobat
Sumatra PDF
MathType
9/27/2018 3
Dr.AtifShahzad
TODAY
Database
Flat & Relational Database
DBMS
Tables & Fields
CreatingTablesinAccess
Design view and Data Sheet View
Primary Key & Foreign key
Relationships & ER Diagram
Queries &Simple SQL
Fundamentals of
Computer Systems
IE321
Databases
9/27/2018
Dr.AtifShahzad
5
Database
comprehensive collection
of related data
organized for convenient access, generally in
a computer
9/27/2018
Dr.AtifShahzad
6
Database systems
9/27/2018
Dr.AtifShahzad
7
Oracle
Microsoft
SQL Server
IBM DB2
FileMaker Ingres MySQL
Corel
Paradox
Dbase III R:Base
Database Management System
(DBMS)
9/27/2018
Dr.AtifShahzad
8
collection of
software facilitating
the definition,
construction and
manipulation of
databases
Definition
•record structure
•data elements
•names
•data types
•constraints
etc
Construction
•create database
files
•populate the
database with
records
Manipulation
•querying
•updating
Database Management System
(DBMS)
9/27/2018
Dr.AtifShahzad
9
collection of
software facilitating
the definition,
construction and
manipulation of
databases
Users/actors
Request
manager
Storage
manager
Meta data
Stored
database
DBMS
Sample
9/27/2018
Dr.AtifShahzad
10
Sample database
Student Name StNo Class Major
Smith 17 1 CS
Brown 8 2 CS
Course CName Cno CrHrs Dept
Database 8803 3 CS
C 2606 3 CS
Section SId CNo Semester Yr Instructor
32 8803 Spring 2000 Smith
25 8803 Winter 2000 Smith
43 2606 Spring 2000 Jones
Grades StNo Sid Grade
17 25 A
17 43 B
file1file2
file3
file4
Sample
9/27/2018
Dr.AtifShahzad
11
Field Name
Record
Field
MSAccess
9/27/2018
Dr.AtifShahzad
12
a relational database,
meaning that data is stored
in multiple tables that are
related to each other.
Relational Database
9/27/2018
Dr.AtifShahzad
13
Key relates…
9/27/2018
Dr.AtifShahzad
14
Major Components ofAccess
9/27/2018
Dr.AtifShahzad
15
Tables
Queries
FormsMacros
Modules
Table
9/27/2018
Dr.AtifShahzad
16
Fields
Hold an individual piece of data
Are named descriptively
Often called a column
Phone book examples
Name, address, e-mail, phone number
Fields may contain no data
9/27/2018
Dr.AtifShahzad
17
Data types inTable Fields
9/27/2018
Dr.AtifShahzad
18
• Use for text or combinations of text and numbers, such as addresses, or for numbers that do not require calculations,
such as phone numbers or postal codes (255 characters)Text
• Use for lengthy text and numbers, such as notes. Stores up to 63,999 characters
Memo
• Use for data to be included in mathematical calculations, except money
Number
• Use for dates and times
Date/Time
• Use for currency values and to prevent rounding off during calculations.
Currency
• Use for unique sequential that are automatically inserted with a new record
AutoNumber
• Use for data that can be only one of two possible values, such as Yes/No, True/False, On/Off.
Yes/No
• Use for OLE objects (such as Microsoft Word documents, Microsoft Excel spreadsheets, pictures, sounds,
OLE Object
• Use for hyperlinks (hyperlink: Colored and underlined text or a graphic that you click to go to a file, a location in a file,
a Web page on the World Wide Web, or a Web page on an intranet. Stores up to 2048 characters.Hyperlink
• Use to create a field that allows you to choose a value from another table or from a list of values using a combo box
LookupWizard
Records
One full set of fields
Often called a row
Phone book example
Smith, Joe, 123 Some Street, 412-555-
7777
Databases may have unlimited rows
9/27/2018
Dr.AtifShahzad
19
Flat-file database
Typically has only one table
If multiple, each has a separate file
Useful for simple data storage needs
Hard to manage large data needs
Can waste disk space
9/27/2018
Dr.AtifShahzad
20
Relational database
Made of two or more tables
Tables are related by a common field
Called a relationship or join
Can help organize data
Most common form of database
Maintaining data is easier than flat-file
No wasted disk space
9/27/2018
Dr.AtifShahzad
21
ER Diagram
9/27/2018
Dr.AtifShahzad
22
Working with a Database
Creating tables
List the necessary fields
Steps to define a field
Descriptively name the field
Specify the field type
Determine the field size
11A-24
Working with a Database
Field types
Describes the type of data stored
Most DBMS use the same types
Text fields store letters and numbers
Numeric field store numbers
Date and time field
Logical field stores yes or no
Binary field stores images or sounds
Counter field generates sequential numbers
Memo fields store large amounts of data
11A-25
Working with a Database
Entering data into a table
Users type data into a field
Data must be entered accurately
Constraints help to verify data
Forms are typically used for data entry
11A-26
Working with a Database
Viewing records
Datasheet view shows all records
Filters can limit the records shown
Display only records matching a criteria
Forms allow viewing one record
11A-27
Working with a Database
Sorting records
Order records based on a field
Multiple sub sorts resolve‘ties’
Several types of sorts
Alphabetic
Numeric
Chronological
Ascending
Descending
11A-28
Working with a Database
Querying a database
Statement that describes desired data
List of fields can be modified
Uses of querying
Find data
Calculate values per record
Delete records
Most important DBMS skill
11A-29
Working with a Database
Query languages
All DBMS use a query language
Most DBMS modify the language
Structured Query Language (SQL)
Most common query language
xBase
Query language for dBase systems
Query by example (QBE)
Interface to SQL or xBase
Interactive query design
11A-30
Query Examples
SQL
Select FirstName, LastName, Phone
From tblPhoneNumbers
Where LastName=“Norton”;
xBase
Use tblPhoneNumbers
List FirstName, LastName, Phone
For LastName=“Norton”
11A-31
Working with a Database
Generating reports
Printed information extracted from
a database
Can calculate data
Calculate data per row
Calculate for entire table
Pictures and formatting can be included
MS Access
Hand on Practice
9/27/2018
Dr.AtifShahzad
32
9/27/2018
Dr.AtifShahzad
34
NEVER hesitate to
contact should you
have any question
Dr.Atif Shahzad

More Related Content

What's hot

Effective Visualization with Tableau
Effective Visualization with TableauEffective Visualization with Tableau
Effective Visualization with Tableau
Girija Muscut
 
Redis project : Relational Databases to Key-Value systems
Redis project : Relational Databases to Key-Value systemsRedis project : Relational Databases to Key-Value systems
Redis project : Relational Databases to Key-Value systems
Lamprini Koutsokera
 
Indexing and-hashing
Indexing and-hashingIndexing and-hashing
Indexing and-hashingAmi Ranjit
 
Statistics Pillar (Concepts, Definitions and Classifications)
Statistics Pillar (Concepts, Definitions and Classifications)Statistics Pillar (Concepts, Definitions and Classifications)
Statistics Pillar (Concepts, Definitions and Classifications)
FAO
 
Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2Tsendsuren Munkhdalai
 
Order by and join
Order by and joinOrder by and join
Order by and join
Riteshkiit
 
Introduction to SQL
Introduction to SQL Introduction to SQL
Introduction to SQL
Robert Birch
 
Python for statistical analysis
Python for statistical analysisPython for statistical analysis
Python for statistical analysis
NiravDobariya3
 
Isam
IsamIsam
AllegroGraph - Cognitive Probability Graph webcast
AllegroGraph - Cognitive Probability Graph webcastAllegroGraph - Cognitive Probability Graph webcast
AllegroGraph - Cognitive Probability Graph webcast
Franz Inc. - AllegroGraph
 
Toronto OpenRefine MeetUp Nov 2015
Toronto OpenRefine MeetUp Nov 2015Toronto OpenRefine MeetUp Nov 2015
Toronto OpenRefine MeetUp Nov 2015
Martin Magdinier
 
File Structures(Part 2)
File Structures(Part 2)File Structures(Part 2)
File Structures(Part 2)
SURBHI SAROHA
 
Let your data shine... with OpenRefine
Let your data shine... with OpenRefineLet your data shine... with OpenRefine
Let your data shine... with OpenRefine
Open Knowledge Belgium
 
HospETL - Delivering a Healthcare Analytics Platform
HospETL - Delivering a Healthcare Analytics PlatformHospETL - Delivering a Healthcare Analytics Platform
HospETL - Delivering a Healthcare Analytics Platform
Angela Razzell
 
Lec 1 indexing and hashing
Lec 1 indexing and hashing Lec 1 indexing and hashing
Lec 1 indexing and hashing
Md. Mashiur Rahman
 
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATABig Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Matt Stubbs
 
ComputableFacts: a Secure System to Store Documents and Graphs
ComputableFacts: a Secure System to Store Documents and GraphsComputableFacts: a Secure System to Store Documents and Graphs
ComputableFacts: a Secure System to Store Documents and Graphs
Accumulo Summit
 
Indexing and hashing
Indexing and hashingIndexing and hashing
Indexing and hashing
Abdul mannan Karim
 

What's hot (20)

Effective Visualization with Tableau
Effective Visualization with TableauEffective Visualization with Tableau
Effective Visualization with Tableau
 
Redis project : Relational Databases to Key-Value systems
Redis project : Relational Databases to Key-Value systemsRedis project : Relational Databases to Key-Value systems
Redis project : Relational Databases to Key-Value systems
 
Indexing and-hashing
Indexing and-hashingIndexing and-hashing
Indexing and-hashing
 
Statistics Pillar (Concepts, Definitions and Classifications)
Statistics Pillar (Concepts, Definitions and Classifications)Statistics Pillar (Concepts, Definitions and Classifications)
Statistics Pillar (Concepts, Definitions and Classifications)
 
Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2
 
Order by and join
Order by and joinOrder by and join
Order by and join
 
Introduction to SQL
Introduction to SQL Introduction to SQL
Introduction to SQL
 
Python for statistical analysis
Python for statistical analysisPython for statistical analysis
Python for statistical analysis
 
Isam
IsamIsam
Isam
 
AllegroGraph - Cognitive Probability Graph webcast
AllegroGraph - Cognitive Probability Graph webcastAllegroGraph - Cognitive Probability Graph webcast
AllegroGraph - Cognitive Probability Graph webcast
 
Toronto OpenRefine MeetUp Nov 2015
Toronto OpenRefine MeetUp Nov 2015Toronto OpenRefine MeetUp Nov 2015
Toronto OpenRefine MeetUp Nov 2015
 
File Structures(Part 2)
File Structures(Part 2)File Structures(Part 2)
File Structures(Part 2)
 
Let your data shine... with OpenRefine
Let your data shine... with OpenRefineLet your data shine... with OpenRefine
Let your data shine... with OpenRefine
 
HospETL - Delivering a Healthcare Analytics Platform
HospETL - Delivering a Healthcare Analytics PlatformHospETL - Delivering a Healthcare Analytics Platform
HospETL - Delivering a Healthcare Analytics Platform
 
Lec 1 indexing and hashing
Lec 1 indexing and hashing Lec 1 indexing and hashing
Lec 1 indexing and hashing
 
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATABig Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
 
002.table
002.table002.table
002.table
 
ComputableFacts: a Secure System to Store Documents and Graphs
ComputableFacts: a Secure System to Store Documents and GraphsComputableFacts: a Secure System to Store Documents and Graphs
ComputableFacts: a Secure System to Store Documents and Graphs
 
Data types
Data typesData types
Data types
 
Indexing and hashing
Indexing and hashingIndexing and hashing
Indexing and hashing
 

Similar to Lecture10 ie321 dr_atifshahzad

Uses of MS Access in Business
Uses of MS Access in BusinessUses of MS Access in Business
Uses of MS Access in Business
Biswajit Bhattacharjee
 
Database
DatabaseDatabase
Database
Chinmay Raul
 
D.dsgn + dbms
D.dsgn + dbmsD.dsgn + dbms
D.dsgn + dbms
Dori Dorian
 
Tableau Desktop Material
Tableau Desktop MaterialTableau Desktop Material
Tableau Desktop Material
Kishore Chaganti
 
Ms access
Ms accessMs access
Ms access
RoshanMaharjan13
 
Databases By ZAK
Databases By ZAKDatabases By ZAK
Databases By ZAK
Tabsheer Hasan
 
18 database features
18 database features18 database features
18 database featuresRebecca Jones
 
Ch01 Access
Ch01 AccessCh01 Access
Ch01 AccessD
 
Database concepts presentation version 2010 revised
Database concepts presentation version 2010 revisedDatabase concepts presentation version 2010 revised
Database concepts presentation version 2010 revisedmnodalo
 
baim_ch05
baim_ch05baim_ch05
baim_ch05baim08
 
Sql server lesson5
Sql server lesson5Sql server lesson5
Sql server lesson5
Ala Qunaibi
 
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESDATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
WesleyWenceslaus
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
Obuasi Senior High Technical School
 
Data Modeling on Azure for Analytics
Data Modeling on Azure for AnalyticsData Modeling on Azure for Analytics
Data Modeling on Azure for Analytics
Ike Ellis
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
Muhd Dembo
 
esProc introduction
esProc introductionesProc introduction
esProc introduction
ssuser9671cc
 
Ms access
Ms accessMs access
Revision booklet 6957 2016
Revision booklet 6957 2016Revision booklet 6957 2016
Revision booklet 6957 2016
jom1987
 

Similar to Lecture10 ie321 dr_atifshahzad (20)

Uses of MS Access in Business
Uses of MS Access in BusinessUses of MS Access in Business
Uses of MS Access in Business
 
Database
DatabaseDatabase
Database
 
D.dsgn + dbms
D.dsgn + dbmsD.dsgn + dbms
D.dsgn + dbms
 
Tableau Desktop Material
Tableau Desktop MaterialTableau Desktop Material
Tableau Desktop Material
 
Ms access
Ms accessMs access
Ms access
 
Databases By ZAK
Databases By ZAKDatabases By ZAK
Databases By ZAK
 
Ch10
Ch10Ch10
Ch10
 
18 database features
18 database features18 database features
18 database features
 
Ch01 Access
Ch01 AccessCh01 Access
Ch01 Access
 
Database concepts presentation version 2010 revised
Database concepts presentation version 2010 revisedDatabase concepts presentation version 2010 revised
Database concepts presentation version 2010 revised
 
baim_ch05
baim_ch05baim_ch05
baim_ch05
 
Sql server lesson5
Sql server lesson5Sql server lesson5
Sql server lesson5
 
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESDATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
Data Modeling on Azure for Analytics
Data Modeling on Azure for AnalyticsData Modeling on Azure for Analytics
Data Modeling on Azure for Analytics
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
esProc introduction
esProc introductionesProc introduction
esProc introduction
 
Ms access
Ms accessMs access
Ms access
 
Database
DatabaseDatabase
Database
 
Revision booklet 6957 2016
Revision booklet 6957 2016Revision booklet 6957 2016
Revision booklet 6957 2016
 

More from Atif Shahzad

Lecture04 computer applicationsie1_dratifshahzad
Lecture04 computer applicationsie1_dratifshahzadLecture04 computer applicationsie1_dratifshahzad
Lecture04 computer applicationsie1_dratifshahzad
Atif Shahzad
 
Lecture03 computer applicationsie1_dratifshahzad
Lecture03 computer applicationsie1_dratifshahzadLecture03 computer applicationsie1_dratifshahzad
Lecture03 computer applicationsie1_dratifshahzad
Atif Shahzad
 
Lecture01 computer applicationsie1_dratifshahzad
Lecture01 computer applicationsie1_dratifshahzadLecture01 computer applicationsie1_dratifshahzad
Lecture01 computer applicationsie1_dratifshahzad
Atif Shahzad
 
Lecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadLecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzad
Atif Shahzad
 
Lecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadLecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzad
Atif Shahzad
 
Dr atif shahzad_sys_ management_lecture_agile
Dr atif shahzad_sys_ management_lecture_agileDr atif shahzad_sys_ management_lecture_agile
Dr atif shahzad_sys_ management_lecture_agile
Atif Shahzad
 
Dr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmea
Dr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmeaDr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmea
Dr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmea
Atif Shahzad
 
Dr atif shahzad_engg_ management_module_01
Dr atif shahzad_engg_ management_module_01Dr atif shahzad_engg_ management_module_01
Dr atif shahzad_engg_ management_module_01
Atif Shahzad
 
Dr atif shahzad_engg_ management_lecture_inventory models
Dr atif shahzad_engg_ management_lecture_inventory modelsDr atif shahzad_engg_ management_lecture_inventory models
Dr atif shahzad_engg_ management_lecture_inventory models
Atif Shahzad
 
Dr atif shahzad_engg_ management_lecture_inventory management
Dr atif shahzad_engg_ management_lecture_inventory managementDr atif shahzad_engg_ management_lecture_inventory management
Dr atif shahzad_engg_ management_lecture_inventory management
Atif Shahzad
 
Dr atif shahzad_engg_ management_cost management
Dr atif shahzad_engg_ management_cost managementDr atif shahzad_engg_ management_cost management
Dr atif shahzad_engg_ management_cost management
Atif Shahzad
 
Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...
Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...
Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...
Atif Shahzad
 
Lecture17 ie321 dr_atifshahzad_js
Lecture17 ie321 dr_atifshahzad_jsLecture17 ie321 dr_atifshahzad_js
Lecture17 ie321 dr_atifshahzad_js
Atif Shahzad
 
Lecture16 ie321 dr_atifshahzad_css
Lecture16 ie321 dr_atifshahzad_cssLecture16 ie321 dr_atifshahzad_css
Lecture16 ie321 dr_atifshahzad_css
Atif Shahzad
 
Lecture15 ie321 dr_atifshahzad_html
Lecture15 ie321 dr_atifshahzad_htmlLecture15 ie321 dr_atifshahzad_html
Lecture15 ie321 dr_atifshahzad_html
Atif Shahzad
 
Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2
Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2
Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2
Atif Shahzad
 
Lecture13 ie321 dr_atifshahzad -algorithmic thinking
Lecture13 ie321 dr_atifshahzad -algorithmic thinkingLecture13 ie321 dr_atifshahzad -algorithmic thinking
Lecture13 ie321 dr_atifshahzad -algorithmic thinking
Atif Shahzad
 
Lecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksLecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networks
Atif Shahzad
 
Lecture11 ie321 dr_atifshahzad -security
Lecture11 ie321 dr_atifshahzad -securityLecture11 ie321 dr_atifshahzad -security
Lecture11 ie321 dr_atifshahzad -security
Atif Shahzad
 
Lecture08 ie321 dr_atifshahzad
Lecture08 ie321 dr_atifshahzadLecture08 ie321 dr_atifshahzad
Lecture08 ie321 dr_atifshahzad
Atif Shahzad
 

More from Atif Shahzad (20)

Lecture04 computer applicationsie1_dratifshahzad
Lecture04 computer applicationsie1_dratifshahzadLecture04 computer applicationsie1_dratifshahzad
Lecture04 computer applicationsie1_dratifshahzad
 
Lecture03 computer applicationsie1_dratifshahzad
Lecture03 computer applicationsie1_dratifshahzadLecture03 computer applicationsie1_dratifshahzad
Lecture03 computer applicationsie1_dratifshahzad
 
Lecture01 computer applicationsie1_dratifshahzad
Lecture01 computer applicationsie1_dratifshahzadLecture01 computer applicationsie1_dratifshahzad
Lecture01 computer applicationsie1_dratifshahzad
 
Lecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadLecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzad
 
Lecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadLecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzad
 
Dr atif shahzad_sys_ management_lecture_agile
Dr atif shahzad_sys_ management_lecture_agileDr atif shahzad_sys_ management_lecture_agile
Dr atif shahzad_sys_ management_lecture_agile
 
Dr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmea
Dr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmeaDr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmea
Dr atif shahzad_sys_ management_lecture_10_risk management_fmea_vmea
 
Dr atif shahzad_engg_ management_module_01
Dr atif shahzad_engg_ management_module_01Dr atif shahzad_engg_ management_module_01
Dr atif shahzad_engg_ management_module_01
 
Dr atif shahzad_engg_ management_lecture_inventory models
Dr atif shahzad_engg_ management_lecture_inventory modelsDr atif shahzad_engg_ management_lecture_inventory models
Dr atif shahzad_engg_ management_lecture_inventory models
 
Dr atif shahzad_engg_ management_lecture_inventory management
Dr atif shahzad_engg_ management_lecture_inventory managementDr atif shahzad_engg_ management_lecture_inventory management
Dr atif shahzad_engg_ management_lecture_inventory management
 
Dr atif shahzad_engg_ management_cost management
Dr atif shahzad_engg_ management_cost managementDr atif shahzad_engg_ management_cost management
Dr atif shahzad_engg_ management_cost management
 
Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...
Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...
Dr atif shahzad_sys_ management_lecture_outsourcing managing inter organizati...
 
Lecture17 ie321 dr_atifshahzad_js
Lecture17 ie321 dr_atifshahzad_jsLecture17 ie321 dr_atifshahzad_js
Lecture17 ie321 dr_atifshahzad_js
 
Lecture16 ie321 dr_atifshahzad_css
Lecture16 ie321 dr_atifshahzad_cssLecture16 ie321 dr_atifshahzad_css
Lecture16 ie321 dr_atifshahzad_css
 
Lecture15 ie321 dr_atifshahzad_html
Lecture15 ie321 dr_atifshahzad_htmlLecture15 ie321 dr_atifshahzad_html
Lecture15 ie321 dr_atifshahzad_html
 
Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2
Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2
Lecture14 ie321 dr_atifshahzad -algorithmic thinking part2
 
Lecture13 ie321 dr_atifshahzad -algorithmic thinking
Lecture13 ie321 dr_atifshahzad -algorithmic thinkingLecture13 ie321 dr_atifshahzad -algorithmic thinking
Lecture13 ie321 dr_atifshahzad -algorithmic thinking
 
Lecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksLecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networks
 
Lecture11 ie321 dr_atifshahzad -security
Lecture11 ie321 dr_atifshahzad -securityLecture11 ie321 dr_atifshahzad -security
Lecture11 ie321 dr_atifshahzad -security
 
Lecture08 ie321 dr_atifshahzad
Lecture08 ie321 dr_atifshahzadLecture08 ie321 dr_atifshahzad
Lecture08 ie321 dr_atifshahzad
 

Recently uploaded

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 

Recently uploaded (20)

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 

Lecture10 ie321 dr_atifshahzad

  • 1. DR ATIF SHAHZAD Fundamentals of Computer Systems IE-321 LECTURE #10
  • 2. 9/27/2018 2 Dr.AtifShahzad WhatW have seen Logic Logical variables Conditional, Negation, Contrapositive,Biconditional AND, OR,NOT,XOR Logic gates TruthTables BooleanAlgebra Examples Q&A MicrosoftVisio Microsoft Project Spreadsheet Concepts: Using Microsoft Excel Creating Charts in Microsoft Excel Debugging Concepts Using Microsoft Excel Presentation Concepts Using Microsoft PowerPoint Image Concepts Memory Memory Cell CPU Register Program Counter Fetch-Execute Cycle Q&A File Management Word Processing Basics Using MicrosoftWord MicrosoftWord Layout and Graphics Features Making and using compressed Files WinZip, 7Zip Notepad++ Wordpad Adobe acrobat Sumatra PDF MathType
  • 3. 9/27/2018 3 Dr.AtifShahzad TODAY Database Flat & Relational Database DBMS Tables & Fields CreatingTablesinAccess Design view and Data Sheet View Primary Key & Foreign key Relationships & ER Diagram Queries &Simple SQL
  • 6. Database comprehensive collection of related data organized for convenient access, generally in a computer 9/27/2018 Dr.AtifShahzad 6
  • 7. Database systems 9/27/2018 Dr.AtifShahzad 7 Oracle Microsoft SQL Server IBM DB2 FileMaker Ingres MySQL Corel Paradox Dbase III R:Base
  • 8. Database Management System (DBMS) 9/27/2018 Dr.AtifShahzad 8 collection of software facilitating the definition, construction and manipulation of databases Definition •record structure •data elements •names •data types •constraints etc Construction •create database files •populate the database with records Manipulation •querying •updating
  • 9. Database Management System (DBMS) 9/27/2018 Dr.AtifShahzad 9 collection of software facilitating the definition, construction and manipulation of databases Users/actors Request manager Storage manager Meta data Stored database DBMS
  • 10. Sample 9/27/2018 Dr.AtifShahzad 10 Sample database Student Name StNo Class Major Smith 17 1 CS Brown 8 2 CS Course CName Cno CrHrs Dept Database 8803 3 CS C 2606 3 CS Section SId CNo Semester Yr Instructor 32 8803 Spring 2000 Smith 25 8803 Winter 2000 Smith 43 2606 Spring 2000 Jones Grades StNo Sid Grade 17 25 A 17 43 B file1file2 file3 file4
  • 12. MSAccess 9/27/2018 Dr.AtifShahzad 12 a relational database, meaning that data is stored in multiple tables that are related to each other.
  • 17. Fields Hold an individual piece of data Are named descriptively Often called a column Phone book examples Name, address, e-mail, phone number Fields may contain no data 9/27/2018 Dr.AtifShahzad 17
  • 18. Data types inTable Fields 9/27/2018 Dr.AtifShahzad 18 • Use for text or combinations of text and numbers, such as addresses, or for numbers that do not require calculations, such as phone numbers or postal codes (255 characters)Text • Use for lengthy text and numbers, such as notes. Stores up to 63,999 characters Memo • Use for data to be included in mathematical calculations, except money Number • Use for dates and times Date/Time • Use for currency values and to prevent rounding off during calculations. Currency • Use for unique sequential that are automatically inserted with a new record AutoNumber • Use for data that can be only one of two possible values, such as Yes/No, True/False, On/Off. Yes/No • Use for OLE objects (such as Microsoft Word documents, Microsoft Excel spreadsheets, pictures, sounds, OLE Object • Use for hyperlinks (hyperlink: Colored and underlined text or a graphic that you click to go to a file, a location in a file, a Web page on the World Wide Web, or a Web page on an intranet. Stores up to 2048 characters.Hyperlink • Use to create a field that allows you to choose a value from another table or from a list of values using a combo box LookupWizard
  • 19. Records One full set of fields Often called a row Phone book example Smith, Joe, 123 Some Street, 412-555- 7777 Databases may have unlimited rows 9/27/2018 Dr.AtifShahzad 19
  • 20. Flat-file database Typically has only one table If multiple, each has a separate file Useful for simple data storage needs Hard to manage large data needs Can waste disk space 9/27/2018 Dr.AtifShahzad 20
  • 21. Relational database Made of two or more tables Tables are related by a common field Called a relationship or join Can help organize data Most common form of database Maintaining data is easier than flat-file No wasted disk space 9/27/2018 Dr.AtifShahzad 21
  • 23. Working with a Database Creating tables List the necessary fields Steps to define a field Descriptively name the field Specify the field type Determine the field size
  • 24. 11A-24 Working with a Database Field types Describes the type of data stored Most DBMS use the same types Text fields store letters and numbers Numeric field store numbers Date and time field Logical field stores yes or no Binary field stores images or sounds Counter field generates sequential numbers Memo fields store large amounts of data
  • 25. 11A-25 Working with a Database Entering data into a table Users type data into a field Data must be entered accurately Constraints help to verify data Forms are typically used for data entry
  • 26. 11A-26 Working with a Database Viewing records Datasheet view shows all records Filters can limit the records shown Display only records matching a criteria Forms allow viewing one record
  • 27. 11A-27 Working with a Database Sorting records Order records based on a field Multiple sub sorts resolve‘ties’ Several types of sorts Alphabetic Numeric Chronological Ascending Descending
  • 28. 11A-28 Working with a Database Querying a database Statement that describes desired data List of fields can be modified Uses of querying Find data Calculate values per record Delete records Most important DBMS skill
  • 29. 11A-29 Working with a Database Query languages All DBMS use a query language Most DBMS modify the language Structured Query Language (SQL) Most common query language xBase Query language for dBase systems Query by example (QBE) Interface to SQL or xBase Interactive query design
  • 30. 11A-30 Query Examples SQL Select FirstName, LastName, Phone From tblPhoneNumbers Where LastName=“Norton”; xBase Use tblPhoneNumbers List FirstName, LastName, Phone For LastName=“Norton”
  • 31. 11A-31 Working with a Database Generating reports Printed information extracted from a database Can calculate data Calculate data per row Calculate for entire table Pictures and formatting can be included
  • 32. MS Access Hand on Practice 9/27/2018 Dr.AtifShahzad 32
  • 33.
  • 34. 9/27/2018 Dr.AtifShahzad 34 NEVER hesitate to contact should you have any question Dr.Atif Shahzad