Basic Python ICC DMI

Descripción

Key stage 3 introductory Python quiz
Danielle Miles
Test por Danielle Miles, actualizado hace más de 1 año
Danielle Miles
Creado por Danielle Miles hace casi 8 años
17
2

Resumen del Recurso

Pregunta 1

Pregunta
What is print in python?
Respuesta
  • A function
  • A class
  • A variable
  • An integer

Pregunta 2

Pregunta
Which is the correct hello world program?
Respuesta
  • Print("hello world")
  • print ("hello world")
  • print(hello world)
  • print("hello world")

Pregunta 3

Pregunta
What is the name of the Integrated Development environment for Python?
Respuesta
  • IDE
  • IDLE
  • Command
  • Program

Pregunta 4

Pregunta
There are two ways to write Python programs in IDLE.
Respuesta
  • True
  • False

Pregunta 5

Pregunta
When you open Python using IDLE it defaults to interactive mode.
Respuesta
  • True
  • False

Pregunta 6

Pregunta
In order to run a program written in script mode in IDLE you must save the program first.
Respuesta
  • True
  • False

Pregunta 7

Pregunta
What type of term is input in Python?
Respuesta
  • A variable
  • A function
  • An integer
  • A string

Pregunta 8

Pregunta
What is casting?
Respuesta
  • Assigning a value to a variable
  • Setting input to a variable
  • Setting a data type
  • Changing the case of the text

Pregunta 9

Pregunta
Which of the below programs will run correctly?
Respuesta
  • age=input(22)
  • age=input("what is your age)
  • age=int(input("what is your age")
  • age=int(input("what is your age?"))

Pregunta 10

Pregunta
What symbol do we use to identify comments in our code?
Respuesta
  • &
  • @
  • #
  • %

Pregunta 11

Pregunta
What data type is float?
Respuesta
  • Decimal
  • Integer
  • String
  • Operator

Pregunta 12

Pregunta
What is an integer?
Respuesta
  • A number which includes decimals
  • A text string
  • A mathematical function
  • A whole number

Pregunta 13

Pregunta
What symbol do we use to assign values to a variable?
Respuesta
  • ==
  • #
  • =
  • @

Pregunta 14

Pregunta
Which type of IDLE mode lets the program run as you create it?
Respuesta
  • Script mode
  • Interactive mode

Pregunta 15

Pregunta
Functions within Python must not start with a capital letter.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Networks
Will8324
General ICT Quiz
leahshaw
ICT Revison Flash Cards
Arun Johal
FLAT FILE VS RELATIONAL DATABASE
rosiejones
Online World - Learning Aim A
andysedge
Business Aims and ICT Strategies
scrt
User Interfaces
Skeletor
General ICT Quiz
Jade Fantom