Programming II Vocabulary Review Loops & functions

Slides:



Advertisements
Similar presentations
Copyright © 2002 Pearson Education, Inc. Slide 1.
Advertisements

Chapter 7: User-Defined Functions II
CS0004: Introduction to Programming Repetition – Do Loops.
Chapter 7 - Functions. Functions u Code group that performs single task u Specification refers to what goes into and out of function u Design refers to.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 14 – Student Grades Application: Introducing.
A loop is a repetition control structure. it causes a single statement or block to be executed repeatedly What is a loop?
 2000 Prentice Hall, Inc. All rights reserved. Chapter 5 - Functions Outline 5.1Introduction 5.2Program Modules in C 5.3Math Library Functions 5.4Functions.
Loops Repetition Statements. Repetition statements allow us to execute a statement multiple times Often they are referred to as loops Like conditional.
The switch Statement, DecimalFormat, and Introduction to Looping
Flow of Control. 2 Control Structures Control structure: An instruction that determines the order in which other instructions in a program are executed.
C Functions Programmer-defined functions – Functions written by the programmer to define specific tasks. Functions are invoked by a function call. The.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. C How To Program - 4th edition Deitels Class 05 University.
ASP.NET Programming with C# and SQL Server First Edition Chapter 3 Using Functions, Methods, and Control Structures.
CPS120 Introduction to Computer Science Iteration (Looping)
Project 1 Due Date: September 25 th Quiz 4 is due September 28 th Quiz 5 is due October2th 1.
Dale Roberts Object Oriented Programming using Java - Enumerations Dale Roberts, Lecturer Computer Science, IUPUI Department.
Iterative Constructs Review l What are named constants? Why are they needed? l What is a block? What is special about declaring a variable inside a block?
Slide: 1 Copyright © AdaCore Subprograms Presented by Quentin Ochem university.adacore.com.
CPS120: Introduction to Computer Science Decision Making in Programs.
CPS120: Introduction to Computer Science Functions.
CPS120: Introduction to Computer Science Lecture 14 Functions.
Slide 1 PHP Arrays and User Defined Functions ITWA133.
Chapter 3 Functions, Events, and Control Structures JavaScript, Third Edition.
Refer to Ivor Horton’s Beginning ANSI C++ The Complete Language, 3rd Ed. APress Media, LLC. Loops: Repeating One or More Statements for loop while loop.
JavaScript, Fourth Edition
Chapter 15 JavaScript: Part III The Web Warrior Guide to Web Design Technologies.
CPS120 Introduction to Computer Science Iteration (Looping)
Chapter 6 Questions Quick Quiz
1 Chapter 3: Loops and Logic. 2 Control Statements If statement Example NumberCheck.java Relational operators (, >=, ==, !=) Using code blocks with If.
One Answer, No Answers, or an Infinite Number of Answers.
1 Looping Dale/Weems/Headington. 2 KA/JS/P Warning l Save your work often! l In the Khan Academy, JavaScript environment, infinite loops will lock up.
ITERATION. Iteration Computers are often used to automate repetitive tasks. Repeating identical or similar tasks without making errors is something that.
Repetition Statements (Loops). 2 Introduction to Loops We all know that much of the work a computer does is repeated many times. When a program repeats.
Chapter 7 - Functions. Functions u Code group that performs single task u Specification refers to what goes into and out of function u Design refers to.
Chapter 7 Modularity Using Functions: Part II. A First Book of ANSI C, Fourth Edition 2 Variable Scope If variables created inside a function are available.
 2000 Prentice Hall, Inc. All rights reserved Program Components in C++ Function definitions –Only written once –These statements are hidden from.
Chapter 5: Looping. Using the while Loop Loop – A structure that allows repeated execution of a block of statements Loop body – A block of statements.
Visual Basic 6.0 Final Review
Test 2 Review Outline.
Exam 2 Review.
EasyCode Foundations Vocabulary Terms.
Chapter 3: Decisions and Loops
Iterative Constructs Review
Function There are two types of Function User Defined Function
To Navigate the Slideshow
Chapter 5 - Functions Outline 5.1 Introduction
Chapter 5 - Functions Outline 5.1 Introduction
CLICK HERE TO BEGIN THE GAME!!
Chapter 5 - Functions Outline 5.1 Introduction
Control Structures (Structured Programming) for controlling the procedural aspects of programming CS1110 – Kaminski.
Variables and Expressions
LOOPS BY: LAUREN & ROMEO.
A Question of Maths Instructions: Choose a number to answer a question
Iterative Constructs Review
Chapter 8: More on the Repetition Structure
CPS120: Introduction to Computer Science
Find the reference angle for the angle measuring {image}
1 To go to the next slide, click this button instead. A random slide will come up.
To Navigate the Slideshow
June 2012 Living Environment Regents
January 2013 Living Environment Regents
Function.
Flow of Control.
Vocabulary Memory Cards--Sample
To Navigate the Slideshow
Control Structures (Structured Programming) for controlling the procedural aspects of programming CS1110 – Kaminski.
75 previous answer What is of 37.5? ? go to.
Function.
75 previous answer What is of 60? ? go to.
Presentation transcript:

Programming II Vocabulary Review Loops & functions

A loop within a loop

CHOOSE AN ANSWER BY CLICKING ON IT for loop while loop nested loop

An iteration structure in which iterations continue indefinitely.

CHOOSE AN ANSWER BY CLICKING ON IT Infinite loop Nested loop Do While loop

An iteration structure that repeats a statement or group of statements as long as a control expression is true at the end of the loop.

CHOOSE AN ANSWER BY CLICKING ON IT Do While Loop For Loop While Loop

An iteration structure that repeats one or more statements a specified number of times.

CHOOSE AN ANSWER BY CLICKING ON IT Do While Loop For Loop While Loop

An iteration structure that repeats a statement or group of statements as long as a control expression is true.

CHOOSE AN ANSWER BY CLICKING ON IT While Loop Do While Loop For Loop

A variable declared within a function which is accessible only within that function.

CHOOSE AN ANSWER BY CLICKING ON IT Global Variable Local Variable Constant

A statement that defines the function for the compiler.

CHOOSE AN ANSWER BY CLICKING ON IT prototype identifier function

The availability of a variable to functions.

CHOOSE AN ANSWER BY CLICKING ON IT data type constants scope

Data passed to a function.

CHOOSE AN ANSWER BY CLICKING ON IT scope argument data

Functions that come with your compiler.

CHOOSE AN ANSWER BY CLICKING ON IT programmer-defined functions library functions book functions

The End

Click the BUTTON to return to previous slide!! Sorry Charlie!!! Click the BUTTON to return to previous slide!!

Click the BUTTON to return to previous slide!! WOO HOO! YOU’RE RIGHT! Click the BUTTON to return to previous slide!!