Here are all the comments that your Udacity Code Reviewer had about your code...

Size: px
Start display at page:

Download "Here are all the comments that your Udacity Code Reviewer had about your code..."

Transcription

1 Here are all the comments that your Udacity Code Reviewer had about your code Line 96 in finalproject.py is Critical hexagon.exitonclick() Reviewer says: The last line of the draw function of the hexagon class throws an exception. The exitonclick() method is called on the hexagon object instead of on turtle like the other methods. This method does not exist on the hexagon object so it will throw an exception and exit the program when called. Line 73 in finalproject.py is Critical star=turtle.turtle() star.color(self.shape_color)#takesuserinputedcolorforthe drawing. star.goto(self.x,self.y) Reviewer says: A bug was found when drawing objects in a position other than (0, 0). When the pen/turtle moves to the specified position there is a line drawn before the shape is drawn. Consider looking at the penup() and pendown() methods so the extra line is not drawn. Line 102 in finalproject.py is Nitpick print("whatcolorwouldyoulikeyourdrawingtobe?")#promptstheuser tochooseacolortodrawtheshapewith. user_color=raw_input()

2 print("wherewouldyouliketodrawtheshape?(inputx coordinate)")#promptstheusertochoosethexcoordinateforthe turtle'sstartingposition. user_x=raw_input() print("wherewouldyouliketodrawtheshape?(inputy coordinate)")#promptstheusertochoosetheycoordinateforthe turtle'sstartingposition user_y=raw_input() Reviewer says: There are a number of lines in the code to prompt the user for things like color and position that is duplicated for every shape type. These could be pulled up and saved before the user input check on shape so that they are only in one place. Avoiding duplication in code reduces maintenance costs (any updates are made in one place) as well as the potential for errors. This is sometimes referred to as the "Don't Repeat Yourself" Principle (or DRY) if you'd like to look further into that online. Line 5 in finalproject.py is Nitpick classtriangle(): #Initializationfunction(requires3inputswhencalled) def init (self,shape_color,x_pos,y_pos): self.shape="triangle" self.shape_color=shape_color self.x=x_pos self.y=y_pos #Drawfunction.Usesturtletodrawtheshapeoftheclass triangle=turtle.turtle() triangle.color(self.shape_color)#takesuserinputedcolorfor thedrawing. triangle.goto(self.x,self.y)#takesuserinputedcoordinatesand setsthestartingpositionoftheturtle. foriinrange(1,4): triangle.forward(100) triangle.right(120) turtle.exitonclick() Reviewer says: Although I think your classes are a great start as they are clean and easy

3 to follow, there is also some duplication within them. Each class stores the same member variable information and performs some of the same functions in their draw methods. Try to think of a way to reduce this duplication for the reasons stated earlier regarding code duplication (e.g. if you have to make a change it is much less error prone to do it in one place). Line 1 in finalproject.py is Nitpick #importsturtlelibraryintotheprogram. importturtle #classtriangle classtriangle(): #Initializationfunction(requires3inputswhencalled) def init (self,shape_color,x_pos,y_pos): self.shape="triangle" self.shape_color=shape_color self.x=x_pos self.y=y_pos #Drawfunction.Usesturtletodrawtheshapeoftheclass triangle=turtle.turtle() triangle.color(self.shape_color)#takesuserinputedcolorfor thedrawing. triangle.goto(self.x,self.y)#takesuserinputedcoordinatesand setsthestartingpositionoftheturtle. foriinrange(1,4): triangle.forward(100) triangle.right(120) turtle.exitonclick() Reviewer says: I see that you've attempted to document your code and that's great! There are a few things to keep in mind when documenting your python code. There should be a space between the '#' and the text of the comment (e.g. # comment) built in or library functions do not need explanation about what they do (e.g. #imports turtle library into the program < this is not necessary, a python developer will know what 'import'

