O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

PyPreparation

Mark Kim 59 perguntas

Fazer o quiz

Perguntas do quiz (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. AVerdadeiro
    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?Imagem da pergunta 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. AVerdadeiro
    2. BFalso

Informações

Descrição
Quiz sobre PyPreparation, criado por Mark Kim em 18-12-2019.
Idioma
English
Visualizações
32
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?