ECDL Python Lesson  5 Data Types and variables

ECDL Python Lesson 5 Data Types and variables

5th Grade - University

36 Qs

quiz-placeholder

Similar activities

M2 Reviewer for Final Test

M2 Reviewer for Final Test

8th Grade

40 Qs

SKT4 : Bab 1 : c) Ralat - Pembolehubah - Pemalar dan Jenis Data

SKT4 : Bab 1 : c) Ralat - Pembolehubah - Pemalar dan Jenis Data

10th - 12th Grade

40 Qs

Java Basics

Java Basics

11th - 12th Grade

35 Qs

Seatwork 11 - CC102

Seatwork 11 - CC102

University

36 Qs

2 Python (переменные, типы данных)

2 Python (переменные, типы данных)

5th - 12th Grade

33 Qs

7.2 Data Types & Units of Measure

7.2 Data Types & Units of Measure

9th Grade

41 Qs

Arrays

Arrays

6th Grade

34 Qs

Python Basics

Python Basics

8th Grade

31 Qs

ECDL Python Lesson  5 Data Types and variables

ECDL Python Lesson 5 Data Types and variables

Assessment

Quiz

Computers

5th Grade - University

Medium

Created by

Monica Tele

Used 45+ times

FREE Resource

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 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

30 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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?