Quiz 1 - Python

Quiz 1 - Python

8th Grade

15 Qs

quiz-placeholder

Similar activities

Basic Docs

Basic Docs

8th - 9th Grade

17 Qs

Do you know alot about Roblox?

Do you know alot about Roblox?

2nd Grade - University

10 Qs

File Management 3 Quiz

File Management 3 Quiz

8th Grade

10 Qs

Robotic /coding exam

Robotic /coding exam

6th - 8th Grade

16 Qs

ptscod

ptscod

8th Grade

20 Qs

Internet

Internet

7th - 10th Grade

10 Qs

ม.2 แบบทดสอบก่อนเรียน หน่วย 2

ม.2 แบบทดสอบก่อนเรียน หน่วย 2

6th - 8th Grade

10 Qs

kiểm tra tin 8

kiểm tra tin 8

8th Grade

20 Qs

Quiz 1 - Python

Quiz 1 - Python

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Joshua Reid

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is a variable?

A variable is a symbolic name for a storage location that can hold data and whose value can change.
A variable is a command that executes a function.
A variable is a type of programming language.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many variables exist in the following code?

Two - Num1 and Num2

Three - if, elif and else

Two - AND, OR

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be output if the following code was executed?

Num1 is larger

Num1 is smaller

Both the same

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In python programming, what does the following code demonstrate?

Selection

Iteration

Variable Assignment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1variable

variable_name

variable-name

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would produce an error?

print(7 * 7)

print(7 * "7")

print("7" * "7")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct definition for "syntax"

The rules of language

The errors that a program produces

The programming concepts such as variables and selection

Access all questions and much more by creating a free account

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?