Quiz 1 - Python

Quiz 1 - Python

8th Grade

15 Qs

quiz-placeholder

Similar activities

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

ULANGAN HARIAN SK

ULANGAN HARIAN SK

8th Grade

20 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

PENILAIAN HARIAN SISTEM KOMPUTER

PENILAIAN HARIAN SISTEM KOMPUTER

8th Grade

20 Qs

Review Komputer Mid SMP (1)

Review Komputer Mid SMP (1)

8th Grade

15 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Quiz 1 - Python

Quiz 1 - Python

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Joshua Reid

Used 15+ 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?

Discover more resources for Computers