Basic Python ICC DMI

Beschreibung

Key stage 3 introductory Python quiz
Danielle Miles
Quiz von Danielle Miles, aktualisiert more than 1 year ago
Danielle Miles
Erstellt von Danielle Miles vor mehr als 8 Jahre
22
2

Zusammenfassung der Ressource

Frage 1

Frage
What is print in python?
Antworten
  • A function
  • A class
  • A variable
  • An integer

Frage 2

Frage
Which is the correct hello world program?
Antworten
  • Print("hello world")
  • print ("hello world")
  • print(hello world)
  • print("hello world")

Frage 3

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

Frage 4

Frage
There are two ways to write Python programs in IDLE.
Antworten
  • True
  • False

Frage 5

Frage
When you open Python using IDLE it defaults to interactive mode.
Antworten
  • True
  • False

Frage 6

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

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

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

Frage 11

Frage
What data type is float?
Antworten
  • Decimal
  • Integer
  • String
  • Operator

Frage 12

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

Frage 13

Frage
What symbol do we use to assign values to a variable?
Antworten
  • ==
  • #
  • =
  • @

Frage 14

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

Frage 15

Frage
Functions within Python must not start with a capital letter.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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