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

ASK T2 BAB3 :PERSEKITARAN KOD ARAHAN

ASK T2 BAB3 :PERSEKITARAN KOD ARAHAN

10th Grade

15 Qs

Pseudocode Practice

Pseudocode Practice

10th Grade

10 Qs

Advanced Problem Solving and Programming

Advanced Problem Solving and Programming

10th Grade

14 Qs

P82 Invention and Robotic Club 06/21

P82 Invention and Robotic Club 06/21

KG - Professional Development

15 Qs

INFORMATIKA 10 S2 HAL 029 PA 2

INFORMATIKA 10 S2 HAL 029 PA 2

10th Grade

10 Qs

arduino тест

arduino тест

1st - 10th Grade

15 Qs

Simple Easy Basic Lua Quiz

Simple Easy Basic Lua Quiz

4th Grade - Professional Development

10 Qs

python для новичков

python для новичков

4th - 11th Grade

13 Qs

QUIZZ TENTANG VARIABEL PADA PYTHON  MATA PELAJARAN DDK PPLG

QUIZZ TENTANG VARIABEL PADA PYTHON MATA PELAJARAN DDK PPLG

Assessment

Quiz

Other

10th Grade

Medium

Created by

Agustina Diun

Used 5+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?