python

python

Assessment

Quiz

•

Other

•

Professional Development

•

Easy

Created by

trần hùng

Used 7+ times

FREE Resource

Student preview

quiz-placeholder

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct sequence of steps for interacting with a computer program?

Type command, wait for response, execute

Execute, type command, wait for response

Type command, execute, wait for response

Wait for response, type command, execute

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in computer programming?

A named place in the memory to store data

A fixed value that cannot be changed

A type of loop used for repeating code

An input device used to enter data into the computer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the rules for naming variables in computer programming?

Only letters are allowed, not numbers or underscores

Variable names are not case sensitive

It is allowed to start a variable name with a number

Variable names can include letters, numbers, or underscores, but must start with a letter or underscore

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a statement in computer programming?

A function that performs a specific task

A variable used to store data temporarily

A type of loop used for repeating code

A combination of operator and its operand (s), where the operator is a symbol indicating a calculation, and there is one or more operands

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following values represent a Boolean variable in computer programming?

int

char

float

true

false

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an integer variable in computer programming?

A variable used to store text data

A variable that can hold whole numbers

A variable that can only hold a value of 0 or 1

A type of loop used for repeating code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type in computer programming is typically used to store decimal numbers with digits and exponents?

char

bool

double

float

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?