Quiz 1 - Python

Quiz 1 - Python

8th Grade

15 Qs

quiz-placeholder

Similar activities

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

1st - 12th Grade

12 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Mid-Tern Exam's Review

Mid-Tern Exam's Review

8th Grade

15 Qs

Computer Hardware 8th

Computer Hardware 8th

6th - 8th Grade

15 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 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?