GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

python beyond basics quiz

Andrew Sperazza 32 Fragen

Quiz starten

Fragen in diesem Quiz (32)

  1. 1a package is a special type of:
    1. Afile
    2. Bprogram
    3. Calgorithm
    4. Dmodule
  2. 2can a package contain other package?
    1. ARichtig
    2. BFalsch
  3. 3what is a sequence specifying the directories from which a package are loaded?
    1. A_path
    2. B['path']
    3. Cpackage_path
    4. D__path__
    5. Eimport FILE as _path
  4. 4*args are pass as what type?
    1. Aset
    2. Blist
    3. Cdictionary
    4. Dtuple
  5. 5properties must have both setter and getter?
    1. ARichtig
    2. BFalsch
  6. 6what does function abs() do?
    1. Areturns absolute value of number
    2. Breturns the distance of argument from zero
    3. Creturns the argument but with positive value
  7. 7what does BaseException arg attribute contain?
    1. Aempty tuple
    2. Bempty set
    3. Csingle element tuple with diagnostic string
    4. Dtuple with diagnostic string and error message
    5. ENone
  8. 8what is a template method?
    1. Aa way to create copies of functions
    2. Blanguage independent design pattern
    3. Cpython specific design pattern
    4. Da python language feature
  9. 9what do context-managers assist with?
    1. Aresource management
    2. BONLY open file functions
    3. Corganizing source code calls
    4. Dlocalizing error message contexts
  10. 10issubclass() ?
    1. Adetermines if any class has base classes
    2. Bdetermines if first argument is subclass of second
    3. Cdetermines if first argument is second of first
    4. Ddetermines if class can be used as base class

Informationen

Beschreibung
python (quizes) Quiz am python beyond basics quiz, erstellt von Andrew Sperazza am 09/01/2017.
Sprache
English
Aufrufe
0
Schlagwörter
pythonquizes
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck