SlideShare a Scribd company logo
1 of 34
Download to read offline
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 TableauGirija 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 systemsLamprini 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 joinRiteshkiit
 
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 analysisNiravDobariya3
 
AllegroGraph - Cognitive Probability Graph webcast
AllegroGraph - Cognitive Probability Graph webcastAllegroGraph - Cognitive Probability Graph webcast
AllegroGraph - Cognitive Probability Graph webcastFranz Inc. - AllegroGraph
 
Toronto OpenRefine MeetUp Nov 2015
Toronto OpenRefine MeetUp Nov 2015Toronto OpenRefine MeetUp Nov 2015
Toronto OpenRefine MeetUp Nov 2015Martin 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 OpenRefineOpen Knowledge Belgium
 
HospETL - Delivering a Healthcare Analytics Platform
HospETL - Delivering a Healthcare Analytics PlatformHospETL - Delivering a Healthcare Analytics Platform
HospETL - Delivering a Healthcare Analytics PlatformAngela Razzell
 
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 DATAMatt 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 GraphsAccumulo Summit
 

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

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_dratifshahzadAtif Shahzad
 
Lecture03 computer applicationsie1_dratifshahzad
Lecture03 computer applicationsie1_dratifshahzadLecture03 computer applicationsie1_dratifshahzad
Lecture03 computer applicationsie1_dratifshahzadAtif Shahzad
 
Lecture01 computer applicationsie1_dratifshahzad
Lecture01 computer applicationsie1_dratifshahzadLecture01 computer applicationsie1_dratifshahzad
Lecture01 computer applicationsie1_dratifshahzadAtif Shahzad
 
Lecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadLecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadAtif Shahzad
 
Lecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadLecture02 computer applicationsie1_dratifshahzad
Lecture02 computer applicationsie1_dratifshahzadAtif 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_agileAtif 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_vmeaAtif 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_01Atif 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 modelsAtif 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 managementAtif 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 managementAtif 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_jsAtif Shahzad
 
Lecture16 ie321 dr_atifshahzad_css
Lecture16 ie321 dr_atifshahzad_cssLecture16 ie321 dr_atifshahzad_css
Lecture16 ie321 dr_atifshahzad_cssAtif Shahzad
 
Lecture15 ie321 dr_atifshahzad_html
Lecture15 ie321 dr_atifshahzad_htmlLecture15 ie321 dr_atifshahzad_html
Lecture15 ie321 dr_atifshahzad_htmlAtif 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 part2Atif Shahzad
 
Lecture13 ie321 dr_atifshahzad -algorithmic thinking
Lecture13 ie321 dr_atifshahzad -algorithmic thinkingLecture13 ie321 dr_atifshahzad -algorithmic thinking
Lecture13 ie321 dr_atifshahzad -algorithmic thinkingAtif Shahzad
 
Lecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksLecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksAtif Shahzad
 
Lecture11 ie321 dr_atifshahzad -security
Lecture11 ie321 dr_atifshahzad -securityLecture11 ie321 dr_atifshahzad -security
Lecture11 ie321 dr_atifshahzad -securityAtif Shahzad
 
Lecture08 ie321 dr_atifshahzad
Lecture08 ie321 dr_atifshahzadLecture08 ie321 dr_atifshahzad
Lecture08 ie321 dr_atifshahzadAtif 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

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 

Recently uploaded (20)

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 

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