educ8ict
Test por , creado hace más de 1 año

GCSE Python Test sobre Know your Python!, creado por educ8ict el 28/08/2013.

157
4
0
educ8ict
Creado por educ8ict hace casi 11 años
Cerrar

Know your Python!

Pregunta 1 de 10

1

What type of language is Python?

Selecciona una de las siguientes respuestas posibles:

  • Low-level

  • High-level

  • Interpreted

Explicación

Pregunta 2 de 10

1

Which of the following are Interpreted languages?

Selecciona una o más de las siguientes respuestas posibles:

  • Python

  • C

  • C++

  • BASIC

  • Perl

Explicación

Pregunta 3 de 10

1

Which of the following is a benefit of using Interpreted languages?

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 4 de 10

1

Which of the following statements would you use to output text in Python?

Selecciona una de las siguientes respuestas posibles:

  • import

  • print

  • echo

Explicación

Pregunta 5 de 10

1

Which of the following can be used to edit Python code?

Selecciona una de las siguientes respuestas posibles:

  • nono

  • nani

  • nano

  • nino

Explicación

Pregunta 6 de 10

1

What should you type to end a Python session in the terminal?

Selecciona una de las siguientes respuestas posibles:

  • exit

  • quit

  • exit()

  • quit()

Explicación

Pregunta 7 de 10

1

What is the name of the module you would load to create a delay of a set number of seconds between commands?

Selecciona una de las siguientes respuestas posibles:

  • time

  • datetime

  • yeardate

  • yeardatetime

Explicación

Pregunta 8 de 10

1

What is the name of the module used to identify the date and current time?

Selecciona una de las siguientes respuestas posibles:

  • time

  • datetime

  • yeardate

  • yeardatetime

Explicación

Pregunta 9 de 10

1

Which of the following is the correct file extension for a Python file?

Selecciona una de las siguientes respuestas posibles:

  • .p

  • .py

  • .pyt

  • .pyth

Explicación

Pregunta 10 de 10

1

The following commands show the time module being used to sleep for 2 seconds. Which is correct?

Selecciona una de las siguientes respuestas posibles:

  • time.sleep2

  • time.sleep(0.2)

  • time.sleep(2)

  • time.sleep(2000)

Explicación