Introduction To Programming In Python at IU Internationale Hochschule | Flashcards & Summaries

Select your language

Suggested languages for you:
Log In Start studying!

It looks like you are in the US?
We have a website for your region.

Take me there

Lernmaterialien für Introduction to Programming in Python an der IU Internationale Hochschule

Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Introduction to Programming in Python Kurs an der IU Internationale Hochschule zu.

TESTE DEIN WISSEN

What is a scientific notation?

Lösung anzeigen
TESTE DEIN WISSEN

A concise way to represent very large or very small numbers.


4.5e7 = 4.5 * 10^7 = 4.5 * 1000000 = 45,000,000

Lösung ausblenden
TESTE DEIN WISSEN

Why is Python so popular?

Lösung anzeigen
TESTE DEIN WISSEN
  • It's an interpreted language, feedback ist immediate
  • Easy syntax
  • Very active developer community
Lösung ausblenden
TESTE DEIN WISSEN

From the lowest to the highest severity, what are the different levels of information logging?

Lösung anzeigen
TESTE DEIN WISSEN
  1. debug
  2. info
  3. warning
  4. error
  5. critical
Lösung ausblenden
TESTE DEIN WISSEN

What are the two types of errors?

Lösung anzeigen
TESTE DEIN WISSEN

Syntax -> When the syntax rules are not being followed (no colons at if statement)

Exceptions -> Happens during program execution (Divide by 0)

Lösung ausblenden
TESTE DEIN WISSEN

What is scope?

Lösung anzeigen
TESTE DEIN WISSEN

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

Lösung ausblenden
TESTE DEIN WISSEN

Explain the cocept of "hard-coding" a value

Lösung anzeigen
TESTE DEIN WISSEN

Data is fixed and cannot be changed without editing the program itself

Lösung ausblenden
TESTE DEIN WISSEN

What are the different logging format attributes?

Lösung anzeigen
TESTE DEIN WISSEN

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

Lösung ausblenden
TESTE DEIN WISSEN

What is a logical error?

Lösung anzeigen
TESTE DEIN WISSEN

Code that runs correctly but has a different result from what we anticipated.

Lösung ausblenden
TESTE DEIN WISSEN

Why should we comment our code?

Lösung anzeigen
TESTE DEIN WISSEN

To improve readability. Also helps to remember what the code is doing when we look at it in a few months

Lösung ausblenden
TESTE DEIN WISSEN

Explain the concept of a variable

Lösung anzeigen
TESTE DEIN WISSEN

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

Lösung ausblenden
TESTE DEIN WISSEN

Why is Python popular for scientific and professional development?

Lösung anzeigen
TESTE DEIN WISSEN
  • Very robust and powerful
  • Easy to use, easy to build quick protoypes
  • Heavily used with artificial intelligence
Lösung ausblenden
TESTE DEIN WISSEN

What is IPython and what are some of its key features?

Lösung anzeigen
TESTE DEIN WISSEN

Interactive shell environment. Brings in support for basic Linux commands like ls, cd and more. 


Other key features are:

  • Script debugging
  • enhanced feedback
  • tab completion
Lösung ausblenden
  • 1142198 Karteikarten
  • 20733 Studierende
  • 501 Lernmaterialien

Beispielhafte Karteikarten für deinen Introduction to Programming in Python Kurs an der IU Internationale Hochschule - von Kommilitonen auf StudySmarter erstellt!

Q:

What is a scientific notation?

A:

A concise way to represent very large or very small numbers.


4.5e7 = 4.5 * 10^7 = 4.5 * 1000000 = 45,000,000

Q:

Why is Python so popular?

A:
  • It's an interpreted language, feedback ist immediate
  • Easy syntax
  • Very active developer community
Q:

From the lowest to the highest severity, what are the different levels of information logging?

A:
  1. debug
  2. info
  3. warning
  4. error
  5. critical
Q:

What are the two types of errors?

A:

Syntax -> When the syntax rules are not being followed (no colons at if statement)

Exceptions -> Happens during program execution (Divide by 0)

Q:

What is scope?

A:

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

Mehr Karteikarten anzeigen
Q:

Explain the cocept of "hard-coding" a value

A:

Data is fixed and cannot be changed without editing the program itself

Q:

What are the different logging format attributes?

A:

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

Q:

What is a logical error?

A:

Code that runs correctly but has a different result from what we anticipated.

Q:

Why should we comment our code?

A:

To improve readability. Also helps to remember what the code is doing when we look at it in a few months

Q:

Explain the concept of a variable

A:

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

Q:

Why is Python popular for scientific and professional development?

A:
  • Very robust and powerful
  • Easy to use, easy to build quick protoypes
  • Heavily used with artificial intelligence
Q:

What is IPython and what are some of its key features?

A:

Interactive shell environment. Brings in support for basic Linux commands like ls, cd and more. 


Other key features are:

  • Script debugging
  • enhanced feedback
  • tab completion
Introduction to Programming in Python

Erstelle und finde Lernmaterialien auf StudySmarter.

Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.

Jetzt loslegen

Das sind die beliebtesten StudySmarter Kurse für deinen Studiengang Introduction to Programming in Python an der IU Internationale Hochschule

Fü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!

Das sind die beliebtesten Introduction to Programming in Python Kurse im gesamten StudySmarter Universum

Introduction to TEFL - Primary

Pädagogische Hochschule Karlsruhe

Zum Kurs
Introduction to Education

Baptist Bible College

Zum Kurs
Introduction to Coding in R

Universität für Bodenkultur Wien

Zum Kurs
Introduction to human patho

University of Medicine and Pharmacy of Targu Mures

Zum Kurs
Introduction to Cells

University of Witwatersrand

Zum Kurs

Die all-in-one Lernapp für Studierende

Greife auf Millionen geteilter Lernmaterialien der StudySmarter Community zu
Kostenlos anmelden Introduction to Programming in Python
Erstelle Karteikarten und Zusammenfassungen mit den StudySmarter Tools
Kostenlos loslegen Introduction to Programming in Python