Homework 5- Variables and selection

Homework 5- Variables and selection

8th Grade

10 Qs

quiz-placeholder

Similar activities

Revision quiz on Access

Revision quiz on Access

8th Grade

12 Qs

CODING QUIZZ

CODING QUIZZ

8th Grade

13 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Grade 7 MS Excel Quiz

Grade 7 MS Excel Quiz

7th - 10th Grade

10 Qs

Networks

Networks

7th - 9th Grade

13 Qs

digital graphics

digital graphics

6th - 8th Grade

15 Qs

21 Things Basics

21 Things Basics

7th - 8th Grade

10 Qs

Adopt me

Adopt me

KG - Professional Development

14 Qs

Homework 5- Variables and selection

Homework 5- Variables and selection

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Kristie Hallmark

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to print "Hello, World!" in Python?

`echo "Hello, World!"`

`print("Hello, World!")`

`printf("Hello, World!")`

`System.out.println("Hello, World!")`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

`1st_variable`

`variable-name`

`variable_name`

`variable name`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `import` statement in Python?

To define a new function

To include external modules or libraries

To declare a variable

To start a loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a built-in function in Python?

`sum()`

`add()`

`total()`

`plus()`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression in Python: `3 + 4 * 2`?

`14`

`11`

`10`

`7`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start a comment in Python?

`

`//`

`/*`

`#`

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does INT means in python?

Decimal Numbers
Whole Number
Text
Floating Point Number

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?