Know your Python!

Beschreibung

GCSE Python Quiz am Know your Python!, erstellt von educ8ict am 28/08/2013.
educ8ict
Quiz von educ8ict, aktualisiert more than 1 year ago
educ8ict
Erstellt von educ8ict vor mehr als 10 Jahre
156
4

Zusammenfassung der Ressource

Frage 1

Frage
What type of language is Python?
Antworten
  • Low-level
  • High-level
  • Interpreted

Frage 2

Frage
Which of the following are Interpreted languages?
Antworten
  • Python
  • C
  • C++
  • BASIC
  • Perl

Frage 3

Frage
Which of the following is a benefit of using Interpreted languages?
Antworten
  • Someone else does the work for you
  • They are easy to learn and have lots of uses
  • They are quicker than other types of language

Frage 4

Frage
Which of the following statements would you use to output text in Python?
Antworten
  • import
  • print
  • echo

Frage 5

Frage
Which of the following can be used to edit Python code?
Antworten
  • nono
  • nani
  • nano
  • nino

Frage 6

Frage
What should you type to end a Python session in the terminal?
Antworten
  • exit
  • quit
  • exit()
  • quit()

Frage 7

Frage
What is the name of the module you would load to create a delay of a set number of seconds between commands?
Antworten
  • time
  • datetime
  • yeardate
  • yeardatetime

Frage 8

Frage
What is the name of the module used to identify the date and current time?
Antworten
  • time
  • datetime
  • yeardate
  • yeardatetime

Frage 9

Frage
Which of the following is the correct file extension for a Python file?
Antworten
  • .p
  • .py
  • .pyt
  • .pyth

Frage 10

Frage
The following commands show the time module being used to sleep for 2 seconds. Which is correct?
Antworten
  • time.sleep2
  • time.sleep(0.2)
  • time.sleep(2)
  • time.sleep(2000)
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Python Quiz
karljmurphy
Think Python
tsilvo2001
Basic Python - Print Formatting
Rebecca Noel
What is Python?
Daniel Ingram
Python
54671
Basic Python - Strings
Rebecca Noel
Study on IoT systems design
Tomasz Cieplak
Python
Kirstie Wu
OpenSource Programming
Faheem Ahmed
Basic Python - Lists
Rebecca Noel