GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Python IITU 2017

YouTube Channel 180 Fragen

Quiz starten

Fragen in diesem 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)

Informationen

Beschreibung
Final questions
Sprache
English
Aufrufe
123
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck