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

Size: px
Start display at page:

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

Transcription

1 Relatinal Operatrs, and the If Statement 9/18/06 CS150 Intrductin t Cmputer Science Cmbined Assignments Last time we discvered cmbined assignments such as: a /= b + c; Which f the fllwing lng frms is equivalent t the abve frm? a = a / b + c; a = a / (b + c); Assume that: a = b = 6, c = 9 9/18/06 CS150 Intrductin t Cmputer Science 1 2 Relatinal Operatrs (4.1) S far, we can Input, Output and Calculate Hw can we explre relatinships between data? Is yur grade greater than 90%? Is it htter r clder tday than yesterday? D I have enugh US dllars t get 100 Eurs? 9/18/06 CS150 Intrductin t Cmputer Science 1 3 1

2 Relatinal Operatrs, Explained! Operatr > Meaning Greater than < Less than >= Greater than r equal t <= Less than r equal t == Equal t!= Nt equal t All are binary peratrs Left t right assciativity 9/18/06 CS150 Intrductin t Cmputer Science 1 4 Relatinal Expressin An expressin is a statement that has value Relatinal expressin: an expressin that uses a Relatinal Operatr its value is a Blean value (True r False) int x = 9, y = 42; x > y y == x // y = x; is the assignment peratr x <= (x * y + 99) 9/18/06 CS150 Intrductin t Cmputer Science 1 5 Precedence (page 1125) Precedence Operatrs (Highest t Lwest) (unary negatin) - Arithmetic Operatrs * / % + - > >= < <= Relatinal Operatrs ==!= = += -= *= /= %= Assignment Operatrs 9/18/06 CS150 Intrductin t Cmputer Science 1 6 2

3 9.2 Practice What is the value f the fllwing Relatinal Expressins? int x = 99, y = 42; x > y y <= x y!= x x == (x + 1) y == y + 1 9/18/06 CS150 Intrductin t Cmputer Science 1 7 Blean value (True r False) Hw des the cmputer represent True and False? New data type: bl bl btvalue = true; // 1 bl bfvalue = false; // 0 9/18/06 CS150 Intrductin t Cmputer Science Practice bl bvalue; int x = 5, y = 10; bvalue = x > y; // value =?? bvalue = x == y; // value =?? bvalue = x == y - 5; // value =?? // what des this utput lk like? cut << Value is: << bvalue; 9/18/06 CS150 Intrductin t Cmputer Science 1 9 3

4 UML Activity Diagrams UML: Unified Mdelling Language Used t represent algrithms that will later be translated int cde Give the prgrammer a visual representatin f the slutin t a prblem Can als help the prgrammer see a slutin t a prblem 9/18/06 CS150 Intrductin t Cmputer Science 1 10 Example Write a prgram that will read in the current temperature in degrees Fahrenheit and cnvert it int Celsius display message asking user fr temperature in Fahrenheit read in temperature and stre it cnvert temperature t Celsius display temperature in Celsius 9/18/06 CS150 Intrductin t Cmputer Science 1 11 The if Statement (4.2) We execute each statement in ur prgram in rder int x=5, y=10; What if we nly want t execute a statement if(x > y) smetimes? The if Statement! // d stuff 9/18/06 CS150 Intrductin t Cmputer Science

5 Frmally defined if(expressin) statement 1; statement 2;... statement n; What is an expressin? Just like a functin, start at the tp and execute in rder t the bttm 9/18/06 CS150 Intrductin t Cmputer Science 1 13 UML Activity Diagram if( grade > 59 ) cut << passed! ; [grade > 59] utput passed! [grade <= 59] 9/18/06 CS150 Intrductin t Cmputer Science Practice int x = 5, y = 10; bl bvalue = x > y; if (bvalue) cut << value is True << endl; if (x < y) cut << x << < << y; cut << is true << endl; 9/18/06 CS150 Intrductin t Cmputer Science

6 Cding Standards if(expressin) statement 1; if(expressin) statement 1; If yu nly have ONE statement in the bdy f the if, the are ptinal in C++. Fr this class, the must ALWAYS be used. Nt using will result In a lss f style pints. The must als be n their wn line. Why? 9/18/06 CS150 Intrductin t Cmputer Science Mre n Truth Expressins that evaluate t nn-zer are cnsidered true int x = 5, y = 0; if (x + y) // This will be executed cut << x + y is True << endl; if (y) // This will NOT be executed cut << y is True << endl; 9/18/06 CS150 Intrductin t Cmputer Science Example Yur lcal bkstre has asked yu t write a prgram t help them determine the cst f shipping f custmers rders. If the rder is $30 r less then shipping will cst $5, if the rder is ver $30 then shipping will be $3. 9/18/06 CS150 Intrductin t Cmputer Science

