Basic Python ICC DMI

Descrição

Key stage 3 introductory Python quiz
Danielle Miles
Quiz por Danielle Miles, atualizado more than 1 year ago
Danielle Miles
Criado por Danielle Miles quase 8 anos atrás
17
2

Resumo de Recurso

Questão 1

Questão
What is print in python?
Responda
  • A function
  • A class
  • A variable
  • An integer

Questão 2

Questão
Which is the correct hello world program?
Responda
  • Print("hello world")
  • print ("hello world")
  • print(hello world)
  • print("hello world")

Questão 3

Questão
What is the name of the Integrated Development environment for Python?
Responda
  • IDE
  • IDLE
  • Command
  • Program

Questão 4

Questão
There are two ways to write Python programs in IDLE.
Responda
  • True
  • False

Questão 5

Questão
When you open Python using IDLE it defaults to interactive mode.
Responda
  • True
  • False

Questão 6

Questão
In order to run a program written in script mode in IDLE you must save the program first.
Responda
  • True
  • False

Questão 7

Questão
What type of term is input in Python?
Responda
  • A variable
  • A function
  • An integer
  • A string

Questão 8

Questão
What is casting?
Responda
  • Assigning a value to a variable
  • Setting input to a variable
  • Setting a data type
  • Changing the case of the text

Questão 9

Questão
Which of the below programs will run correctly?
Responda
  • age=input(22)
  • age=input("what is your age)
  • age=int(input("what is your age")
  • age=int(input("what is your age?"))

Questão 10

Questão
What symbol do we use to identify comments in our code?
Responda
  • &
  • @
  • #
  • %

Questão 11

Questão
What data type is float?
Responda
  • Decimal
  • Integer
  • String
  • Operator

Questão 12

Questão
What is an integer?
Responda
  • A number which includes decimals
  • A text string
  • A mathematical function
  • A whole number

Questão 13

Questão
What symbol do we use to assign values to a variable?
Responda
  • ==
  • #
  • =
  • @

Questão 14

Questão
Which type of IDLE mode lets the program run as you create it?
Responda
  • Script mode
  • Interactive mode

Questão 15

Questão
Functions within Python must not start with a capital letter.
Responda
  • True
  • False

Semelhante

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