Software Development Environment

Slides:



Advertisements
Similar presentations
 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
Advertisements

Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
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.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
Topics Introduction Hardware and Software How Computers Store Data
Introduction to Programming Using C Introduction to Computer Programming.
The Central Processing Unit (CPU) and the Machine Cycle.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Chapter 1 Getting Acquainted With Computers, Programs, and C++
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Representation of Data - Instructions Start of the lesson: Open this PowerPoint from the A451 page – Representation of Data/ Instructions How confident.
Programming Language Basics. What is a Programming Language? “A computer, human-created language used to write instructions for a computer.” “An artificial.
Chapter 1: Introduction to Computers and Programming
Computer Basics.
Chapter 1 Introduction 2nd Semester H
CSC235 Computer Organization & Assembly Language
Java Programming: From the Ground Up
BASIC PROGRAMMING C SCP1103 (02)
Outline Introduction What Is a Computer? Computer Organization
Operating System Interface between a user and the computer hardware
Topics Introduction Hardware and Software How Computers Store Data
CSCI-235 Micro-Computer Applications
Lecture 1: Introduction to JAVA
BASIC PROGRAMMING C SCP1103 (02)
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
GC101 Introduction to computers and programs
Introduction to Programming
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
A451 Theory – 7 Programming 7A, B - Algorithms.
Unit# 8: Introduction to Computer Programming
TRANSLATORS AND IDEs Key Revision Points.
Chapter 1: Introduction to Computers and Programming
Computer Electronic device Accepts data - input
Unit 1: Introduction Lesson 1: PArts of a java program
Fundamentals of Computer Programming
Born to be Programmer TeguhSutanto, M.Kom.
Topics Introduction Hardware and Software How Computers Store Data
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Chapter 1 Introduction(1.1)
National Diploma in Computer Studies
Programming Language Basics
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Understand the interaction between computer hardware and software
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Function of Operating Systems
ICS103 Programming in C 1: Overview of Computers And Programming
Programming Logic and Design Eighth Edition
Introduction to Computer Science
Algoritmos y Programacion
Chapter 1: Introduction to Computers and Programming
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Software Development Environment ICS 3U0

Today’s Agenda Program Execution Evolution of Programming Languages Integrated Development Environment (IDE)

The Basics What is an operating system? An OS is software that manages computer hardware resources and provides common services for computer programs. For example: Windows 8, MacOS or UNIX What is a computer program? A computer program provides a set of instructions telling the computer what to do. On a grander scale, also known as a software application. For example: Google Chrome, Minecraft, mylittleprogram.py What is a programming language? Formal language that a programmer uses to develop computer programs. For example: C++, Turing, Java, Visual Basic, and Python

Program Execution When a computer program is executed: The program is stored in memory (RAM). CPU fetches instructions and data from there via the system bus. CPU decodes, and executes the stored instructions of the program sequentially, inputting data as needed, and outputting results via the bus. Steps 2-3 repeated until the program has completed.

Another Look at the CPU Arithmetic-Logic Unit (ALU) Performs arithmetic operations (add, sub, mult, div). Performs logical operations (<, >, =). Allows computers to calculate and compare. Control Unit Directs the movement of electronic signals between memory and the ALU. Coordinates control signals between CPU and input/output devices. Tells the computer system how to execute a program.

Evolution of Programming Languages Machine Code Machine code or machine language is a set of instructions executed directly by the CPU. Each instruction performs a very specific task, such as an ALU operation on a unit of data in memory. Every program directly executed by a CPU is made up of a series of 0’s and 1’s. Assembly Code Assembly code is a step up from machine code. Although more easily understood by humans, it cannot be directly understood by the CPU. A program called the assembler translates assembly language programs into binary machine code that can be decoded by the CPU.

Evolution of Programming Languages … continued Source Code Source code consist of instructions or statements that look similar to English using common mathematical notation. It is really the only type of code that is readable by people. It is the code that is associated with high-level languages such as C++, Java or Python. The instructions written using high-level languages must be converted into machine code so that can be understood by the CPU. Complier/Interpreter A compiler or interpreter translates source code written using high-level language (i.e., code that people can actually read) to machine code (i.e. 1’s and 0’s)

Compiler Vs. Interpreter When a program is created, it may be run in one of two ways: Compiled: a program is converted into a machine-readable format using a binary encoding. Interpreted: The program requires a separate program, called an interpreter, to translate program instructions on-the-fly. Some programming languages, like C/C++, are compiled. Others, like Java or Python, are interpreted.

Compiler Vs. Interpreter

Integrated Software Development Environment - IDE An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a  Source code editor Debugger Compiler or interpreter

Common IDE’s Java – Eclipse, Ready to Program, Dr. Java are common IDE’s used to develop programs in Java. Ruby – Textmate is a common IDE used to develop programs in Ruby Python – Pycharm, Eclipse and IDLE are common IDE’s used to develop programs in Python.