SlideShare a Scribd company logo
1 of 45
Download to read offline
LECTURE 04
INTRODUCTION TO
PROGRAMMING &
DATABASES
Mr. Mubashir Ali
Lecturer(Dept. of Computer Science)
dr.mubashirali1@gmail.com
Living in a Digital World
Discovering
Computers 2010
Objectives Overview
Differentiate between
machine and assembly
languages
Identify and discuss the
purpose of procedural
programming languages,
and describe the features of
C and COBOL
Identify and discuss the
characteristics of these
object-oriented
programming languages
and program development
tools
Identify the uses of other
programming languages
and program development
tools
Describe various ways to
develop Web pages
Discovering Computers 2010: Living in a Digital World
Chapter 13
3See Page 663
for Detailed Objectives
Objectives Overview
Identify the uses of
popular multimedia
authoring programs
List the six steps in the
program development
life cycle
Differentiate between
structured design and
object-oriented design
Explain the basic
control structures and
design tools used in
designing solutions to
programming problems
Discovering Computers 2010: Living in a Digital World
Chapter 13
4See Page 663
for Detailed Objectives
Computer Programs
and Programming Languages
• A computer program is a series of instructions
that directs a computer to perform tasks
– Created by a programmer using a programming
language
Discovering Computers 2010: Living in a Digital World
Chapter 13
5Pages 664 – 665
Figure 13-1
Low-Level Languages
• Machine language is
the first generation of
programming languages
• Only language the
computer directly
recognizes
Discovering Computers 2010: Living in a Digital World
Chapter 13
6Page 665
Figure 13-2
Low-Level Languages
• Assembly language is the
second generation of
programming languages
• Programmer writes
instructions using
symbolic instruction
codes
• A source program
contains the code to be
converted to machine
language
Discovering Computers 2010: Living in a Digital World
Chapter 13
7Pages 665 – 666
Figure 13-3
Procedural Languages
• In a procedural language, the programmer writes
instructions that tell the computer what to
accomplish and how to do it
– Third-generation language (3GL)
Discovering Computers 2010: Living in a Digital World
Chapter 13
8Pages 666 - 667
A compiler
translates an entire
program before
executing it
An interpreter converts
and executes one code
statement at a time
Procedural Languages
Discovering Computers 2010: Living in a Digital World
Chapter 13
9Page 667
Figures 13-4 – 13-5
Object-Oriented Programming Languages
and Program Development Tools
• An object-oriented programming (OOP) language allows
programmers the ability to reuse and modify existing
objects
• Other advantages include:
Discovering Computers 2010: Living in a Digital World
Chapter 13
10Page 669
Objects can be
reused
Programmers
create applications
faster
Work well in a
RAD environment
Most program
development tools
are IDEs
Object-Oriented Programming Languages
and Program Development Tools
• Java is an object-oriented programming language
developed by Sun Microsystems
• The Just-in-time (JIT) compiler to convert the bytecode
into machine-dependent code
Discovering Computers 2010: Living in a Digital World
Chapter 13
11Page 670
Figure 13-8
Click to view Web Link,
click Chapter 13, Click
Web Link from left
navigation, then click
Java Platforms
below Chapter 13
Object-Oriented Programming Languages
and Program Development Tools
• The Microsoft .NET Framework allows almost any
type of program to run on the Internet or an
internal business network, as well as computers
and mobile devices
• Features include:
Discovering Computers 2010: Living in a Digital World
Chapter 13
12Page 670
CLR (Common
Language
Runtime)
Classes
Object-Oriented Programming Languages
and Program Development Tools
• C++ is an extension of
the C programming
language
– Additional features for
working with objects,
classes, events, and
other object-oriented
concepts
• C# is based on C++ and
was developed by
Microsoft
Discovering Computers 2010: Living in a Digital World
Chapter 13
13Page 671
Figure 13-9
Object-Oriented Programming Languages
and Program Development Tools
Visual Studio is Microsoft’s suite of
program development tools
Visual Basic is
based on the BASIC
programming
language
Visual C++ is based
on C++
Visual C# combines
the programming
elements of C++
with an easier,
rapid-development
environment
Discovering Computers 2010: Living in a Digital World
Chapter 13
14Pages 671 - 673
Object-Oriented Programming Languages
and Program Development Tools
A visual programming language is a language that
uses a visual or graphical interface for creating all
source code
Borland’s Delphi is a powerful program
development tool that is ideal for building large-
scale enterprise and Web applications in a RAD
environment
Discovering Computers 2010: Living in a Digital World
Chapter 13
15Page 673
Other Programming Languages
and Development Tools
• A 4GL (fourth-generation language) is a
nonprocedural language that enables users and
programmers to access data in a database
– One popular 4GL is SQL
Discovering Computers 2010: Living in a Digital World
Chapter 13
16Page 674
Figure 13-13
Other Programming Languages
and Development Tools
• Classic programming languages include:
Discovering Computers 2010: Living in a Digital World
Chapter 13
17Page 675
Figure 13-14
Ada ALGOL APL BASIC
Forth FORTRAN HyperTalk LISP
Logo Modula-2 Pascal PILOT
PL/1 Prolog RPG Smalltalk
Other Programming Languages
and Development Tools
• An application generator is a program that creates
source code or machine code from a specification of the
required functionality
– Often bundled as part of a DBMS
Discovering Computers 2010: Living in a Digital World
Chapter 13
18Page 676
Figure 13-15
Summary of ITP
Various programming
languages used to
create computer
programs
A variety of Web
development and
multimedia
development tools
Steps in the program
development life cycle
and tools used to make
this process efficient
Discovering Computers 2010: Living in a Digital World
Chapter 13
19Page 705
Objectives Overview DBMS
Define the term,
database, and explain
how a database
interacts with data and
information
Define the term, data
integrity, and describe
the qualities of valuable
information
Discuss the terms
character, field, record,
and file
Describe file
maintenance
techniques and
validation techniques
Differentiate between a
file processing
approach and the
database approach
Discovering Computers 2010: Living in a Digital World
Chapter 10
20See Page 513
for Detailed Objectives
Objectives Overview
Discuss the functions
common to most
database management
systems
Describe characteristics
of relational, object-
oriented, and
multidimensional
databases
Explain how to access
Web databases
Identify database design
guidelines and discuss
the responsibilities of
database analysts and
administrators
Discovering Computers 2010: Living in a Digital World
Chapter 10
21See Page 513
for Detailed Objectives
Databases, Data, and Information
Database
• Collection of
data organized
in a manner
that allows
access,
retrieval, and
use of that
data
Data
• Collection of
unprocessed
items
• Text
• Numbers
• Images
• Audio
• Video
Information
• Processed data
• Documents
• Audio
• Images Video
Discovering Computers 2010: Living in a Digital World
Chapter 10
22Page 514
Databases, Data, and Information
• Database software, often called a database
management system (DBMS), allows users to:
Discovering Computers 2010: Living in a Digital World
Chapter 10
23Page 515
Create a computerized
database
Add, modify, and
delete data
Sort and retrieve data
Create forms and
reports from the data
Databases, Data, and Information
• Data integrity identifies the quality of the data
• Garbage in, garbage out (GIGO) points out the
accuracy of a computer’s output depends on the
accuracy of the input
Discovering Computers 2010: Living in a Digital World
Chapter 10
24Page 516
Click to view Web Link,
click Chapter 10, Click Web
Link from left navigation,
then click Data Integrity
below Chapter 10
Databases, Data, and Information
• Valuable information should have the following
characteristics:
Discovering Computers 2010: Living in a Digital World
Chapter 10
25Pages 516 - 517
Accurate Verifiable Timely Organized
Accessible Useful
Cost-
effective
The Hierarchy of Data
• Data is organized in layers
– Files, records, fields, characters
Discovering Computers 2010: Living in a Digital World
Chapter 10
26Page 517
Figure 10-2
The Hierarchy of Data
• A character is one byte
– Numbers, letters, space,
punctuation marks, or
other symbols
• A field is a combination
of one or more related
characters
– Field name
– Field size
– Data type
Discovering Computers 2010: Living in a Digital World
Chapter 10
27Page 518
Figure 10-3
The Hierarchy of Data
• Common data types include:
Discovering Computers 2010: Living in a Digital World
Chapter 10
28Page 518
Text Numeric AutoNumber Currency
Date Memo Yes/No Hyperlink
Object Attachment
The Hierarchy of Data
Discovering Computers 2010: Living in a Digital World
Chapter 10
29Page 519
Figure 10-4
• A record is a group of related fields
– A primary key uniquely identifies each record
• A data file is a collection of related records
Maintaining Data
• File maintenance refers to the procedures that
keep data current
Discovering Computers 2010: Living in a Digital World
Chapter 10
30Page 520
Adding
records
Modifying
records
Deleting
records
Maintaining Data
• Validation compares data with a set of rules or
values to find out if the data is correct
Discovering Computers 2010: Living in a Digital World
Chapter 10
31Pages 522 - 524
Alphabetic/Numeric
Check
Range check Consistency check
Completeness check Check digit Other checks
Click to view Web Link,
click Chapter 10, Click Web
Link from left navigation,
then click Data Validation
below Chapter 10
File Processing Versus Databases
Discovering Computers 2010: Living in a Digital World
Chapter 10
32Pages 524 - 526
File processing system
• Each department has its
own set of files
• Used for many years
• Have data redundancy
• Isolate data
Database approach
• Programs and users share
data
• Reduce data redundancy
• Improve data integrity
• Share data
• Allows easier access
• Reduces development time
• Can be more vulnerable
File Processing Versus Databases
Discovering Computers 2010: Living in a Digital World
Chapter 10
33Page 525
Figure 10-10
Database Management Systems
• A data dictionary contains data about each file in
the database and each field in those files
Discovering Computers 2010: Living in a Digital World
Chapter 10
34Pages 527 – 528
Figure 10-12
Database Management Systems
• A DBMS provides several tools that allow users
and programs to retrieve and maintain data in the
database
Discovering Computers 2010: Living in a Digital World
Chapter 10
35Page 528
Query language
Query by example
Form
Report generator
Database Management Systems
• A query language consists of simple, English-like
statements that allow users to specify the data to
display, print, or store
• Query by example (QBE) provides a GUI to assist
users with retrieving data
Discovering Computers 2010: Living in a Digital World
Chapter 10
36Page 528
Database Management Systems
A DBMS provides means to
ensure that only authorized users
access data at permitted times
•Access privileges
•Principle of least privilege
Discovering Computers 2010: Living in a Digital World
Chapter 10
37Page 531
Database Management Systems
• A DMBS provides a variety of techniques to
restore the database to a usable form in case it is
damaged or destroyed
Discovering Computers 2010: Living in a Digital World
Chapter 10
38Pages 531 - 532
Backup Log
Recovery
utility
Continuous
backup
Relational, Object-Oriented, and
Multidimensional Databases
• A relational database
stores data in tables
that consist of rows and
columns
– Each row has a primary
key
– Each column has a
unique name
• A relationship is a link
within the data
Discovering Computers 2010: Living in a Digital World
Chapter 10
39Page 533
Figure 10-20
Relational, Object-Oriented, and
Multidimensional Databases
• Structured Query Language (SQL) is a query
language that allows users to manage, update,
and retrieve data
Discovering Computers 2010: Living in a Digital World
Chapter 10
40Page 534
Figure 10-21
Click to view Web Link,
click Chapter 10, Click Web
Link from left navigation,
then click SQL
below Chapter 10
Relational, Object-Oriented, and
Multidimensional Databases
• An object-oriented database (OODB) stores data
in objects
• Examples of applications appropriate for an
object-oriented database include:
Discovering Computers 2010: Living in a Digital World
Chapter 10
41Page 534
Multimedia
database
Groupware
database
Computer-
aided design
database
Hypertext
database
Relational, Object-Oriented, and
Multidimensional Databases
• A multidimensional database can store data in more
than two dimensions of data
– Sometimes known as a hypercube
– Can consolidate data much faster than a relational database
• A data warehouse is a huge database that stores and
manages the data required to analyze historical and
current transactions
Discovering Computers 2010: Living in a Digital World
Chapter 10
42Pages 535 - 536
Click to view Web Link,
click Chapter 10, Click Web
Link from left navigation,
then click Data Warehouses
below Chapter 10
Web Databases
• Databases on the Web allow you to:
Discovering Computers 2010: Living in a Digital World
Chapter 10
43Page 536
Shop for
products or
services
Buy or sell stocks Search for a job
Make airline
reservations
Register for
college classes
Check semester
grades
Database Administration
Database analysts and administrators are responsible
for managing and coordinating all database activities
Database Analyst (DA)
Decides on proper field
placement, defines data
relationship, and identifies users’
access privileges
Database Administrator (DBA)
Creates and maintains the data
dictionary, manages security,
monitors performance, and
checks backup and recovery
procedures
Discovering Computers 2010: Living in a Digital World
Chapter 10
44Page 538
Click to view Web Link,
click Chapter 10, Click Web
Link from left navigation,
then click Database
Administrators below
Chapter 10
Summary
How data and
information are
valuable assets to
an organization
Methods for
maintaining high-
quality data
Assessing the
quality of valuable
information
Advantages of
organizing data in
a database
Various types of
databases
Roles of the
database analysts
and administrators
Discovering Computers 2010: Living in a Digital World
Chapter 10
45Page 539

