Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.

Slides:



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

Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
Creating Computer Programs lesson 27. This lesson includes the following sections: What is a Computer Program? How Programs Solve Problems Two Approaches:
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
1 Programming Languages Translation  Lecture Objectives:  Be able to list and explain five features of the Java programming language.  Be able to explain.
General Computer Science for Engineers CISC 106 Lecture 26 Dr. John Cavazos Computer and Information Sciences 04/24/2009.
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Course: Introduction to Computers
CSE 1301 J Lecture 2 Intro to Java Programming Richard Gesick.
Programming a computer. What does programming a computer mean ? Programming a computer: Since a computer can only execute machine instructions (encoded.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Activity 1 - WBs 5 mins Go online and spend a moment trying to find out the difference between: HIGH LEVEL programming languages and LOW LEVEL programming.
IB Computer Science II Paul Bui
CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]
Programming Languages: Telling the Computers What to Do Chapter 16.
Programming Languages
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
IT253: Computer Organization Lecture 4: Instruction Set Architecture Tonga Institute of Higher Education.
CSC 101 Introduction to Computing Lecture 28
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
Programming Concept Chapter I Introduction to Java Programming.
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
Compiling and the Java Virtual Machine (JVM). The syntax of Pseudocode is pretty loose –visual validation encourages a permissive approach –emphasized.
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.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Programming Languages and the Programming Process.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
©2016 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. CSC 110 – INTRO TO COMPUTING - PROGRAMMING Overview of Programming.
CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
Chapter 4 Software. Introduction Program: is a set of sequence instructions that tell the computer what to do. Software: is a collection of programs,
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
Compilers and Interpreters
ITP 109 Week 2 Trina Gregory Introduction to Java.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
Part 1 The Basics of Information Systems. Purpose of Information Systems Information systems ◦ Collects, stores and organizes information ◦ Retrieves.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Software Engineering Algorithms, Compilers, & Lifecycle.
Computer Software 1.
CS-140 Dick Steflik Lecture 3. Java C++ Interpreted optimized for the internet Runs on virtual ized machine Derived from C++ Good object model Widely.
Chapter Goals Describe the application development process and the role of methodologies, models, and tools Compare and contrast programming language generations.
Computer Basics.
Why don’t programmers have to program in machine code?
Lecture 1b- Introduction
CMIT100 Chapter 14 - Programming.
CSCI-235 Micro-Computer Applications
Chapter 4 Computer Software.
TRANSLATORS AND IDEs Key Revision Points.
Programming languages and software development
Instructor: Zhe He Department of Computer Science
Creating Computer Programs
ICT Programming Lesson 1:
IB Computer Science II Paul Bui
Computer Terms Review from what language did C++ originate?
Creating Computer Programs
Presentation transcript:

Software

What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions –Three types Operating system Utility Application

Software Is Stored In Many Files Executable files –Contain the instructions for the CPU –Have extensions of.exe, or.com Dynamic link libraries –Partial executable file –Used to support executable files –Have.dll extensions Initialization files –Contain configuration settings for software –Have a.ini extension –Modern programs use the registry

Software Is Stored In Many Files Help files –Contain information about the software –Information is indexed and searchable –Provides an online manual –Have a.chm or.hlp extension Batch files –Used to automate tasks –Hold a series of OS commands –Have a.bat extension

Hardware/Software Interaction Program execution –Software executes at the CPU level –Code to play a sound Code generates an interrupt CPU tells the sound card to play Sound card plays the file –Programmer creates the code

Hardware/Software Interaction Code –Statements written in a programming language –Writing code can be tedious Code must be perfect Order of steps must be exact –Writing code is quite exciting Problems are solved New ideas are formed

Hardware/Software Interaction Machine code –Recall that computers think in binary –Code is translated into machine code CPU executes the machine code –CPUs have a unique machine code

Hardware/Software Interaction Programming languages –Simplifies the writing of code English is used to describe the binary –Original code is called source code –Several hundred languages exist Compilers and interpreters –Converts source code into binary Allows code to execute –Checks source code for correctness

Hardware/Software Interaction Compiler –Creates an executable file Contents are called object code –Executable can run on its own –Each language has its own compiler –C++ and Java are compiled languages

Hardware/Software Interaction Interpreter –Runs program one line at a time –More flexible than compilers –Slower than compilers –Always needed to execute program –Visual Basic and Perl are interpreted

Language Categories First generation language –Machine languages –Written in binary –Different for every CPU

Language Categories Second generation languages –Assembly languages –Statements that represent machine code –Code converted by an assembler –Still used to optimize video games

Language Categories Third generation languages (3GL) –First higher level language –Supports structured and OOP Code is reusable Code is portable –Typically written in an IDE –C/C++ creates games and applications –Java creates web applets –ActiveX creates Web and Windows applets

Language Categories Fourth generation languages (4GL) –Easier to use than 3GL –Coded in a visual IDE –Tools reduce the amount of code –Object oriented programming –Microsoft.Net is a language –Dream Weaver is an 4GL IDE

Sample Code C++ #include using namespace std; int main() { cout << "Hello World" << endl; return 0; } Java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } VB.NET Imports System Module Module1 Sub Main() Console.WriteLine("Hello VB.NET World!") End Sub End Module