CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel

Slides:



Advertisements
Similar presentations
Computers Are Your Future
Advertisements

CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Chapter 1: Introduction
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Computers: Tools for an Information Age
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Introduction to Computer Programming CSC 1401: Introduction to Programming with Java Lecture 2 Wanda M. Kunkle.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
Programming Concepts and Languages Chapter 12 – Computers: Understanding Technology, 3 rd edition 1November
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Your Interactive Guide to the Digital World Discovering Computers 2012.
CS102 Introduction to Computer Programming
Chapter 13 Programming Languages and Program Development 1.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Programming Languages: Telling the Computers What to Do Chapter 16.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
Introduction to Computer Programming itc-314
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Understanding Computers Ch. 131 Chapter 13 Program Development and Programming Languages.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
An Introduction to Programming with C++ Sixth Edition
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Computer Concepts 2014 Chapter 12 Computer Programming.
Introduction to C++ Programming Language
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
CSC425 - Introduction To Computer Programming 1. 2 Generation Of Programming Languages A set of rules that telling a computer what to do. There are over.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
3/5/2009Computer software1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
Object-Oriented Program Development Using Java: A Class-Centered Approach, Enhanced Edition.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
PROGRAMMING LANGUAGES
Software Development Programming & Languages. Programming: A Five-Step Procedure Define the problem Design a solution Code the program Test the program.
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introducing Java Chapter 3 Review. Why Program in Java? Java, is an object-oriented programming language. OOP languages evolved out of the need to better.
ICT PROGRAMMING INTRODUCTION. WHAT & WHY PROGRAMMING Programming is a process of developing computer programs Computer program is a set of instructions.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Chapter 1: Introduction to Computers and Programming.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
Software Engineering Algorithms, Compilers, & Lifecycle.
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
What Do Computers Do? A computer system is
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
Programming Concepts and Languages
Chapter 4 Computer Software.
Developing Applications
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 1 Introduction(1.1)
An Introduction to Programming with C++ Fifth Edition
Presentation transcript:

CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel

Chapter 1: Introduction Object-Oriented Program Development Using Java: A Class-Centered Approach

Objectives of Chapter 1 Computer Science and Programming Languages Objects and Classes Constructing a Java Program The PrintStream Class’s print() and println() Methods Using the javax.swing Package Programming Style Common Programming Errors

Computer Science and Programming Languages Information age –Almost totally dependent and driven by information technology Computer science –Science of computers and computing Computer scientists –Solve problems using the scientific method

Fundamental Areas of Computer Science This text will focus on: An introduction to computer architecture The Java programming language Class development and design Algorithm development

Programming Languages Computer program –Also called software –A self-contained set of instructions and data used to operate a computer to produce specific results Programming –process of developing and writing a program A programming language – is a set of instructions that can be used to construct a program

Programming Languages (continued) Low-level languages: –Machine language –Assembly language

Programming Languages (continued) High-level languages: –Use instructions that resemble natural languages –Can be run on a variety of computer types –Examples: Pascal Visual Basic C C++ Java

Programming Languages (continued) Source program –Programs written in a computer language Interpreted language –Each statement is translated individually and executed immediately upon translation Compiled language –All statements are translated as a complete unit before any one statement is executed

Programming Languages (continued) Java is both: –Compiled –Interpreted Java Virtual Machine –Software program that can read bytecode produced by the compiler and execute it

Procedure and Object Orientations Procedure-oriented language –Available instructions are used to create self- contained units Object-oriented language –Program must first define objects it will be manipulating Java is object-oriented

The Development of Java History: –Fortran –COBOL –BASIC –Pascal –C++ –Java

The Development of Java (continued) Web browser –A program located and run on a user’s computer to display Web pages –Java can run from a Web browser Java provides: –Cross-platform compatibility –Write-once-run-anywhere capability

Objects and Classes Objects –Part of the Java programming language as component types –Can be custom tailored by programmers –Programmers can define custom objects

A Class Is a Plan The structure for a class of objects must be created at the start of the programming process Class –Explicitly written plan –Complete set of parts and instructions needed to create items

From Recipe to Class Data declaration section –Description of data to be used Methods section –Defines how to combine data components to produce desired result

Task: Explain the following terms High level language Source Code Interpreted language Compiled language Characteristics of three different programming languages excluding Java Host computer Procedural language Object-oriented language Advantages of Java