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

Quiz

Python Quiz

karljmurphy 38 perguntas 4,0 (11 avaliações)

Fazer o quiz

Este quiz tem tempo limite, por isso abre no player de sempre.

Perguntas do quiz (38)

  1. 1Examine the code and determine the value of the variable b when the code completes.Imagem da pergunta 1
    1. A6
    2. B2
    3. CNone
  2. 2Examine the code and determine the output.Imagem da pergunta 2
    1. A{}
    2. Bfoo
    3. C{'obj_name': 'foo'}
    4. D{'obj_name' = 'foo'}
  3. 3What output will be produced from this snippet of code?Imagem da pergunta 3
    1. AIndexError
    2. B[]
    3. C['a', 'b', 'c', 'd', 'e']
  4. 4What is the difference between a tuple and a list?
    1. AA tuple is immutable and a list is mutable.
    2. BA list is immutable and a tuple is mutable.
  5. 5What output will be produced?Imagem da pergunta 5
    1. Ain except block
    2. Bin except block
      after try-except
  6. 6Is a list a heterogeneous data structure in Python?
    1. AYes
    2. BNo
  7. 7If a list is mutable in Python, can it hold immutable objects?
    1. AYes
    2. BNo
  8. 8A tuple is an immutable data structure in Python. Can it hold mutable objects?
    1. ANo
    2. BYes
  9. 9What is the value of variable d when the code completes?Imagem da pergunta 9
    1. A[1, 'Dublin', 2, 'London', 3, 'Moscow']
    2. B{1: 'Dublin', 2: 'London', 3: 'Moscow'}
    3. CAn exception is raised
  10. 10Is the code performing legal operations? Imagem da pergunta 10
    1. AYes
    2. BNo

Informações

Descrição
A beginners quiz to aid learning Python.
Idioma
English
Visualizações
876
Avaliação
4,0 de 5 · 11 avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?