Basic Programming

Basic Programming

9th Grade

20 Qs

quiz-placeholder

Similar activities

Tổng kết CLB Minecraft Education

Tổng kết CLB Minecraft Education

1st Grade - University

20 Qs

Programming Variables (Python)

Programming Variables (Python)

9th Grade

17 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Beginner's Programming Challenge

Beginner's Programming Challenge

9th Grade

15 Qs

Тест по основам Python(intro1)

Тест по основам Python(intro1)

9th - 12th Grade

20 Qs

Workshop - Visão computacional

Workshop - Visão computacional

9th - 12th Grade

15 Qs

Scratch Pre-knowledge

Scratch Pre-knowledge

3rd Grade - University

15 Qs

Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz về Kiểu Dữ Liệu List và Set (1)

7th Grade - University

15 Qs

Basic Programming

Basic Programming

Assessment

Quiz

Information Technology (IT)

9th Grade

Easy

Created by

Duong Trinh

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

IDLE has two main windows. What are their names?

A. Browser and Shell

B. Program editor and Python shell 

C. File explorer and Editor

D. Terminal and Compiler

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a string in Python?

A. A number inside brackets

B. A series of characters inside quote marks

C. A function used for calculations

D. A saved file in Python

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a variable in Python?

A fixed storage location that cannot change

A named memory location that stores values

A type of function

A Python keyword

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens to the values stored in variables when a program stops running?

They are permanently saved

They are stored in a file

They are lost from memory

They are converted to strings

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What goes inside the brackets of a print command?

C. File names

A. Only numbers

B. The content you want displayed 

D. Variable assignments

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is the correct way to assign the number 29.99 to a variable?

19.99 = TicketCost

TicketCost = 29.99

TicketCost : 19.99

TicketCost = 19.99

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a valid rule for naming variables in Python?

Must start with a letter or underscore

Must not contain spaces

Can use letters, digits, and underscores

Must always start with a capital letter

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?