7 Slutin duble rder, shipping; cut << "Enter the amunt f the rder: "; cin >> rder; if( rder <= 30 ) shipping = 5.00; if( rder > 30 ) shipping = 3.00; cut << "The cst f shipping is $" << shipping << endl; return 0; 9/18/06 CS150 Intrductin t Cmputer Science Practice The bkstre has nw changed it s shipping plicy s that If the rder is $30 r less, shipping is $5 If the rder is ver $30 but less than r equal t $50, shipping is $3 If the rder is ver $50 then shipping is $2 What wuld we need t change in the prgram? 9/18/06 CS150 Intrductin t Cmputer Science 1 20 Flating Pint and Relatinal Operatrs Flating pint math may nt wrk ut as yu expect because f rund ff errrs. In Math 6 * 2/3 = 4 In C++, where is equivalent t 2/3 6.0 * = 6.0 * = 6.0 * = 6.0 * ( 2.0 / 3.0 ) = 9/18/06 CS150 Intrductin t Cmputer Science

8 9.8 Example (page 180) duble result; result = 6.0 * ; if ( result == 4.0 ) cut << result == 4.0 << endl; cut << setprecisin(6) << fixed; cut << result << endl; cut << setprecisin(2) << result; cut << endl; 9/18/06 CS150 Intrductin t Cmputer Science 1 22 Example 9/18/06 CS150 Intrductin t Cmputer Science 1 23 Flating Pints in Relatinal Operatrs Hw can we get arund this prblem? 9/18/06 CS150 Intrductin t Cmputer Science

9 Blean Flags We have seen hw t stre the value f a relatinal expressin t a bl variable. bl bissquare = ( length == width); if ( bissquare ) Why wuld yu want t d this? Why nt use the relatinal expressin directly? 9/18/06 CS150 Intrductin t Cmputer Science 1 25 Blean Flags This use f a bl variable is called a flag. It is used t keep track f a cnditin s that the expressin is evaluated nly nce 9/18/06 CS150 Intrductin t Cmputer Science

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

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

CS1150 Principles of Computer Science Introduction (Part II)

CS1150 Principles of Computer Science Introduction (Part II) Principles f Cmputer Science Intrductin (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Review Terminlgy Class } Every Java prgram must have at least

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

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

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

Arduino Basics Intro to ArduBlocks

Arduino Basics Intro to ArduBlocks Arduin Basics Intr t ArduBlcks Materials: Arduin ArduBlcks Sftware Arduin IDE Laptp Breadbard Wires Resistrs LEDs Ptentimeter Temprary Push Buttn Get the Sftware Dwnlad Arduin IDE https://www.arduin.cc/en/main/sftware

More information

1 Version Spaces. CS 478 Homework 1 SOLUTION

1 Version Spaces. CS 478 Homework 1 SOLUTION CS 478 Hmewrk SOLUTION This is a pssible slutin t the hmewrk, althugh there may be ther crrect respnses t sme f the questins. The questins are repeated in this fnt, while answers are in a mnspaced fnt.

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

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

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

Beyond Verification. Software Synthesis

Beyond Verification. Software Synthesis Beynd Verificatin Sftware Synthesis 1 What d we mean by synthesis We want t get cde frm high-level specs - Pythn and VB are pretty high level, why is that nt synthesis? Supprt cmpsitinal and incremental

More information

Data Structure Interview Questions

Data Structure Interview Questions Data Structure Interview Questins A list f tp frequently asked Data Structure interview questins and answers are given belw. 1) What is Data Structure? Explain. Data structure is a way that specifies hw

More information

Computer Organization and Architecture

Computer Organization and Architecture Campus de Gualtar 4710-057 Braga UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA Departament de Infrmática Cmputer Organizatin and Architecture 5th Editin, 2000 by William Stallings Table f Cntents I. OVERVIEW.

More information

Student Guide. Where can I print? Charges for Printing & Copying. Top up your Print Credits Online, whenever you like

Student Guide. Where can I print? Charges for Printing & Copying. Top up your Print Credits Online, whenever you like Student Guide Where can I print? Yu can print ut yur wrk frm any Printer acrss Campus; in the Libraries, Open Access areas and IT Labs (which are available t wrk in when they are nt being used fr teaching).

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

MySqlWorkbench Tutorial: Creating Related Database Tables

MySqlWorkbench Tutorial: Creating Related Database Tables MySqlWrkbench Tutrial: Creating Related Database Tables (Primary Keys, Freign Keys, Jining Data) Cntents 1. Overview 2 2. Befre Yu Start 2 3. Cnnect t MySql using MySqlWrkbench 2 4. Create Tables web_user

More information

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

Because of security on the site, you cannot create a bookmark through the usual means. In order to create a bookmark that will work consistently:

Because of security on the site, you cannot create a bookmark through the usual means. In order to create a bookmark that will work consistently: The CllegeNet URL is: https://admit.applyweb.cm/admit/shibbleth/crnell Lg in with Crnell netid and Kerbers passwrd Because f security n the site, yu cannt create a bkmark thrugh the usual means. In rder

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

Systems & Operating Systems

Systems & Operating Systems McGill University COMP-206 Sftware Systems Due: Octber 1, 2011 n WEB CT at 23:55 (tw late days, -5% each day) Systems & Operating Systems Graphical user interfaces have advanced enugh t permit sftware

More information

User Guide. Document Version: 1.0. Solution Version:

User Guide. Document Version: 1.0. Solution Version: User Guide Dcument Versin: 1.0 Slutin Versin: 365.082017.3.1 Table f Cntents Prduct Overview... 3 Hw t Install and Activate Custmer Satisfactin Survey Slutin?... 4 Security Rles in Custmer Satisfactin

More information

FIT 100. Lab 10: Creating the What s Your Sign, Dude? Application Spring 2002

FIT 100. Lab 10: Creating the What s Your Sign, Dude? Application Spring 2002 FIT 100 Lab 10: Creating the What s Yur Sign, Dude? Applicatin Spring 2002 1. Creating the Interface fr SignFinder:... 1 2. Creating Variables t hld values... 4 3. Assigning Values t Variables... 4 4.

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Cmp 541 Digital Lgic and Cmputer Design Spring 2016 Lab Prject (PART A): A Full Cmputer! Issued Fri 4/8/16; Suggested

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

Lab 0: Compiling, Running, and Debugging

Lab 0: Compiling, Running, and Debugging UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 0: Cmpiling, Running, and Debugging Intrductin Reading This is the

More information

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as:

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as: Lcatin f the map.x.prperties files $ARCSIGHT_HOME/current/user/agent/map File naming cnventin The files are named in sequential rder such as: Sme examples: 1. map.1.prperties 2. map.2.prperties 3. map.3.prperties

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

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

INSTALLING CCRQINVOICE

INSTALLING CCRQINVOICE INSTALLING CCRQINVOICE Thank yu fr selecting CCRQInvice. This dcument prvides a quick review f hw t install CCRQInvice. Detailed instructins can be fund in the prgram manual. While this may seem like a

More information

Copyrights and Trademarks

Copyrights and Trademarks Cpyrights and Trademarks Sage One Accunting Cnversin Manual 1 Cpyrights and Trademarks Cpyrights and Trademarks Cpyrights and Trademarks Cpyright 2002-2014 by Us. We hereby acknwledge the cpyrights and

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Designing a mdule with multiple memries Designing and using a bitmap fnt Designing a memry-mapped display Cmp 541 Digital

More information

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55.

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55. Schl f Cmputer Science McGill University Schl f Cmputer Science COMP-206 Sftware Systems Due: September 29, 2008 n WEB CT at 23:55 Operating Systems This assignment explres the Unix perating system and

More information

Chapter 6: Lgic Based Testing LOGIC BASED TESTING: This unit gives an indepth verview f lgic based testing and its implementatin. At the end f this unit, the student will be able t: Understand the cncept

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

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

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

CSE 3320 Operating Systems Page Replacement Algorithms and Segmentation Jia Rao

CSE 3320 Operating Systems Page Replacement Algorithms and Segmentation Jia Rao CSE 0 Operating Systems Page Replacement Algrithms and Segmentatin Jia Ra Department f Cmputer Science and Engineering http://ranger.uta.edu/~jra Recap f last Class Virtual memry Memry verlad What if the

More information

ME Week 5 Project 2 ilogic Part 1

ME Week 5 Project 2 ilogic Part 1 1 Intrductin t ilgic 1.1 What is ilgic? ilgic is a Design Intelligence Capture Tl Supprting mre types f parameters (string and blean) Define value lists fr parameters. Then redefine value lists autmatically

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

CS5530 Mobile/Wireless Systems Swift

CS5530 Mobile/Wireless Systems Swift Mbile/Wireless Systems Swift Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs cat annunce.txt_ imacs remte VNC access VNP: http://www.uccs.edu/itservices/services/netwrk-andinternet/vpn.html

More information

Getting it there in one piece

Getting it there in one piece Getting it there in ne piece Service mdel and implementatin Principles f reliable data transfer CS242 Cmputer Netwrks Department f Cmputer Science Wellesley Cllege Reliable transfer 9-2 Terminlgy Finite

More information

Programming in C/C++ Lecture 3

Programming in C/C++ Lecture 3 Prgramming in C/C++ Lecture 3 http://few.vu.nl/~nsilvis/c++/2006 Natalia Silvis-Cividjian e-mail: nsilvis@few.vu.nl vrije Universiteit amsterdam Object Oriented Prgramming in C++ abut bject riented prgramming

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

Project 4: System Calls 1

Project 4: System Calls 1 CMPT 300 1. Preparatin Prject 4: System Calls 1 T cmplete this assignment, it is vital that yu have carefully cmpleted and understd the cntent in the fllwing guides which are psted n the curse website:

More information

Welcome to Remote Access Services (RAS) Virtual Desktop vs Extended Network. General

Welcome to Remote Access Services (RAS) Virtual Desktop vs Extended Network. General Welcme t Remte Access Services (RAS) Our gal is t prvide yu with seamless access t the TD netwrk, including the TD intranet site, yur applicatins and files, and ther imprtant wrk resurces -- whether yu

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

Last time: search strategies

Last time: search strategies Last time: search strategies Uninfrmed: Use nly infrmatin available in the prblem frmulatin Breadth-first Unifrm-cst Depth-first Depth-limited Iterative deepening Infrmed: Use heuristics t guide the search

More information

Using SPLAY Tree s for state-full packet classification

Using SPLAY Tree s for state-full packet classification Curse Prject Using SPLAY Tree s fr state-full packet classificatin 1- What is a Splay Tree? These ntes discuss the splay tree, a frm f self-adjusting search tree in which the amrtized time fr an access,

More information

Extensible Query Processing in Starburst

Extensible Query Processing in Starburst Extensible Query Prcessing in Starburst Laura M. Haas, J.C. Freytag, G.M. Lhman, and H.Pirahesh IBM Almaden Research Center CS848 Instructr: David Tman Presented By Yunpeng James Liu Outline Intrductin

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

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

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/08/2016

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/08/2016 Cmputer Graphics Si Lu Fall 2017 http://web.cecs.pd.edu/~lusi/cs447/cs447_547_cmp uter_graphics.htm 11/08/2016 Last time Lighting and Shading 2 Tda Teture Mapping Hmewrk 4 available, due in class Nvember

More information

Administrativia. Assignment 1 due tuesday 9/23/2003 BEFORE midnight. Midterm exam 10/09/2003. CS 561, Sessions 8-9 1

Administrativia. Assignment 1 due tuesday 9/23/2003 BEFORE midnight. Midterm exam 10/09/2003. CS 561, Sessions 8-9 1 Administrativia Assignment 1 due tuesday 9/23/2003 BEFORE midnight Midterm eam 10/09/2003 CS 561, Sessins 8-9 1 Last time: search strategies Uninfrmed: Use nly infrmatin available in the prblem frmulatin

More information

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions Eastern Mediterranean University Schl f Cmputing and Technlgy Infrmatin Technlgy Lecture2 Functins User Defined Functins Why d we need functins? T make yur prgram readable and rganized T reduce repeated

More information

1on1 Sales Manager Tool. User Guide

1on1 Sales Manager Tool. User Guide 1n1 Sales Manager Tl User Guide Table f Cntents Install r Upgrade 1n1 Page 2 Setting up Security fr Dynamic Reprting Page 3 Installing ERA-IGNITE Page 4 Cnverting (Imprting) Queries int Dynamic Reprting

