CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING

Slides:



Advertisements
Similar presentations
Lecture 1: Overview of Computers & Programming
Advertisements

The Binary Machine Modern high-level programming languages are designed to make programming easier. On the other end, the low level, all modern digital.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Software Development CS 1 Rick Graziani Spring 2007.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Introduction to Programming End Show. Resource Team R.P Ranjan-Lecturer, SPICTEC, Galle. W.M.A.S. Wijesekara-Centre manager,CRC Hali-Ela H.P.U.S Indra.
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.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
Tranlators. Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Visual C++ Programming: Concepts and Projects
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
CSC425 - Introduction To Computer Programming 1. 2 Generation Of Programming Languages A set of rules that telling a computer what to do. There are over.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
PROGRAMMING LANGUAGES
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Programming in C++ Dale/Weems/Headington Chapter 1 Overview of Programming and Problem Solving.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Machine Machine language is PL in which program instructions are written in strings of 0s and 1s.The computer circuitry is wired in a manner that it can.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Introduction to Computer Programming using Fortran 77.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
GROUP 2 NAME :  AZMYLL BIN ARSHAD  (18DNS14F2014)  MARYAM JAMILAH BINTI RAHIM  (18ENS14F2004)  SURAYA BINTI MOHAMAD  (18DNS14F2005)  MUHAMMAD SALEH.
CSC141 Introduction to Computer Programming Programming Language.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
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.
Computer Language
IS220 Computer Programming
Chapter 1 Introduction 2nd Semester H
DDC 2223 SYSTEM SOFTWARE DDC2223 SYSTEM SOFTWARE.
Component 1.6.
Chapter 1 – Introduction to Computers, the Internet, and the Web
Programming Languages
Operating System Interface between a user and the computer hardware
CSCI-235 Micro-Computer Applications
Introduction to Visual Basic 2008 Programming
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
GC101 Introduction to computers and programs
Introduction to Programming
Application Development Theory
Chapter 13 Programming Languages and Program Development
Objectives Overview Differentiate between machine and assembly languages Identify and discuss the purpose of procedural programming languages, and describe.
Chapter 4 Computer Software.
An Introduction to Visual Basic .NET and Program Design
Introduction to programming languages, Algorithms & flowcharts
Translators & Facilities of Languages
CIS16 Application Development – Programming with Visual Basic
CS105 Introduction to Computer Concepts Intro to programming
The Programming Process
Introduction to Computer Software
Introduction to Computer Programming
and Program Development
Principles of Programming Languages
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Nat 4/5 Computing Science Translator Programs
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING INTRODUCTION TO COMPUTERS PROGRAMS

CONTENT A brief history of a computer and programming language. Introduction to programming.

COMPUTER

WHAT KIND OF ACTIVITIES YOU CAN DO WITH A COMPUTER ????...

COMPUTER What is a computer? An electronic machine, operating under the control of instruction stored in its own memory. Machine that obtains data as input, processes the data and produces valuable output. Output will be stored in various storage.

COMPUTER COMPUTER HARDWARE SOFTWARE The electric, electronic and mechanical equipment that makes up a computer The series of instructions that tells the computer hardware how to perform tasks

BASIC OPERATIONS OF A COMPUTER these operations are under the control of instructions stored in the computer’s memory INPUT Accepting data from user PROCESS Manipulating data OUTPUT Producing result STORAGE Storing result

BASIC OPERATIONS OF A COMPUTER Example: ATM program (money withdrawal)

PROGRAM LANGUAGE How human and computer interact?

COMPUTER PROGRAM What is a computer program? Set of instruction that directs computer to perform tasks. Programming language – used to write instructions Programmer – writes and modifies computer program

EVOLUTION OF PROGRAMMING LANGUAGE

Evolution of programming language Machine language Assembly language 3rd Generation language 4th Generation language 5th Generation language

TYPES OF LANGUAGES Low Level Language High Level Language Procedural Machine Language Assembly Language High Level Language 3rd Generation Language 4th Generation Language 5th Generation Language Procedural language Non - Procedural language

MACHINE LANGUAGE Only language computer directly recognizes Uses a series of binary digits (1s and 0s) with a combination of numbers and letters that represent binary digits.

ASSEMBLY LANGUAGE Instructions made up of symbolic instruction codes, meaningful abbreviations and codes Source program contains code to be converted to machine language

3rd Generation Language Uses series of English – like words to write instructions Most widely used are BASIC, COBOL, C++ and C Uses compiler or interpreter to translate to machine language.

4th Generation Language Most of DBMS (Database Management System) is considered as 4th generation language Examples are Microsoft Access, DBASE IV and FoxBase. Main characteristics of this generation is it non procedural, much easier to organize records or data, faster to write programs and easier to design forms or reports.

5th Generation Language Provides visual or graphical interface for creating source code Often used in RAD (rapid application development) environment Available in Visual Studio 2005, Delphi and PowerBuilder. User are not required to understand programming language. Thay are able to communicate with the computer using natural language.

OTHER PROGRAMMING LANGUAGE ADA ALGOL APL BASIC FORTH FORTRAN HYPERTALK LISP LOGO MODULA-2 PASCAL PILOT PL/1 PROLOG SMALLTALK

RELATIONSHIP BETWEEN ASSEMBLER, COMPILERS, INTERPRETERS & COMPUTER PROGRAMS

Computer program Definition: is a list of instructions written in a programming language that is used to control the behavior of a machine.

LANGUAGE TRANSLATOR A Language Translator is a software that translate a program written in 2nd , 3rd or higher – generation language into machine language. 3 types: Assembler Compiler Interpreter

Assembler Translate from assembly language to machine language

COMPILER Program that converts entire source program into machine language before executing it

Compiler

INTERPRETER Programs that translate and executes one program code statement at a time Does not produce object program

Interpreter

THE IMPORTANCE OF PROGRAMMING

PROGRAMMING Allows user to direct computer to execute tasks A skill required of a computer scientist or a software engineer An activity that is central to computer science Improves logical reasoning and critical thinking skills

CRITERIA OF A GOOD PROGRAM

The criteria Accuracy Reliability Usability Maintainability Program that fulfils all the specification, requirement and objectives. Reliability No errors. Usability Easy to use and learn. Maintainability Easily understood, tested and modify

The Criteria Efficiency Readability Fast program execution and quick access to data to generate output Readability Clear and understandable Using meaningful name for variable Have explanations on the program’s function

Example

A good program is a Program that is easy To read and easy to be understood by other programmers

Exercises Give example of three (3) programming language. What is the difference between machine language and assembly language? What is the difference between compiler and assembler? Explain procedural and non procedural language. Give an example of programming language for each.