Chapter 11 Program Development and Programming Languages

Similar documents
Discovering Computers Chapter 13 Programming Languages and Program Development

1) What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and Opportunity Identification D) Development

Discovering Computers 2008

Low-Level Languages. Computer Programs and Programming Languages

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

Information Systems Software

Lesson 5: Multimedia on the Web

Programming the World Wide Web by Robert W. Sebesta

JavaScript Context. INFO/CSE 100, Spring 2005 Fluency in Information Technology.

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

Objective: To learn meaning and concepts of programming. Outcome: By the end of this students should be able to describe the meaning of programming

Programming Languages and Program Development

Programming Languages and Program Development Life Cycle Fall Introduction to Information and Communication Technologies CSD 102

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Tenth Edition. Copyright 2014 Pearson Education, Inc. Publishing as Prentice Hall

Software. Programming Languages. Types of Software. Types of Languages. Types of Programming. Software does something

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

Technology in Action. Chapter Topics (cont.) Chapter Topics. Reasons for Software Programming. Information Systems 10/29/2010

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Helper Applications & Plug-Ins

Game keystrokes or Calculates how fast and moves a cartoon Joystick movements how far to move a cartoon figure on screen figure on screen

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

Programming: C ++ Programming : Programming Language For Beginners: LEARN IN A DAY! (Swift, Apps, Javascript, PHP, Python, Sql, HTML) By Os Swift

Chapter 1. Preview. Reason for Studying OPL. Language Evaluation Criteria. Programming Domains

Chapter 1: Introduction to Computers and Java

8/23/2014. Chapter Topics. Introduction. Java History. Why Program? Java Applications and Applets. Chapter 1: Introduction to Computers and Java

University College of Southeast Norway ASP.NET. Web Programming. Hans-Petter Halvorsen,

Introduction. Introduction to OOP with Java. Lecture 01: Introduction to OOP with Java - AKF Sep AbuKhleiF -

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

Chapter 10 Web-based Information Systems

Introduction to OOP with Java. Instructor: AbuKhleif, Mohammad Noor Sep 2017

Computer Basics 1/24/13. Computer Organization. Computer systems consist of hardware and software.

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

2 rd class Department of Programming. OOP with Java Programming

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering. Fifth Semester. Subject: Web Programming

CPET 581 E-Commerce & Business Technologies. Topics

But before understanding the Selenium WebDriver concept, we need to know about the Selenium first.

8/16/12. Computer Organization. Architecture. Computer Organization. Computer Basics

Programming. Languages & Frameworks. Hans-Petter Halvorsen, M.Sc. O. Widder. (2013). geek&poke. Available:

Chapter 1 Preliminaries

Web Design. Basic Concepts

Computer Basics 1/6/16. Computer Organization. Computer systems consist of hardware and software.

Chapter 1. Preliminaries

Chapter 1 Introduction to Computers, Programs, and Java

Introduction to Computers and Programming Languages. CS 180 Sunil Prabhakar Department of Computer Science Purdue University

Discovering Computers Living in a Digital World

Chapter 12 Databases and Database Management Systems

Computer Principles and Components 1

Internet: An international network of connected computers. The purpose of connecting computers together, of course, is to share information.

COMS 469: Interactive Media II

CIS 086 : Week 1. Web Development with PHP and MySQL

Introduction to Computers and Visual Basic.Net Pearson Education, Inc. All rights reserved.

CGT 456 Lecture 1. Introduction to Computers & Programming

Chapter 1: Why Program? Main Hardware Component Categories 8/23/2014. Main Hardware Component Categories: Why Program?

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by

9/11/08 (c) 2008 Matthew J. Rutherford Class (c) 2008 Matthew J. Rutherford Class

TEST AUTOMATION. Excel Global Solutions Inc. All Rights Reserved.

What is Java Platform?

World Wide Web PROGRAMMING THE PEARSON EIGHTH EDITION. University of Colorado at Colorado Springs

Javascript Coding Interview Questions And Answers In C++ Pdfs >>>CLICK HERE<<<

Tennessee. Trade & Industrial Course Web Page Design II - Site Designer Standards. A Guide to Web Development Using Adobe Dreamweaver CS3 2009

Session 2. >_ {Code4Loop}; Roochir Purani

Web Design and Development ACS-1809

UNIT -II. Language-History and Versions Introduction JavaScript in Perspective-

3. WWW and HTTP. Fig.3.1 Architecture of WWW

HTML5 MOCK TEST HTML5 MOCK TEST I

Chapter 1: Introduction to Computers and Programming

Principles of Programming Languages. Lecture Outline

The Computer System. Hardware = Physical Computer. Software = Computer Programs. People = End Users & Programmers. people

Introduction to Java Programming

Chapter 1. Preliminaries

Software Development. Integrated Software Environment

Developing Web Applications

From High Level to Machine Code. Compilation Overview. Computer Programs

CS101 Introduction to Programming Languages and Compilers

Common Technology Words and Definitions

C H A P T E R 1. Introduction to Computers and Programming

Princess Nourah bint Abdulrahman University. Computer Sciences Department

Lecture 09. Ada to Software Engineering. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Python for Earth Scientists

HTML, XHTML, and CSS. Sixth Edition. Chapter 1. Introduction to HTML, XHTML, and

Ruby on Rails. SITC Workshop Series American University of Nigeria FALL 2017

13. Databases on the Web

Introducing Computer Programming

CERTIFICATE IN WEB PROGRAMMING

DIABLO VALLEY COLLEGE CATALOG

Web Scraping with Python

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

Introduction to Computers and Java

TABLE OF CONTENTS 1. INTRODUCTION DEFINITIONS Error! Bookmark not defined REASON FOR ISSUE 2 3. RELATED DOCUMENTS 2 4.

CHAPTER 1 Introduction to Computers and Java

1.1 A Brief Intro to the Internet

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design

CISC 124: Introduction To Computing Science II

Adobe InDesign CC Voluntary Product Accessibility Template

Software Maintenance and Evolution

Elements of Computers and Programming Dr. William C. Bulko. What is a Computer?

Topics. Hardware and Software. Introduction. Main Memory. The CPU 9/21/2014. Introduction to Computers and Programming

G-WAN. Complete install process for Ubuntu (both for the 32 and the 64 OS versions).

The MPI API s baseline requirements

Tutorial Point On Html5 Pdf

Transcription:

Chapter 11 Program Development and Programming Languages permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.

Programming 1. Approached to program design and development 2. Programming Languages permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 2

Four Types of Programming 1. Procedural Programming 2. Object Oriented Programming 3. Aspect Oriented Programming 4. Adaptive and Agile Software Development permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 3

Two aspects of programming Telling the hardware to do something Telling a program running within the hardware to do something. permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 4

Approaches to Program Design and Development Procedural programming separates a program into small modules that are called by the main program or another module when needed Allows each procedure to be performed as many times as needed; multiple copies of code not needed Prior to procedural programming, programs were one large set of instructions (used GOTO statements) Each procedure must be programming individually and are not reliant on other programs to function. Very thorough and difficult to program as the failure of one procedure will not affect the entire OS or program. Assembly and machine language permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 5

For example When you press a key on the keyboard.. a for example. The keyboard sends 01100001 through the port/bus the keyboard is attached to. The processor interprets those bit and displays the letter a on the screen. MAGIC! Now imagine doing that for EVERY function on a computer. Every keystroke, every color, every input, every mouse movement must be represented with a binary code! FUN STUFF huh!? permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 6

Object-Oriented Programming (OOP) Object-oriented programming (OOP) consist of a collection of objects that contain data and methods to be used with that data Objects can be accessed by multiple programs and are reliant on one another to function properly. Operating System functions are a great example. Class: A group of objects that share some common properties Attributes: Data that describes the object Methods: Perform actions on an object Can be used with different types of objects Instance: An individual object in a class Inherits the attributes and methods of the class The values of attributes may vary from instance to instance permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 7

Aspect-Oriented Programming and Aspect-oriented programming (AOP) separates functions so program components can be developed and modified individually from one another The components can be easily reused Aspect oriented programs borrow some functions for object oriented programs and machine language Programs such as office applications is an example. permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 8

Adaptive/Agile Software Development Adaptive software development adapts programs as they are being written Mobile developers are using continuous mobile innovation Updates to Windows 10 are planned to adapt to the users environment. Typically iterative and/or incremental development Agile software development (ASD) can create software quickly Focuses on building small functional program pieces as the project progresses Emphasizes teams of people working closely together (programmers, managers, business experts, customers, and so forth) permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 9