More information

WordPress Overview for School Webmasters

WordPress Overview for School Webmasters WrdPress Overview fr Schl Webmasters Cntents 1. Rle f the Schl Webmaster... 2 2. Rle f the District Webmaster... 2 3. Schl Website Standards... 3 Header... 3 Fter... 3 Pages... 4 Sites... 5 4. Hw T...

More information

Lab 5 Sorting with Linked Lists

Lab 5 Sorting with Linked Lists UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C WINTER 2013 Lab 5 Srting with Linked Lists Intrductin Reading This lab intrduces

More information

Transforming Quadratic Functions Day 2

Transforming Quadratic Functions Day 2 Name Grade Subject(s) Algebra 9 th Transfrming Quadratic Functins Day Hlly Fischer CONTEXT INFORMATION Lessn Title Transfrming quadratic functins Time 50 minutes LEARNING OUTCOMES A.QE..: Graph quadratic

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

MySqlWorkbench Tutorial: Creating Related Database Tables

MySqlWorkbench Tutorial: Creating Related Database Tables MySqlWrkbench Tutrial: Creating Related Database Tables (Primary Keys, Freign Keys, Jining Data) Cntents 1. Overview 2 2. Befre Yu Start 2 3. Review Database Terms and Cncepts 2 4. Cnnect t MySql using

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

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

C pointers. (Reek, Ch. 6) 1 CS 3090: Safety Critical Programming in C

C pointers. (Reek, Ch. 6) 1 CS 3090: Safety Critical Programming in C C pinters (Reek, Ch. 6) 1 Review f pinters A pinter is just a memry lcatin. A memry lcatin is simply an integer value, that we interpret as an address in memry. The cntents at a particular memry lcatin

More information

Quick Tips

Quick Tips 2017-2018 Quick Tips Belw are sme tips t help teachers register fr the Read t Succeed Prgram: G t www.sixflags.cm/read It will lk like this: If yu DO have an accunt frm last year, please lgin with yur

More information

OrderCloud 2.0 Documentation. Spec Forms

OrderCloud 2.0 Documentation. Spec Forms OrderClud 2.0 Dcumentatin Using the Spec Frm File Override Spec Frms In OrderClud 2.0, spec frm custmizatin will be accmplished thrugh the spec frm file verride. This is lcated under the OrderClud 2.0

More information

Licensing the Core Client Access License (CAL) Suite and Enterprise CAL Suite

Licensing the Core Client Access License (CAL) Suite and Enterprise CAL Suite Vlume Licensing brief Licensing the Cre Client Access License (CAL) Suite and Enterprise CAL Suite Table f Cntents This brief applies t all Micrsft Vlume Licensing prgrams. Summary... 1 What s New in this

More information

Use of GIS & GPS in Trail and Land Management

Use of GIS & GPS in Trail and Land Management CLCC Cnference 2014 Intrductin t CT ECO Use f GIS & GPS in Trail and Land Management Explre CT ECO CT ECO is a partnership between the CT Department f Energy and Envirnmental Prtectin (CT DEEP) and the

More information

Adobe InDesign: The Knowledge

Adobe InDesign: The Knowledge Adbe InDesign: The Knwledge Linda Trst Washingtn & Jeffersn Cllege Hints 1. Plan/design yur dcument s layut befre yu start placing text. 2. The first time yu call up Adbe InDesign CS, even befre yu pen

More information

VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual for Tour Operators

VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual for Tour Operators VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual fr Tur Operatrs 1 CONTENTS GETTING STARTED... 3 REGISTER AND CREATE YOUR ACCOUNT... 3 OPERATOR PROFILE... 4 Create yur Operatr Prfile... 4 ADD A TOUR LISTING...

More information

B Tech Project First Stage Report on

B Tech Project First Stage Report on B Tech Prject First Stage Reprt n GPU Based Image Prcessing Submitted by Sumit Shekhar (05007028) Under the guidance f Prf Subhasis Chaudhari 1. Intrductin 1.1 Graphic Prcessr Units A graphic prcessr unit

More information

Stealing passwords via browser refresh

