CMIT100 Chapter 14 - Programming.

Slides:



Advertisements
Similar presentations
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 1.
Advertisements

Introducing Programming a general discussion. What is a Program? Sets of instructions that get the computer to do something Programs may be a few lines.
Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
1 Programming Languages b Each type of CPU has its own specific machine language b But, writing programs in machine languages is cumbersome (too detailed)
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
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.
Programming Concepts and Languages Chapter 12 – Computers: Understanding Technology, 3 rd edition 1November
Chapter 1 Introduction to Programming. Computer Hardware CPU Memory –Main or primary –Secondary or auxiliary Input device(s) Output device(s)
Software Development CS 1 Rick Graziani Spring 2007.
© Paradigm Publishing Inc Chapter 12 Programming Concepts and Languages.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
1 Chapter-01 Introduction to Computers and C++ Programming.
Copyright ©2005  Department of Computer & Information Science Introducing Programming.
Chapter 1 Engineering Problem Solving 1. Hardware and Software 2 A computer is a machine designed to perform operations specified with a set of instructions.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
High-level Languages.
Programming 1 1. Introduction to object oriented programming and problem-solving.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Introduction to Information and Computer Science Computer Programming Lecture b This material (Comp4_Unit5b), was developed by Oregon Health and Science.
3/5/2009Computer software1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
EG280 Computer Science for Engineers Fundamental Concepts Chapter 1.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Chapter 0 Overview. Why you are here? Where will you go? What is this course for?
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 2.
1 3. Computing System Fundamentals 3.1 Language Translators.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Chapter 4 Software. Chapter 4: Software Generations of Languages Each computer is wired to perform certain operations in response to an instruction. An.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Programming and Languages Dept. of Computer and Information Science IUPUI.
Compilers and Interpreters
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Computer Software.
Software Engineering Algorithms, Compilers, & Lifecycle.
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Game programming 1.
Programming Languages and Data Organization
Software Development Environment
Basic Concepts: computer, program, programming …
CSC235 Computer Organization & Assembly Language
Why don’t programmers have to program in machine code?
Introduction to programming languages, Algorithms & flowcharts
Topic: Programming Languages and their Evolution + Intro to Scratch
Programming Languages
Chapter 5- Assembling , Linking, and Executing Programs
Introduction to programming languages, Algorithms & flowcharts
Introduction to Computer Science
CSCI-235 Micro-Computer Applications
Computer Programming.
Programming Concepts and Languages
Chapter 4 Computer Software.
Computer Software CS 107 Lecture 2 September 1, :53 PM.
Developing Applications
Introduction to programming languages, Algorithms & flowcharts
TRANSLATORS AND IDEs Key Revision Points.
Assembler, Compiler, Interpreter
Programming languages and software development
Chapter 12 Programming Concepts and Languages.
Computer Science I CSC 135.
CS105 Introduction to Computer Concepts Intro to programming
Programming.
Assembler, Compiler, Interpreter
Programming Language Basics
ICT Programming Lesson 1:
An Introduction to Programming with C++ Fifth Edition
CS 330 Programming Languages
Introduction to Computer Science
Presentation transcript:

CMIT100 Chapter 14 - Programming

Learning Objectives Describe the differences between high level language and low level programming. Discuss the evolution of programming languages with an examination of innovations in programming. Introduce the types of programming language instructions. Introduce through examples programming in both the Bash shell and DOS languages.

Does a System Administrator Program? System Administrators are generally not developers But… May need to support/maintain/install in-house applications Will likely create shell scripts or PowerShell scripts to automate administrative tasks

Low-level vs. High-level Languages Machine language Assembly language High-level C C++ C# Visual Basic And many more…

Machine Language Binary Native Language of the computer Differs between processor types Extremely difficult for humans

Language Translators Translates from a higher-level language to the machine language of a given processor Three types: Assemblers Compilers Interpreters

Compiled Languages vs. Interpreted Languages What’s the difference? Examples of Compiled languages: C C++ Examples of Interpreted languages: Shell scripts Windows Batch files Perl

Assembly Language Higher level than machine language but still considered low level Easier for humans than machine language but still challenging Allows for extremely efficient code

High Level Languages Human-like syntax Examples: FORTRAN (legacy) COBOL (Legacy) C C++ C# Perl Java

Object-Oriented vs. Structured Languages Early languages were structured Examples: C, Fortran Modern Languages are Object-Oriented Examples: C++, Java Visual Programming Integrated Development Environment (IDE) Example: Microsoft Visual Studio

Types of Programming Statements Input/Output Statements Examples: OPEN, PRINT, READ Selection Statements Conditions (true/false) If-then-else Iteration Statements

Subroutines and Subroutine Calls Allows for modular programming Also known as functions

Scripting Languages Interpreted Commonly used by System Administrators to automate tasks Exist as executable text files Integrated into all modern operating systems Examples: Linux Shell PowerShell Perl

LAB “Hello World” Shell Script

Creative Commons Statement