Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Basic Python ICC DMI

Description

Key stage 3 introductory Python quiz
Danielle Miles
Quiz by Danielle Miles, updated more than 1 year ago
Danielle Miles
Created by Danielle Miles about 9 years ago
26
2
1 2 3 4 5 (1)

Resource summary

Question 1

Question
What is print in python?
Answer
  • A function
  • A class
  • A variable
  • An integer

Question 2

Question
Which is the correct hello world program?
Answer
  • Print("hello world")
  • print ("hello world")
  • print(hello world)
  • print("hello world")

Question 3

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

Question 4

Question
There are two ways to write Python programs in IDLE.
Answer
  • True
  • False

Question 5

Question
When you open Python using IDLE it defaults to interactive mode.
Answer
  • True
  • False

Question 6

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

Question 7

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

Question 8

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

Question 9

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

Question 10

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

Question 11

Question
What data type is float?
Answer
  • Decimal
  • Integer
  • String
  • Operator

Question 12

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

Question 13

Question
What symbol do we use to assign values to a variable?
Answer
  • ==
  • #
  • =
  • @

Question 14

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

Question 15

Question
Functions within Python must not start with a capital letter.
Answer
  • True
  • False
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

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