C++ Reference Material Programming Style Conventions

Size: px
Start display at page:

Download "C++ Reference Material Programming Style Conventions"

Transcription

1 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 been using previusly may r may nt agree with the nes yu are required t use in the new envirnment, s yu shuld examine the new cnventins clsely t see what is the same, and what is different, frm what yu are used t. Fr the sake f brevity, nly a few specific examples t illustrate the style cnventins described here are given n this page, but many cde and frmatting examples are cllected in a series f separate cde examples. Yu shuld take the style cnventins yu are required t use very seriusly, because yur instructr and yur marker(s) (and, eventually, yur emplyer) will surely d s. Part A: Prgram Readability (Surce Cde Readability) The "Big Three" f Prgramming Style (accrding t Scbey) 1. Name things well, using the specified style cnventins. 2. Be cnsistent. 3. Frmat cntinually, and re-frmat whenever necessary. The imprtance f chsing a gd name fr each prgrammer-named entity, thereafter spelling and capitalizing that name apprpriately and cnsistently, and cntinuing t psitin these names prperly within well-frmatted cde, cannt be veremphasized. Rules fr naming and capitalizatin f prgrammer-chsen identifiers Naming 1. Names must be meaningful within their given cntext whenever pssible, which is mst f the time. Tw exceptins t this rule are: The use f single-letter lp cntrl variables such as i in thse situatins where n particular meaning attaches t the variable. Use f a generic variable name such as x fr reading in values (real numbers, say) t which n particular meaning applies. 2. Variables and value-returning functins are generally nun-like, as in: 3. length 4. numberofstudents

2 5. averagescre() Blean variables and functins, hwever, are usually adjective-like, as in: valid isfinished() Special (smetimes glbal, if permitted) blean variables that act as a switch t turn testing r debugging n r ff begin with the wrd testing r the wrd debugging, as apprpriate: testingtextitems r testingtextitemsglobal debuggingdisplayoutput r debuggingdisplayoutputglobal Appending the all-caps GLOBAL t indicate a variable acting glbally as a switch t turn testing r debugging n r ff is yet anther way t be as infrmative as pssible with a variable name. When ne is faced with the chice between lng variable names and clearer cde, r shrt variable names and less clear cde, the chice shuld be bvius. 6. The name f every vid functin (bth free functins and member functins) must begin with a verb, as in: 7. GetInputFrmUser() 8. DisplayOutput() 9. time.incrementhurs() 10. cunter.display() Occasinally value-returning functins may als begin with a verb. One particular example f this is any "getter" member functin that appears in a class: time.gethurs() Capitalizatin Names must always be capitalized cnsistently, accrding t whatever cnventins are being used fr each categry f name. Here are sme examples that illustrate ur capitalizatin cnventins: 1. Cnstants use all uppercase letters, with the wrds in multi-wrd names separated by underscres, as in: 2. cnst int SIZE = 100; 3. cnst duble TAX_RATE = 0.15; 4. Variables use "camel" ntatin, which means that names start with a lwercase letter, and all subsequent wrds in the name, if any, begin with an uppercase letter, as in:

3 5. duble cst; 6. int numberofguesses; 7. Macr definitins used in header files t avid multiple inclusin are a special case, and their capitalizatin is illustrated by this example fr a file (menu.h, say) cntaining the specificatin f a Menu class: 8. #ifndef MENU_H 9. #define MENU_H #endif 12. Free functins start with a lwercase letter, except fr vid functins, which start with a capital letter (and, f curse, with a verb, as we pinted ut abve). Sme examples: 13. duble average(); 14. int numberofdigits(); 15. vid Swap(); 16. vid DisplayMenu(); 17. Member functins names always start with a lwercase letter, as in: 18. int time.gethurs(); 19. vid time.sethurs(); 20. vid time.display(); 21. Type names start with an uppercase letter, use the "camel" ntatin described abve, and names fr classes shuld be nuns that are usually singular (but nt always, as in TextItems}. Sme examples: 22. Menu 23. TextItems 24. RandmGeneratr 25. String80 Rules fr indentatin and alignment 1. Use an indentatin level f 4 spaces, and always use actual spaces, never the TAB character. 2. Indent and align each f the fllwing: a. Statements in the bdy f a functin (with respect t the crrespnding functin header) b. Statements in the bdy f a lp (with respect t the lp keywrd(s))

