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

Quiz

PyPreparation

Mark Kim 59 Fragen

Quiz starten

Fragen in diesem 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. ARichtig
    2. BFalsch
  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?Bild zu Frage 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. ARichtig
    2. BFalsch

Informationen

Beschreibung
Quiz am PyPreparation, erstellt von Mark Kim am 18/12/2019.
Sprache
English
Aufrufe
32
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck