Introduction to Computer Programming Computer Programming I Introduction to Aerospace Created by The North Carolina School of Science and Math.The North.

Slides:



Advertisements
Similar presentations
Computer Science Department Introduction To Computers and Programming Knowledge: Understand the concepts of computer, hardware, software and programming.
Advertisements

Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 1.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
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.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
Introduction to Programming (in C++) Introduction Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC.
Introduction to computers and programming RIZWAN REHMAN Assistant Professor Centre For Computer Studies.
Computers: Software Patrice Koehl Computer Science UC Davis.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
Scientific Notation and Significant Digits Created by The North Carolina School of Science and Math.The North Carolina School of Science and Math Copyright.
Visual BASIC 1 Introduction
Introduction to Computers (L02) * Hardware * Software * Programming Languages * Three Phase of Program Development * Development and Design Steps * Algorithms.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Overview 1.1 Computer Systems 1.2 Programming and Problem Solving.
Introduction to Computer and Programing Thanachat Thanomkulabut.
Logic and Systems A beginner’s guide.
Robert Crawford, MBA West Middle School.  Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Accuracy and Precision Created by The North Carolina School of Science and Math.The North Carolina School of Science and Math Copyright North Carolina.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
110-A1 Central Processing Unit Main Memory Monitor Disk Keyboard mouse What's a Computer? Network CPU: (stupid) brain of the computer can do very simple.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CHAPTER 1 INTRODUCTION 1 st semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Introduction to programming Carl Smith National Certificate Year 2 – Unit 4.
CS2301:Computer Programming 2
Chapter 1 09/04/13. Change Your Password  The command is: passwd In the lab first do : ssh -Y onyx  You will have to see me to change it, if you forget.
Computer Programming (1) Code & No.: CS 102 CREDIT HOURS: 5 UNIT Lecture 3.0 hours/week Lab: 2.0 hour/on every week a. This course introduces the students.
LESSON 1 Introduction to Programming Language. Computer  Comprised of various devices that are referred to as HARDWARE.  The computer programs that.
Introduction to Computer and Programing Thanachat Thanomkulabut.
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.
Computer Programming Thinking in Code. Intro Computational Thinking Decompose Patterns General and Abstract Algorithms.
What’s a Computer?. The Basics A computer is a machine that manipulates data based on a list of instructions called a program.
Engineering Design Process: Overview Created by The North Carolina School of Science and Math.The North Carolina School of Science and Math Copyright 2012.
Software Engineering Algorithms, Compilers, & Lifecycle.
Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.
Introduction to Programming AP Computer Science. Computers What is a computer? –CPU –ALU –Memory –Hard Drive.
CPS120 Introduction to Computer Science High Level Language: Paradigms.
Chapter 1 Introduction 2nd Semester H
Basic Concepts: computer, program, programming …
Java Programming: From the Ground Up
Computer Programming (BCT 1113)
LESSON 1 Introduction to Programming Language
Introduction
Introduction to Programming
Quick one: Do you know what these are?
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Introduction to Computers and Java
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Principles of Programming Languages
Understand the interaction between computer hardware and software
Tonga Institute of Higher Education IT 141: Information Systems
An Introduction to Programming with C++ Fifth Edition
Tonga Institute of Higher Education IT 141: Information Systems
Presentation transcript:

Introduction to Computer Programming Computer Programming I Introduction to Aerospace Created by The North Carolina School of Science and Math.The North Carolina School of Science and Math Copyright North Carolina Department of Public Instruction.North Carolina Department of Public Instruction Created by The North Carolina School of Science and Math.The North Carolina School of Science and Math Copyright North Carolina Department of Public Instruction.North Carolina Department of Public Instruction

What is a computer?  What is a computer? Break into groups and come up with 10 answers to each of these questions.  What do computers do?  How do we use them?  Compare the answers in class  Summarize the answers

What is a computer?  Using a laptop computer as an example  What are the parts of a laptop computer?

CPU What is a computer?  Using a laptop computer as an example  What are the parts of a laptop computer? Screen Keyboard CPU Ports Mouse/ Trackpad Interface Hardware Hard DriveRAM

What is a computer program?  A set of instructions for a computer to perform a specific task.  Computers don’t speak English or any other human language, they speak in binary code.   All ones and zeros  Called machine code  Computer languages translate commands into machine code  Computer languages  C, C++, Ada, Fortran, COBOL, PL/1, Java, Pascal, BASIC, Perl, Python, Prolog are different computer languages

What is an algorithm?  A step by step procedure for performing an action, like a calculation or for a computer program.  When writing a computer program, an algorithm is used to outline what you want the computer to do.  Can be represented by a flow chart.  A Linear algorithm is the simplest  Linear means in a line  Start – Perform Actions – Stop

Algorithm components  Terminator Block  Start  Stop  Process Block  Decision Block Start Stop Open Book Want to Read? Read Book to End Yes No Close Book

Linear algorithms  Now, work in groups to create the flow chart for an algorithm about getting up in the morning.  End the algorithm when you leave the house for school. Start when you wake up.  Don’t use decision blocks at first.  Share the algorithms with the class.

Linear algorithms  After completing the linear algorithm example for waking up, take one aspect of your algorithm and introduce a decision block.  Must be a simple decision of two different options  Redraw the flow chart with the decision block included.  How many other decision blocks could you add to the waking up algorithm?

Algorithm Exercise  Create your own algorithm for something you do that is linear. Use as many decision blocks as you can.