4 c. Statements in the bdy f an if and, if the else is present, in the bdy f the else (The statements in the bdy f an if shuld always align with thse in the bdy f the crrespnding else, and the if and else must themselves align, unless the entire if..else cnstruct is a shrt ne n a single line.) d. Field definitins in the definitin f a struct e. Member definitins in the definitin f a class 3. Each level f nesting requires anther level f indentatin. 4. Align enclsing braces vertically with each ther, except in very rare cases. [A shrt array initializatin cmes t mind as an exceptin.] Situatins where braces must be aligned vertically include: a. The braces enclsing a functin bdy with the functin header b. The braces enclsing a lp bdy in a while, d..while r fr lp c. The braces enclsing the bdy f an if, else r switch with the crrespnding if, else r switch d. The braces enclsing the bdy f a struct r class with the keywrd struct r class and with the access specifier(s) public, private and/r prtected (if present) 5. Align cmments with the thing cmmented (unless, f curse, it is an in-line cmment. 6. If a statement extends ver mre than ne line, indent and align the secnd and any subsequent lines fr readability (which may smetimes mean ignring the 4- space-indentatin rule fr thse lines). Use f whitespace 1. Use vertical spacing t enhance readability. Fr example, use ne r mre blank lines t separate lgically distinct parts f a prgram. In general, dn't be afraid t use mre vertical whitespace, rather than less. 2. Use hrizntal spacing t enhance readability. Fr example, it is usually a gd idea t place a blank space n each side f an peratr such as << r +, thugh this rule can be relaxed in a lng cmplex expressin where the enclsing spaces may be remved frm sme f the peratrs t shw mre clearly which perands are assciated with particular peratrs. A typical situatin where this might be dne is t use

5 3. fr (int i=start; i<=finish; i++)... rather than fr (int i = start; i <= finish; i++)... fr example, where it might be argued that the first is (in this case) slightly mre readable. 4. Sme prgrammers prefer t use a style that is almst "functinal" in nature in their writing f selectin and lping statements, by mitting the space between the selectin r lping keywrd and the fllwing left parenthesis, as in 5. if(cnditin) while(cnditin) fr(int i=0;... ) and s n. This is als permissible, but if used at all it must (f curse) be used cnsistently. Cmments 1. When cmmenting yur cde, yu shuld strive t be infrmative withut being excessive. Yur gal is t have readable cde, and t many cmments can ften be nearly as bad as, and smetimes wrse than, t few. 2. At the beginning f a file, always have a cmment cntaining the name f the file, and a cmment cntaining the purpse f the cde in that file. These tw cmments can ften be ne line each. Yu may als want, r need, additinal cmments in this lcatin, such as the cde authr's name, the date f the current versin, the current versin number, and perhaps even a list f mdificatins included in the current versin. Exactly what these initial cmments are t cntain will generally be determined by yur instructr, r the cding cnventins f yur emplyer. 3. Fr each functin, include the fllwing infrmatin in the given rder (and nte that in the case f class files, we require the infrmatin t be present in the specificatin (header) file, but we allw it t be mitted in the implementatin file, since the appearance f the same infrmatin in tw different lcatins generally leads t a maintenance nightmare): One r mre cmment statements describing in summary frm (r mre detailed frm if necessary) what the functin des. The return value f the functin.

6 A list f the functin's parameters in the same rder as they appear in the parameter list, with a descriptin f each. The functin's pre-cnditins and pst-cnditins. A list f any exceptins the functin may thrw, with a descriptin f each. In the actual parameter list f any functin, always place cmments (//in, //ut, r //inut) t indicate the cnceptual nature f each parameter with respect t the directin f infrmatin flw. Fr class member functins, these cmments must appear in bth the class header file and the class implementatin file. 4. Be sure t fllw whatever rules may be given fr inserting the necessary cmments int yur surce cde t identify crrectly any submissin fr evaluatin. This may require putting much f yur cmmenting in a frm required by sme kind f external dcumentatin-generatin system, such as Dxygen. If s, the details will be given elsewhere. Prgram Structure 1. When yur entire prgram is cntained in a single surce cde file, that file shuld have the structure btained by placing the fllwing cde sectins in the given rder: a. Cmments indicating the name f the file, purpse f the cde in that file, and anything else that may be required in these initial cmments fr the particular ccasin b. The necessary "includes" fr the required header files (Als, each grup f includes that requires a using declaratin r ne r mre using statements, must be fllwed by the necessary using declaratins/statements.) c. Definitins fr any glbal cnstants and glbal data types, and declaratins f any explicitly permitted glbal variables. d. Prttypes fr any required functins, gruped in sme intelligent way that will depend n the nature f the prgram. e. The main functin. f. Definitins fr each f the functins whse prttypes appeared befre main, and in the same rder as the crrespnding prttypes. 2. When yu have a multi-file prgram, each file shuld fllw the abve guidelines, except f curse that nly ne file will have a main functin in it, and functin prttypes are generally in a different file frm the crrespnding functin

7 definitins. The cntents f any ne file shuld frm a lgical gruping f sme kind within the cntext f the verall prgram. Maximum Length f Surce Cde Lines Chse a maximum length fr the lines f text in yur surce cde file in rder t ensure that yur lines f cde d nt "wrap" in an unsightly fashin, either n the screen r n the printed page. It is yur respnsibility t chse and insert gd line breaks t prevent this frm happening, while at the same time ensuring that yur cde remains as readable as pssible. A maximum line length value between 72 and 76 characters is recmmended, but whatever value yu chse must be stricly less than 80. N TAB Characters in Surce Cde Yur surce cde must nt cntain any TAB characters. Mst mdern editrs have an easy way t ensure that this requirement is met. Yu shuld find ut what the necessary prcedure is in yur case, and use it cnsistently. Having nly spaces in yur surce cde file means that its indentatin and aligment will remain the same, n matter where that file may be printed. Miscellaneus 1. Put each prgram statement n a separate line, unless yu can make a very gd argument t explain why yu didn't. One such argument might be that yu used a ne-line-but-multi-statement C++ "idim" f sme kind. 2. Use named cnstants whenever apprpriate. 3. Always prtect header files, and ther files t be included, against multiple inclusin. Part B: User Interface and Prgram Output Self-identificatin and prgrammer identificatin Each prgram shuld identify bth itself and its authr(s) when it runs. Exactly hw this is t be dne fr submissins fr evaluatin will be specified by yur instructr. Self-descriptin and/r n-line help Each prgram shuld at a minimum describe briefly what it des when it runs. Such infrmatin may appear autmatically when the prgram runs, in simple cases. In mre cmplex prgrams this infrmatin and much else may be available via an n-line help system f sme kind. Once again, fr submissins fr evaluatin, yur instructr will prvide details n the kind f infrmatin t be displayed.

8 Prmpting fr input Every prgram must prmpt prperly fr all input that it requires. Nte in particular that there shuld alwalys be a space at the end f prmpt (between the prmpt itself and the input entered in respnse t that prmpt) in thse situatins where the input is entered n the same line as the prmpt. Eching input in the utput It is always gd prgramming style t have a prgram ech its input smewhere in its utput, s the user can verify that what was thught t be entered was in fact entered. Organizatin and frmatting f utput All utput must be rganized, aligned, and frmatted fr maximum readability by the user. Spelling and punctuatin The appearance f misspellings and bad punctuatin in prgram utput is nt nly bad style, but is bund t raise questins in the mind f a user abut the care taken in ther aspects f prgram develpment.

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

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

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

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

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

Report Writing Guidelines Writing Support Services

Report Writing Guidelines Writing Support Services Reprt Writing Guidelines Writing Supprt Services Overview The guidelines presented here shuld give yu an idea f general cnventins fr writing frmal reprts. Hwever, yu shuld always cnsider yur particular

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

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

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

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

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

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

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page

Proper 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 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 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

Faculty Textbook Adoption Instructions

Faculty Textbook Adoption Instructions Faculty Textbk Adptin Instructins The Bkstre has partnered with MBS Direct t prvide textbks t ur students. This partnership ffers ur students and parents mre chices while saving them mney, including ptins

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

Creating a TES Encounter/Transaction Entry Batch

Creating 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 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

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

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

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

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

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

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

To start your custom application development, perform the steps below.

To start your custom application development, perform the steps below. Get Started T start yur custm applicatin develpment, perfrm the steps belw. 1. Sign up fr the kitewrks develper package. Clud Develper Package Develper Package 2. Sign in t kitewrks. Once yu have yur instance

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

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

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

Procurement Contract Portal. User Guide

Procurement Contract Portal. User Guide Prcurement Cntract Prtal User Guide Cntents Intrductin...2 Access the Prtal...2 Hme Page...2 End User My Cntracts...2 Buttns, Icns, and the Actin Bar...3 Create a New Cntract Request...5 Requester Infrmatin...5

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

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

Web of Science Institutional authored and cited papers

Web of Science Institutional authored and cited papers Web f Science Institutinal authred and cited papers Prcedures written by Diane Carrll Washingtn State University Libraries December, 2007, updated Nvember 2009 Annual review f paper s authred and cited

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

RISKMAN REFERENCE GUIDE TO USER MANAGEMENT (Non-Network Logins)

RISKMAN REFERENCE GUIDE TO USER MANAGEMENT (Non-Network Logins) Intrductin This reference guide is aimed at managers wh will be respnsible fr managing users within RiskMan where RiskMan is nt cnfigured t use netwrk lgins. This guide is used in cnjunctin with the respective

More information

CS1150 Principles of Computer Science Introduction

CS1150 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

The Login Page Designer

The Login Page Designer The Lgin Page Designer A new Lgin Page tab is nw available when yu g t Site Cnfiguratin. The purpse f the Admin Lgin Page is t give fundatin staff the pprtunity t build a custm, yet simple, layut fr their

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

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

CS2110 Spring 2014 Assignment A1. Fibonacci Bees Due on CMS by Friday 7 Feb, 11:59PM. CS1110 Spring 2010 Assignment A1 Fibonacci Bees

CS2110 Spring 2014 Assignment A1. Fibonacci Bees Due on CMS by Friday 7 Feb, 11:59PM. CS1110 Spring 2010 Assignment A1 Fibonacci Bees 1 CS1110 Spring 2010 Assignment A1 Fibnacci Bees Intrductin Bees have a funny way f prpagating. An unfertilized female bee, the queen bee, will have male ffspring. But the ffspring f a fertilized female

More information

Overview of OPC Alarms and Events

Overview 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 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

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

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

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

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

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

- 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

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

PAGE NAMING STRATEGIES

PAGE 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 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

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

Due Date: Lab report is due on Mar 6 (PRA 01) or Mar 7 (PRA 02)

Due Date: Lab report is due on Mar 6 (PRA 01) or Mar 7 (PRA 02) Lab 3 Packet Scheduling Due Date: Lab reprt is due n Mar 6 (PRA 01) r Mar 7 (PRA 02) Teams: This lab may be cmpleted in teams f 2 students (Teams f three r mre are nt permitted. All members receive the

More information

Importing data. Import file format

Importing data. Import file format Imprting data The purpse f this guide is t walk yu thrugh all f the steps required t imprt data int CharityMaster. The system allws nly the imprtatin f demgraphic date e.g. names, addresses, phne numbers,

More information

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath 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 information

Reporting Requirements Specification

Reporting Requirements Specification Cmmunity Mental Health Cmmn Assessment Prject OCAN 2.0 - ing Requirements Specificatin May 4, 2010 Versin 2.0.2 SECURITY NOTICE This material and the infrmatin cntained herein are prprietary t Cmmunity

More information

Create Your Own Report Connector

Create Your Own Report Connector Create Yur Own Reprt Cnnectr Last Updated: 15-December-2009. The URS Installatin Guide dcuments hw t cmpile yur wn URS Reprt Cnnectr. This dcument prvides a guide t what yu need t create in yur cnnectr

More information

SmartPass User Guide Page 1 of 50

SmartPass 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 information

The Reporting Tool. An Overview of HHAeXchange s Reporting Tool

The Reporting Tool. An Overview of HHAeXchange s Reporting Tool HHAeXchange The Reprting Tl An Overview f HHAeXchange s Reprting Tl Cpyright 2017 Hmecare Sftware Slutins, LLC One Curt Square 44th Flr Lng Island City, NY 11101 Phne: (718) 407-4633 Fax: (718) 679-9273

More information

How to use DCI Contract Alerts

How to use DCI Contract Alerts Hw t use DCI Cntract Alerts Welcme t the MyDCI Help Guide series Hw t use DCI Cntract Alerts In here, yu will find a lt f useful infrmatin abut hw t make the mst f yur DCI Alerts which will help yu t fully

More information

Workshop Background. Purpose. Context

Workshop Background. Purpose. Context Wrkshp Backgrund Purpse Prvide yu with resurces and tls t help yu t create, stre, and use metadata t help extend the use f yur research utputs. Cntext Wrkshp Series: Preservatin and Curatin f ETD Research

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

DATABASE SEARCHING. Instructional guide

DATABASE SEARCHING. Instructional guide University f KwaZulu-Natal Library, Pietermaritzburg DATABASE SEARCHING Instructinal guide Databases cntain references t jurnal articles, chapters in bks and in sme cases, theses and dissertatins. Sme

More information

Whitepaper. Migrating External Specs to AutoCAD Plant 3D. Set Up the Required Folder Structure. Migrating External Specs to AutoCAD Plant 3D

Whitepaper. Migrating External Specs to AutoCAD Plant 3D. Set Up the Required Folder Structure. Migrating External Specs to AutoCAD Plant 3D Whitepaper The wrkflw fr migrating specs frm 3 rd -party sftware packages t AutCAD Plant 3D is as fllws: Set Up the Required Flder Structure Build CSV Files Cntaining Part Infrmatin Map External Parts

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

What s New in version 3.04 November 2012

What s New in version 3.04 November 2012 What s New in versin 3.04 Nvember 2012 PrAdmin versin 3.04 intrduces the ability t validate the Database Linkage, a new Late Retirement Calculatin cmpnent, service and salary anniversary year measurement

More information

CLIC ADMIN USER S GUIDE

CLIC ADMIN USER S GUIDE With CLiC (Classrm In Cntext), teaching and classrm instructin becmes interactive, persnalized, and fcused. This digital-based curriculum, designed by Gale, is flexible allwing teachers t make their classrm

More information

Getting Started with the Web Designer Suite

Getting Started with the Web Designer Suite Getting Started with the Web Designer Suite The Web Designer Suite prvides yu with a slew f Dreamweaver extensins that will assist yu in the design phase f creating a website. The tls prvided in this suite

More information

Guidelines for Electronic Abstract Submission 29th International Nursing Research Congress July 2018 Melbourne, Australia

Guidelines for Electronic Abstract Submission 29th International Nursing Research Congress July 2018 Melbourne, Australia Guidelines fr Electrnic Abstract Submissin 29th Internatinal Nursing Research Cngress 19-23 July 2018 Melburne, Australia As yu prepare fr submitting, please keep the fllwing items in mind. Please read

More information

Assignment #5: Rootkit. ECE 650 Fall 2018

Assignment #5: Rootkit. ECE 650 Fall 2018 General Instructins Assignment #5: Rtkit ECE 650 Fall 2018 See curse site fr due date Updated 4/10/2018, changes nted in green 1. Yu will wrk individually n this assignment. 2. The cde fr this assignment

More information

Doctoral Dissertation and Capstone Project Submission Guide

Doctoral Dissertation and Capstone Project Submission Guide Dctral Dissertatin and Capstne Prject Submissin Guide Part I: Dctral Dissertatin/Capstne Prject Submissin Prcess 1. Dctral Dissertatin/Capstne Prject apprved by cmmittee and department 2. Student submits

More information

Creating Relativity Dynamic Objects

Creating Relativity Dynamic Objects Creating Relativity Dynamic Objects January 29, 2018 - Versin 9.5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

More information

InformationNOW Standardized Tests

InformationNOW Standardized Tests InfrmatinNOW Standardized Tests Abut this Guide This Quick Reference Guide prvides an verview f the ptins available fr tracking standardized tests in InfrmatinNOW. Creating Standardized Tests T create

More information

Infrastructure Series

Infrastructure Series Infrastructure Series TechDc WebSphere Message Brker / IBM Integratin Bus Parallel Prcessing (Aggregatin) (Message Flw Develpment) February 2015 Authr(s): - IBM Message Brker - Develpment Parallel Prcessing

More information

STUDIO DESIGNER. Design Projects Basic Participant

STUDIO 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 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

These tasks can now be performed by a special program called FTP clients.

These 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 information

UML : MODELS, VIEWS, AND DIAGRAMS

UML : MODELS, VIEWS, AND DIAGRAMS UML : MODELS, VIEWS, AND DIAGRAMS Purpse and Target Grup f a Mdel In real life we ften bserve that the results f cumbersme, tedius, and expensive mdeling simply disappear in a stack f paper n smene's desk.

More information

Quick Start Guide. Basic Concepts. DemoPad Designer - Quick Start Guide

Quick Start Guide. Basic Concepts. DemoPad Designer - Quick Start Guide Quick Start Guide This guide will explain the prcess f installing & using the DemPad Designer sftware fr PC, which allws yu t create a custmised Graphical User Interface (GUI) fr an iphne / ipad & embed

More information

IBM Cognos TM1 Web Tips and Techniques

IBM Cognos TM1 Web Tips and Techniques Tip r Technique IBM Cgns TM1 Web Tips and Prduct(s): IBM Cgns TM1 Area f Interest: Develpment IBM Cgns TM1 Web Tips and 2 Cpyright Cpyright 2008 Cgns ULC (frmerly Cgns Incrprated). Cgns ULC is an IBM Cmpany.

More information

Configuring Database & SQL Query Monitoring With Sentry-go Quick & Plus! monitors

Configuring Database & SQL Query Monitoring With Sentry-go Quick & Plus! monitors Cnfiguring Database & SQL Query Mnitring With Sentry-g Quick & Plus! mnitrs 3Ds (UK) Limited, Nvember, 2013 http://www.sentry-g.cm Be Practive, Nt Reactive! One f the best ways f ensuring a database is

More information

Using the Swiftpage Connect List Manager

Using 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 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

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

Extended Traceability Report for Enterprise Architect

Extended Traceability Report for Enterprise Architect Extended Traceability Reprt User Guide Extended Traceability Reprt fr Enterprise Architect Extended Traceability Reprt fr Enterprise Architect... 1 Disclaimer... 2 Dependencies... 2 Overview... 2 Limitatins

More information

Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide

Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide Paper 1860-2018 Easing int Data Explratin, Reprting, and Analytics Using SAS Enterprise Guide ABSTRACT Marje Fecht, Prwerk Cnsulting Whether yu have been prgramming in SAS fr years, are new t it, r have

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

USER GUIDE. Thanks for purchasing the igate! You ll need to follow these five Configuration Steps to get your igate up and running:

USER GUIDE. Thanks for purchasing the igate! You ll need to follow these five Configuration Steps to get your igate up and running: USER GUIDE Thanks fr purchasing the igate! Yu ll need t fllw these five Cnfiguratin Steps t get yur igate up and running: 1. Cnfigure Yur Hardware 2. Cnfigure Yur Cmputer 3. Cnfigure Yur Internet Cnnectin

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

Date: October User guide. Integration through ONVIF driver. Partner Self-test. Prepared By: Devices & Integrations Team, Milestone Systems

Date: October User guide. Integration through ONVIF driver. Partner Self-test. Prepared By: Devices & Integrations Team, Milestone Systems Date: Octber 2018 User guide Integratin thrugh ONVIF driver. Prepared By: Devices & Integratins Team, Milestne Systems 2 Welcme t the User Guide fr Online Test Tl The aim f this dcument is t prvide guidance

More information

1 Introduction Functions... 2

1 Introduction Functions... 2 Interface Descriptin API fr IPS Analytics Applicatins n the Axis ACAP Platfrm Cntents 1 Intrductin... 2 2 Functins... 2 3 Interfaces... 2 3.1 Cnfiguratin... 3 3.1.1 Interface C.1: Web cnfiguratr (IPS add-n)...

More information

EBSCOhost User Guide Print/ /Save. Print, , Save, Notetaking, Export, and Cite Your Search Results. support.ebsco.com

EBSCOhost User Guide Print/ /Save. Print,  , Save, Notetaking, Export, and Cite Your Search Results. support.ebsco.com EBSCOhst User Guide Print/E-Mail/Save Print, E-mail, Save, Ntetaking, Exprt, and Cite Yur Search Results supprt.ebsc.cm Table f Cntents Inside this User Guide... 3 Printing Yur Results... 3 E-mailing Yur

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

Focus University Training Document

Focus University Training Document Fcus University Training Dcument Fcus Training: Subjects and Curses Setup; Curse Requests Training Agenda: Setting up Subjects and Curses; Entering Curse Requests; Scheduling Reprts 2016 Subject and Curses

More information

Managing Your Access To The Open Banking Directory How To Guide

Managing Your Access To The Open Banking Directory How To Guide Managing Yur Access T The Open Banking Directry Hw T Guide Date: June 2018 Versin: v2.0 Classificatin: PUBLIC OPEN BANKING LIMITED 2018 Page 1 f 32 Cntents 1. Intrductin 3 2. Signing Up 4 3. Lgging In

More information

Last time. VHDL in Action. Motivation. Covered in This Lesson. Packages. Packages (cont'd)

Last 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 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

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

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

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