¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

python beyond basics quiz

Andrew Sperazza 32 preguntas

Hacer el test

Preguntas del test (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. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  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

Información

Descripción
(quizes) python Test sobre python beyond basics quiz, creado por Andrew Sperazza el 09/01/2017.
Idioma
English
Visitas
0
Etiquetas
pythonquizes
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?