Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Introduction to Programming in Python Kurs an der IU Internationale Hochschule zu.
What is a scientific notation?
A concise way to represent very large or very small numbers.
4.5e7 = 4.5 * 10^7 = 4.5 * 1000000 = 45,000,000
Why is Python so popular?
From the lowest to the highest severity, what are the different levels of information logging?
What are the two types of errors?
Syntax -> When the syntax rules are not being followed (no colons at if statement)
Exceptions -> Happens during program execution (Divide by 0)
What is scope?
Scope defines the area of programming where a variable of function can be accessed unambiguously.
If the interpreter can read a variable, it is in scope
If it cannot read the variable, it is out of scope
Explain the cocept of "hard-coding" a value
Data is fixed and cannot be changed without editing the program itself
What are the different logging format attributes?
asctime - %(asctime)s -> creation time and date
fimename - %(filename)s -> name of file
funcName - %(funcName)s -> name of function
lineno - %(lineno)d -> line of code
process - %(process)d -> process ID
processName - %(processName)s -> Process name
What is a logical error?
Code that runs correctly but has a different result from what we anticipated.
Why should we comment our code?
To improve readability. Also helps to remember what the code is doing when we look at it in a few months
Explain the concept of a variable
A variable can store values and it makes it easy to reuse that variable in the code. When a change needs to be made, we can update the variable and all its instances in the code will update as well
Why is Python popular for scientific and professional development?
What is IPython and what are some of its key features?
Interactive shell environment. Brings in support for basic Linux commands like ls, cd and more.
Other key features are:
Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.
Jetzt loslegenFür deinen Studiengang Introduction to Programming in Python an der IU Internationale Hochschule gibt es bereits viele Kurse, die von deinen Kommilitonen auf StudySmarter erstellt wurden. Karteikarten, Zusammenfassungen, Altklausuren, Übungsaufgaben und mehr warten auf dich!