More Related Content

What's hot

the internet and www
the internet and wwwthe internet and www
the internet and wwwknowledge1995
 
Chapter 11 Computers And Society Home, Work, And Ethical Iss
Chapter 11 Computers And Society Home, Work, And Ethical IssChapter 11 Computers And Society Home, Work, And Ethical Iss
Chapter 11 Computers And Society Home, Work, And Ethical Issnorzaini
 
Network fundamentals
Network fundamentalsNetwork fundamentals
Network fundamentalsImoh Etuk
 
Over view of internet computer studies lesson
Over view of internet  computer studies lessonOver view of internet  computer studies lesson
Over view of internet computer studies lessonMukalele Rogers
 
Chapter 13 programming languages and program development
Chapter 13   programming languages and program developmentChapter 13   programming languages and program development
Chapter 13 programming languages and program developmenthaider ali
 
Discovering Computers: Chapter 03
Discovering Computers: Chapter 03Discovering Computers: Chapter 03
Discovering Computers: Chapter 03Anna Stirling
 
Introduction to computer literacy
Introduction to computer literacyIntroduction to computer literacy
Introduction to computer literacyMkhululi Silinga
 
Diccionario kelly ingles
Diccionario kelly inglesDiccionario kelly ingles
Diccionario kelly inglesduranmendez
 