4 means); the same is true for things like the init method avoid inline comments (comments on the same line as a piece of code) as per the python style guide ( 0008/#block comments) documenting classes and methods using block comments focus more on the "why" in comments as opposed to the "what" or the "how"; often times a developer can see what is being done in the code, but it is the why that can be elusive and needs further clarification; the other danger is that if the "what" or "how" is being explained, but the code does not match up it may not be clear if there was a code change, but the comments weren't updated or if it is actually a bug watch for grammatical or spelling errors; the typo 'inputed' is used in many places Some of the above points are highlighted or explained further in the Python Style Guide (a.k.a PEP 8) and is a good resource for learning more about python coding conventions and establishing some good python coding habits. It can be found here: /#introduction Line 99 in finalproject.py is Awesome print("chooseatriangle,square,circle,starorhexagontodraw") #Promptstheusertochooseashapetodraw. user_input=raw_input() if(user_input=="triangle"):#teststheuserinputtofindthe inputedshape. print("whatcolorwouldyoulikeyourdrawingtobe?")#prompts theusertochooseacolortodrawtheshapewith. user_color=raw_input() print("wherewouldyouliketodrawtheshape?(inputx coordinate)")#promptstheusertochoosethexcoordinateforthe turtle'sstartingposition. user_x=raw_input() print("wherewouldyouliketodrawtheshape?(inputy coordinate)")#promptstheusertochoosetheycoordinateforthe turtle'sstartingposition user_y=raw_input() Reviewer says: I think it's great that you are prompting the user for information about what to draw! Including the shape, color and position is a nice touch.

5 Line 98 in finalproject.py is Nitpick whiletrue: print("chooseatriangle,square,circle,starorhexagontodraw") #Promptstheusertochooseashapetodraw. user_input=raw_input() if(user_input=="triangle"):#teststheuserinputtofindthe inputedshape. print("whatcolorwouldyoulikeyourdrawingtobe?")#prompts theusertochooseacolortodrawtheshapewith. user_color=raw_input() print("wherewouldyouliketodrawtheshape?(inputx coordinate)")#promptstheusertochoosethexcoordinateforthe turtle'sstartingposition. user_x=raw_input() print("wherewouldyouliketodrawtheshape?(inputy coordinate)")#promptstheusertochoosetheycoordinateforthe turtle'sstartingposition user_y=raw_input() triangle=triangle(user_color,int(user_x),int(user_y))#calls initializationfunctionfortrianglewiththerequiredinputs. triangle.draw()#callsthedrawfunctionwithinthetriangleclass todrawthechosenshape. Reviewer says: Here are a few suggested improvements to the code that handles user input: it'd be lovely if there was a way for the user to exit the program gracefully (like an 'exit' option on the shape prompt, for example) something that may be good to know also is that you can pass in a prompt to the raw_input() call and it will be displayed to the user instead of the separate print statement ( any time a program is prompting the user for input there is a chance that it may get data it doesn't expect; the code should be able to handle unexpected input so that it doesn't crash; the submitted code is doing this for the shape input; if there is something entered that is not one of the approved shapes it lets the user know (which is great) and re prompts the user. That idea just needs to be extended to the input for color and co ordinates; You may want to also check out exception handling as that is a great way to handle unexpected conditions the if/else statements work fine and everything is neatly organized, but if you are feeling

6 adventurous I would recommend looking how to handle the selection in a "more pythonic way"; take a look here if you're interested: pythonic way to implement switchcase statem ents Line 101 in finalproject.py is Awesome if(user_input=="triangle"): Reviewer says: The code checks user input for shape type and lets user know if an invalid input was entered; it then re prompts the user for a shape. That's great! Line 5 in finalproject.py is Nitpick classtriangle(): classsquare(): classcircle(): classstar(): classhexagon(): Reviewer says: Class names should follow CamelCase convention as per PEP 8 ( 0008/#class names) e.g. class Triangle(): Line 19 in finalproject.py is Nitpick foriinrange(1,4): Reviewer says: A minor style nitpick: There should be a single space after commas in function calls ( 0008/#whitespace in expressions and statements) e.g. range(1, 4):

7 This is also to be consistent with the other function calls in the code. Line 104 in finalproject.py is Nitpick print("wherewouldyouliketodrawtheshape?(inputxcoordinate)") #Promptstheusertochoosethexcoordinatefortheturtle'sstarting position. user_x=raw_input() print("wherewouldyouliketodrawtheshape?(inputy coordinate)")#promptstheusertochoosetheycoordinateforthe turtle'sstartingposition Reviewer says: Another minor nitpick: some of the code lines are a bit long; maximum line length is specified in the style guide ( 0008/#maximum line length) note: this may be fixed by other edits, like reducing inline comments and is mentioned here for future reference Line 15 in finalproject.py is Nitpick turtle.exitonclick() Reviewer says: This is more of a design consideration and not an error. You may want to consider moving the clearscreen and exitonclick functionality out of the draw method of the classes as they are technically not items that are needed to draw the shape. Why it matters is probably best explained with an example: if this was code that was going to be included and used by other code that may want to draw those shapes and you wanted to draw multiple shapes you would not be able to do so as every new shape would clear the screen. This is just something to consider when thinking about designing software. A good question to ask is, "does the method/class do what is expected?" This kind of concept is also known as the "Single Responsibility Principle" or SRP and if you search for that online there are many resources and discussions on the subject. The basic idea is that classes should have a single "responsibility" and "do one thing". This

8 leads to easier maintenance and more robust classes. In this case one direction the code could go is first pulling out the clearscreen and exitonclick into the code that calls the draw method (in the while loop) Line 5 in finalproject.py is Awesome classtriangle(): #Initializationfunction(requires3inputswhencalled) def init (self,shape_color,x_pos,y_pos): self.shape="triangle" self.shape_color=shape_color self.x=x_pos self.y=y_pos #Drawfunction.Usesturtletodrawtheshapeoftheclass triangle=turtle.turtle() triangle.color(self.shape_color)#takesuserinputedcolorfor thedrawing. triangle.goto(self.x,self.y)#takesuserinputedcoordinatesand setsthestartingpositionoftheturtle. foriinrange(1,4): triangle.forward(100) triangle.right(120) turtle.exitonclick() Reviewer says: Grouping the information needed for drawing the shape into classes is really good. Except for the clearscreen and exitonscreen call the draw function also focuses on drawing the shape so it's very close to following the Single Responsibility Principle. The code is easy to follow and understand. Because the code was easy to follow and understand it made it easier to find areas for improvement, so good job!

Here are all the comments that your Udacity Code Reviewer had about your code...

Here are all the comments that your Udacity Code Reviewer had about your code... Here are all the comments that your Udacity Code Reviewer had about your code... Line 4 in udacity_portfolio_project.py is Critical file_p=raw_input("pleaseenterthenetworklocationoftheportfolio file:")

More information

In this project, you ll learn how to use a turtle to draw awesome shapes and patterns.

In this project, you ll learn how to use a turtle to draw awesome shapes and patterns. Turtle Power Introduction: In this project, you ll learn how to use a turtle to draw awesome shapes and patterns. Step 1: Hello, turtle! We re going to have some fun programming turtles. A turtle is a

More information

Introduction to Python Code Quality

Introduction to Python Code Quality Introduction to Python Code Quality Clarity and readability are important (easter egg: type import this at the Python prompt), as well as extensibility, meaning code that can be easily enhanced and extended.

More information

Ruby on Rails Welcome. Using the exercise files

Ruby on Rails Welcome. Using the exercise files Ruby on Rails Welcome Welcome to Ruby on Rails Essential Training. In this course, we're going to learn the popular open source web development framework. We will walk through each part of the framework,

More information

You might already know that tables are organized into vertical columns and horizontal rows.

You might already know that tables are organized into vertical columns and horizontal rows. Access 2013 Introduction to Objects Introduction Databases in Access are composed of four objects: tables, queries, forms, and reports. Together, these objects allow you to enter, store, analyze, and compile

More information

Self-Teach Exercises: Getting Started Turtle Python

Self-Teach Exercises: Getting Started Turtle Python Self-Teach Exercises: Getting Started Turtle Python 0.1 Select Simple drawing with pauses Click on the Help menu, point to Examples 1 drawing, counting, and procedures, and select the first program on

More information

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts

More information

Documentation Nick Parlante, 1996.Free for non-commerical use.

Documentation Nick Parlante, 1996.Free for non-commerical use. Documentation Nick Parlante, 1996.Free for non-commerical use. A program expresses an algorithm to the computer. A program is clear or "readable" if it also does a good job of communicating the algorithm

More information

Lesson 4: Who Goes There?

Lesson 4: Who Goes There? Lesson 4: Who Goes There? In this lesson we will write a program that asks for your name and a password, and prints a secret message if you give the right password. While doing this we will learn: 1. What

More information

1 Getting used to Python

1 Getting used to Python 1 Getting used to Python We assume you know how to program in some language, but are new to Python. We'll use Java as an informal running comparative example. Here are what we think are the most important

More information

Perl Basics. Structure, Style, and Documentation

Perl Basics. Structure, Style, and Documentation Perl Basics Structure, Style, and Documentation Copyright 2006 2009 Stewart Weiss Easy to read programs Your job as a programmer is to create programs that are: easy to read easy to understand, easy to

More information

Most of the class will focus on if/else statements and the logical statements ("conditionals") that are used to build them. Then I'll go over a few

Most of the class will focus on if/else statements and the logical statements (conditionals) that are used to build them. Then I'll go over a few With notes! 1 Most of the class will focus on if/else statements and the logical statements ("conditionals") that are used to build them. Then I'll go over a few useful functions (some built into standard

More information

Computer and Programming: Lab 1

Computer and Programming: Lab 1 01204111 Computer and Programming: Lab 1 Name ID Section Goals To get familiar with Wing IDE and learn common mistakes with programming in Python To practice using Python interactively through Python Shell

More information

Draw beautiful and intricate patterns with Python Turtle, while learning how to code with Python.

Draw beautiful and intricate patterns with Python Turtle, while learning how to code with Python. Raspberry Pi Learning Resources Turtle Snowflakes Draw beautiful and intricate patterns with Python Turtle, while learning how to code with Python. How to draw with Python Turtle 1. To begin, you will

More information

CS106A, Stanford Handout #30. Coding Style

CS106A, Stanford Handout #30. Coding Style CS106A, Stanford Handout #30 Fall, 2004-05 Nick Parlante Coding Style When writing paper, you can have well-crafted, correctly spelled sentences and create "A" work. Or you can hack out the text in a hurry.

More information

Activity Guide APIs and Using Functions with Parameters

Activity Guide APIs and Using Functions with Parameters Unit 3 Lesson 5 Name(s) Period Date Activity Guide APIs and Using Functions with Parameters CS Content An API is a reference guide which catalogs and explains the functionality of a programming language.

More information

Python for Non-programmers

Python for Non-programmers Python for Non-programmers A Gentle Introduction 1 Yann Tambouret Scientific Computing and Visualization Information Services & Technology Boston University 111 Cummington St. yannpaul@bu.edu Winter 2013

More information

Troubleshooting Maple Worksheets: Common Problems

Troubleshooting Maple Worksheets: Common Problems Troubleshooting Maple Worksheets: Common Problems So you've seen plenty of worksheets that work just fine, but that doesn't always help you much when your worksheet isn't doing what you want it to. This

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

Introduction. Using Styles. Word 2010 Styles and Themes. To Select a Style: Page 1

Introduction. Using Styles. Word 2010 Styles and Themes. To Select a Style: Page 1 Word 2010 Styles and Themes Introduction Page 1 Styles and themes are powerful tools in Word that can help you easily create professional looking documents. A style is a predefined combination of font

More information

NetLogo Lab 3 Tutorial: Finding Peaks

NetLogo Lab 3 Tutorial: Finding Peaks NetLogo Lab 3 Tutorial: Finding Peaks You've already been exposed to the three types of agents you can give commands to in NetLogo: turtles, patches, and the observer. As you start to write your own procedures,

More information

Intro. Classes & Inheritance

Intro. Classes & Inheritance Intro Functions are useful, but they're not always intuitive. Today we're going to learn about a different way of programming, where instead of functions we will deal primarily with objects. This school

More information

This lesson is part 5 of 5 in a series. You can go to Invoice, Part 1: Free Shipping if you'd like to start from the beginning.

This lesson is part 5 of 5 in a series. You can go to Invoice, Part 1: Free Shipping if you'd like to start from the beginning. Excel Formulas Invoice, Part 5: Data Validation "Oh, hey. Um we noticed an issue with that new VLOOKUP function you added for the shipping options. If we don't type the exact name of the shipping option,

More information

Here we will look at some methods for checking data simply using JOSM. Some of the questions we are asking about our data are:

Here we will look at some methods for checking data simply using JOSM. Some of the questions we are asking about our data are: Validating for Missing Maps Using JOSM This document covers processes for checking data quality in OpenStreetMap, particularly in the context of Humanitarian OpenStreetMap Team and Red Cross Missing Maps

More information

Python with Turtle. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : November, More documents are freely available at PythonDSP

Python with Turtle. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : November, More documents are freely available at PythonDSP Python with Turtle Meher Krishna Patel Created on : Octorber, 2017 Last updated : November, 2017 More documents are freely available at PythonDSP Table of contents Table of contents i 1 Introduction 1

More information

Art, Nature, and Patterns Introduction

Art, Nature, and Patterns Introduction Art, Nature, and Patterns Introduction to LOGO Describing patterns with symbols This tutorial is designed to introduce you to some basic LOGO commands as well as two fundamental and powerful principles

More information

KMyMoney Transaction Matcher

KMyMoney Transaction Matcher KMyMoney Transaction Matcher Ace Jones Use Cases Case #1A: Matching hand-entered transactions manually I enter a transaction by hand, with payee, amount, date & category. I download

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

CSI Lab 02. Tuesday, January 21st

CSI Lab 02. Tuesday, January 21st CSI Lab 02 Tuesday, January 21st Objectives: Explore some basic functionality of python Introduction Last week we talked about the fact that a computer is, among other things, a tool to perform high speed

More information

Designing with patterns - Refactoring. What is Refactoring?

Designing with patterns - Refactoring. What is Refactoring? Designing with patterns - Refactoring Bottom up based application of patterns Improving the design after it has been written What is Refactoring? Two definitions, the object and act of change in software

More information

MITOCW watch?v=flgjisf3l78

MITOCW watch?v=flgjisf3l78 MITOCW watch?v=flgjisf3l78 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To

More information

4. Write sets of directions for how to check for direct variation. How to check for direct variation by analyzing the graph :

4. Write sets of directions for how to check for direct variation. How to check for direct variation by analyzing the graph : Name Direct Variations There are many relationships that two variables can have. One of these relationships is called a direct variation. Use the description and example of direct variation to help you

More information

CPSC 320 Sample Solution, Playing with Graphs!

CPSC 320 Sample Solution, Playing with Graphs! CPSC 320 Sample Solution, Playing with Graphs! September 23, 2017 Today we practice reasoning about graphs by playing with two new terms. These terms/concepts are useful in themselves but not tremendously

More information

10 C Language Tips for Hardware Engineers

10 C Language Tips for Hardware Engineers 10 C Language Tips for Hardware Engineers Jacob Beningo - March 05, 2013 On its own, the software development process has numerous hazards and obstacles that require navigation in order to successfully

More information

Introduction to Asymptotic Running Time Analysis CMPSC 122

Introduction to Asymptotic Running Time Analysis CMPSC 122 Introduction to Asymptotic Running Time Analysis CMPSC 122 I. Comparing Two Searching Algorithms Let's begin by considering two searching algorithms you know, both of which will have input parameters of

More information

Stage 11 Array Practice With. Zip Code Encoding

Stage 11 Array Practice With. Zip Code Encoding A Review of Strings You should now be proficient at using strings, but, as usual, there are a few more details you should know. First, remember these facts about strings: Array Practice With Strings are

More information

This program is designed to help you generate and send bug reports (and thank-you notes) about perl5 and the modules which ship with it.

This program is designed to help you generate and send bug reports (and thank-you notes) about perl5 and the modules which ship with it. NAME perlbug - how to submit bug reports on Perl SYNOPSIS perlbug perlbug [ -v ] [ -a address ] [ -s subject ] [ -b body -f inputfile ] [ -F outputfile ] [ -r returnaddress ] [ -e editor ] [ -c adminaddress

More information

Software.LifeTips.com

Software.LifeTips.com Software.LifeTips.com Category: Excel 2000 Subcategory: Charting Tip: Adding gridlines to your chart in Excel Gridlines can make it easier for people to estimate the values represented in your chart. To

More information

CS103 Spring 2018 Mathematical Vocabulary

CS103 Spring 2018 Mathematical Vocabulary CS103 Spring 2018 Mathematical Vocabulary You keep using that word. I do not think it means what you think it means. - Inigo Montoya, from The Princess Bride Consider the humble while loop in most programming

More information

Intro. Speed V Growth

Intro. Speed V Growth Intro Good code is two things. It's elegant, and it's fast. In other words, we got a need for speed. We want to find out what's fast, what's slow, and what we can optimize. First, we'll take a tour of

More information

Reference Guide. Adding a Generic File Store - Importing From a Local or Network ShipWorks Page 1 of 21

Reference Guide. Adding a Generic File Store - Importing From a Local or Network ShipWorks Page 1 of 21 Reference Guide Adding a Generic File Store - Importing From a Local or Network Folder Page 1 of 21 Adding a Generic File Store TABLE OF CONTENTS Background First Things First The Process Creating the

More information

Lesson 1 Python: Interactive Fiction

Lesson 1 Python: Interactive Fiction Lesson 1 Python: Interactive Fiction Introduction Interactive fiction is a story told with software. We will be using the programming language Python. The program will simulate a place and some actions,

More information

Functions and Decomposition

Functions and Decomposition Unit 4 Functions and Decomposition Learning Outcomes Design and implement functions to carry out a particular task. Begin to evaluate when it is necessary to split some work into functions. Locate the

More information

Slow Motion with photo morphing software Posted by juhartik - 11 May :05

Slow Motion with photo morphing software Posted by juhartik - 11 May :05 Slow Motion with photo morphing software Posted by juhartik - 11 May 2011 06:05 There has been some discussion(s) in this forum how to make slow motion effect. Most of the NLEs does not offer any tool

More information

Extended Introduction to Computer Science CS1001.py Lecture 10, part A: Interim Summary; Testing; Coding Style

Extended Introduction to Computer Science CS1001.py Lecture 10, part A: Interim Summary; Testing; Coding Style Extended Introduction to Computer Science CS1001.py Lecture 10, part A: Interim Summary; Testing; Coding Style Instructors: Benny Chor, Amir Rubinstein Teaching Assistants: Michal Kleinbort, Amir Gilad

More information

CSE : Python Programming

CSE : Python Programming CSE 399-004: Python Programming Lecture 2: Data, Classes, and Modules January 22, 2007 http://www.seas.upenn.edu/~cse39904/ Administrative things Teaching assistant Brian Summa (bsumma @ seas.upenn.edu)

More information

Clean code. Why? What is "clean code"? Bjarne Stroustrup. Grady Booch. Dave Thomas. 1 z 5. Petr Pošík. Department of Cybernetics, FEE CTU in Prague

Clean code. Why? What is clean code? Bjarne Stroustrup. Grady Booch. Dave Thomas. 1 z 5. Petr Pošík. Department of Cybernetics, FEE CTU in Prague 1 z 5 Clean code Petr Pošík Department of Cybernetics, FEE CTU in Prague EECS, BE5B33PRG: Programming Essentials, 2015 Based on: PEP 8 (https://www.python.org/dev/peps/pep-0008/). Robert C. Martin: Clean

More information

Web UI Dos and Don ts

Web UI Dos and Don ts Web UI Dos and Don ts 1. A One Column Layout instead of multi-columns a. A one column layout gives you more control over your narrative. It guides your readers in a more predictable way from top to bottom.

More information

Week 2: The Clojure Language. Background Basic structure A few of the most useful facilities. A modernized Lisp. An insider's opinion

Week 2: The Clojure Language. Background Basic structure A few of the most useful facilities. A modernized Lisp. An insider's opinion Week 2: The Clojure Language Background Basic structure A few of the most useful facilities A modernized Lisp Review of Lisp's origins and development Why did Lisp need to be modernized? Relationship to

More information

UACCESS ANALYTICS. Intermediate Reports & Dashboards. Arizona Board of Regents, 2015 THE UNIVERSITY OF ARIZONA. updated v.1.

UACCESS ANALYTICS. Intermediate Reports & Dashboards. Arizona Board of Regents, 2015 THE UNIVERSITY OF ARIZONA. updated v.1. UACCESS ANALYTICS Arizona Board of Regents, 2015 THE UNIVERSITY OF ARIZONA For information and permission to use our PDF manuals, please send an email to: uitsworkshopteam@list.arizona.edu updated 06.01.2015

More information

Being a Good OSS Contributor. Jeremy Mikola

Being a Good OSS Contributor. Jeremy Mikola Being a Good OSS Contributor Jeremy Mikola Who's using open-source software? Who has ever... Posted on the mailing list or forum Collaborated in IRC Answered a question on Stack Overflow Written a technical

More information

CMSC 201 Fall 2016 Lab 09 Advanced Debugging

CMSC 201 Fall 2016 Lab 09 Advanced Debugging CMSC 201 Fall 2016 Lab 09 Advanced Debugging Assignment: Lab 09 Advanced Debugging Due Date: During discussion Value: 10 points Part 1: Introduction to Errors Throughout this semester, we have been working

More information

Problem Solving with Python Challenges 2 Scratch to Python

Problem Solving with Python Challenges 2 Scratch to Python Problem Solving with Python Challenges 2 Scratch to Python Contents 1 Drawing a triangle... 1 2 Generalising our program to draw regular polygons in Scratch and Python... 2 2.1 Drawing a square... 2 2.2

More information

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals

More information

: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics

: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics Assignment 1: Turtle Graphics Page 1 600.112: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics Peter H. Fröhlich phf@cs.jhu.edu Joanne Selinski joanne@cs.jhu.edu Due Date: Wednesdays

More information

CS 1110, LAB 3: MODULES AND TESTING First Name: Last Name: NetID:

CS 1110, LAB 3: MODULES AND TESTING   First Name: Last Name: NetID: CS 1110, LAB 3: MODULES AND TESTING http://www.cs.cornell.edu/courses/cs11102013fa/labs/lab03.pdf First Name: Last Name: NetID: The purpose of this lab is to help you better understand functions, and to

More information

Note: Photoshop tutorial is spread over two pages. Click on 2 (top or bottom) to go to the second page.

Note: Photoshop tutorial is spread over two pages. Click on 2 (top or bottom) to go to the second page. Introduction During the course of this Photoshop tutorial we're going through 9 major steps to create a glass ball. The main goal of this tutorial is that you get an idea how to approach this. It's not

More information

Working with Track Changes: A Guide

Working with Track Changes: A Guide Working with Track Changes: A Guide Prepared by Chris Cameron & Lesley-Anne Longo The Editing Company Working with Track Changes: A Guide While many people may think of editors hunched over their desks,

More information

Microsoft Office Word 2010

Microsoft Office Word 2010 Microsoft Office Word 2010 Content Microsoft Office... 0 A. Word Basics... 4 1.Getting Started with Word... 4 Introduction... 4 Getting to know Word 2010... 4 The Ribbon... 4 Backstage view... 7 The Quick

More information

SIMPLE PROGRAMMING. The 10 Minute Guide to Bitwise Operators

SIMPLE PROGRAMMING. The 10 Minute Guide to Bitwise Operators Simple Programming SIMPLE PROGRAMMING The 10 Minute Guide to Bitwise Operators (Cause you've got 10 minutes until your interview starts and you know you should probably know this, right?) Twitter: Web:

More information

Shell Script Not Running Via Cron Runs Fine Manually

Shell Script Not Running Via Cron Runs Fine Manually Shell Script Not Running Via Cron Runs Fine Manually to run every 15 minutes. I can execute the script manually but Crontab will not launch it successfully. shell script not running via crontab, runs fine

More information

Variables and. What Really Happens When You Run hello_world.py

Variables and. What Really Happens When You Run hello_world.py 2 Variables and Simple Data Types In this chapter you ll learn about the different kinds of data you can work with in your Python programs. You ll also learn how to use variables to represent data in your

More information

Here we will look at some methods for checking data simply using JOSM. Some of the questions we are asking about our data are:

Here we will look at some methods for checking data simply using JOSM. Some of the questions we are asking about our data are: Validating for Missing Maps Using JOSM This document covers processes for checking data quality in OpenStreetMap, particularly in the context of Humanitarian OpenStreetMap Team and Red Cross Missing Maps

More information

Linked lists. A linked list is considered a recursive data structure because it has a recursive definition.

Linked lists. A linked list is considered a recursive data structure because it has a recursive definition. Linked lists 18.1. Embedded references We have seen examples of attributes that refer to other objects, which we called embedded references. A common data structure, the linked list, takes advantage of

More information

Introduction. Watch the video below to learn more about getting started with PowerPoint. Getting to know PowerPoint

Introduction. Watch the video below to learn more about getting started with PowerPoint. Getting to know PowerPoint PowerPoint 2016 Getting Started With PowerPoint Introduction PowerPoint is a presentation program that allows you to create dynamic slide presentations. These presentations can include animation, narration,

More information

ABCs of Direct Mail. Tips for More Effective Marketing Publications

ABCs of Direct Mail. Tips for More Effective Marketing Publications ABCs of Direct Mail Tips for More Effective Marketing Publications ABCs of Direct Mail 2 Introduction Direct mail is a growing business and everyone is eager and excited to jump on board. The problem is

More information

Word Introduction SBCUSD IT Training Program. Word Introduction. Page Setup, Paragraph Attributes, Printing and More.

Word Introduction SBCUSD IT Training Program. Word Introduction. Page Setup, Paragraph Attributes, Printing and More. SBCUSD IT Training Program Word Introduction Page Setup, Paragraph Attributes, Printing and More Revised 2/15/2018 SBCUSD IT Training Page 1 CONTENTS Cursor Movement... 4 Selecting Text... 5 Font/Typeset

More information

Brief 3ds max Shaping Tutorial

Brief 3ds max Shaping Tutorial Brief 3ds max Shaping Tutorial Part1: Power Key Axe Shaft Written by Maestro 1. Creation: Go to top view, create a 6 sided cylinder, 0.1 radius this is the perfect shaft thickness to fit in the hand, so

More information

(Ca...

(Ca... 1 of 8 9/7/18, 1:59 PM Getting started with 228 computational exercises Many physics problems lend themselves to solution methods that are best implemented (or essentially can only be implemented) with

More information

SharePoint 2010 Site Owner s Manual by Yvonne M. Harryman

SharePoint 2010 Site Owner s Manual by Yvonne M. Harryman SharePoint 2010 Site Owner s Manual by Yvonne M. Harryman Chapter 9 Copyright 2012 Manning Publications Brief contents PART 1 GETTING STARTED WITH SHAREPOINT 1 1 Leveraging the power of SharePoint 3 2

More information

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles October 16 & 17 2018 Non-Euclidean Geometry and the Globe (Euclidean) Geometry Review:

More information

Helping the Compiler Help You. Thomas Dy

Helping the Compiler Help You. Thomas Dy Helping the Compiler Help You Thomas Dy Programming do { programmer.write_code(); if(lazy) { sleep(); } compile_code(); } while(compiler.has_errors()); Compiler: Me no speaky English Programmer: Compiler,

More information

AHHHHHHH!!!! NOT TESTING! Anything but testing! Beat me, whip me, send me to Detroit, but don t make me write tests!

AHHHHHHH!!!! NOT TESTING! Anything but testing! Beat me, whip me, send me to Detroit, but don t make me write tests! NAME DESCRIPTION Test::Tutorial - A tutorial about writing really basic tests AHHHHHHH!!!! NOT TESTING! Anything but testing! Beat me, whip me, send me to Detroit, but don t make me write tests! *sob*

More information

TAKE THE 7 DAY CHALLENGE

TAKE THE 7 DAY CHALLENGE Table of Contents WELCOME TO AFFILIATE REX V2... 2 ACCESS THE SETTINGS PAGE... 2 ADD GETRESPONSE API KEY TO AFFILIATE REX... 4 ADD GETRESPONSE API KEY TO JVZOO...5 SELECTING YOUR AUTORESPONDER...8 GET

More information

Volume 8, Issue 1 Payment Processing News from Shift4 Corporation November 2005

Volume 8, Issue 1 Payment Processing News from Shift4 Corporation November 2005 Volume 8, Issue 1 Payment Processing News from Shift4 Corporation November 2005 that attended and spoke at the event are offering a discounted rate to Shift4 merchants. There contact information is below.

More information

6.034 Artificial Intelligence, Fall 2006 Prof. Patrick H. Winston. Problem Set 0

6.034 Artificial Intelligence, Fall 2006 Prof. Patrick H. Winston. Problem Set 0 6.034 Artificial Intelligence, Fall 2006 Prof. Patrick H. Winston Problem Set 0 The purpose of this problem set is to familiarize you with this term's problem set system and to serve as a diagnostic for

More information

Lecture 8. Conditionals & Control Flow

Lecture 8. Conditionals & Control Flow Lecture 8 Conditionals & Control Flow Announcements For This Lecture Readings Sections 5.1-5.7 today Chapter 4 for Tuesday Assignment 2 Posted Today Written assignment Do while revising A1 Assignment 1

More information

QGIS Application - Bug report #8942 R6034 runtime error

QGIS Application - Bug report #8942 R6034 runtime error QGIS Application - Bug report #8942 R6034 runtime error 2013-10-23 04:42 PM - Leszek Pawlowicz Status: Reopened Priority: rmal Assignee: Category: Build/Install Affected QGIS version:2.18.11 Regression?:

More information

Understanding the Screen

Understanding the Screen Starting Starting Logo Logo Understanding the Screen Where you will write programs. You can just type methods or commands in here. Ex: t.forward() A Little Logo History What is LOGO? A programming language

More information

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name DIRECT AND INVERSE VARIATIONS 19 Direct Variations Name Of the many relationships that two variables can have, one category is called a direct variation. Use the description and example of direct variation

More information

1: Introduction to Object (1)

1: Introduction to Object (1) 1: Introduction to Object (1) 김동원 2003.01.20 Overview (1) The progress of abstraction Smalltalk Class & Object Interface The hidden implementation Reusing the implementation Inheritance: Reusing the interface

More information

Turn in a printout of your code exercises stapled to your answers to the written exercises at 2:10 PM on Thursday, January 13th.

Turn in a printout of your code exercises stapled to your answers to the written exercises at 2:10 PM on Thursday, January 13th. 6.189 Homework 3 Readings How To Think Like A Computer Scientist: Monday - chapters 9, 10 (all); Tuesday - Chapters 12, 13, 14 (all). Tuesday s reading will really help you. If you re short on time, skim

More information

NetLogo Tutorial Series: Langton's Ant. Nicholas Bennett Grass Roots Consulting

NetLogo Tutorial Series: Langton's Ant. Nicholas Bennett Grass Roots Consulting NetLogo Tutorial Series: Langton's Ant Nicholas Bennett Grass Roots Consulting nickbenn@g-r-c.com July 2010 Copyright Copyright 2010, Nicholas Bennett. All rights reserved. NetLogo Tutorial Series: Langton's

More information

Tutorial 1: Bogor. CISC422/853 Scott Grant

Tutorial 1: Bogor. CISC422/853 Scott Grant Tutorial 1: Bogor CISC422/853 Scott Grant Overview Installing Bogor Starting Bogor General Usage and Tips Advice for Assignment 1 Installing Bogor Bogor is installed on the lab machines However, you might

More information

A function is a named piece of code that performs a specific task. Sometimes functions are called methods, procedures, or subroutines (like in LC-3).

A function is a named piece of code that performs a specific task. Sometimes functions are called methods, procedures, or subroutines (like in LC-3). CIT Intro to Computer Systems Lecture # (//) Functions As you probably know from your other programming courses, a key part of any modern programming language is the ability to create separate functions

More information

Coding Style Handout #15 February 1, CS106A Winter

Coding Style Handout #15 February 1, CS106A Winter CS106A Winter 2011-2012 Handout #15 February 1, 2011 Coding Style Much of this handout was written by Nick Parlante and Eric Roberts, then edited for our own clandestine purposes. When writing a paper,

More information

Administering Jive Ideation

Administering Jive Ideation Administering Jive Ideation Contents 2 Contents Administering Jive Ideation...3 Getting Started with Jive Ideation...3 Getting Set Up...3 Enabling Ideas By Default in Places... 3 Configuring Jive Ideas...4

More information

Heuristic Evaluation of Covalence

Heuristic Evaluation of Covalence Heuristic Evaluation of Covalence Evaluator #A: Selina Her Evaluator #B: Ben-han Sung Evaluator #C: Giordano Jacuzzi 1. Problem Covalence is a concept-mapping tool that links images, text, and ideas to

More information

There we are; that's got the 3D screen and mouse sorted out.

There we are; that's got the 3D screen and mouse sorted out. Introduction to 3D To all intents and purposes, the world we live in is three dimensional. Therefore, if we want to construct a realistic computer model of it, the model should be three dimensional as

More information

TWO PLAYER REACTION GAME

TWO PLAYER REACTION GAME LESSON 18 TWO PLAYER REACTION GAME OBJECTIVE For your final project for this level for the course, create a game in Python that will test your reaction time versus another player. MATERIALS This lesson

More information

Office 1 Using Microsoft Word

Office 1 Using Microsoft Word Office 1 Using Microsoft Word A free class offered by Birchard Public Library 423 Croghan Street Fremont, OH 43420 419-334-7101 X216 On the web at www.birchard.lib.oh.us Class content created by Westerville

More information

Haga's Origamics. Haga's Origamics are a series of activities designed to illustrate the science behind simple paper folding.

Haga's Origamics. Haga's Origamics are a series of activities designed to illustrate the science behind simple paper folding. Haga's Origamics Haga's Origamics are a series of activities designed to illustrate the science behind simple paper folding. Activity I : TUPS (Turned-Up Parts) Take a square piece of paper and label the

More information

A Brief Writer s Guide to Book Indexing

A Brief Writer s Guide to Book Indexing A Brief Writer s Guide to Book Indexing From Potomac Indexing, LLC I know. You (writer about to publish a non- fiction book of more than 100 pages) are so tired of looking at your text over and over, assessing

More information

CSCI 102 Fall 2010 Exam #1

CSCI 102 Fall 2010 Exam #1 Name: USC Username: CSCI 102 Fall 2010 Exam #1 Problems Problem #1 (14 points) Problem #2 (15 points) Problem #3 (20 points) Problem #4 (16 points) Problem #5 (35 points) Total (100 points) Problem 1 Short

More information

Introduction. Opening and Closing Databases. Access 2010 Managing Databases and Objects. Video: Working with Databases in Access 2010

Introduction. Opening and Closing Databases. Access 2010 Managing Databases and Objects. Video: Working with Databases in Access 2010 Access 2010 Managing Databases and Objects Introduction Page 1 Each Access database consists of multiple objects that let you interact with data. Databases can include forms for entering data, queries

More information

In today s video I'm going show you how you can set up your own online business using marketing and affiliate marketing.

In today s video I'm going show you how you can set up your own online business using  marketing and affiliate marketing. Hey guys, Diggy here with a summary of part two of the four part free video series. If you haven't watched the first video yet, please do so (https://sixfigureinc.com/intro), before continuing with this

More information

Close Your File Template

Close Your File Template In every sale there is always a scenario where I can t get someone to respond. No matter what I do. I can t get an answer from them. When people stop responding I use the Permission To. This is one of

More information

MITOCW watch?v=9h6muyzjms0

MITOCW watch?v=9h6muyzjms0 MITOCW watch?v=9h6muyzjms0 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

Click the buttons in the interactive below to learn how to navigate the Access window.

Click the buttons in the interactive below to learn how to navigate the Access window. Access 2010 Getting Started in Access Introduction Page 1 Whenever you're learning a new program, it's important to familiarize yourself with the program window and the tools within it. Working with Access

More information

Lab 4 Fruitful Functions

Lab 4 Fruitful Functions Lab 4 Fruitful Functions September 19, 2018 1 ME 30 Lab 4 - Functions and Style Description and Summary: >A function in programming is a block of code that performs some task. Functions are a way to organize

More information