Hunter College CSci127 - Introduction to Computer Science ...
SKELETAL NOTES (follow this template to take notes as you are working through the lab):Learning ObjectivesWhat are the main learning objectives for this lab?Modules/PackagesWhat modules or packages are used in this lab?Note: a module or package is code that is not part of the standard Python distribution and must be explicitly imported in order to be used by your program.Functions List the Python commands (functions) learned and their syntax: (we will write the first one for you as an example. You can use comments to explain what the functions do)print(“This is a message”) #prints any message in parenthesis. Quotes will be explained next weekList the Turtle functions learned and their syntax:FOCUS QUESTIONS (Make sure you can answer these questions when you are done with the lab):Today you wrote two programs that output to the screen. How does the output of the first differ from that of the second?What must you do in order to use a module or package (a collection of functions/programs) that is not part of the standard python distribution? What is the syntax?Some commands (functions – explained further in the coming weeks) are just called. For example you can simply write on a single line:print(“Hello”)and it will always output the message in parenthesis to the screen.Other functions are connected to particular objects. For example, the turtle program creates a turtle called thomasH. All turtle functions, like forward and left are applied to that turtle. We say that thomasH is a turtle object. We can thus have multiple turtle objects and tell one to go left and the other to go right. How is the turtle object connected to each function syntactically?Look at the turtle program and pay attention to the alignment of each line. Why are the last two lines are indented? ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- authors the teachers at thomas jefferson high school
- implementing automation for cisco data center solutions
- basic structure of a robot brain bryn mawr
- lab use the netmiko python module to configure a router
- linux tutorial university of san francisco
- laboratory manual for computer programming with python and
- rasmusen homepage
- setting up python 3 4 numpy and matplotlib on your
- hunter college csci127 introduction to computer science
Related searches
- introduction to computer systems pdf
- introduction to computer studies pdf
- introduction to computer science
- introduction to computer packages pdf
- introduction to computer pdf notes
- introduction to computer science free
- introduction to computer network pdf
- basic introduction to computer programming
- introduction to computer science class
- introduction to computer science course
- introduction to computer science online
- introduction to computer science pdf