c2 2-3 Variables Constants and Input - GCSE QUIZ

c2 2-3 Variables Constants and Input - GCSE QUIZ

10 Qs

quiz-placeholder

Similar activities

VOCABULARY DENTISTRY #2

VOCABULARY DENTISTRY #2

5th Grade

10 Qs

TP6- REPASO DE ESTADISTICA 1

TP6- REPASO DE ESTADISTICA 1

KG - University

10 Qs

ICT ພື້ນຖານ

ICT ພື້ນຖານ

KG - University

11 Qs

Experimental Design Vocab

Experimental Design Vocab

KG - University

10 Qs

MLIT(Round 1)

MLIT(Round 1)

KG - University

15 Qs

2.2 python FFA

2.2 python FFA

9th Grade

10 Qs

RETAKES MS-LS1-8 Light and Matter Mastery

RETAKES MS-LS1-8 Light and Matter Mastery

6th Grade - University

8 Qs

c2 2-3 Variables Constants and Input - GCSE QUIZ

c2 2-3 Variables Constants and Input - GCSE QUIZ

Assessment

Quiz

others

Hard

Created by

Clare Ross

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of putting data into a variable called?
Assignment
Declaration
Identification
Admission

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lines of code allow you to assign a value of 10 to a variable called myVariable in Python?
print(myVariable)
10 = myVariable
myVariable = 10
myVariable = input(10)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a constant?
It is a way of storing data values that do not change.
It is a way of storing data values that regularly change.
It is another name for a variable.
It is all the letters of the alphabet that are not vowels.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, how do you create a constant called VAT that stores in the number 20?
const VAT = 20
constant VAT = 20
VAT constant = 20
You can't create constants in Python.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In AQA Pseudocode, how do you create a constant called VAT that stores in the number 20?
const VAT ← 20
constant VAT ← 20
VAT constant ← 20
You can't create constants in AQA pseudocode.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Here is some simple Python code: myVar = 10 print(myVar) What is the output for this code?
myVar
10
myVar = 10
None of the above.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Below is some Python code for asking the user to input two numbers and add them together. userInput = input("Please enter your first number: ") userInput = input("Please enter your second number: ") result = userInput + userInput print(result) What mistake has been made in this code that will cause it to not work correctly?
The second input will overwrite the first input.
There is a syntax error due to using the wrong input command.
The variables have not had their data type selected correctly.
There is a syntax error due to using the wrong output statement.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?