Why do you need to know about programming? Programming is used to create the application / software you use everyday

Similar documents
Discovering Computers 2008

Programming Languages and Program Development

Fundamentals of Programming. By Budditha Hettige

1) What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and Opportunity Identification D) Development

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

Low-Level Languages. Computer Programs and Programming Languages

A Set Of Machine Language Instructions For A Program Is Called Source Code >>>CLICK HERE<<<

INFS 214: Introduction to Computing

Lecture 01 & 02 Computer Programming

8/16/12. Computer Organization. Architecture. Computer Organization. Computer Basics

C++ Programming Language Lecture 1 Introduction

Discovering Computers Chapter 13 Programming Languages and Program Development

Software. Software. Software. Program Language. Programs written for the ENIAC

Chapter 1 Introduction to Computers and C++ Programming

0 Introduction: Computer systems and program development

An Introduction to Python (TEJ3M & TEJ4M)

Fundamentals of Programming (Python) Basic Concepts. Ali Taheri Sharif University of Technology Spring 2018

Objective: To learn meaning and concepts of programming. Outcome: By the end of this students should be able to describe the meaning of programming

Principles of Programming Languages. Lecture Outline

Chapter 1. Preliminaries

Terminology & Basic Concepts

Fundamentals of Programming Session 2

9/7/17. Outline. Name, Scope and Binding. Names. Introduction. Names (continued) Names (continued) In Text: Chapter 5

COMPUTER ORGANIZATION & ARCHITECTURE

COMP-421 Compiler Design. Presented by Dr Ioanna Dionysiou

Algorithm: 1. Introduction

Module 1: Introduction to Computers, Programs, and Java

C H A P T E R 1. Introduction to Computers and Programming

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

Unit. Programming Fundamentals. School of Science and Technology INTRODUCTION

From High Level to Machine Code. Compilation Overview. Computer Programs

Programming Languages 2nd edition Tucker and Noonan"

ECS15, Lecture 10. Goals of this course 2/8/13. Mini-Review & Topic 3.2 Software. Today s agenda

Game keystrokes or Calculates how fast and moves a cartoon Joystick movements how far to move a cartoon figure on screen figure on screen

IT2Rail Interoperability Framework

Life Cycle of Source Program - Compiler Design

Fundamentals of Programming INTRODUCTION

CSI32 Object-Oriented Programming

Outline. Programming Languages 1/16/18 PROGRAMMING LANGUAGE FOUNDATIONS AND HISTORY. Current

Outline. Introduction to Programming (in C++) Introduction. First program in C++ Programming examples

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design

Hands-On Ethical Hacking and Network Defense 2 nd edition

Introduction to Programming

Introduction to Computers, the Internet and the Web Pearson Education, Inc. All rights reserved.

(0) introduction to the course. how to learn a programming language. (0) course structure

LECTURE 1. Overview and History

CS2900 Introductory Programming with Python and C++ Kevin Squire LtCol Joel Young Fall 2007

Chapter 11 Program Development and Programming Languages

Introduction to Programming

Domain specific programming languages Context Free Art

CS2303 C14 Systems Programming Concepts. Bob Kinicki

Lecture 2. Programs and Pseudocode. Daily Puzzle

Lesson 01 Introduction

Programming Languages and Program Development Life Cycle Fall Introduction to Information and Communication Technologies CSD 102

CMSC131. Hardware and Software. Hardware

CMSC131. Hardware and Software

BEDI INTERNATIONAL SCHOOL, BAREILLY. CHAPTER: 1( Computers and Computer Languages Types)

Introduction. Lecture 1 MIT 12043, Fundamentals of Programming By: S. Sabraz Nawaz

Information Systems Software

Gaddis: Starting Out with Alice Test Bank Chapter One 1 Chapter One

COMP455: COMPILER AND LANGUAGE DESIGN. Dr. Alaa Aljanaby University of Nizwa Spring 2013

Principles in Programming: Orientation & Lecture 1. SWE2004: Principles in Programming Spring 2014 Euiseong Seo

Part (04) Introduction to Programming

Topic 1: Programming concepts

PROBLEM SOLVING AND PYTHON PROGRAMMING

Computer Basics 1/24/13. Computer Organization. Computer systems consist of hardware and software.

Programming Languages FILS Andrei Vasilateanu

COMP 201: Principles of Programming

Fundamentals of Programming. Lecture 1: Introduction to C Programming

Problem Solving and Program Design - Chapter 1. Cory L. Strope

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.

BITG 1113: Introduction To Computers And Programming Language LECTURE 1 LECTURE 1 1

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

CS101 Introduction to Programming Languages and Compilers

Compilers. Prerequisites

Introduction to Computers and Programming Languages. CS 180 Sunil Prabhakar Department of Computer Science Purdue University

NOTE: Answer ANY FOUR of the following 6 sections:

Chapter 1. Preliminaries

AP Computer Science A: Java Programming

Introduction. Introduction to OOP with Java. Lecture 01: Introduction to OOP with Java - AKF Sep AbuKhleiF -

Introduction to Computer Programming Using FORTRAN 77

Computer Basics 1/6/16. Computer Organization. Computer systems consist of hardware and software.

Introduction to OOP with Java. Instructor: AbuKhleif, Mohammad Noor Sep 2017

Question No: 1 ( Marks: 1 ) - Please choose one One difference LISP and PROLOG is. AI Puzzle Game All f the given

What is programming? What are computer languages and how have they evolved? What is the basic process of programming, including the tools involved?

LECTURE NOTES ON COMPILER DESIGN P a g e 2

SALVO-a fourth-generation language for personal computers

1/14/2014. Introduction to CSE 1325 Object Oriented Programming (Using Java) Introduction (Cont.) Introduction

Introduction to Java. Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved.

CHAPTER 5 GENERAL OOP CONCEPTS

When an instruction is initially read from memory it goes to the Instruction register.

SCAN: Computer Science - second year. Christian Wolf

Computer Fundamentals

Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts

Assembly Language for Intel-Based Computers, 4 th Edition. Chapter 1: Basic Concepts

Introducing Computer Programming

Chapter 1 Introduction to Computers, Programs, and Java

Chapter 1 Introduction to Computers, Programs, and Java

Pioneering Compiler Design

Lecture 15: Iteration and Recursion

Transcription:

SPM 2102 PROGRAMMING LANGUAGE 1 Introduction to Programming By: NORAH MD NOOR

Computer Programming Why do you need to know about programming? Programming is used to create the application / software you use everyday (eg ; to calculate your BMI) Application software is the result of the efforts of computer programmers. Knowing at least the basics of the history & practices of the programming will help you to better understand what goes on inside computer.

Computer Programming Important keywords: Computer programming / programming is a multi stepprocessfor designing or creating instructions or solution. Programming language is a set of words (or symbols) & rulesused to create instructions for computer to perform. Program / Application is a list of instructionsthat the computer must follow in order to perform specific assigned task.

Computer Programming Important keywords: Syntax -set of rules to create program Code - computer instructions

Computer Programming Example: Programming language Eg : C, C++, HTML, PHP, Java, Basic, Fotran Program / Application Eg : MS Word, S.M.M, S.M.A, Attendance Record. Syntax cout<<"\n\t Skor purata = "; cout<<purata; cout<<"\n\t Enter for release"; cout<<endl; Code- <html><head><body></body></head></html>

Computer Languages

Computer Languages To write a program for a computer, you must use a computer language. Basically, What is a computer language? A computer language is an artificial languagethat tell the computer what to do. It has the same meaning with programming language.

Computer Languages Over the year, computer languages have evolved. 1940s 1950s 1960s

Machine Language 1st generation of programming language. The only language understood by a computer without translation. It is a language consists of 0s and 1s that directly correspond to the computer s electrical states. Also known as binary or machine code.

Machine Language Advantage: Very fast in processing data. WHY? Disadvantages: Machine (or hardware) dependent Time-consuming Difficult to create program (less user friendly) (100110101011001)

Assembly Language 2nd generation of programming language. Also known as symbolic language. Assembly language is a language that allows programmers to use symbol or mnemonics (abbreviations), to represent the various machine language. It uses assembler to translate assembly code into machine code.

Assembly Language Advantage: fast in processing data Program can be write more quickly than in machine language Disadvantages: Machine (or hardware) dependent Time-consuming

High-Level Language 3rd generation of programming language. Also known as procedural language. High-level languages use an English-like language instead of symbols and abbreviations. High-level languages are designed to relieve the programmer from the details of the assembly language.

High-Level Language Example of high-level languages are C, Fortran and COBOL. Advantage: Easy to program Machineindependent Disadvantages: Requires translator(compiler or interpreter)

Example: FORTRAN Program

Very High-Level Language 4th generation of programming language. Also known as object-oriented or non-procedural language. It is much more user-oriented and allow programmers to It is much more user-oriented and allow programmers to develop programs with fewer commands.

Very High-Level Language Some of very high-level languages are also called RAD (rapid application development) tools. The use of visual in programming was also introduced in very high-level language. Example of very high-level languages are C++, Java and Visual Basic.

Example: Visual Basic Program

Example: C Program

Natural Language 5th generation of programming language. Natural languages use human language to give people a more natural connection with computers. Natural languages allow questions or commands to be framed in a more conversational way.

Natural Language For example: I WANT THE LIST OF SPM2102 STUDENTSTO BE PRINTED AT 2.00 PM 19/01/2012 Natural languages are part of the field of study known as artificial intelligence (AI). AI are technologies that attempt to develop machine to emulate human-like qualities.

END