Program Control Structures. C++ Control Structures Logical Operators Selection Repetition

Size: px
Start display at page:

Download "Program Control Structures. C++ Control Structures Logical Operators Selection Repetition"

Transcription

1 Prgram Cntrl Structures C++ Cntrl Structures Lgical Operatrs Selectin Repetitin

2 Essential Structures Simple Statements Cmpund Statements {statement statement... Selectin Statements e.g. cut << Name: << Student; If, if else, switch Repetitin Statements while, fr, d while

3 Simple Statements: Executed in Order #include <istream> using namespace std; statement int main(){ char input; statement shrt val; cut << "Enter a keybard character" << endl; cin >> input; val=input; cut << "The numerical value fr " << input << " is " << val << endl; // A statement can extend t mre than ne line return 0;

4 Cmpund Statements A grup f statements that can substitute fr a simpe statement (see if, if-else, etc) { cut << "Enter a keybard character" << endl; cin >> input; val=input; cut << "The numerical value fr " << input << " is " << val << endl; // A statement can extend t mre than ne line return 0;

5 If Statement If (cnditin) statement If the cnditin is execute the statement; therwise skip (d nt execute) the statement. If (value > 5) value=value-5; If (errr) { cut << A majr errr has ccurred. ; cut << Exiting Prgram << endl; return 1;

6 If-else Statement If (cnditin) statement1 else statement2; If the cnditin is statement1 is executed; therwise statement2 is executed. if (crate <= MAXCO) cut << "meets "; else cut << "exceeds ";

7 If-else with cmpund statements Determine if a number is between -7 and -3 r if it is between 1 and 5 If number is negative Check if it is between -7 and -3 If number is < -7 cmplain and quit else If number is <=-3 give thanks else cmplain and quit Otherwise check if it is between 1 and 5 If number is > 5 cmplain and quit Else If number is >=1 give thanks else cmplain and quit

8 If-else with cmpund statements Determine if a number is between -7 and -3 r if it is between 1 and 5 If number is negative //Check if it is between -7 and -3 If (number is < -7) {cmplain and quit else If (number is <=-3) give thanks else { cmplain and quit else //check if it is between 1 and 5 If (number is > 5) {cmplain and quit else If (number is >= 1) give thanks else {cmplain and quit

9 If-else with cmpund statements Determine if a number is between -7 and -3 r if it is between 1 and 5 If (number < 0){ //verify number between -7 and -3 else{ //the number is greater than 0, verify it is between 1 and 5

10 If-else with cmpund statements Determine if a number is between -7 and -3 r if it is between 1 and 5 If (number < 0){ //verify number between -7 and -3 if (number < -7){ //number is at least -7. //need t ckeck if it is less equal t -3 else{ else{ //the number is greater than 0, verify it is between 1 and 5

11 If-else with cmpund statements Determine if a number is between -7 and -3 r if it is between 1 and 5 If (number < 0){ //number <0, verify number between -7 and -3 if (number < -7){ //number <-7 cmplain; exit; else{ if (number <= -3) { //number >=-7, verify <= -3 give thanks else { cmplain and quit else{ //the number is greater than 0, verify it is between 1 and 5 Clr Anntated prgram

12 Cvered Later Selectin Statement switch Repetitin Statement fr Repetitin Statement d-while

13 Repetitin What is the number f dts in a triangle with n levels? = (2*1-1) +(2*2-1)+... level=1; sum=0; while (level <= n) sum =sum + 2*level-1 level=level+1;

14 Mre Repetitin Instead f bailing ut when a user enters a incrrect number, repeatedly explain the mistake and ask again fr a number bad_n=; while (bad_n){ prmpt fr number; get number; if (number crrect) bad_n=;

15 Cnditins <, <=, >, >=,==,!= 4 == is 4!= 2 is 'a' < 'b' is (the ASCII cde is arranged s that letter cmparisns cnfrm t alphabetical rder) '0' > '1' is. (the ASCII cde is arranged s that digit cmparisns cnfrm t numerical rder)

16 Lgical Operatrs &&,,! and, r, nt A B A && B A B!A!B

17 Using Lgical Operatin A number num is between -7 and -3 A number num is between 1 and 5 (num >= 1) && (num <= 5) A number num is eithter between -7 and -3 r between 1 and 5 (num >= -7) && (num <= -3) ((num >= -7) && (num <= -3)) ((num >= 1) && (num <= 5)) Better versin f previus prgram.

18 Lgical Operatr Precedence There is an established precedence fr lgical peratrs. But using parentheses is saver.

19 Exercises Sectin 3.2, #1 Sectin 3.4, #1

20 Hmewrk (due 9/28 befre class) Prgramming Prject, pg 105, #1 Alter the prgram ifelse3.cpp s that it repeats the request t enter a number until the user gets it crrect. Hand in: t ruttan@cs.kent.edu with the subject: Submissin Hmewrk 1

DECISION CONTROL CONSTRUCTS IN JAVA

DECISION CONTROL CONSTRUCTS IN JAVA DECISION CONTROL CONSTRUCTS IN JAVA Decisin cntrl statements can change the executin flw f a prgram. Decisin cntrl statements in Java are: if statement Cnditinal peratr switch statement If statement The

More information

EASTERN ARIZONA COLLEGE Java Programming I

EASTERN ARIZONA COLLEGE Java Programming I EASTERN ARIZONA COLLEGE Java Prgramming I Curse Design 2011-2012 Curse Infrmatin Divisin Business Curse Number CMP 126 Title Java Prgramming I Credits 3 Develped by Jeff Baer Lecture/Lab Rati 2 Lecture/2

More information

CS1150 Principles of Computer Science Midterm Review

CS1150 Principles of Computer Science Midterm Review CS1150 Principles f Cmputer Science Midterm Review Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Office hurs 10/15, Mnday, 12:05 12:50pm 10/17, Wednesday

More information

Project #1 - Fraction Calculator

Project #1 - Fraction Calculator AP Cmputer Science Liberty High Schl Prject #1 - Fractin Calculatr Students will implement a basic calculatr that handles fractins. 1. Required Behavir and Grading Scheme (100 pints ttal) Criteria Pints

More information

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II)

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II) CS1150 Principles f Cmputer Science Blean, Selectin Statements (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 Review What s the scientific ntatin f 9,200,000?

More information

Ascii Art Capstone project in C

Ascii Art Capstone project in C Ascii Art Capstne prject in C CSSE 120 Intrductin t Sftware Develpment (Rbtics) Spring 2010-2011 Hw t begin the Ascii Art prject Page 1 Prceed as fllws, in the rder listed. 1. If yu have nt dne s already,

More information

COP2800 Homework #3 Assignment Spring 2013

COP2800 Homework #3 Assignment Spring 2013 YOUR NAME: DATE: LAST FOUR DIGITS OF YOUR UF-ID: Please Print Clearly (Blck Letters) YOUR PARTNER S NAME: DATE: LAST FOUR DIGITS OF PARTNER S UF-ID: Please Print Clearly Date Assigned: 15 February 2013

More information

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II)

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II) CS1150 Principles f Cmputer Science Blean, Selectin Statements (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 Review What s the scientific ntatin f 9,200,000?

More information

CS1150 Principles of Computer Science Loops

CS1150 Principles of Computer Science Loops CS1150 Principles f Cmputer Science Lps Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Annuncement HW1 graded HW2 due tnight HW3 will be psted sn Due

More information

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as:

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as: Relatinal Operatrs, and the If Statement 9/18/06 CS150 Intrductin t Cmputer Science 1 1 9.1 Cmbined Assignments Last time we discvered cmbined assignments such as: a /= b + c; Which f the fllwing lng frms

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 1 - Calculatr Intrductin In this lab yu will be writing yur first

More information

CS1150 Principles of Computer Science Methods

CS1150 Principles of Computer Science Methods CS1150 Principles f Cmputer Science Methds Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Opening Prblem Find the sum f integers frm 1 t 10, frm 20

More information

Unit 7. 'while' Loops

Unit 7. 'while' Loops 1 Unit 7 'while' Loops 2 Control Structures We need ways of making decisions in our program To repeat code until we want it to stop To only execute certain code if a condition is true To execute one segment

More information

Access the site directly by navigating to in your web browser.

Access the site directly by navigating to   in your web browser. GENERAL QUESTIONS Hw d I access the nline reprting system? Yu can access the nline system in ne f tw ways. G t the IHCDA website at https://www.in.gv/myihcda/rhtc.htm and scrll dwn the page t Cmpliance

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2013 Lab 1 - Calculatr Intrductin Reading Cncepts In this lab yu will be

More information

Automatic imposition version 5

Automatic imposition version 5 Autmatic impsitin v.5 Page 1/9 Autmatic impsitin versin 5 Descriptin Autmatic impsitin will d the mst cmmn impsitins fr yur digital printer. It will autmatically d flders fr A3, A4, A5 r US Letter page

More information

What s New in Banner 9 Admin Pages: Differences from Banner 8 INB Forms

What s New in Banner 9 Admin Pages: Differences from Banner 8 INB Forms 1 What s New in Banner 9 Admin Pages: Differences frm Banner 8 INB Frms Majr Changes: Banner gt a face-lift! Yur hme page is called Applicatin Navigatr and is the entry/launch pint t all pages Banner is

More information

Chapter 10: Information System Controls for System Reliability Part 3: Processing Integrity and Availability

Chapter 10: Information System Controls for System Reliability Part 3: Processing Integrity and Availability Chapter 10: Infrmatin System Cntrls fr System Reliability Part 3: Prcessing Integrity and Availability Cntrls Ensuring Prcessing Integrity Input Prcess Output Input Cntrls Garbage-in Garbage-ut Frm Design

More information

Reading and writing data in files

Reading and writing data in files Reading and writing data in files It is ften very useful t stre data in a file n disk fr later reference. But hw des ne put it there, and hw des ne read it back? Each prgramming language has its wn peculiar

More information

TRAINING GUIDE. Overview of Lucity Spatial

TRAINING GUIDE. Overview of Lucity Spatial TRAINING GUIDE Overview f Lucity Spatial Overview f Lucity Spatial In this sessin, we ll cver the key cmpnents f Lucity Spatial. Table f Cntents Lucity Spatial... 2 Requirements... 2 Setup... 3 Assign

More information

EASTERN ARIZONA COLLEGE Visual Basic Programming I

EASTERN ARIZONA COLLEGE Visual Basic Programming I EASTERN ARIZONA COLLEGE Visual Basic Prgramming I Curse Design 2015-2016 Curse Infrmatin Divisin Business Curse Number CMP 121 Title Visual Basic Prgramming I Credits 3 Develped by Lydia Mata Lecture/Lab

More information

Test Pilot User Guide

Test Pilot User Guide Test Pilt User Guide Adapted frm http://www.clearlearning.cm Accessing Assessments and Surveys Test Pilt assessments and surveys are designed t be delivered t anyne using a standard web brwser and thus

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Querying Data with Transact SQL Curse Cde: 20761 Certificatin Exam: 70-761 Duratin: 5 Days Certificatin Track: MCSA: SQL 2016 Database Develpment Frmat: Classrm Level: 200 Abut this curse: This curse is

More information

Relius Documents ASP Checklist Entry

Relius Documents ASP Checklist Entry Relius Dcuments ASP Checklist Entry Overview Checklist Entry is the main data entry interface fr the Relius Dcuments ASP system. The data that is cllected within this prgram is used primarily t build dcuments,

More information

Primitive Types and Methods. Reference Types and Methods. Review: Methods and Reference Types

Primitive Types and Methods. Reference Types and Methods. Review: Methods and Reference Types Primitive Types and Methds Java uses what is called pass-by-value semantics fr methd calls When we call a methd with input parameters, the value f that parameter is cpied and passed alng, nt the riginal

More information

Mathematical Functions, Characters, and Strings. APSC 160 Chapter 4

Mathematical Functions, Characters, and Strings. APSC 160 Chapter 4 Mathematical Functins, Characters, and Strings APSC 160 Chapter 4 1 Objectives T slve mathematics prblems by using the C++ mathematical functins (4.2) T represent characters using the char type (4.3) T

More information

Lab 4. Name: Checked: Objectives:

Lab 4. Name: Checked: Objectives: Lab 4 Name: Checked: Objectives: Learn hw t test cde snippets interactively. Learn abut the Java API Practice using Randm, Math, and String methds and assrted ther methds frm the Java API Part A. Use jgrasp

More information

HOW TO REGISTER FOR THE TEAS ASSESSMENT 1. CREATE A NEW ACCOUNT. How to Register for the TEAS Assessment 1

HOW TO REGISTER FOR THE TEAS ASSESSMENT 1. CREATE A NEW ACCOUNT. How to Register for the TEAS Assessment 1 Hw t Register fr the TEAS Assessment 1 1. CREATE A NEW ACCOUNT HOW TO REGISTER FOR THE TEAS ASSESSMENT If yu are nt a current user n www.atitesting.cm, yu must create a new accunt t access the student

More information

COURSE DIRECTIVES FOR FACULTY

COURSE DIRECTIVES FOR FACULTY PURPOSE COURSE DIRECTIVES FOR FACULTY This dcument will demnstrate hw t create a Curse Directive fr a university curse r a transfer curse. It will als demnstrate hw t direct multiple curses t the same

More information

Course 10262A: Developing Windows Applications with Microsoft Visual Studio 2010 OVERVIEW

Course 10262A: Developing Windows Applications with Microsoft Visual Studio 2010 OVERVIEW Curse 10262A: Develping Windws Applicatins with Micrsft Visual Studi 2010 OVERVIEW Abut this Curse In this curse, experienced develpers wh knw the basics f Windws Frms develpment gain mre advanced Windws

More information

Adverse Action Letters

Adverse Action Letters Adverse Actin Letters Setup and Usage Instructins The FRS Adverse Actin Letter mdule was designed t prvide yu with a very elabrate and sphisticated slutin t help autmate and handle all f yur Adverse Actin

More information

Uploading Files with Multiple Loans

Uploading Files with Multiple Loans Uplading Files with Multiple Lans Descriptin & Purpse Reprting Methds References Per the MHA Handbk, servicers are required t prvide peridic lan level data fr activity related t the Making Hme Affrdable

More information

Protocol Insight UFS Test Executive Key Features and Benefits Deep packet inspection performed with a unique protocol-aware Rule Checker engine

Protocol Insight UFS Test Executive Key Features and Benefits Deep packet inspection performed with a unique protocol-aware Rule Checker engine Prtcl Insight UFS Test Executive UFS20COMP Test Executive prvides cmplete prtcl debug and analysis f UFS devices, including deep packet inspectin, stress testing, custm test case executin, and CTS and

More information

RxAXIS Security Module 09/25/2013

RxAXIS Security Module 09/25/2013 RxAXIS Security Mdule 09/25/2013 Lessn Title Intrductin: Security Mdule In this tutrial we are ging t lk at the Security Maintenance Mdule f the RxAXIS system. When used, this system gives emplyees access

More information

- Replacement of a single statement with a sequence of statements(promotes regularity)

- Replacement of a single statement with a sequence of statements(promotes regularity) ALGOL - Java and C built using ALGOL 60 - Simple and cncise and elegance - Universal - Clse as pssible t mathematical ntatin - Language can describe the algrithms - Mechanically translatable t machine

More information

Constituent Page Upgrade Utility for Blackbaud CRM

Constituent Page Upgrade Utility for Blackbaud CRM Cnstituent Page Upgrade Utility fr Blackbaud CRM In versin 4.0, we made several enhancements and added new features t cnstituent pages. We replaced the cnstituent summary with interactive summary tiles.

More information

TRAINING GUIDE. Lucity Mobile

TRAINING GUIDE. Lucity Mobile TRAINING GUIDE The Lucity mbile app gives users the pwer f the Lucity tls while in the field. They can lkup asset infrmatin, review and create wrk rders, create inspectins, and many mre things. This manual

More information

SOLA and Lifecycle Manager Integration Guide

SOLA and Lifecycle Manager Integration Guide SOLA and Lifecycle Manager Integratin Guide SOLA and Lifecycle Manager Integratin Guide Versin: 7.0 July, 2015 Cpyright Cpyright 2015 Akana, Inc. All rights reserved. Trademarks All prduct and cmpany names

More information

Step- by- Step Instructions for Adding a HotPot Activity 1. Click the Turn editing on button on the course home page.

Step- by- Step Instructions for Adding a HotPot Activity 1. Click the Turn editing on button on the course home page. 1 Adding a Ht Ptates Activity Ht Ptates (versin 6.3 fr Windws, and versin 6.1 fr Java) has been a mainstay in develping interactive nline activities in language training fr mre than 10 years. The HtPt

More information

MOS Access 2013 Quick Reference

MOS Access 2013 Quick Reference MOS Access 2013 Quick Reference Exam 77-424: MOS Access 2013 Objectives http://www.micrsft.cm/learning/en-us/exam.aspx?id=77-424 Create and Manage a Database Create a New Database This bjective may include

More information

Laboratory #13: Trigger

Laboratory #13: Trigger Schl f Infrmatin and Cmputer Technlgy Sirindhrn Internatinal Institute f Technlgy Thammasat University ITS351 Database Prgramming Labratry Labratry #13: Trigger Objective: - T learn build in trigger in

More information

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C Due: July 9 (Sun) 11:59 pm 1. Prblem A Subject: Structure declaratin, initializatin and assignment. Structure

More information

Access 2000 Queries Tips & Techniques

Access 2000 Queries Tips & Techniques Access 2000 Queries Tips & Techniques Query Basics The query is the basic tl that Access prvides fr retrieving infrmatin frm yur database. Each query functins like a questin that can be asked immediately

More information

Why Is Repetition Needed?

Why Is Repetition Needed? Why Is Repetition Needed? Repetition allows efficient use of variables. It lets you process many values using a small number of variables. For example, to add five numbers: Inefficient way: Declare a variable

More information

BI Publisher TEMPLATE Tutorial

BI Publisher TEMPLATE Tutorial PepleSft Campus Slutins 9.0 BI Publisher TEMPLATE Tutrial Lessn T2 Create, Frmat and View a Simple Reprt Using an Existing Query with Real Data This tutrial assumes that yu have cmpleted BI Publisher Tutrial:

More information

How to Mass Assign Student Course Requests

How to Mass Assign Student Course Requests Hw t Mass Assign Student Curse Requests It is pssible that an entire grade level r grup f students will need t request the same curse r curses. If this is the case, yu have the ptin f mass assigning curse

More information

THE INTEGER DATA TYPES. Laura Marik Spring 2012 C++ Course Notes (Provided by Jason Minski)

THE INTEGER DATA TYPES. Laura Marik Spring 2012 C++ Course Notes (Provided by Jason Minski) THE INTEGER DATA TYPES STORAGE OF INTEGER TYPES IN MEMORY All data types are stored in binary in memory. The type that you give a value indicates to the machine what encoding to use to store the data in

More information

LAB 4.1 Relational Operators and the if Statement

LAB 4.1 Relational Operators and the if Statement LAB 4.1 Relational Operators and the if Statement // This program tests whether or not an initialized value of num2 // is equal to a value of num1 input by the user. int main( ) int num1, // num1 is not

More information

STIDistrict AL Rollover Procedures

STIDistrict AL Rollover Procedures 2009-2010 STIDistrict AL Rllver Prcedures General Infrmatin abut STIDistrict Rllver IMPORTANT NOTE! Rllver shuld be perfrmed between June 25 and July 25 2010. During this perid, the STIState applicatin

More information

Programming Project: Building a Web Server

Programming Project: Building a Web Server Prgramming Prject: Building a Web Server Submissin Instructin: Grup prject Submit yur cde thrugh Bb by Dec. 8, 2014 11:59 PM. Yu need t generate a simple index.html page displaying all yur grup members

More information

Chapter 5: Control Structures II (Repetition) Objectives (cont d.) Objectives. while Looping (Repetition) Structure. Why Is Repetition Needed?

Chapter 5: Control Structures II (Repetition) Objectives (cont d.) Objectives. while Looping (Repetition) Structure. Why Is Repetition Needed? Chapter 5: Control Structures II (Repetition) Objectives In this chapter, you will: Learn about repetition (looping) control structures Explore how to construct and use countercontrolled, sentinel-controlled,

More information

The Java if statement is used to test the condition. It checks Boolean condition: true or false. There are various types of if statement in java.

The Java if statement is used to test the condition. It checks Boolean condition: true or false. There are various types of if statement in java. Java If-else Statement The Java if statement is used t test the cnditin. It checks Blean cnditin: true r false. There are varius types f if statement in java. if statement if-else statement if-else-if

More information

Introduction to Oracle Business Intelligence Enterprise Edition: OBIEE Answers 11g

Introduction to Oracle Business Intelligence Enterprise Edition: OBIEE Answers 11g Intrductin t Oracle Business Intelligence Enterprise Editin: OBIEE Answers 11g Crnell Custmized Versin April 2012 Minr crrectins were made n page 2, fr the Oct 20, 2017 OBIEE 12c Upgrade April, 2012 All

More information

State Assessment Program Indiana Released Items Repository Quick Guide

State Assessment Program Indiana Released Items Repository Quick Guide State Assessment Prgram Indiana Released Items Repsitry Quick Guide 2018 2019 Published December 10, 2018 Prepared by the American Institutes fr Research Released Items Repsitry Intrductin This guide prvides

More information

Token Guide for RB-1. with. BlackShield ID. Copyright 2009 CRYPTOCard Inc.

Token Guide for RB-1. with. BlackShield ID. Copyright 2009 CRYPTOCard Inc. Tken Guide fr RB-1 with BlackShield ID Cpyright 2009 CRYPTOCard Inc. www.cryptcard.cm http:// Cpyright Cpyright 2008, CRYPTOCard All Rights Reserved. N part f this publicatin may be reprduced, transmitted,

More information

1 Binary Trees and Adaptive Data Compression

1 Binary Trees and Adaptive Data Compression University f Illinis at Chicag CS 202: Data Structures and Discrete Mathematics II Handut 5 Prfessr Rbert H. Slan September 18, 2002 A Little Bttle... with the wrds DRINK ME, (r Adaptive data cmpressin

More information

3/12/2018. Structures. Programming in C++ Sequential Branching Repeating. Loops (Repetition)

3/12/2018. Structures. Programming in C++ Sequential Branching Repeating. Loops (Repetition) Structures Programming in C++ Sequential Branching Repeating Loops (Repetition) 2 1 Loops Repetition is referred to the ability of repeating a statement or a set of statements as many times this is necessary.

More information

Objectives. Topic 8: Input, Interaction, & Introduction to callbacks. Input Devices. Project Sketchpad. Introduce the basic input devices

Objectives. Topic 8: Input, Interaction, & Introduction to callbacks. Input Devices. Project Sketchpad. Introduce the basic input devices Tpic 8 Input, Interactin, & Intr. t Callbacks Tpic 8: Input, Interactin, & Intrductin t callbacks Tpic 8 Input, Interactin, & Intr. t Callbacks Objectives Intrduce the basic input devices Physical Devices

More information

Iteration Part 2. Review: Iteration [Part 1] Flow charts for two loop constructs. Review: Syntax of loops. while continuation_condition : statement1

Iteration Part 2. Review: Iteration [Part 1] Flow charts for two loop constructs. Review: Syntax of loops. while continuation_condition : statement1 Review: Iteratin [Part 1] Iteratin Part 2 CS111 Cmputer Prgramming Department f Cmputer Science Wellesley Cllege Iteratin is the repeated executin f a set f statements until a stpping cnditin is reached.

More information

Multiple Choice (Questions 1 13) 26 Points Select all correct answers (multiple correct answers are possible)

Multiple Choice (Questions 1 13) 26 Points Select all correct answers (multiple correct answers are possible) Name Closed notes, book and neighbor. If you have any questions ask them. Notes: Segment of code necessary C++ statements to perform the action described not a complete program Program a complete C++ program

More information

CSCI L Topics in Computing Fall 2018 Web Page Project 50 points

CSCI L Topics in Computing Fall 2018 Web Page Project 50 points CSCI 1100-1100L Tpics in Cmputing Fall 2018 Web Page Prject 50 pints Assignment Objectives: Lkup and crrectly use HTML tags in designing a persnal Web page Lkup and crrectly use CSS styles Use a simple

More information

CS1150 Principles of Computer Science Methods

CS1150 Principles of Computer Science Methods CS1150 Principles f Cmputer Science Methds Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Passing Parameters public static vid nprintln(string message,

More information

Arius 3.0. Release Notes and Installation Instructions. Milliman, Inc Peachtree Road, NE Suite 1900 Atlanta, GA USA

Arius 3.0. Release Notes and Installation Instructions. Milliman, Inc Peachtree Road, NE Suite 1900 Atlanta, GA USA Release Ntes and Installatin Instructins Milliman, Inc. 3424 Peachtree Rad, NE Suite 1900 Atlanta, GA 30326 USA Tel +1 800 404 2276 Fax +1 404 237 6984 actuarialsftware.cm 1. Release ntes Release 3.0 adds

More information

INFocus Health Screenings Report

INFocus Health Screenings Report INFcus Health Screenings Reprt Abut This Reprt This reprt will shw health screenings by schl fr a selected schl(s) and screening(s) between a specified date ranges. Quick Reference Guide STI_0529131310

More information

Manual Before/After Images V2.14

Manual Before/After Images V2.14 Manual Befre/After Images V2.14 Table f Cntents Manual Befre/After Images V2.14 1. Main windw... 2 1.1 Tab Preparatins... 2 1.1.1 Select image... 5 1.2 Tab Preview... 5 1.3 Tab Strage... 7 1.3.1 Sharpen...

More information

Reading from and Writing to Files. Files (3.12) Steps to Using Files. Section 3.12 & 13.1 & Data stored in variables is temporary

Reading from and Writing to Files. Files (3.12) Steps to Using Files. Section 3.12 & 13.1 & Data stored in variables is temporary Reading from and Writing to Files Section 3.12 & 13.1 & 13.5 11/3/08 CS150 Introduction to Computer Science 1 1 Files (3.12) Data stored in variables is temporary We will learn how to write programs that

More information

1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol.

1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol. 1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol. B. Outputs to the console a floating point number f1 in scientific format

More information

COP 2000 Note Framework Chapter 5 - Repetition Page 1

COP 2000 Note Framework Chapter 5 - Repetition Page 1 COP 2000 Note Framework Chapter 5 - Repetition Page 1 The programming approach in which all problems are broken down using only three simple control structures, each of which has only one starting point

More information

CS1150 Principles of Computer Science Final Review

CS1150 Principles of Computer Science Final Review CS1150 Principles f Cmputer Science Final Review Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Numerical Data Types Name Range Strage Size byte 2 7

More information

Max 8/16 and T1/E1 Gateway, Version FAQs

Max 8/16 and T1/E1 Gateway, Version FAQs Frequently Asked Questins Max 8/16 and T1/E1 Gateway, Versin 1.5.10 FAQs The FAQs have been categrized int the fllwing tpics: Calling Calling Cmpatibility Cnfiguratin Faxing Functinality Glssary Q. When

More information

PaperStream Capture change history

PaperStream Capture change history PaperStream Capture change histry Versin 2.0.1 New features: 1. Ad hc scan is added, which allws yu t mdify sme f the settings (scanner setting, destinatin setting, etc.) extempre and scan withut changing

More information

Frequently Asked Questions Read and follow all instructions for success!

Frequently Asked Questions Read and follow all instructions for success! Frequently Asked Questins Read and fllw all instructins fr success! Last Updated December 2016. Visit mccartheydressman.rg and click HELP fr updates Apr 16 Jan 14 PREPARE Jan 15 - Apr 15 SUBMIT READ all

More information

Code should compile and demonstrate proper programming style; e.g., whitespace, identifier naming, etc.

Code should compile and demonstrate proper programming style; e.g., whitespace, identifier naming, etc. Name: E-mail ID: On my hnr, I pledge that I have neither given nr received help n this test. Signature: Test rules and infrmatin Print yur name, id, and pledge as requested. The nly paper yu can have in

More information

Re-Flashing Your CDM-760 Advanced High-Speed Trunking Modem

Re-Flashing Your CDM-760 Advanced High-Speed Trunking Modem Re-Flashing Yur CDM-760 Advanced High-Speed Trunking Mdem I. Intrductin: Firmware Files, Naming, Versins, and Frmats Make sure t perate the CDM-760 with its latest available firmware. Befre attempting

More information

Author guide to submission and publication

Author guide to submission and publication Authr guide t submissin and publicatin Cntents Cntents... 1 Preparing an article fr submissin... 1 Hw d I submit my article?... 1 The decisin prcess after submissin... 2 Reviewing... 2 First decisin...

More information

JavaScript for Developers

JavaScript for Developers Curse Cde: 55244 Certificatin Exam: N/A Duratin: 5 Days Certificatin Track: N/A Frmat: Classrm Level: 200 Abut this curse: This five-day instructr-led is an in depth hands-n study f JavaScript. The curse

More information

Purchase Order Approvals Workflow Guide

Purchase Order Approvals Workflow Guide Purchase Order Apprvals Wrkflw Guide Purchase Order Apprvals may nw be activated fr use with Webvantage Purchase Orders nly. Setup and activatin is dne in Advantage Maintenance. This dcument describes

More information

Quick start guide: Working in Transit NXT with a PPF

Quick start guide: Working in Transit NXT with a PPF Quick start guide: Wrking in Transit NXT with a PPF STAR UK Limited Cntents What is a PPF?... 3 What are language pairs?... 3 Hw d I pen the PPF?... 3 Hw d I translate in Transit NXT?... 6 What is a fuzzy

More information

CMC Blade BIOS Profile Cloning

CMC Blade BIOS Profile Cloning This white paper describes the detailed capabilities f the Chassis Management Cntrller s Blade BIOS Prfile Clning feature. Authr Crey Farrar This dcument is fr infrmatinal purpses nly and may cntain typgraphical

More information

ISTE-608 Test Out Written Exam and Practical Exam Study Guide

ISTE-608 Test Out Written Exam and Practical Exam Study Guide PAGE 1 OF 9 ISTE-608 Test Out Written Exam and Practical Exam Study Guide Written Exam: The written exam will be in the frmat f multiple chice, true/false, matching, shrt answer, and applied questins (ex.

More information

Student Handbook for E*Value

Student Handbook for E*Value Student Handbk fr E*Value The E*Value sftware prgram will be used thrughut yur fieldwrk experiences t find ut where yu re scheduled, wh yur fieldwrk educatr will be, t lg yur hurs, and t cmplete all required

More information

Chapter 3 Stack. Books: ISRD Group New Delhi Data structure Using C

Chapter 3 Stack. Books: ISRD Group New Delhi Data structure Using C C302.3 Develp prgrams using cncept f stack. Bks: ISRD Grup New Delhi Data structure Using C Tata McGraw Hill What is Stack Data Structure? Stack is an abstract data type with a bunded(predefined) capacity.

More information

Lesson 4 Advanced Transforms

Lesson 4 Advanced Transforms Lessn 4 Advanced Transfrms Chapter 4B Extract, Split and replace 10 Minutes Chapter Gals In this Chapter, yu will: Understand hw t use the fllwing transfrms: Replace Extract Split Chapter Instructins YOUR

More information

Team Members Web Part Sharepoint 2010 Version

Team Members Web Part Sharepoint 2010 Version Team Members Web Part Sharepint 2010 Versin AMREIN ENGINEERING AG Versin 1.0 August 2011 Descriptin The Team Members Directry Web Part reads the user entries frm the Sharepint User Prfile Stre and displays

More information

Imagine for MSDNAA Student SetUp Instructions

Imagine for MSDNAA Student SetUp Instructions Imagine fr MSDNAA Student SetUp Instructins --2016-- September 2016 Genesee Cmmunity Cllege 2004. Micrsft and MSDN Academic Alliance are registered trademarks f Micrsft Crpratin. All rights reserved. ELMS

More information

do { statements } while (condition);

do { statements } while (condition); Topic 4 1. The while loop 2. Problem solving: hand-tracing 3. The for loop 4. The do loop 5. Processing input 6. Problem solving: storyboards 7. Common loop algorithms 8. Nested loops 9. Problem solving:

More information

Engineering Development Group

Engineering Development Group Engineering Develpment Grup DarkSeaSkies 1.0 User Manual Rev. New 26 January 2009 CL BY: 2348366 CL REASON: 1.4(c) DECL ON: 20331105 DRV FROM: COL S-06 Change Lg Dc Dc Rev Change Descriptin Reference Authrity/

More information

STIOffice Lockers. Locker Master List. Go to Utilities Locker Management Locker Master List. Check the Cycle box and click Insert.

STIOffice Lockers. Locker Master List. Go to Utilities Locker Management Locker Master List. Check the Cycle box and click Insert. STIOffice Lckers Lcker Management This utility is used t maintain recrds f lckers (including lcatins, lcker numbers and cmbinatins where applicable) and t assign lckers t students when necessary. All lckers

More information

REPETITION CONTROL STRUCTURE LOGO

REPETITION CONTROL STRUCTURE LOGO CSC 128: FUNDAMENTALS OF COMPUTER PROBLEM SOLVING REPETITION CONTROL STRUCTURE 1 Contents 1 Introduction 2 for loop 3 while loop 4 do while loop 2 Introduction It is used when a statement or a block of

More information

The programming for this lab is done in Java and requires the use of Java datagrams.

The programming for this lab is done in Java and requires the use of Java datagrams. Lab 2 Traffic Regulatin This lab must be cmpleted individually Purpse f this lab: In this lab yu will build (prgram) a netwrk element fr traffic regulatin, called a leaky bucket, that runs ver a real netwrk.

More information

Summary. Server environment: Subversion 1.4.6

Summary. Server environment: Subversion 1.4.6 Surce Management Tl Server Envirnment Operatin Summary In the e- gvernment standard framewrk, Subversin, an pen surce, is used as the surce management tl fr develpment envirnment. Subversin (SVN, versin

More information

Chalkable Classroom Lesson Plans

Chalkable Classroom Lesson Plans Chalkable Classrm Lessn Plans Creating a Lessn Plan Lessn Plans are created as items in Chalkable Classrm. Nte: Lessn plans were created as activities in InfrmatinNOW Grade Bk. Refer t the Chalkable Classrm

More information

LeClair Lab Fluorender Protocol 2014

LeClair Lab Fluorender Protocol 2014 3. Using Flurender This prtcl reviews a few f the basic tls fr Flurender visualizatin, including: 1. Psitining the Image Rendered 2. Chsing the Render View mde 3. Adjusting Each Layer 4. Clipping the Vlume

More information

Score score < score < score < 65 Score < 50

Score score < score < score < 65 Score < 50 What if we need to write a code segment to assign letter grades based on exam scores according to the following rules. Write this using if-only. How to use if-else correctly in this example? score Score

More information

BANNER BASICS. What is Banner? Banner Environment. My Banner. Pages. What is it? What form do you use? Steps to create a personal menu

BANNER BASICS. What is Banner? Banner Environment. My Banner. Pages. What is it? What form do you use? Steps to create a personal menu BANNER BASICS What is Banner? Definitin Prduct Mdules Self-Service-Fish R Net Lg int Banner Banner Envirnment The Main Windw My Banner Pages What is it? What frm d yu use? Steps t create a persnal menu

More information

Secure File Transfer Protocol (SFTP) Interface for Data Intake User Guide

Secure File Transfer Protocol (SFTP) Interface for Data Intake User Guide Secure File Transfer Prtcl (SFTP) Interface fr Data Intake User Guide Cntents Descriptin... 2 Steps fr firms new t batch submissin... 2 Acquiring necessary FINRA accunts... 2 SFTP Access t FINRA... 2 SFTP

More information

Chapter 3 Problem Solving and the Computer

Chapter 3 Problem Solving and the Computer Chapter 3 Problem Solving and the Computer An algorithm is a step-by-step operations that the CPU must execute in order to solve a problem, or to perform that task. A program is the specification of an

More information

Superior University. Department of Electrical Engineering CS-115. Computing Fundamentals. Experiment No.7. User Defined Functions II

Superior University. Department of Electrical Engineering CS-115. Computing Fundamentals. Experiment No.7. User Defined Functions II Superior University Department of Electrical Engineering CS-115 Computing Fundamentals Experiment No.7 User Defined Functions II Prepared for By: Name: ID: Section: Semester: Total Marks: Obtained Marks:

More information

STISETS AL SETS Query

STISETS AL SETS Query STISETS AL SETS Query Abut the SETS Query Feature SETS Query and SETS Query (Caselad) are designed t allw Administratrs, Managers and Teachers t build reprts based n teacher caselads, schl-wide r district-wide

More information

UBC BLOGS NSYNC PLUGIN

UBC BLOGS NSYNC PLUGIN UBC BLOGS NSYNC PLUGIN THE NSYNC 1.1 PLUGIN IN UBC BLOGS ALLOWS YOU TO PERMIT OTHER SITES TO PUSH CONTENT FROM THEIR SITE TO YOUR SITE BY ASSIGNING POSTS TO PRE-DETERMINED CATEGORIES. As shwn belw, psts

More information