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

Iniciemos con Python

Iniciemos con Python

Professional Development

25 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

python if-elif-else

python if-elif-else

Professional Development

25 Qs

Python: Quiz 2.03 - Basic Data Types

Python: Quiz 2.03 - Basic Data Types

Professional Development

25 Qs

C-1 CHAPTER-3

C-1 CHAPTER-3

Professional Development

21 Qs

Stats+Python ISA Test - Quiz 2

Stats+Python ISA Test - Quiz 2

University - Professional Development

20 Qs

PLD_Prelim Quiz

PLD_Prelim Quiz

University - Professional Development

25 Qs

Python Day1 Quiz

Python Day1 Quiz

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

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?