Programming Languages 1. Low Level 2. High Level 3. Scripting permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 10

Low-Level Programming Languages Low-level languages (earliest programming languages) Machine language Written at a very low level, just using 1s and 0s First generation of programming languages Assembly language Uses names and other symbols to replace some of the 1s and 0s in machine language Second generation of programming languages Programs take longer to write and maintain permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 11

Example of Machine and Assembly Language permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 12

High-Level Programming Languages High-level languages: Closer to natural languages Machine-independent Most are 3GLs and can be: Procedural languages (Fortran, BASIC, COBOL, C, etc.) Object-oriented languages (C++, C#, Python, Java, etc.) Can be visual programming environments (VPEs), which allow programmers to create the interface graphically Dragging and dropping objects and then defining their appearance and behavior Often assist in creating code Can be visual programming languages which create programs entirely using graphical elements Scratch permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 13

Scratch permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 14

C, C++, C#, Objective-C, Swift, and F# C: A powerful and flexible language used for a variety of applications Much closer to assembly language than other high-level languages C++: Object-oriented version of C C# (C-sharp): A hybrid of C and C++ Most often used to create Web and Windows applications Objective-C: A version of C used to write programs for Apple devices Being replaced by Swift F#: Developed for.net platform as an improvement to C# permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 15

A Sample C++ Program permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 16

Java and Dart Java: Object-oriented programming language commonly used for Web-based applications Developed by Sun Microsystems and is now open source Java programs are compiled into bytecode Can run on any computer that includes Java Virtual Machine (Java VM) Can be used to write Java applets (small programs inserted into Web pages and run by browsers) Dart: Open source, object-oriented programming language developed by Google Designed to replace JavaScript in Web applications Similar multiple data elements can be manipulated together permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 17

A Sample Java Program permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 18

A Sample Dart Program Dart apps can run directly in Dartium For other browsers, much be compiled to JavaScript code permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 19

Python Python: An open-source, dynamic, object-oriented language that can be used to develop a variety of applications Can run on a variety of computers (Windows, Linux, UNIX, OS X, etc.) and on some mobile devices Better code readability Used by large organizations and some colleges, such as MIT, are using Python for some programming courses instead of more traditional languages permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20

A Sample Python Program permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 21

Markup Languages: HTML Define the structure, layout, and general appearance of the content located on a Web page Hypertext Markup Language (HTML): The markup language designed for creating Web pages Use HTML tags - Text-based codes embedded into a Web page s source code Indicate the location and appearance of content on that Web page Some are paired tags The Web browser, browser settings, and device used ultimately determine what the Web page will look like permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 22

Examples of HTML Tags permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 23

XML and XHTML XML (Extensible Markup Language) is a set of rules for exchanging data over the Web Extensible because the data contained in XML documents can be extracted when needed and used in a variety of ways Identifies only the data itself, not the format of that data XML tags are assigned to data and vary from one organization to the next Allows easy retrieval and updating of data XHTML (Extensible Hypertext Markup Language) is a version of HTML that is based on XML Supports both XHTML and XML tags permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 24

HTML5 HTML5 is the current version of HTML Designed to replace both HTML and XHTML Supports the creation of more complex and dynamic Web pages and applications HTML5 pages have three main sections (declaration, head, and body) Support new HTML5 tags Audio and video tags Tags to better identify the parts of a Web page Canvas tag, which creates a bitmapped work surface No proprietary software is required permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 25

Example of an HTML5 Web page permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 26

Scripting Languages Scripting languages Add dynamic content to a Web page Scripts are embedded into a Web page s code Scripts are used as middleware to tie a Web site to a database Scripts can be run: By the Web browser being used to view the Web page (client-side script) By the Web server hosting the Web page being viewed (server-side script) permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 27

Examples of Scripting Languages JavaScript was developed to enable Web authors to implement interactive content on Web sites Client-side scripts; embedded into Web page source code either as direct commands or a link to an external.js file VBScript (Visual Basic Scripting Edition) was developed by Microsoft for purposes similar to JavaScript Can be used for both client-side and server-side scripts PHP is commonly used to create dynamic Web pages Server-side scripts Perl is one of the most popular languages for writing CGI scripts that accept data from and return data to a Web server permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 28

Example of JavaScript permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 29