Introduction to Python, variables and data types

Introduction to Python, variables and data types

8th Grade

8 Qs

quiz-placeholder

Similar activities

Python

Python

7th - 8th Grade

12 Qs

Homework 3- Python

Homework 3- Python

8th Grade

10 Qs

Python Data Types

Python Data Types

8th Grade

10 Qs

ASK F2 : PEMBOLEHUBAH

ASK F2 : PEMBOLEHUBAH

8th Grade

8 Qs

Entry Level - Programming Techniques

Entry Level - Programming Techniques

8th - 9th Grade

13 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

Python Arithmetic Operators

Python Arithmetic Operators

8th - 9th Grade

10 Qs

25Mei2021ASK 2B

25Mei2021ASK 2B

8th Grade

10 Qs

Introduction to Python, variables and data types

Introduction to Python, variables and data types

Assessment

Quiz

Computers

8th Grade

Medium

Used 621+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statement is correct?
Python is a high level programming language
Python is an low level programming language
Python is an machine code language
All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type represents a whole number?
integer
string
float
Boolean

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What data type is a in this code : a = "5"
integer
float
boolean
string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command do we use to tell Python to accept an input?
cin
input()
scanf()
<>

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the statement 'print' do?
Output a hard copy of a program to a printer
Output a message on the screen
Print a hard copy of a flowchart to a computer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?
A number
A message input by the user
A location in memory that we use to store data

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is correct?
The Python interpreter ignores comments
Comments are used by programmers for a better understanding of the program
You use the # symbol before a comment
All of the above

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A programmer types flt(price), what type of data are they assigning to the price?
Boolean
Float
String
Integer