Homework 5- Variables and selection

Homework 5- Variables and selection

8th Grade

10 Qs

quiz-placeholder

Similar activities

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Youtubers Charlie.C-J

Youtubers Charlie.C-J

3rd - 9th Grade

10 Qs

8 Lazarus Властивості елементів форми

8 Lazarus Властивості елементів форми

8th - 9th Grade

12 Qs

mouse

mouse

1st - 8th Grade

10 Qs

KT thường xuyên Tin 7

KT thường xuyên Tin 7

6th - 8th Grade

10 Qs

Networks 3

Networks 3

8th - 10th Grade

10 Qs

اختبار ثالثة إعدادي - مسار مصري - على الفصل الأول

اختبار ثالثة إعدادي - مسار مصري - على الفصل الأول

3rd Grade - University

14 Qs

Computer Languages and Types of computers

Computer Languages and Types of computers

4th - 10th Grade

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