QUIZZ TENTANG VARIABEL PADA PYTHON  MATA PELAJARAN DDK PPLG

QUIZZ TENTANG VARIABEL PADA PYTHON MATA PELAJARAN DDK PPLG

10th Grade

15 Qs

quiz-placeholder

Similar activities

QUIZ 1 - RIZAL

QUIZ 1 - RIZAL

KG - Professional Development

10 Qs

Issue Tracker

Issue Tracker

KG - University

20 Qs

Do You Really Know ME?

Do You Really Know ME?

5th Grade - University

13 Qs

Piaget Review

Piaget Review

10th - 12th Grade

15 Qs

BHS General Knowledge Test Quiz

BHS General Knowledge Test Quiz

8th - 12th Grade

10 Qs

Prime Ministers of India

Prime Ministers of India

1st Grade - University

10 Qs

Machiavelli, Bacon, and Cavendish

Machiavelli, Bacon, and Cavendish

10th - 12th Grade

10 Qs

Dragon Mania Ledgends Quiz

Dragon Mania Ledgends Quiz

1st Grade - Professional Development

10 Qs

QUIZZ TENTANG VARIABEL PADA PYTHON  MATA PELAJARAN DDK PPLG

QUIZZ TENTANG VARIABEL PADA PYTHON MATA PELAJARAN DDK PPLG

Assessment

Quiz

Other

10th Grade

Practice Problem

Medium

Created by

Agustina Diun

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A type of conditional statement in Python

A type of loop in Python

A built-in function in Python

A container for storing data values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in Python?

Using the var keyword

Using the declare keyword

Using the let keyword

Variables are created when you first assign a value to them

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of x = 4 followed by x = 'Sally'?

x is now of type float

x is now of type int

x is now of type bool

x is now of type str

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function str(3) do?

Converts 3 to a string

Converts 3 to a float

Converts 3 to an integer

Converts 3 to a boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you get the data type of a variable in Python?

Using the typeof() function

Using the type() function

Using the gettype() function

Using the datatype() function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about variable names in Python?

Variable names are not case sensitive

Variable names must start with a number

Variable names can contain special characters

Variable names are case sensitive

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the naming convention for variables with multiple words where each word starts with a capital letter?

Kebab Case

Snake Case

Pascal Case

Camel Case

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

Already have an account?