Basic Python Quiz 3

Basic Python Quiz 3

5th Grade

14 Qs

quiz-placeholder

Similar activities

Windows i Linux

Windows i Linux

1st - 5th Grade

15 Qs

PĐ Tinhoc3-k2

PĐ Tinhoc3-k2

1st - 5th Grade

19 Qs

Cyberbezpieczeństwo

Cyberbezpieczeństwo

1st - 5th Grade

10 Qs

Comic Life (tuần 8)

Comic Life (tuần 8)

1st - 5th Grade

10 Qs

Do you know alot about Roblox?

Do you know alot about Roblox?

2nd Grade - University

10 Qs

Gr3-Scratch - Revision

Gr3-Scratch - Revision

3rd - 5th Grade

11 Qs

Google for Education

Google for Education

5th Grade

10 Qs

First step to Internet 5B1

First step to Internet 5B1

5th Grade

10 Qs

Basic Python Quiz 3

Basic Python Quiz 3

Assessment

Quiz

Computers

5th Grade

Medium

Created by

diksha maurya

Used 13+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is Python primarily used for?

Solving puzzles

Building cars

Creating websites

Cooking recipes

Answer explanation

Python is primarily used for creating websites.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a feature of Python?

Specialized for specific problems

Machine & platform-independent

Requires a license to use

Difficult to learn

Answer explanation

Python is machine & platform-independent, making it versatile and accessible for various applications.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How do you display output in Python?

Using the show() function

Using the display() function

Using the print() function

Using the output() function

Answer explanation

To display output in Python, you use the print() function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is an identifier in Python?

A type of snake

A named memory location that stores data

A type of data structure

A reserved word

Answer explanation

An identifier in Python is a named memory location that stores data. It is not a type of snake, a type of data structure, or a reserved word. The correct choice is 'A named memory location that stores data'.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types is not supported in Python?

List

Array

String

Numbers

Answer explanation

The data type 'Array' is not supported in Python. Python supports List, String, and Numbers as data types.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a new value is stored in a variable, its previous value gets _ _ _ _ _ _

Accepted

Overwritten

Overlapped

Ignored

Answer explanation

When a new value is stored in a variable, its previous value gets overwritten.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The data type for 12.4 should be _ _ _ _ _ _

int

decimal

float

str

Answer explanation

The data type for 12.4 should be float because it represents a decimal number with fractional parts.

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?