An example of this data type is "Hello!"
What is a string?
This operator takes two integers or floats and looks like: +
What is addition operator?
The process of finding correcting any of the three kinds of errors in a program.
What is debugging?
The following lines of code have this error in them.
x = "Hello!
print(x)
What is a missing quotation mark?
Information a programmer writes after a # symbol that helps other programmers understand a program.
What is a comment?
An example of this data type is:
x = 1
What is an integer?
Some examples of these Python tokens are:
-, +, and /
What is an operator?
a name for a problem in a program that causes an error.
what is a bug?
all of the following are examples of this:
if while + =
What is a token?
To analyze a program's structure and syntax.
What is parsing?
An example of this data type is:
y = 2.33
What is a float?
This operator looks like: **
What is the Exponentiation operator?
An error in a program that makes it impossible to interpret since it cannot be parsed.
What is a syntax error?
This is a type of programming language that is like python, and is designed to be easy for people to read and write
What is a high-level language?
An intermediate language between source code and object code.
What is byte code?
an example of one of these functions is:
x = str(4)
What is a type conversion function?
This operator looks like this: %
What is the modulus operator?
An error where the computer performs a program with a different meaning than the programmer intended it to.
What is a semantics error?
The resulting value after the expression
(45 // 6 + 23 % 4 - 8 * 2 )
is simplified.
What is -6.0?
A language that people design for specific purposes. These include programming languages.
What is a formal language?
the flowing is an example of this data type:
x = 5.5
what is a float?
This operator excepts two strings, and looks like: +
What is the concatenation operator?
An error that does not occur until the program has started to execute but that prevents the program from continuing.
What is a runtime error/exception?
This line of code could be added to the end of the flowing program, to print the age of 'John'
class John:
height = 5.4
favcolor = "blue"
age = 14
What is
print( John.age )
?
A basic element of Python that is crucial to its syntax and structure. They are analogous to real words. Some examples are: if, while, str, int
What is a token?