Stealing passwords via browser refresh Stealing passwrds via brwser refresh Authr: Karmendra Khli [karmendra.khli@paladin.net] Date: August 07, 2004 Versin: 1.1 The brwser s back and refresh features can be used t steal passwrds frm insecurely

More information

Municode Website Instructions

Municode Website Instructions Municde Website instructins Municde Website Instructins The new and imprved Municde site allws yu t navigate t, print, save, e-mail and link t desired sectins f the Online Cde f Ordinances with greater

More information

mconnect Lead Management System 2.0

mconnect Lead Management System 2.0 mcnnect Lead Management System 2.0 User Manual Updated July 2015 Page 1 f 15 This manual serves as a reference guide fr Mahindra Nrth America s mcnnect lead management system. This dcument serves as a

More information

In-Class Exercise. Hashing Used in: Hashing Algorithm

In-Class Exercise. Hashing Used in: Hashing Algorithm In-Class Exercise Hashing Used in: Encryptin fr authenticatin Hash a digital signature, get the value assciated with the digital signature,and bth are sent separately t receiver. The receiver then uses

More information

CSE 361S Intro to Systems Software Lab #2

CSE 361S Intro to Systems Software Lab #2 Due: Thursday, September 22, 2011 CSE 361S Intr t Systems Sftware Lab #2 Intrductin This lab will intrduce yu t the GNU tls in the Linux prgramming envirnment we will be using fr CSE 361S this semester,

More information

CS 309: Autonomous Intelligent Robotics. Instructor: Jivko Sinapov

CS 309: Autonomous Intelligent Robotics. Instructor: Jivko Sinapov CS 309: Autnmus Intelligent Rbtics Instructr: Jivk Sinapv http://www.cs.uteas.edu/~jsinapv/teaching/cs309_spring2017/ Machine Learning Annuncements Final Prject Presentatins Saturday, May 13, 7:00-10:00

More information

Properties detailed info There are a few properties in Make Barcode to set for the output of your choice.

Properties detailed info There are a few properties in Make Barcode to set for the output of your choice. Make Barcde Page 1/5 Make Barcde Descriptin Make Barcde let yu create a wide variety f different barcdes in different file frmats. Yu can add the barcde values as variable data frm metadata surces r by

More information

REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY

REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY Accessing RefWrks Access RefWrks frm a link in the Bibligraphy/Citatin sectin f the Hurst Library web page (http://library.nrthwestu.edu) Create

More information

Principles of Programming Languages

Principles of Programming Languages Principles f Prgramming Languages Slides by Dana Fisman based n bk by Mira Balaban and lecuture ntes by Michael Elhadad Dana Fisman Lessn 16 Type Inference System www.cs.bgu.ac.il/~ppl172 1 Type Inference

More information

Flying into Trig on a Paper Plate

Flying into Trig on a Paper Plate Flying int Trig n a Paper Plate Warm-up: 1. Label the quadrants:. Classify the fllwing angles as btuse, acute r right: a) b) 91 c) 90 d) 18. Add the fllwing fractins (withut a calculatr!) a) + 5 b) 1 8

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

Center School District. SMART Board Quick Reference

Center School District. SMART Board Quick Reference SMART Bard Quick Reference A few things t keep in mind... If yu can t find the remte, turn n the SMART Bard by pushing the stand by buttn n the prjectr. T pwer ff, push pwer buttn twice either n the remte

More information

C Sc 335 Practice Test 1 Section Leader Name 150pts. 3. List two Java structures that allow for polymorphic messages (2pts)

C Sc 335 Practice Test 1 Section Leader Name 150pts. 3. List two Java structures that allow for polymorphic messages (2pts) C Sc 335 Practice Test 1 Sectin Leader Name 150pts 1. Write the crrect term, either "RESPONSIBILITIES" r "METHODS and DATA" in the blank space (2pts) At the cnceptual level, an bject is a set f At the

More information

Integrating QuickBooks with TimePro

Integrating QuickBooks with TimePro Integrating QuickBks with TimePr With TimePr s QuickBks Integratin Mdule, yu can imprt and exprt data between TimePr and QuickBks. Imprting Data frm QuickBks The TimePr QuickBks Imprt Facility allws data

More information

Structure Query Language (SQL)

Structure Query Language (SQL) Structure Query Language (SQL) 1. Intrductin SQL 2. Data Definitin Language (DDL) 3. Data Manipulatin Language ( DML) 4. Data Cntrl Language (DCL) 1 Structured Query Language(SQL) 6.1 Intrductin Structured

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

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

