PROGRAMMING INTRODUCTION

Slides:



Advertisements
Similar presentations
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Advertisements

Documentation Letts Study Guide Information Systems - IT Chapter 19.
Computer Programming Rattapoom Waranusast Department of Electrical and Computer Engineering Faculty of Engineering, Naresuan University.
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
1 CS 106, Winter 2009 Class 4, Section 4 Slides by: Dr. Cynthia A. Brown, Instructor section 4: Dr. Herbert G. Mayer,
CIS105 Chapter 1 Theory Review. Page 2 Hardware and Software are the two major components o any computer system Hardware is the set of physical devices.
Program Development and Programming Languages
Programming Fundamentals (750113) Ch1. Problem Solving
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
The Program Design Phases
PRE-PROGRAMMING PHASE
Introduction To Visual Basic 6. Announcements  Thursday, Oct 9th, 7:30PM, C106 Lloyd Douglas (NSF) Diversity in Science-Who needs it? 5 extra credits.
Types of software. Sonam Dema..
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
© Paradigm Publishing Inc Chapter 12 Programming Concepts and Languages.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Design the program Create a detailed description of program –Use charts or ordinary language (pseudocode) Identify algorithms needed –Algorithm: a step-by-step.
PROGRAMMING LANGUAGES Prof. Lani Cantonjos. PROGRAM - set of step-by-step instructions that tells or directs the computer what to do. PROGRAMMING LANGUAGE.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
Structured Programming (4 Credits)
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Introduction to Computers Lesson 13A. home Computer Program A set of instructions or statements, also called code, to be carried out by the computer’s.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
 Problem Analysis  Coding  Debugging  Testing.
Algorithms and Flowcharts
CIS 365: Visual Application Development Introduction to Computers and Programming.
Introduction To Visual Basic 6
Introduction to Computers
Basics of Computer A Computer is Electronic device that can
Unit 2 Technology Systems
The Art of Programming --
Computer Programming (BCT 1113)
Introduction to Programming and Visual Basic
CSCI-235 Micro-Computer Applications
Computer Programming.
Course: Introduction to Computers
Lecture 2 Introduction to Programming
Introduction To Flowcharting
Programming Fundamentals
An Introduction to Visual Basic .NET and Program Design
Welcome In The World Of ‘C’.  TEXT BOOK: Programming in ANSI ‘C By: E Balagurusamy. TMH  Reference Books: 1) The ‘C Programming Language By: Kernighan.
TRANSLATORS AND IDEs Key Revision Points.
Assembler, Compiler, Interpreter
Introduction to Computers
Unit# 9: Computer Program Development
Programming Languages
Programming Fundamentals (750113) Ch1. Problem Solving
Programming Fundamentals (750113) Ch1. Problem Solving
Chapter 1 Introduction(1.1)
Chapter One: An Introduction to Programming and Visual Basic
The Programming Process
Assembler, Compiler, Interpreter
A programming language
Programming Fundamentals (750113) Ch1. Problem Solving
CS 1111 Introduction to Programming Spring 2019
ICT Programming Lesson 1:
ICT Gaming Lesson 2.
Tonga Institute of Higher Education IT 141: Information Systems
Programming Fundamentals (750113) Ch1. Problem Solving
Tonga Institute of Higher Education IT 141: Information Systems
Developing a Program.
CS105 Introduction to Computer Concepts Intro to programming
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Programming Logic and Design Eighth Edition
Presentation transcript:

PROGRAMMING INTRODUCTION aulia nur mustaqiman Source : Rahayudi, Bayu. 2011. Dasar-Dasar Pemrograman. UB Press. Malang

(Microsoft Windows, Linux, Mac OS X) SOFTWARE Application Operation System is a software that control and handle some resource devices in computer. (Microsoft Windows, Linux, Mac OS X) General Application Utility Application Compiler and Interpreter Data is supported element that program needs to get some objections Program is collected instruction that can be given by the computer Machine Level Language is language which consists of on (1) and off (0)

Software (compiler & interpreter) used to convert hi-level-language to machine level language, after that the computer can execute to get information for us Compiler is instruction processing to convert hi-level language to become machine level language when program was been compiling to become executable and entirely can be processed . After becoming executable program (.exe), then to make it work that program, we just call that file with .exe Examples of compiler : Turbo Pascal (Pascal), Borland C (C), Delphi dll Interpreter is instruction converting process to machine level language which is processed when the program was worked (excuted) and processed in stages. The Program of interpreter is not converted in .exe file, so it still need the source code and only the interpreter will run that program.

The same thing between Interpreter and Compiler is They can be useful to convert some instruction to become high level language which is well-known language for the machine. 7 Step how to make a program : Knows the case that want to be solved. Analyze the program solving Determines the variable that will be used Determines how to solve the case. Makes the algoritm or the flowchart. 3. Converts the algoritm/flowchart to become programming language 4. Works the program and do some evaluation/validation debugging) 5. Implement the program 6. Create Dokumentation

Programming Logic consists of : Algoritma Flowchart Pseudocode Programming Logic is a structured method to solve the problem/case in creating computer program. By understanding of programming logic in problem solving in creating program, the programmer can will be easy to convert something to become programming language.

Is certainly method which consist of structured steps and written systematically in programming problem solving. Algoritm not only can be formed as description, but also picture. Algoritma Algoritm, using telephone : Pick Up The Phone and hear the sound of your phone. If you hear ringtone, then the telephone can be used If you don’t hear any calling ringtone then continue to step number 4 . 2. Push button number that you want to call. Then, hear it’s ringtone. If there is a ringtone, then calling process will be continued, please wait. If you hear busy voice, so you cant call that number. So continue to step number 3.Is there any answer ? a. If yes, so you can open the dialog b. If there is no answer, So continue to step number 4. Close The Phone

Flowchart Is flow diagram as a symbol that show some problem solving steps, when it happens from one process to the other process . Consists of 2 (two) are system flowchart and program flowchart

There are 7 Roles that we have to do to make a flowchart : Use correctly symbol in problem solving method . Make problem solving method shorter than before Use Connecting Symbol , if we cant solve with shorter step, use the offpage connector if it cant to be draw in 1 page to connect symbol in other page. 4. Use symbol of repetition to show repeated step. 5. Use modul if there is method to do. 6. Created symbol is showed from up to down and from left to right. It can be given with arrow that show previous step and next step (except start and stop). 7. Begin with start icon (oval) and end with (oval) icon.

Pseudocode Is programming logic that is formed as structured procedure of problem solving programming. It is written as instruction/ syntax that will be used by programming language. Writing structure and instruction that is used , don’t have standard notation/symbol, just agreement. Notation is used to correspond with usual programming language. It usually called as algoritm notation.

Structure of pseudocode : + Pseudocode Head consists of pseudocode name and description of the pseudocode specification. Usually, Pseudocode has own producer name and it’s version. + Declaration it is filled by label of constanta or variable, type, procedure, or function that are used in pseudocode. Declaration uses in agreement to determine constanta label. Example PHI=3.14 , AWAL=0 , etc. And small word for variable such as bil, value, etc + Description it is filled by explaination of problem solving code, such as process, decision making , and repeated steps. Usually, each of part or group will be filled by comment and symbol in “{“ and “}” or “//”. After making algoritm/ flowchart/ pseudocode. The next step is to convert in to become programming language. Most important is how we know the writting structure and programming language (Syntax) that will be used by us.