Chapter 5 input
Chapter 5   inputChapter 5   input
Chapter 5 inputhaider ali
 
Application Software in Management
Application Software in ManagementApplication Software in Management
Application Software in ManagementSyahremie Teja
 
Discovering Computers: Chapter 11
Discovering Computers: Chapter 11Discovering Computers: Chapter 11
Discovering Computers: Chapter 11Anna Stirling
 
Computer Worksheet Class 8 with answers
Computer Worksheet Class 8 with answersComputer Worksheet Class 8 with answers
Computer Worksheet Class 8 with answersAlithea Barbosa
 
PST SC015 Chapter 3 Internet Technology (II) 2017/2018
PST SC015 Chapter 3 Internet Technology (II)  2017/2018PST SC015 Chapter 3 Internet Technology (II)  2017/2018
PST SC015 Chapter 3 Internet Technology (II) 2017/2018Fizaril Amzari Omar
 
Diccionario andris--------> ingles
Diccionario andris--------> inglesDiccionario andris--------> ingles
Diccionario andris--------> inglesandrisolano
 
Assignment learning 2
Assignment learning 2Assignment learning 2
Assignment learning 2Jeha Ryhan
 
Chapter02
Chapter02Chapter02
Chapter02galaxy
 
Stid1103 ch2 introduction_to_internet_
Stid1103 ch2 introduction_to_internet_Stid1103 ch2 introduction_to_internet_
Stid1103 ch2 introduction_to_internet_Ninie Sharil
 

What's hot (20)

the internet and www
the internet and wwwthe internet and www
the internet and www
 
Chapter 11 Computers And Society Home, Work, And Ethical Iss
Chapter 11 Computers And Society Home, Work, And Ethical IssChapter 11 Computers And Society Home, Work, And Ethical Iss
Chapter 11 Computers And Society Home, Work, And Ethical Iss
 
Network fundamentals
Network fundamentalsNetwork fundamentals
Network fundamentals
 
Over view of internet computer studies lesson
Over view of internet  computer studies lessonOver view of internet  computer studies lesson
Over view of internet computer studies lesson
 
Chapter 13 programming languages and program development
Chapter 13   programming languages and program developmentChapter 13   programming languages and program development
Chapter 13 programming languages and program development
 
Discovering Computers: Chapter 03
Discovering Computers: Chapter 03Discovering Computers: Chapter 03
Discovering Computers: Chapter 03
 
Introduction to computer literacy
Introduction to computer literacyIntroduction to computer literacy
Introduction to computer literacy
 
Diccionario kelly ingles
Diccionario kelly inglesDiccionario kelly ingles
Diccionario kelly ingles
 
Chapter 5 input
Chapter 5   inputChapter 5   input
Chapter 5 input
 
Application Software in Management
Application Software in ManagementApplication Software in Management
Application Software in Management
 
Discovering Computers: Chapter 11
Discovering Computers: Chapter 11Discovering Computers: Chapter 11
Discovering Computers: Chapter 11
 
Concepts For A Digital World
Concepts For A Digital WorldConcepts For A Digital World
Concepts For A Digital World
 
Computer Worksheet Class 8 with answers
Computer Worksheet Class 8 with answersComputer Worksheet Class 8 with answers
Computer Worksheet Class 8 with answers
 
PST SC015 Chapter 3 Internet Technology (II) 2017/2018
PST SC015 Chapter 3 Internet Technology (II)  2017/2018PST SC015 Chapter 3 Internet Technology (II)  2017/2018
PST SC015 Chapter 3 Internet Technology (II) 2017/2018
 
Diccionario andris--------> ingles
Diccionario andris--------> inglesDiccionario andris--------> ingles
Diccionario andris--------> ingles
 
Assignment learning 2
Assignment learning 2Assignment learning 2
Assignment learning 2
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter02 Internetrev
Chapter02   InternetrevChapter02   Internetrev
Chapter02 Internetrev
 
