Chapter 4 Exam Review

Chapter 4 Exam Review

8th Grade

20 Qs

quiz-placeholder

Similar activities

Internet and App script

Internet and App script

5th Grade - University

22 Qs

Ch. 5 Exam Review

Ch. 5 Exam Review

8th Grade

20 Qs

Python 8 klasa

Python 8 klasa

8th Grade

20 Qs

Python Basics

Python Basics

6th - 8th Grade

20 Qs

Python Множества shpa

Python Множества shpa

4th Grade - University

20 Qs

G08- ICT Q1 Reviewer

G08- ICT Q1 Reviewer

8th Grade

20 Qs

Kelas 8 - Halaman 23 (UH Bab 1A - PilGan)

Kelas 8 - Halaman 23 (UH Bab 1A - PilGan)

8th Grade

20 Qs

Statements in Python

Statements in Python

8th Grade

20 Qs

Chapter 4 Exam Review

Chapter 4 Exam Review

Assessment

Quiz

Information Technology (IT)

8th Grade

Easy

Created by

Ashley Brown

Used 7+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Python data type?

String

Integer

Floating Point

All of these are valid

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would best hold the value "Greetings"?

String

Integer

Floating Point

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we call an area in computer memory that holds a named value?

Variable

Vault

Locker

Dictionary

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change the data type of a variable?

Just assign a new value to the variable, and the type is automatically changed

Call the type() function

Print the variable contents to the screen

You can't change a variable's data type after the initial assignment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements will successfully assign the value 17 to the variable "age"?

age = 17

age + 17

17 = age

age(17)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following variable names are invalid?

123LookAtMe

Look_at_me

LookAtMe123

All of these are valid

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Based on best practice rules for naming variables, which of the following variable names would be best to hold a value containing a player's score?

playerScore

ps

ThePlayersCurrentScoreInOurGame

x

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?