Visual Programming Week # 10

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

CS 201 Compiler Construction
1 ILP (Recap). 2 Basic Block (BB) ILP is quite small –BB: a straight-line code sequence with no branches in except to the entry and no branches out except.
CS 4432query processing - lecture 161 CS4432: Database Systems II Lecture #16 Join Processing Algorithms Professor Elke A. Rundensteiner.
COMPUTATIONS ON THE SPHEROID. Learning Objectives Calculate  and of a point given  and s from a point with known  and. Calculate  and s between points.
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
The Dot Product Sections 6.7. Objectives Calculate the dot product of two vectors. Calculate the angle between two vectors. Use the dot product to determine.
ENGG 1801 Engineering Computing MATLAB Lecture 7: Tutorial Weeks Solution of nonlinear algebraic equations (II)
Order of Operations Problems. Use Parenthesis in different ways! By inserting zero, one or two pairs of parenthesis, list all the numbers you can make.
computer
Formula? Unit?.  Formula ?  Unit?  Formula?  Unit?
Even more problems.. Mean (average) I need a program that calculates the average of student test scores. I need a program that calculates the average.
CSCI-100 Introduction to Computing
4.4 Slope of a Line. Slope – a measure of how steep a line is. Slope is the ratio of the vertical change to the horizontal change of a non- vertical line.
ITEC 109 Lecture 11 While loops. while loops Review Choices –1 st –2 nd to ?th –Last What happens if you only use ifs? Can you have just an else by itself?
WEEK 1 You have 10 seconds to name…
 In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.  PHP Loops :  In.
Chapter 6 Questions Quick Quiz
The graph shows how questions that I have asked the people around me. Every one that I asked has a cell phone and they text a lot. Most of them text a.
1 CSC103: Introduction to Computer and Programming Lecture No 9.
PHP Condtions and Loops Prepared by Dr. Maher Abuhamdeh.
ECE Application Programming
Basics of Computer Programming
Procedures, Simple Expressions
Visual Programming week # 01
Visual Programming week # 02 APP (Application) Architecture.
week # 03 Visual Programming Variables Canvas Screen Arrangement
Basics of Computer Programming
Basics of Computer Programming
Basics of Computer Programming
Phone: + 40 (728) | +40 (733)
Visual Programming week # 06
Introduction to pseudocode
ENGG 1801 Engineering Computing
Lecture Notes – Week 3 Lecture-2
Physics-based simulation for visual computing applications
סדר דין פלילי – חקיקה ומהות ההליך הפלילי
Global Challenge Night Sensor Lesson 2.
CS-401 Computer Architecture & Assembly Language Programming
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.

Visual Programming Week # 09
Visual Programming Week # 11
Global Challenge Walking for Water Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Using Waits, Loops and Switches
Word Processing.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Week1 software - Lecture outline & Assignments
You must show all steps of your working out.
How Connected Are You To Your Electronic Device?
Algorithms Lecture # 01 Dr. Sohail Aslam.
Question 1.
Visual Programming week # 05 Lists Quiz Tutorial.
Dependent Axis Y Answer Output Range f (x) Function Notation
Visual Programming week # 14 Review for Final Exam.
Visual Programming Week # 13
Visual Programming Week # 07
Visual Programming Week # 12
COMPASS Practice Test 16.
G6DICP - Lecture 5 Control Structures.
Presentation transcript:

Visual Programming Week # 10 Iteration(Loops)

VP Lecture Note by Dr. Hanh Pham Outline Iterations Examples References VP Lecture Note by Dr. Hanh Pham

VP Lecture Note by Dr. Hanh Pham Iteration Iteration = Repeat the SAME blocks LOOP = a set of Blocks which will be repeated Important Question: How & When will we get OUT of the LOOP ? VP Lecture Note by Dr. Hanh Pham

VP Lecture Note by Dr. Hanh Pham Examples of Iteration Example 1: Send the SAME text to many phone numbers Without LOOP With a ForeEACH Loop VP Lecture Note by Dr. Hanh Pham

VP Lecture Note by Dr. Hanh Pham Examples of Iteration Example 2: Display MANY phone numbers With a ForeEACH Loop VP Lecture Note by Dr. Hanh Pham

VP Lecture Note by Dr. Hanh Pham Examples of Iteration Example 3: Display the question-answer pairs from two parallel lists With a WHILE loop VP Lecture Note by Dr. Hanh Pham

VP Lecture Note by Dr. Hanh Pham Examples of Iteration Example 4: Compute a Formula , WHAT will be the OUTPUT ? With a WHILE loop VP Lecture Note by Dr. Hanh Pham