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

Test

PyPreparation

Mark Kim 59 preguntas

Hacer el test

Preguntas del test (59)

  1. 1Which of the following is invalid?
    1. A__str__ = 1
    2. Bnone of the mentioned
    3. C__a = 1
    4. D_a = 1
  2. 2Who created the Python?
    1. APython Charm
    2. BMads Torgersen
    3. CRick Mascitti
    4. DGuido van Rossum
  3. 3We can create a dictionary which contains dictionatries. True or false?
    1. AVerdadero
    2. BFalso
  4. 4Is Python case sencitive when dealing with identifiers?
    1. Anone of the mentioned
    2. Bmachine dependent
    3. Cno
    4. Dyes
  5. 5What is a correct syntax to output "Some like it hot" in Python?
    1. Aprint "Some like it hot"
    2. B"Some like it hot"
    3. Cp("Some like it hot")
    4. Decho"Some like it hot"
    5. Eprint("Some like it hot")
  6. 6What will be the output of the given code snippet?Imagen de la pregunta 6
    1. ANo, 'A' is not int the letters sequence
    2. BIt will terminate with en error
    3. CIt will not print anything
    4. DYes, 'A' is in the letters sequence
  7. 7What will be the output of this code?
    a = "Cyber"
    b = "Pank"
    c = a+b
    print(c)
    1. ATrue
    2. BFalse
    3. CCyberPank
    4. DError
    5. ECyber Pank
  8. 8Choose the correct output formatting
    1. Aprint("My full name is %s%s" % (a,b)), where a = 'a'; b = '6'
    2. Bprint("My full name is %s%s" % (a,b)), where a = 5, b = 6
    3. Cprint("My full name is %f%f" % (a,b)), where a = 'a'; b = '6'
    4. Dprint("My full name is %i%i" % (a,b)), where a = 'a'; b = '6'
  9. 9Which of these is not a core datatype?
    1. ALists
    2. BDictionary
    3. CTuples
    4. DClass
  10. 10Python requires us to declare types such as int, string, and char[] before declaring a variable
    1. AVerdadero
    2. BFalso

Información

Descripción
Test sobre PyPreparation, creado por Mark Kim el 18/12/2019.
Idioma
English
Visitas
32
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?