Discovering Computers 2008: Programming Languages and Program Development
Discovering Computers 2008: Programming Languages and Program Development
Chapter 13
Programming
Languages and
Program Development
Chapter 13 Objectives
Describe various ways to develop Web pages
including HTML, scripting languages,
DHTML, XML, WML, and Web page
Differentiate between machine authoring software
and assembly languages
Identify the uses of popular multimedia
authoring programs
Identify and discuss the purpose of
procedural programming languages
List the six steps in the program
development cycle
Identify and discuss the characteristics of
object-oriented programming languages and
program development tools
Differentiate between structured design and
object-oriented design
Identify the uses of other programming
languages and other program development
tools Explain the basic control structures and
design tools used in designing solutions to
programming problems
Next
Computer Programs and Programming Languages
Low-level High-level
language language
Machine-dependent Often machine-independent
runs only on one type of computer can run on many different
types of computers and operating
Machine and assembly languages systems
are low-level
p. 665 Next
Low-Level Languages
What is machine language?
Only language computer
directly recognizes
Uses a series of binary
digits (1s and 0s) with a
combination of numbers
and letters that represent
binary digits
Programmer writes
instructions that tell Uses series of English-like
computer what to accomplish words to write instructions
and how to do it
p. 666 Next
Procedural Languages
What is a compiler?
Program that
converts entire
source
program into
machine
language
before
executing it
p. 668 Next
Procedural Languages
What is C?
Powerful language originally designed to write system
software
Requires professional programming skills
COBOL
C
p. 668 Fig. 13-6 and 13-7 Next
Object-Oriented Programming Languages
p. 669 Next
Object-Oriented Programming Languages
What is Java?
Developed by Sun
Microsystems
Similar to C++ but
uses just-in-time
(JIT) compiler to
convert source
code into machine
code
What is C++?
Includes all elements of C, plus additional features
for working with object-oriented concepts
Used to develop
database and
Web applications
What is C#?
Object-oriented programming language based on C++
Accepted as a standard for Web applications and
XML-based Web services
Uses a JIT compiler
Resulting code is called Microsoft Intermediate
Language (MSIL)
p. 670 Next
Object-Oriented Programming Languages
Sometimes called
fifth-generation
language
Programmer writes
and implements
Often used in RAD program in segments
(rapid application
development)
environment
p. 669 and 673 Next
Object-Oriented Programming Languages
Step 3. The
developer
writes code
Click to view Web Link, to define the
click Chapter 13, Click action of each
Web Link from left command button.
navigation, then click
Visual Studio Tools for Office
below Chapter 13
p. 670 - 672 Fig. 13-10
Step 4. The developer Next
tests the program.
Object-Oriented Programming Languages
What is Delphi?
Powerful visual programming tool
Ideal for large-scale enterprise and Web applications
What is PowerBuilder?
Another powerful visual programming tool
Best suited for Web-based and large-scale
enterprise object-oriented applications
SMALLTALK
p. 675 Fig. 13-15 Next
Other Program Development Tools
What is a macro?
Series of statements that instructs an application how
to complete a task
p. 679 Next
Web Page Development
What is the common gateway interface (CGI)?
Communications standard
that defines how Web server
communicates with outside
sources
CGI script—program that
manages sending and receiving
across CGI
WML
Many PDAs and smart
(Wireless Markup Language) phones use WML as their
allows developers to design pages markup language
specifically for microbrowsers
What is Ajax?
Stands for Asynchronous JavaScript and XML
Method of creating interactive Web applications designed
to provide immediate response
Combines JavaScript, HTML or XHTML, and XML
Google Maps and Flickr use Ajax
p. 683 Next
Web Page Development
What is Web page authoring software?
Creates sophisticated Web pages without using HTML
Generates HTML
p. 683 Next
Multimedia Program Development
What is multimedia authoring software?
Combines text,
graphics, animation,
audio, and video into
interactive presentation
Used for computer-
based training (CBT)
and Web-based training
(WBT)
Software includes
Toolbook, Authorware,
and Director
Object-oriented
Two design
approaches
Devise Structured
solution design, sometimes
algorithm, called top-down design
step-by-step
procedure to
solve problem Programmer
begins with general
design and moves toward
detailed design
p. 687 Next
Step 2 — Design Solution
What is a hierarchy chart?
Shows program modules graphically
Also called structure chart
Logic error
design flaw
Desk check that causes
programmers use test inaccurate results
data to step through logic
Inspection
Test data systems analyst reviews
sample data that deliverables during the system
mimics real data that development cycle
program will process
p. 693 Next
Step 4 — Implement Design
What is implementation?
Writing the code that translates the design into a program
Syntax—rules that specify how to write instructions
Comments—program documentation
Extreme programming (XP)—coding and testing as soon as
requirements are defined
Debugging—locating and
Ensure program runs correctly
correcting syntax and logic
and is error free errors, or bugs
Reviews program
code—removes dead
code, program
instructions that Reviews
program never executes documentation
p. 696 Next
Companies on the Cutting Edge
CLICK TO START
Next
Summary of Programming Languages and Program Development
Chapter 13 Complete