Midterm Flashcards
What does IDLE stand for?
Integrated Development Learning Environment
What is used to write and save Python code?
Script window
What does IDE consist of?
- Source code editor
- Build automation tools
- Debugger
What does a variable name contain?
Numbers, letters and underscores ONLY. (Can NOT start with a number)
What are python keywords reserved for?
Internal use
How are variables in Python typed?
Dynamically
In mathematical operations, ______ matters.
Type
Python is case sensitive, T or F?
True
What kind of language is Python?
Interpreted
Python scripts can be produced without an external development environment, T or F?
True
What is ArcGIS Engine used for?
To deploy GIS data, maps, and geoprocessing scripts
Common data types? (variable declaration)
int, float, string and bool
How to concatenate two strings together?
With the + operator
\ prints?
one backslash
' prints?
A single quote
" prints?
A double quote
\n
new line
string functions
upper()
lower()
len()
str()
str()
Returns a string value of input
len()
Returns the length of a string
Every letter in a string has an index, starts from?
0 (left to right)
Sequences fall into one of two categories:
Mutable or changeable
Immutable or unchangeable
Strings are immutable, T or F?
True
To print without a newline, add a _______ after the last object.
Comma