CS1150 Principles of Computer Science Boolean, Selection Statements (Part II)
|
|
- Juliana Hamilton
- 6 years ago
- Views:
Transcription
1 CS1150 Principles f Cmputer Science Blean, Selectin Statements (Part II) Yanyan Zhuang Department f Cmputer Science CS1150
2 Review What s the scientific ntatin f 9,200,000? 9.2e6 What s the value f a after each statement? int a = 5; a /= 3; // a =1 a--;
3 Review Lgical peratrs!, &&,, ^ () Mixing peratrs: p1 && p2 p3, where p1 - p3 are blean variables x + y < 10 && x/y == 3 z!= 10 can be written as } ((x + y < 10) && (x/y == 3)) z!= 10!z x/y==0 && x > 12 Hw t test if x is between 10 and 20? } Can t write 10 <= x <= 20
4 Mre n ++ and -- Placement f prefix r pstfix cause different results when in expressins s be careful!!! int x = 1; int y = 3; y = ++x; // d increment then assignment => y is 2, x is 2 int x = 1; int y = 3; y = x++; // d assignment then increment => y is 1, x is 2
5 Mre n ++ and -- Simple (but cnfusing) example int numdays = 100; System.ut.println (numdays); System.ut.println (++numdays); System.ut.println (numdays++); System.ut.println (numdays); Recmmendatin: avid ++ and -- in expressins (t avid cnfusin, make cde mre readable); used in islatin is nt a prblem
6 One-way if Statements if (blean-expressin) { statement(s); }
7 Tw-way if Statement if (blean-expressin) { statement(s)-fr-the-true-case; } else { statement(s)-fr-the-false-case; }
8 What s wrng with this cde? Scanner input = new Scanner (System.in); int mathgrade = input.nextint(); String mathlettergrade = ""; // "" is an empty String if (mathgrade >= 90) mathlettergrade = "A"; System.ut.println ("Yu gt an A");
9 What s wrng with this cde? Scanner input = new Scanner (System.in); int mathgrade = input.nextint(); String mathlettergrade = ""; // "" is an empty String if (mathgrade >= 90); { } mathlettergrade = "A";
10 What s wrng with this cde? Scanner input = new Scanner (System.in); int mathgrade = input.nextint(); if (mathgrade = 90) { } System.ut.println ("Yu gt 90 in yur test!");
11 Prblem: A Math Learning Tl Create a prgram Subtractin.java t teach a first grade student subtractins. The prgram prmpts the student fr tw integers number1 and number2, and displays a questin such as What is 9 2? t the student. After the student types the answer, the prgram displays whether the answer is crrect r nt. 11
12 Multiple Alternative if Statements if (scre >= 90.0) System.ut.print("A"); else if (scre >= 80.0) System.ut.print("B"); else if (scre >= 70.0) System.ut.print("C"); else if (scre >= 60.0) System.ut.print("D"); else System.ut.print("F"); Equivalent This is better if (scre >= 90.0) System.ut.print("A"); else if (scre >= 80.0) System.ut.print("B"); else if (scre >= 70.0) System.ut.print("C"); else if (scre >= 60.0) System.ut.print("D"); else System.ut.print("F"); (a) (b)
13 Prblem: Bdy Mass Index Bdy Mass Index (BMI) is a measure f health n weight. It can be calculated by taking yur weight in kilgrams and dividing by the square f yur height in meters. The interpretatin f BMI fr peple 16 years r lder is as fllws: BMI Interpretatin BMI < 18.5 Underweight 18.5 <= BMI < 25.0 Nrmal 25.0 <= BMI < 30.0 Overweight 30.0 <= BMI Obese 13
14 If statement ntes The else clause matches the mst recent if clause What s the utput? CS1150
15 If statement ntes T frce the else clause t match the first if clause, must add a pair f braces: int i = 1, j = 2, k = 3; if (i > j) { } if (i > k) else System.ut.println("A"); System.ut.println("B"); CS1150
16 If statement summary Blck statements {} can be mitted if there is nly ne statement Recmmendatin Use curly braces: it helps make the cde easier t mdify and less errr prne Avid deeply nested if statements An else" clause always belngs with the mst recent if clause CS1150
17 Practice! Calculating incme tax Penguin state s incme tax rule is as fllws If the incme is lwer than $2300, the tax rate is 0 If the incme is [$2300, $3400), the tax rate is 0.14 If the incme is [$3400, $4400), the tax rate is 0.16 If the incme is [$4400, $6500), the tax rate is 0.2 If the incme is abve $6500, tax rate is flat 0.3 The cde prmpts the user fr an incme, and prints ut the incme tax (incme*tax rate) Implement this using multiple alternative if statement
18 switch Statements Select a path f executin frm a grup f pssibilities Example: calculate tax returns fr different status switch (status) { case 0: cmpute taxes fr single filers; break; case 1: cmpute taxes fr married file jintly; break; case 2: cmpute taxes fr married file separately; break; case 3: cmpute taxes fr head f husehld; break; default: System.ut.println("Errrs: invalid status"); } 18
19 switch Statement Flw Chart 19
20 switch Statements Hw des it wrk? The switch "expressin (e.g., status) is evaluated If ne f the cases "values" matches the value f the switch "expressin" } The statements fr that case are executed } Executin stps when a break statement is reached, r the end f the switch statement is reached If n case "values" match the value f the switch "expressin" } A default case is executed if it exists switch (switch-expressin) { } case value1: statement(s)1; break; case value2: statement(s)2; break; case valuen: statement(s)n; break; default: statement(s)-fr-default; 20
21 switch Statement Rules The switch-expressin must yield a value f char, byte, shrt, r int type and must always be enclsed in parentheses. The value1,..., and valuen must have the same data type as the value f the switch-expressin. The resulting statements in the case statement are executed when the value in the case statement matches the value f the switchexpressin. switch (switch-expressin) { case value1: statement(s)1; break; case value2: statement(s)2; break; case valuen: statement(s)n; break; default: statement(s)-fr-default; } Nte: value1,..., and valuen are cnstant expressins, meaning that they cannt cntain variables in the expressin, such as 1 + x. 21
22 switch Statement Rules The keywrd break is ptinal, but it shuld be used at the end f each case in rder t terminate the remainder f the switch statement. If the break statement is nt present, the next case statement will be executed. The default case, which is ptinal, can be used t perfrm actins when nne f the specified cases matches the switch-expressin. switch (switch-expressin) { } case value1: statement(s)1; break; case value2: statement(s)2; break; case valuen: statement(s)n; break; default: statement(s)-fr-default; When the value in a case statement matches the value f the switch-expressin, the statements starting frm this case are executed until either a break statement r the end f the switch statement is reached. 22
23 switch Statement Ntes switch expressin Must evaluate t a value f type char, byte, shrt, int } switch (x > 1) // Nt allwed - evaluates t a blean value } switch (x == 2) // Nt allwed - anther blean expressin
24 switch Statement Ntes Case values Are cnstants expressins Cannt cntain variables } case 0: system.ut.println("..."); // valid } case (x+1): system.ut.println("..."); // nt valid Thugh this is valid way t write the cases int value = 3; switch (value) { case 1:case 2:case 3: System.ut.println("case 1, 2, and 3"); break; case 4: System.ut.println("case 4"); break; default: System.ut.println("default"); }
25 switch Statement Ntes break statement int day = 3; switch (day) { case 1: case 2: case 3: case 4: case 5: System.ut.println("Weekday"); break; case 0: case 6: System.ut.println("Weekend"); }
26 Practice! Day f the week Write a prgram that prmpts the user t enter a number between 0 and 6, and displays the name f the day (e.g., 0 fr Sunday, 1 fr Mnday, etc.) Please use a switch statement t implement this
27 Cnditinal Expressins Shrtcut way t write a tw-way if statement (if-else) Cnsists f the symbls? and : (aka the "ternary" peratr) result = expressin? value1 : value2 } expressin can be either a blean value r a statement that evaluates t a blean value } The cnditinal "expressin" is evaluated } If the expressin is true, value1 is returned } If the expressin is false, value2 is returned CS1150
28 Cnditinal Expressins if (a < 0) { absvalue = -a; } else { absvalue = a; } Can be re-written as: absvalue = (a < 0)? -a : a; CS1150
29 Summary Blean data type If statement Switch statement CS1150
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 informationCS1150 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 informationDECISION 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 informationCS1150 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 informationCS1150 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 informationThe 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 informationCS1150 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 informationEastern 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 informationCS1150 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 informationCS1150 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 informationCOP2800 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 informationData 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 informationCS1150 Principles of Computer Science Introduction
Principles f Cmputer Science Intrductin Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Intr f Intr Yanyan Zhuang PhD in netwrk systems yzhuang@uccs.edu Office
More information- 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 informationRelational 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 informationPreparation: 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 informationCS1150 Principles of Computer Science Boolean, Selection Statements
CS1150 Principles of Computer Science Boolean, Selection Statements Yanyan Zhuang Department of Computer Science http://www.cs.uccs.edu/~yzhuang CS1150 Math Center https://www.uccs.edu/mathcenter/schedules
More informationProject #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 informationIteration 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 informationLab 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 informationC++ Reference Material Programming Style Conventions
C++ Reference Material Prgramming Style Cnventins What fllws here is a set f reasnably widely used C++ prgramming style cnventins. Whenever yu mve int a new prgramming envirnment, any cnventins yu have
More informationLab 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 informationThe 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 informationAccess 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 informationAccess 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 informationCS5530 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 informationLab 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 informationThe 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 informationPopulate 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 informationPrimitive 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 informationEASTERN 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 informationMATH PRACTICE EXAM 2 (Sections 2.6, , )
MATH 1050-90 PRACTICE EXAM 2 (Sectins 2.6, 3.1-3.5, 7.1-7.6) The purpse f the practice exam is t give yu an idea f the fllwing: length f exam difficulty level f prblems Yur actual exam will have different
More informationCS1150 Principles of Computer Science Math Functions, Characters and Strings
CS1150 Principles f Cmputer Science Math Functins, Characters and Strings Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Mathematical Functins Java
More informationMotivations. Chapter 3: Selections and Conditionals. Relational Operators 8/31/18. Objectives. Problem: A Simple Math Learning Tool
Chapter 3: Selections and Conditionals CS1: Java Programming Colorado State University Motivations If you assigned a negative value for radius in Listing 2.2, ComputeAreaWithConsoleInput.java, the program
More informationISTE-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 informationC 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 informationHomework: Populate and Extract Data from Your Database
Hmewrk: Ppulate and Extract Data frm Yur Database 1. Overview In this hmewrk, yu will: 1. Check/revise yur data mdel and/r marketing material frm last week's hmewrk- this material will later becme the
More informationSTUDIO DESIGNER. Design Projects Basic Participant
Design Prjects Basic Participant Thank yu fr enrlling in Design Prjects 2 fr Studi Designer. Please feel free t ask questins as they arise. If we start running shrt n time, we may hld ff n sme f them and
More informationUsing the Swiftpage Connect List Manager
Quick Start Guide T: Using the Swiftpage Cnnect List Manager The Swiftpage Cnnect List Manager can be used t imprt yur cntacts, mdify cntact infrmatin, create grups ut f thse cntacts, filter yur cntacts
More informationCSCI 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 informationQuerying 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 informationBecause 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 informationCreating a TES Encounter/Transaction Entry Batch
Creating a TES Encunter/Transactin Entry Batch Overview Intrductin This mdule fcuses n hw t create batches fr transactin entry in TES. Charges (transactins) are entered int the system in grups called batches.
More informationUsing the Swiftpage Connect List Manager
Quick Start Guide T: Using the Swiftpage Cnnect List Manager The Swiftpage Cnnect List Manager can be used t imprt yur cntacts, mdify cntact infrmatin, create grups ut f thse cntacts, filter yur cntacts
More informationAP Computer Science A
2018 AP Cmputer Science A Sample Student Respnses and Scring Cmmentary Inside: Free Respnse Questin 4 RR Scring Guideline RR Student Samples RR Scring Cmmentary 2018 The Cllege Bard. Cllege Bard, Advanced
More informationProgram Control Structures. C++ Control Structures Logical Operators Selection Repetition
Prgram Cntrl Structures C++ Cntrl Structures Lgical Operatrs Selectin Repetitin Essential Structures Simple Statements Cmpund Statements {statement statement... Selectin Statements e.g. cut
More informationUsing CppSim to Generate Neural Network Modules in Simulink using the simulink_neural_net_gen command
Using CppSim t Generate Neural Netwrk Mdules in Simulink using the simulink_neural_net_gen cmmand Michael H. Perrtt http://www.cppsim.cm June 24, 2008 Cpyright 2008 by Michael H. Perrtt All rights reserved.
More informationOnce the Address Verification process is activated, the process can be accessed by employees in one of two ways:
Type: System Enhancements ID Number: SE 94 Date: June 29, 2012 Subject: New Address Verificatin Prcess Suggested Audience: Human Resurce Offices Details: Sectin I: General Infrmatin fr Address Verificatin
More informationHP MPS Service. HP MPS Printer Identification Stickers
HP MPS Service We welcme yu t HP Managed Print Services (MPS). Fllwing yu will find infrmatin regarding: HP MPS printer identificatin stickers Requesting service and supplies fr devices n cntract Tner
More informationAP Computer Science A
2018 AP Cmputer Science A Sample Student Respnses and Scring Cmmentary Inside: Free Respnse Questin 3 RR Scring Guideline RR Student Samples RR Scring Cmmentary 2018 The Cllege Bard. Cllege Bard, Advanced
More informationChapter 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 informationIn Outlook, how do I allow other users to view my Calendar or other folders in my Exchange mailbox?
In Outlk, hw d I allw ther users t view my Calendar r ther flders in my Exchange mailbx? Yu can allw thers within yur Exchange rganizatin t access yur mailbx flders. Yu can use Outlk t share yur mailbx
More informationChapter 3 Selections. Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved.
Chapter 3 Selections Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 1 Motivations If you assigned a negative value for radius
More informationTest 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 informationAscii 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 informationLaboratory #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 informationCode 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 informationLAB 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 informationLast time. VHDL in Action. Motivation. Covered in This Lesson. Packages. Packages (cont'd)
Last time VHDL in Actin Packages and Libraries Ch 3, pp. 96-114 Versin f wavefrm updating algrithm t handle reject clauses Macr and micr time Delta delays: Ensure crrect rdering f zer time events Martin
More informationTroubleshooting of network problems is find and solve with the help of hardware and software is called troubleshooting tools.
Q.1 What is Trubleshting Tls? List their types? Trubleshting f netwrk prblems is find and slve with the help f hardware and sftware is called trubleshting tls. Trubleshting Tls - Hardware Tls They are
More information2. What is the most cost-effective method of solving interface congestion that is caused by a high level of traffic between two switches?
CCNA 3 Chapter 3 v5.0 Exam Answers 2015 (100%) 1. Refer t the exhibit. Which switching technlgy wuld allw each access layer switch link t be aggregated t prvide mre bandwidth between each Layer 2 switch
More informationSelection Statements. Pseudocode
Selection Statements Pseudocode Natural language mixed with programming code Ex: if the radius is negative the program display a message indicating wrong input; the program compute the area and display
More informationProject Extranet User Guide
Prject Extranet User Guide Drafted by: Francisc Galleg (fgalleg@ua.es) - UA Pedr Caselles (pcaselles@ua.es) - UA Raul Pamplega (rpamplega@ua.es) - UA 1 Table f cntents: 1. EXTRANET USER GUIDE 3 2. INTRODUCTION
More informationMySqlWorkbench 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 informationOverview of OPC Alarms and Events
Overview f OPC Alarms and Events Cpyright 2016 EXELE Infrmatin Systems, Inc. EXELE Infrmatin Systems (585) 385-9740 Web: http://www.exele.cm Supprt: supprt@exele.cm Sales: sales@exele.cm Table f Cntents
More informationStudent 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 informationSyntactically Awesome StyleSheets. CSS extension that adds power and elegance to the basic language
Syntactically Awesme StyleSheets CSS extensin that adds pwer and elegance t the basic language Sass An extensin t CSS that adds pwer & elegance t the basic language Allws the use f variables Allws the
More information10 hours create the college model. Data Definition Commands. Data Manipulation commands, Data Control commands
Mdule-04 STRUCTURED QUERY LANGUAGE (SQL) 4.1 Mtivatin The knwledge SQL is essential fr sftware develper hence SQL is an imprtant subject in cmputer prgramming arund the wrld. 4.2 Objective DBMS is the
More informationChapter 4. IP Addresses: Classful Addressing. PDF created with FinePrint pdffactory Pro trial version
Chapter 4 IP Addresses: Classful Addressing Outlines Intrductin Classfuladdressing Other issues A sample Internet 4.1 INTRODUCTION Intrductin IP address, r Internet Address 32-bit binary address Uniquely
More informationEntering an NSERC CCV: Step by Step
Entering an NSERC CCV: Step by Step - 2018 G t CCV Lgin Page Nte that usernames and passwrds frm ther NSERC sites wn t wrk n the CCV site. If this is yur first CCV, yu ll need t register: Click n Lgin,
More informationProperties 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 information1 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 informationExercises: Plotting Complex Figures Using R
Exercises: Pltting Cmplex Figures Using R Versin 2017-11 Exercises: Pltting Cmplex Figures in R 2 Licence This manual is 2016-17, Simn Andrews. This manual is distributed under the creative cmmns Attributin-Nn-Cmmercial-Share
More informationAP Computer Science A
2018 AP Cmputer Science A Sample Student Respnses and Scring Cmmentary Inside: Free Respnse Questin 1 RR Scring Guideline RR Student Samples RR Scring Cmmentary 2018 The Cllege Bard. Cllege Bard, Advanced
More informationAnnouncement. VHDL in Action. Review. Statements. Process Execution with no sensitivity list. Sequential Statements
Annuncement Prject 2: Assigned tday, due 9/30 ning f class. VHDL in Actin Mdeling a binary/gray cunter. As always, start early Chapter 3 Sequential Statements 1 Review Statements Architecture bdy Cncurrent
More informationOutlook Web Application (OWA) Basic Training
Outlk Web Applicatin (OWA) Basic Training Requirements t use OWA Full Versin: Yu must use at least versin 7 f Internet Explrer, Safari n Mac, and Firefx 3.X. (Ggle Chrme r Internet Explrer versin 6, yu
More informationAutomatic 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 informationChapter 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 informationMcGill 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 informationThese tasks can now be performed by a special program called FTP clients.
FTP Cmmander FAQ: Intrductin FTP (File Transfer Prtcl) was first used in Unix systems a lng time ag t cpy and mve shared files. With the develpment f the Internet, FTP became widely used t uplad and dwnlad
More informationProgramming 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 informationFIT 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 informationCampaignBreeze User Guide
Intrductin CampaignBreeze User Guide This guide prvides an verview f the main features in CampaignBreeze and assumes yu have access t an activated CampaignBreeze accunt alng with yur lgin URL, username
More informationTaiRox Mail Merge. Running Mail Merge
TaiRx Mail Merge TaiRx Mail Merge TaiRx Mail Merge integrates Sage 300 with Micrsft Wrd s mail merge functin. The integratin presents a Sage 300 style interface frm within the Sage 300 desktp. Mail Merge
More informationWordPress 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 informationQualtrics Instructions
Create a Survey/Prject G t the Ursinus Cllege hmepage and click n Faculty and Staff. Click n Qualtrics. Lgin t Qualtrics using yur Ursinus username and passwrd. Click n +Create Prject. Chse Research Cre.
More informationHow 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 information1 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 informationPAGE NAMING STRATEGIES
PAGE NAMING STRATEGIES Naming Yur Pages in SiteCatalyst May 14, 2007 Versin 1.1 CHAPTER 1 1 Page Naming The pagename variable is used t identify each page that will be tracked n the web site. If the pagename
More informationHP Prime Exam Modes. HP Prime Graphing Calculator
HP Prime Graphing Calculatr HP Prime Exam Mdes Classrm cntrl during exams is critical t ensuring students are using nly permitted tls t cmplete evaluatins. HP Prime prvides that cntrl. Learn mre abut HP
More informationSystems & 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 informationLab 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 informationRelius 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 informationSmartPass User Guide Page 1 of 50
SmartPass User Guide Table f Cntents Table f Cntents... 2 1. Intrductin... 3 2. Register t SmartPass... 4 2.1 Citizen/Resident registratin... 4 2.1.1 Prerequisites fr Citizen/Resident registratin... 4
More informationGrade 4 Mathematics Item Specification C1 TJ
Claim 1: Cncepts and Prcedures Students can explain and apply mathematical cncepts and carry ut mathematical prcedures with precisin and fluency. Cntent Dmain: Measurement and Data Target J [s]: Represent
More informationProper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page
Managing the News Page TABLE OF CONTENTS: The News Page Key Infrmatin Area fr Members... 2 Newsletter Articles... 3 Adding Newsletter as Individual Articles... 3 Adding a Newsletter Created Externally...
More informationCS4500/5500 Operating Systems Synchronization
Operating Systems Synchrnizatin Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Recap f the Last Class Multiprcessr scheduling Tw implementatins f the ready
More informationUiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash
UiPath Autmatin Walkthrugh Walkthrugh Calculate Client Security Hash Walkthrugh Calculate Client Security Hash Start with the REFramewrk template. We start ff with a simple implementatin t demnstrate the
More informationAdverse 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 informationUSER MANUAL. RoomWizard Administrative Console
USER MANUAL RmWizard Administrative Cnsle Cntents Welcme... 3 Administer yur RmWizards frm ne lcatin... 3 Abut This Manual... 4 Setup f the Administrative Cnsle... 4 Installatin... 4 The Cnsle Windw...
More information