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

Quiz

Python IITU 2017

YouTube Channel 180 perguntas

Fazer o quiz

Perguntas do quiz (180)

  1. 11. What is the output of print str if str = 'Hello World!'?
    1. AHello World
    2. BHello World!
    3. CWorld
    4. D‘Hello World!’
  2. 2What is the output of print str * 2 if str = 'Hello World!'?
    1. AHello World
    2. BHello World! Hello World!
    3. CWorld
    4. D‘Hello World! Hello World
  3. 3Which of the following is correct about dictionaries in python?
    1. APython's dictionaries are kind of hash table type
    2. BThey work like associative arrays or hashes found in Perl and consist of key-value pairs
    3. CA dictionary key can be almost any Python type, but are usually numbers or strings. Values, on the other hand, can be any arbitrary Python object
    4. DAll of the above
  4. 4What is the output of print tinylist * 2 if tinylist = [123, 'john']?
    1. A[123, ‘john’, 123, ‘john’]
    2. B[123, 'john'] * 2
    3. CError
    4. D[123, 'john']
  5. 5What is the output of print str[2:] if str = 'Hello World!'?
    1. Allo World!
    2. BH
    3. Cllo
    4. DHello World!
  6. 6What is the output of len([1, 2, 3])?
    1. A1
    2. B2
    3. C3
    4. D4
  7. 7What is the output of print str * 2 if str = 'Hello World!'?
    1. AHello World!Hello World!
    2. BHello World! * 2
    3. Cerror
    4. D2
  8. 8Which of the following function convert an integer to a character in python?
    1. Aset(x)
    2. Bdict(d)
    3. Cfrozenset(s)
    4. Dchr(x)
  9. 9Which of the following function checks in a string that all characters are in lowercase?
    1. Aislower()
    2. Bisnumeric()
    3. Cisspace()
    4. Distitle()
  10. 10Which of the following function returns the max alphabetical character from the string str?
    1. Alower()
    2. Blstrip()
    3. Cmax(str)
    4. Dmin(str)

Informações

Descrição
Final questions
Idioma
English
Visualizações
123
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?