Exam 4 Review: SQL, pymysql, and XML CS 2316 Fall 2011

Exam 4 Review: SQL, pymysql, and XML CS 2316 Fall 2011 Exam 4 Review: SQL, pymysql, and XML CS 2316 Fall 2011 This is a nn-exhaustive list f tpics t study. Yu will be held respnsible fr all readings n the curse website and lecture cntents even if they are

More information

Populate and Extract Data from Your Database

Populate and Extract Data from Your Database Ppulate and Extract Data frm Yur Database 1. Overview In this lab, yu will: 1. Check/revise yur data mdel and/r marketing material (hme page cntent) frm last week's lab. Yu will wrk with tw classmates

More information

CS4500/5500 Operating Systems Page Replacement Algorithms and Segmentation

CS4500/5500 Operating Systems Page Replacement Algorithms and Segmentation Operating Systems Page Replacement Algrithms and Segmentatin Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Ref. MOSE, OS@Austin, Clumbia, Rchester Recap f

More information

a brand of

a brand of a brand f www.sqlbi.cm Marc Russ marc.russ@sqlbi.cm @marcrus Excel 2013 PwerPivt in Actin Wh s Speaking? BI Expert and Cnsultant a brand f Funder f www.sqlbi.cm Prblem Slving Cmplex Prject Assistance DataWarehuse

More information

Computational Methods of Scientific Programming Fall 2008

Computational Methods of Scientific Programming Fall 2008 MIT OpenCurseWare http://cw.mit.edu 12.010 Cmputatinal Methds f Scientific Prgramming Fall 2008 Fr infrmatin abut citing these materials r ur Terms f Use, visit: http://cw.mit.edu/terms. 12.010 Hmewrk

More information

Design Rules for PCB Layout Using Altium Designer

Design Rules for PCB Layout Using Altium Designer Design Rules fr PCB Layut Using Altium Designer 1.0 Intrductin The Department currently has an in-huse facility fr making PCBs which permits bards t be made relatively quickly at lw cst. This facility

More information

eprocurement Requisition Special Request Goods

eprocurement Requisition Special Request Goods eprcurement Requisitin Special Request Gds Intrductin Fllw this guide t create a requisitin fr an item frm a supplier where the gds are nt listed in any f the University internal r nline eprcurement catalgues.

More information

Preparation: Follow the instructions on the course website to install Java JDK and jgrasp on your laptop.

Preparation: Follow the instructions on the course website to install Java JDK and jgrasp on your laptop. Lab 1 Name: Checked: (instructr r TA initials) Objectives: Learn abut jgrasp - the prgramming envirnment that we will be using (IDE) Cmpile and run a Java prgram Understand the relatinship between a Java

More information

Memory Hierarchy. Goal of a memory hierarchy. Typical numbers. Processor-Memory Performance Gap. Principle of locality. Caches

Memory Hierarchy. Goal of a memory hierarchy. Typical numbers. Processor-Memory Performance Gap. Principle of locality. Caches Memry Hierarchy Gal f a memry hierarchy Memry: hierarchy f cmpnents f varius speeds and capacities Hierarchy driven by cst and perfrmance In early days Primary memry = main memry Secndary memry = disks

More information

ROCK-POND REPORTING 2.1

ROCK-POND REPORTING 2.1 ROCK-POND REPORTING 2.1 AUTO-SCHEDULER USER GUIDE Revised n 08/19/2014 OVERVIEW The purpse f this dcument is t describe the prcess in which t fllw t setup the Rck-Pnd Reprting prduct s that users can schedule

More information

INSERTING MEDIA AND OBJECTS

INSERTING MEDIA AND OBJECTS INSERTING MEDIA AND OBJECTS This sectin describes hw t insert media and bjects using the RS Stre Website Editr. Basic Insert features gruped n the tlbar. LINKS The Link feature f the Editr is a pwerful

More information

You need to be able to define the following terms and answer basic questions about them:

You need to be able to define the following terms and answer basic questions about them: CS440/ECE448 Fall 2016 Midterm Review Yu need t be able t define the fllwing terms and answer basic questins abut them: Intr t AI, agents and envirnments Pssible definitins f AI, prs and cns f each Turing

More information