Basic Python Data Types

Basic Python Data Types

Professional Development

8 Qs

quiz-placeholder

Similar activities

Introduction to AI - Healthcare & Business

Introduction to AI - Healthcare & Business

University - Professional Development

10 Qs

Java Strings and lops

Java Strings and lops

Professional Development

10 Qs

IC101

IC101

Professional Development

10 Qs

Name that App/Site

Name that App/Site

Professional Development

10 Qs

Computer Programming - Intro

Computer Programming - Intro

Professional Development

12 Qs

SDT1

SDT1

Professional Development

10 Qs

Designing for Conversational AI

Designing for Conversational AI

Professional Development

10 Qs

Microsoft 365 for Teachers

Microsoft 365 for Teachers

Professional Development

10 Qs

Basic Python Data Types

Basic Python Data Types

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Wooihaw Tan

Used 339+ times

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Python 3, the maximum value for an integer is 263 - 1:

True

False

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output when the following Python code is executed?

a = 3

b = '5'

c = '2'

print(a * b + c)

17

352

5552

Error message

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code?

a = 13.5

b = -24.6

a, b = b, a

print(a, b)

13.5 -24.6

-24.6 13.5

-13.5 24.6

13.5 24.6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code?

print('Hello' + "world!")

Helloworld!

Hello world!

'Hello' "world!"

Error message

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following Python code?

print(3+4)

3+4

7

SyntaxError

print(3+4)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output from the following Python code?

print("3+4")

7

3+4

34

SyntaxError

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types can consist of numbers, alphabets and symbols?

String

Integer

Float

Boolean

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types is the most appropriate for 23 June 2020?

Float

Boolean

Integer

String