Know your Python!

Descripción

GCSE Python Test sobre Know your Python!, creado por educ8ict el 28/08/2013.
educ8ict
Test por educ8ict, actualizado hace más de 1 año
educ8ict
Creado por educ8ict hace más de 11 años
168
4

Resumen del Recurso

Pregunta 1

Pregunta
What type of language is Python?
Respuesta
  • Low-level
  • High-level
  • Interpreted

Pregunta 2

Pregunta
Which of the following are Interpreted languages?
Respuesta
  • Python
  • C
  • C++
  • BASIC
  • Perl

Pregunta 3

Pregunta
Which of the following is a benefit of using Interpreted languages?
Respuesta
  • 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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

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

Pregunta 10

Pregunta
The following commands show the time module being used to sleep for 2 seconds. Which is correct?
Respuesta
  • time.sleep2
  • time.sleep(0.2)
  • time.sleep(2)
  • time.sleep(2000)
Mostrar resumen completo Ocultar resumen completo

Similar

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
OpenSource Programming
Faheem Ahmed
Python
Kirstie Wu
Basic Python - Lists
Rebecca Noel