CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.

Slides:



Advertisements
Similar presentations
Designing a Program & the Java Programming Language
Advertisements

Chapter 1: An Overview of Computers and Programming Languages
Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.
Programming Creating programs that run on your PC
1 Fall 2008ACS-1903 Chapter 1 Topics Java History Java Programs Why Program? Computer Systems: Hardware and Software Programming Languages What Is a Program.
Introduction to Java Programming, 4E
Aalborg Media Lab 18-Jun-15 Introduction Introduction to System Design I Fall 2004.
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Chapter 3 Software Two major types of software
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Java PAL.  Contains the development kit and the runtime environment ( aka the Java Virtual Machine )  Download Link:
Computer Software.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages Updated by: Dr\Ali-Alnajjar.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Introduction to Java Programming. Contents 1. Java, etc. 2. Java's Advantages 3. Java's Disadvantages 4. Types of Java Code 5. Java Bytecodes 6. Steps.
Program development & programming languages Chapter 13.
Introduction to Java Programming with JBuilder 4
S.W. Ma/CIM/LWL41211/2 Prog. IIA Page 1 HKIVE (Lee Wai Lee Campus) Department of CIM Course : Year 2 Module : Programming IIA Textbook : Introduction.
CS-0401 INTERMEDIATE PROGRAMMING USING JAVA Prof. Dr. Paulo Brasko Ferreira Fall 2014.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Programming Languages
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
Programming 1 1. Introduction to object oriented programming and problem-solving.
CSCI 171 Presentation 1. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
CSCI 130 Chapter 1. History of C Bell Telephone Laboratories (1972) Dennis Ritchie (also created UNIX) A - B - C.
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.
Rina System development with Java Instructors: Rina Zviel-Girshin Interdiciplinary Center Herzlia School of the Computer Science Fall:
1 Computer Systems -- Introduction  Chapter 1 focuses on:  the structure of a Java application  basic program elements  preparing and executing a program.
Chapter 5: Preparing Java Programs 1 Chapter 5 Preparing Java Programs.
Jaeki Song ISQS6337 JAVA Lecture 03 Introduction to Java -The First Java Application-
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
Chapter 1: Introduction to Programs, and Java 1. Objectives To review programs (§ ). To understand the relationship between Java and the World Wide.
Introduction to Java Programming with Forte Y. Daniel Liang.
Clement Allen, PhD Florida A&M University SUMMER 2006.
The Joy of Programming (also known as) Introduction to Object-Oriented Programming.
Chapt. 10. What’s a Program? A set of instructions -- that lead to the accomplishment of an objective.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
3/5/2009Computer software1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Java Programming Lecture 1 Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
CIS 120 Problem Solving Programming Java. Problem Solving Problem-Solving: the process of defining a problem, searching for relevant information and resources.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
Preliminaries CS 310: Object-oriented Programming Java API.
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
Mixing integer and floating point numbers in an arithmetic operation.
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.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and web applications Very rich GUI libraries Portability (machine independence) A real Object.
Programming Languages
©2016 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. CSC 110 – INTRO TO COMPUTING - PROGRAMMING Overview of Programming.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
Introduction to Programming 1 1 2Introduction to Java.
Chapter 3. Module 3ASystem Software Module 3BProgramming Languages 3 System Software and Software Development.
Introduction CMSC 202 Fall Instructors Mr. Ryan Bergeron – Lecture Section 01 Tues/Thu 1:00 – 2:15 am, Sondheim 111 – Lecture Section 04 Tues/Thu.
CSCI-235 Micro-Computer Applications
Chapter 1 Introduction to Computers, Programs, and Java
Chapter 3.
Chapter 4 Computer Software.
Assembler, Compiler, Interpreter
Assembler, Compiler, Interpreter
Introducing Java.
from Lutz Dietrich and Hans Kluge
Presentation transcript:

CSCI 115 Computer Programming Overview

Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software

Language Compilers Programming Generations –5 Generations 1GL - Machine Language 2GL - Assembly Language 3GL - Compiled Languages –Procedural »COBOL »C –OOP »Java »C++ 4GL – SQL 5GL

Programming Languages C –Powerful and flexible FORTRAN –Mathematics and engineering COBOL –Business JAVA –Flexible –Web based 100s of others

History of Java –First started in 1990 as Sun’s Green project Digitally controlled consumer devices identified as trend –Oak –Trend did not grow as expected –1994 – WWW popularity –Netscape packaged Java within browser MS Explorer followed suit –Success ultimately depended on e-commerce

Development Tools 1995 – First JDK released by Sun (1.0) –Very limited JDK 1.1 released –Limited GUI creation 1.2 released –Major change – Swing components –Java 2 SDK release 1.2 –Better known as Java 2

Development Tools Many environments within which to create apps –Visual Age –Semantic Café –JCreator (free)

Problem Solving Technique Define Problem Devise plan to fix problem Implement the plan Test

Steps in Java programming cycle Use editor to create source code Compile files Link files Execute program

Java Program - Base Conversions import java.io.*; import java.lang.Integer; import csci130.*; public class Bases { public static void main(String args[]) { int valToConvert = 0, base = 0; System.out.print("Enter the number to convert: "); valToConvert = KeyboardReader.readInt(); System.out.println(); System.out.print("Enter the base to convert to: "); base = KeyboardReader.readInt(); System.out.println(); System.out.print(valToConvert + " in base " + base); System.out.println(" is: " + Integer.toString(valToConvert, base)); System.out.println(); }