Quiz về Biến và Câu lệnh Gán

Quiz về Biến và Câu lệnh Gán

Professional Development

22 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

Professional Development

22 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

DATATYPES - INPUT/OUTPUT - OPERATORS

DATATYPES - INPUT/OUTPUT - OPERATORS

Professional Development

24 Qs

Python

Python

Professional Development

20 Qs

For Loop Python_2024

For Loop Python_2024

Professional Development

20 Qs

Pengenalan Coding

Pengenalan Coding

1st Grade - Professional Development

20 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Quiz về Biến và Câu lệnh Gán

Quiz về Biến và Câu lệnh Gán

Assessment

Quiz

Computers

Professional Development

Hard

Created by

linh tran

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

Name of a constant.

Name of a value.

Name of a memory area.

Name of a data type.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a rule for naming variables in Python?

Cannot be the same as a keyword.

Must start with a letter or '_'.

Cannot start with an uppercase letter.

Can only contain letters, numbers, and '_'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a characteristic of high-level programming languages?

Many words.

Close to natural language.

Simple syntax.

Single-valued semantics.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assigning a value to a variable is done by?

Assignment operator.

Assignment statement.

Equal statement.

Initialization statement.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The simplest form of an assignment statement in Python is?

Variable =

Variable: =

Variable = Expression

Variable = Value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arithmetic expressions are commonly found in?

Left side of an assignment.

Right side of an assignment.

Middle part of a program.

End part of a statement.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The expression (x+y)² in Python is?

(x**2+y**2)

(x+y)***2

(x+y)*2

(x+y)**2

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?