Chapter01
Chapter01Chapter01
Chapter01
 
Stid1103 ch2 introduction_to_internet_
Stid1103 ch2 introduction_to_internet_Stid1103 ch2 introduction_to_internet_
Stid1103 ch2 introduction_to_internet_
 

Similar to Lecture-4: Introduction to Programming & Databases

5 Programming Languages for Databases to Learn In 2023.pptx
5 Programming Languages for Databases to Learn In 2023.pptx5 Programming Languages for Databases to Learn In 2023.pptx
5 Programming Languages for Databases to Learn In 2023.pptxmatlabassignmenthelp1
 
Best things to know about .net framework
Best things to know about .net frameworkBest things to know about .net framework
Best things to know about .net frameworkShelly Megan
 
Discovering Computers: Chapter 13
Discovering Computers: Chapter 13Discovering Computers: Chapter 13
Discovering Computers: Chapter 13Anna Stirling
 
1 introduction
1   introduction1   introduction
1 introductionNgeam Soly
 
CH13-Computer Programs and Programming Languages
CH13-Computer Programs and Programming LanguagesCH13-Computer Programs and Programming Languages
CH13-Computer Programs and Programming LanguagesSukanya Ben
 
Week 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docxWeek 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docxjessiehampson
 
Introduction to .net and asp
Introduction to .net and aspIntroduction to .net and asp
Introduction to .net and aspPrachi Agarwal
 
Programming language
Programming languageProgramming language
Programming languageDhani Ahmad
 
Key Features Of The Pseudo Code
Key Features Of The Pseudo CodeKey Features Of The Pseudo Code
Key Features Of The Pseudo CodeAngilina Jones
 
The Concept Of Abstract Data Types
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data TypesKaty Allen
 
Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)Asfand Hassan
 
IT for HR professionals
IT for HR professionalsIT for HR professionals
IT for HR professionalsMiguel Pinto
 
Reasons Why .NET framework is Most Demanding in 2023?
Reasons Why .NET framework is Most Demanding in 2023?Reasons Why .NET framework is Most Demanding in 2023?
Reasons Why .NET framework is Most Demanding in 2023?Polyxer Systems
 

Similar to Lecture-4: Introduction to Programming & Databases (20)

5 Programming Languages for Databases to Learn In 2023.pptx
5 Programming Languages for Databases to Learn In 2023.pptx5 Programming Languages for Databases to Learn In 2023.pptx
5 Programming Languages for Databases to Learn In 2023.pptx
 
Best things to know about .net framework
Best things to know about .net frameworkBest things to know about .net framework
Best things to know about .net framework
 
Discovering Computers: Chapter 13
Discovering Computers: Chapter 13Discovering Computers: Chapter 13
Discovering Computers: Chapter 13
 
1 introduction
1   introduction1   introduction
1 introduction
 
CH13-Computer Programs and Programming Languages
CH13-Computer Programs and Programming LanguagesCH13-Computer Programs and Programming Languages
CH13-Computer Programs and Programming Languages
 
HARMAN DM.pdf
HARMAN DM.pdfHARMAN DM.pdf
HARMAN DM.pdf
 
Week 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docxWeek 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docx
 
Introduction to .net and asp
Introduction to .net and aspIntroduction to .net and asp
Introduction to .net and asp
 
Programming language
Programming languageProgramming language
Programming language
 
Programming language
Programming languageProgramming language
Programming language
 
programming
programmingprogramming
programming
 
Metadata describes about data
Metadata describes about dataMetadata describes about data
Metadata describes about data
 
Key Features Of The Pseudo Code
Key Features Of The Pseudo CodeKey Features Of The Pseudo Code
Key Features Of The Pseudo Code
 
The Concept Of Abstract Data Types
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data Types
 
Lab 2 software
Lab 2   softwareLab 2   software
Lab 2 software
 
Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)
 
IT for HR professionals
IT for HR professionalsIT for HR professionals
IT for HR professionals
 
intership.pptx
intership.pptxintership.pptx
intership.pptx
 
Reasons Why .NET framework is Most Demanding in 2023?
Reasons Why .NET framework is Most Demanding in 2023?Reasons Why .NET framework is Most Demanding in 2023?
Reasons Why .NET framework is Most Demanding in 2023?
 
Computer programminglanguages
Computer programminglanguagesComputer programminglanguages
Computer programminglanguages
 

More from Mubashir Ali

Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Mubashir Ali
 
Lecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureLecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureMubashir Ali
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingMubashir Ali
 
Lecture-2: Web development application development process model
Lecture-2: Web development application development process modelLecture-2: Web development application development process model
Lecture-2: Web development application development process modelMubashir Ali
 
Lecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeLecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeMubashir Ali
 
Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Mubashir Ali
 
Lecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceLecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceMubashir Ali
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresMubashir Ali
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Mubashir Ali
 
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Mubashir Ali
 
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Mubashir Ali
 
Lect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMLect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMMubashir Ali
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationMubashir Ali
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMMubashir Ali
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateLect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateMubashir Ali
 
Lect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesLect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesMubashir Ali
 
Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...
Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...
Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...Mubashir Ali
 

More from Mubashir Ali (19)

Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
 
Lecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureLecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise Architecture
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block Building
 
Lecture-2: Web development application development process model
Lecture-2: Web development application development process modelLecture-2: Web development application development process model
Lecture-2: Web development application development process model
 
Lecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeLecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading scheme
 
Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...
 
Lecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceLecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerce
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application Softwares
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components
 
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
 
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
 
Lect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMLect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPM
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost Estimation
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPM
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateLect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
 
Lect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesLect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakes
 
Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...
Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...
Lect-1: Software Project Management - Project Dimensions, Players, SDLC and P...
 

Recently uploaded

Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 

Recently uploaded (20)

Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

Lecture-4: Introduction to Programming & Databases

  • 1. LECTURE 04 INTRODUCTION TO PROGRAMMING & DATABASES Mr. Mubashir Ali Lecturer(Dept. of Computer Science) dr.mubashirali1@gmail.com
  • 2. Living in a Digital World Discovering Computers 2010
  • 3. Objectives Overview Differentiate between machine and assembly languages Identify and discuss the purpose of procedural programming languages, and describe the features of C and COBOL Identify and discuss the characteristics of these object-oriented programming languages and program development tools Identify the uses of other programming languages and program development tools Describe various ways to develop Web pages Discovering Computers 2010: Living in a Digital World Chapter 13 3See Page 663 for Detailed Objectives
  • 4. Objectives Overview Identify the uses of popular multimedia authoring programs List the six steps in the program development life cycle Differentiate between structured design and object-oriented design Explain the basic control structures and design tools used in designing solutions to programming problems Discovering Computers 2010: Living in a Digital World Chapter 13 4See Page 663 for Detailed Objectives
  • 5. Computer Programs and Programming Languages • A computer program is a series of instructions that directs a computer to perform tasks – Created by a programmer using a programming language Discovering Computers 2010: Living in a Digital World Chapter 13 5Pages 664 – 665 Figure 13-1
  • 6. Low-Level Languages • Machine language is the first generation of programming languages • Only language the computer directly recognizes Discovering Computers 2010: Living in a Digital World Chapter 13 6Page 665 Figure 13-2
  • 7. Low-Level Languages • Assembly language is the second generation of programming languages • Programmer writes instructions using symbolic instruction codes • A source program contains the code to be converted to machine language Discovering Computers 2010: Living in a Digital World Chapter 13 7Pages 665 – 666 Figure 13-3
  • 8. Procedural Languages • In a procedural language, the programmer writes instructions that tell the computer what to accomplish and how to do it – Third-generation language (3GL) Discovering Computers 2010: Living in a Digital World Chapter 13 8Pages 666 - 667 A compiler translates an entire program before executing it An interpreter converts and executes one code statement at a time
  • 9. Procedural Languages Discovering Computers 2010: Living in a Digital World Chapter 13 9Page 667 Figures 13-4 – 13-5
  • 10. Object-Oriented Programming Languages and Program Development Tools • An object-oriented programming (OOP) language allows programmers the ability to reuse and modify existing objects • Other advantages include: Discovering Computers 2010: Living in a Digital World Chapter 13 10Page 669 Objects can be reused Programmers create applications faster Work well in a RAD environment Most program development tools are IDEs
  • 11. Object-Oriented Programming Languages and Program Development Tools • Java is an object-oriented programming language developed by Sun Microsystems • The Just-in-time (JIT) compiler to convert the bytecode into machine-dependent code Discovering Computers 2010: Living in a Digital World Chapter 13 11Page 670 Figure 13-8 Click to view Web Link, click Chapter 13, Click Web Link from left navigation, then click Java Platforms below Chapter 13
  • 12. Object-Oriented Programming Languages and Program Development Tools • The Microsoft .NET Framework allows almost any type of program to run on the Internet or an internal business network, as well as computers and mobile devices • Features include: Discovering Computers 2010: Living in a Digital World Chapter 13 12Page 670 CLR (Common Language Runtime) Classes
  • 13. Object-Oriented Programming Languages and Program Development Tools • C++ is an extension of the C programming language – Additional features for working with objects, classes, events, and other object-oriented concepts • C# is based on C++ and was developed by Microsoft Discovering Computers 2010: Living in a Digital World Chapter 13 13Page 671 Figure 13-9
  • 14. Object-Oriented Programming Languages and Program Development Tools Visual Studio is Microsoft’s suite of program development tools Visual Basic is based on the BASIC programming language Visual C++ is based on C++ Visual C# combines the programming elements of C++ with an easier, rapid-development environment Discovering Computers 2010: Living in a Digital World Chapter 13 14Pages 671 - 673
  • 15. Object-Oriented Programming Languages and Program Development Tools A visual programming language is a language that uses a visual or graphical interface for creating all source code Borland’s Delphi is a powerful program development tool that is ideal for building large- scale enterprise and Web applications in a RAD environment Discovering Computers 2010: Living in a Digital World Chapter 13 15Page 673
  • 16. Other Programming Languages and Development Tools • A 4GL (fourth-generation language) is a nonprocedural language that enables users and programmers to access data in a database – One popular 4GL is SQL Discovering Computers 2010: Living in a Digital World Chapter 13 16Page 674 Figure 13-13
  • 17. Other Programming Languages and Development Tools • Classic programming languages include: Discovering Computers 2010: Living in a Digital World Chapter 13 17Page 675 Figure 13-14 Ada ALGOL APL BASIC Forth FORTRAN HyperTalk LISP Logo Modula-2 Pascal PILOT PL/1 Prolog RPG Smalltalk
  • 18. Other Programming Languages and Development Tools • An application generator is a program that creates source code or machine code from a specification of the required functionality – Often bundled as part of a DBMS Discovering Computers 2010: Living in a Digital World Chapter 13 18Page 676 Figure 13-15
  • 19. Summary of ITP Various programming languages used to create computer programs A variety of Web development and multimedia development tools Steps in the program development life cycle and tools used to make this process efficient Discovering Computers 2010: Living in a Digital World Chapter 13 19Page 705
  • 20. Objectives Overview DBMS Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe the qualities of valuable information Discuss the terms character, field, record, and file Describe file maintenance techniques and validation techniques Differentiate between a file processing approach and the database approach Discovering Computers 2010: Living in a Digital World Chapter 10 20See Page 513 for Detailed Objectives
  • 21. Objectives Overview Discuss the functions common to most database management systems Describe characteristics of relational, object- oriented, and multidimensional databases Explain how to access Web databases Identify database design guidelines and discuss the responsibilities of database analysts and administrators Discovering Computers 2010: Living in a Digital World Chapter 10 21See Page 513 for Detailed Objectives
  • 22. Databases, Data, and Information Database • Collection of data organized in a manner that allows access, retrieval, and use of that data Data • Collection of unprocessed items • Text • Numbers • Images • Audio • Video Information • Processed data • Documents • Audio • Images Video Discovering Computers 2010: Living in a Digital World Chapter 10 22Page 514
  • 23. Databases, Data, and Information • Database software, often called a database management system (DBMS), allows users to: Discovering Computers 2010: Living in a Digital World Chapter 10 23Page 515 Create a computerized database Add, modify, and delete data Sort and retrieve data Create forms and reports from the data
  • 24. Databases, Data, and Information • Data integrity identifies the quality of the data • Garbage in, garbage out (GIGO) points out the accuracy of a computer’s output depends on the accuracy of the input Discovering Computers 2010: Living in a Digital World Chapter 10 24Page 516 Click to view Web Link, click Chapter 10, Click Web Link from left navigation, then click Data Integrity below Chapter 10
  • 25. Databases, Data, and Information • Valuable information should have the following characteristics: Discovering Computers 2010: Living in a Digital World Chapter 10 25Pages 516 - 517 Accurate Verifiable Timely Organized Accessible Useful Cost- effective
  • 26. The Hierarchy of Data • Data is organized in layers – Files, records, fields, characters Discovering Computers 2010: Living in a Digital World Chapter 10 26Page 517 Figure 10-2
  • 27. The Hierarchy of Data • A character is one byte – Numbers, letters, space, punctuation marks, or other symbols • A field is a combination of one or more related characters – Field name – Field size – Data type Discovering Computers 2010: Living in a Digital World Chapter 10 27Page 518 Figure 10-3
  • 28. The Hierarchy of Data • Common data types include: Discovering Computers 2010: Living in a Digital World Chapter 10 28Page 518 Text Numeric AutoNumber Currency Date Memo Yes/No Hyperlink Object Attachment
  • 29. The Hierarchy of Data Discovering Computers 2010: Living in a Digital World Chapter 10 29Page 519 Figure 10-4 • A record is a group of related fields – A primary key uniquely identifies each record • A data file is a collection of related records
  • 30. Maintaining Data • File maintenance refers to the procedures that keep data current Discovering Computers 2010: Living in a Digital World Chapter 10 30Page 520 Adding records Modifying records Deleting records
  • 31. Maintaining Data • Validation compares data with a set of rules or values to find out if the data is correct Discovering Computers 2010: Living in a Digital World Chapter 10 31Pages 522 - 524 Alphabetic/Numeric Check Range check Consistency check Completeness check Check digit Other checks Click to view Web Link, click Chapter 10, Click Web Link from left navigation, then click Data Validation below Chapter 10
  • 32. File Processing Versus Databases Discovering Computers 2010: Living in a Digital World Chapter 10 32Pages 524 - 526 File processing system • Each department has its own set of files • Used for many years • Have data redundancy • Isolate data Database approach • Programs and users share data • Reduce data redundancy • Improve data integrity • Share data • Allows easier access • Reduces development time • Can be more vulnerable
  • 33. File Processing Versus Databases Discovering Computers 2010: Living in a Digital World Chapter 10 33Page 525 Figure 10-10
  • 34. Database Management Systems • A data dictionary contains data about each file in the database and each field in those files Discovering Computers 2010: Living in a Digital World Chapter 10 34Pages 527 – 528 Figure 10-12
  • 35. Database Management Systems • A DBMS provides several tools that allow users and programs to retrieve and maintain data in the database Discovering Computers 2010: Living in a Digital World Chapter 10 35Page 528 Query language Query by example Form Report generator
  • 36. Database Management Systems • A query language consists of simple, English-like statements that allow users to specify the data to display, print, or store • Query by example (QBE) provides a GUI to assist users with retrieving data Discovering Computers 2010: Living in a Digital World Chapter 10 36Page 528
  • 37. Database Management Systems A DBMS provides means to ensure that only authorized users access data at permitted times •Access privileges •Principle of least privilege Discovering Computers 2010: Living in a Digital World Chapter 10 37Page 531
  • 38. Database Management Systems • A DMBS provides a variety of techniques to restore the database to a usable form in case it is damaged or destroyed Discovering Computers 2010: Living in a Digital World Chapter 10 38Pages 531 - 532 Backup Log Recovery utility Continuous backup
  • 39. Relational, Object-Oriented, and Multidimensional Databases • A relational database stores data in tables that consist of rows and columns – Each row has a primary key – Each column has a unique name • A relationship is a link within the data Discovering Computers 2010: Living in a Digital World Chapter 10 39Page 533 Figure 10-20
  • 40. Relational, Object-Oriented, and Multidimensional Databases • Structured Query Language (SQL) is a query language that allows users to manage, update, and retrieve data Discovering Computers 2010: Living in a Digital World Chapter 10 40Page 534 Figure 10-21 Click to view Web Link, click Chapter 10, Click Web Link from left navigation, then click SQL below Chapter 10
  • 41. Relational, Object-Oriented, and Multidimensional Databases • An object-oriented database (OODB) stores data in objects • Examples of applications appropriate for an object-oriented database include: Discovering Computers 2010: Living in a Digital World Chapter 10 41Page 534 Multimedia database Groupware database Computer- aided design database Hypertext database
  • 42. Relational, Object-Oriented, and Multidimensional Databases • A multidimensional database can store data in more than two dimensions of data – Sometimes known as a hypercube – Can consolidate data much faster than a relational database • A data warehouse is a huge database that stores and manages the data required to analyze historical and current transactions Discovering Computers 2010: Living in a Digital World Chapter 10 42Pages 535 - 536 Click to view Web Link, click Chapter 10, Click Web Link from left navigation, then click Data Warehouses below Chapter 10
  • 43. Web Databases • Databases on the Web allow you to: Discovering Computers 2010: Living in a Digital World Chapter 10 43Page 536 Shop for products or services Buy or sell stocks Search for a job Make airline reservations Register for college classes Check semester grades
  • 44. Database Administration Database analysts and administrators are responsible for managing and coordinating all database activities Database Analyst (DA) Decides on proper field placement, defines data relationship, and identifies users’ access privileges Database Administrator (DBA) Creates and maintains the data dictionary, manages security, monitors performance, and checks backup and recovery procedures Discovering Computers 2010: Living in a Digital World Chapter 10 44Page 538 Click to view Web Link, click Chapter 10, Click Web Link from left navigation, then click Database Administrators below Chapter 10
  • 45. Summary How data and information are valuable assets to an organization Methods for maintaining high- quality data Assessing the quality of valuable information Advantages of organizing data in a database Various types of databases Roles of the database analysts and administrators Discovering Computers 2010: Living in a Digital World Chapter 10 45Page 539