Programming Basics using Real-life examples Dr. Jeyakesavan Veerasamy CS faculty, UT Dallas, USA

Slides:



Advertisements
Similar presentations
An enjoyable introduction to Programming Dr. Jeyakesavan Veerasamy CS faculty, University of Texas at Dallas Website:
Advertisements

Algorithms 10 IST – Topic 6.
Analysis of Algorithms: time & space Dr. Jeyakesavan Veerasamy The University of Texas at Dallas, USA.
Programming Basics using Real-life examples. Activities Recipe Assembly instructions for a toy Map out the plan at amusement park A busy day schedule.
Welcome to C++ Programming Workshop at The University of Texas at Dallas Presented by John Cole July 8-12, 2013.
Introduction to Programming using Java Dr. Jey Veerasamy July 31 st – August 23 rd 9:30 am to 12 noon 1.
The LC-3 – Chapter 6 COMP 2620 Dr. James Money COMP
 Control structures  Algorithm & flowchart  If statements  While statements.
An “enjoyable” introduction to Programming Dr. Jeyakesavan Veerasamy Senior Lecturer University of Texas at Dallas
CS Section 600 CS Section 002 Dr. Angela Guercio Spring 2010.
Chapter 2: Algorithm Discovery and Design
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
Chapter 1 Program Design
An “enjoyable” introduction to Programming Dr. Jeyakesavan Veerasamy The University of Texas at Dallas, USA Alice.
Introduction CSE 1310 – Introduction to Computers and Programming
CIS Computer Programming Logic
AS Computing Introduction to Programming. What is a Computer Program? A list of instructions that a computer must work through, in a logical sequence,
An Introduction to Programming with C++ Sixth Edition
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 2 I Am Not a Control Freak!
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Programming Fundamentals. Thinking about Programming Robots are made to perform useful tasks. Each robot is designed to solve a specific problem, in a.
8-1 Compilers Compiler A program that translates a high-level language program into machine code High-level languages provide a richer set of instructions.
1. Introduction Intro Programming in C++ Computer Science Dept Va Tech August, 2002 © Barnette ND & McQuain WD 1 Algorithm:a finite set of instructions.
Final Year Projects Dr. Jeyakesavan Veerasamy Director of CS Senior Design Program University of Texas at Dallas, USA
Good afternoon!. Recursive Algorithms Dr. Jeyakesavan Veerasamy
CS001 Introduction to Programming Day 2 Sujana Jyothi
 Structure charts (last lesson)  Screen and page layout diagrams provide  A sketch of each page (screen) of the program  A list of the content, including.
An “enjoyable” introduction to Programming Dr. Jeyakesavan Veerasamy CS faculty, The University of Texas at Dallas Website:
Programming and Languages Dept. of Computer and Information Science IUPUI.
Algorithms and Pseudocode
STEP 3- DEVELOP AN ALGORITHM At this stage we break down the problem into simple manageable steps so that they can be handled easily.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
Pseudocode. Algorithm A procedure for solving a problem in terms of the actions to be executed and the order in which those actions are to be executed.
Introduction to Problem Solving Programming is a problem solving activity. When you write a program, you are actually writing an instruction for the computer.
Background Since 2002, our school has developed our school based curriculum.
Program design Program Design Process has 2 phases:
Topic: Introduction to Computing Science and Programming + Algorithm
GC101 Introduction to computers and programs
2008/09/22: Lecture 6 CMSC 104, Section 0101 John Y. Park
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Algorithm and Ambiguity
Pseudocode Upsorn Praphamontripong CS 1110 Introduction to Programming
Transition to Code Upsorn Praphamontripong CS 1110
Chapter 2 : Data Flow Diagram
Computer Science Faculty
Algorithm and Ambiguity
CS 240 – Lecture 11 Pseudocode.
Chapter 16 Component-Level Design
Algorithms & Pseudocode
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Introduction to Algorithms and Programming
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
Programs as Directions
Flowcharting & Algorithms
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
ICT Gaming Lesson 2.
Introduction to Programming
Class 4: Repetition Pretest Posttest Counting Flowchart these!
An Introduction to Programming with C++ Fifth Edition
Algorithms, Part 2 of 3 Topics Problem Solving Examples Pseudocode
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Scratch 7B IT 1.
Presentation transcript:

Programming Basics using Real-life examples Dr. Jeyakesavan Veerasamy CS faculty, UT Dallas, USA

What is programming? Translating idea to steps in restricted English langauge Logical Thinking & execution simpler than logic puzzles lot simpler than learning a foreign language Not a cryptic activity Underlying concepts are similar to daily activities Technical Common Sense

Activities Recipe to make your favorite food Assembly instructions for a toy Getting ready in the morning Going from one place to another What is common to all of these? Sequence of steps

More activities Go by car or take the bus? Go for a movie or study? Fly or drive? Carry a lunch-box or get lunch in café? What is common to all of these? Selection / decision / IF statement

Even more activities Eat cookies from a box Answer an exam that has several questions Get a list of items at the grocery store Moving all items from one room to another What is common to all of these? repetition / loop / iteration

Summary All programs have only 3 control structures: Sequence, decision & repetition These are similar to activities we do every day. Problem description High level idea Detailed Pseudocode Implement in specific language Executable program