str vs int

str vs int

8th Grade

10 Qs

quiz-placeholder

Similar activities

What is a computer

What is a computer

KG - University

11 Qs

ôn làm việc với dãy số

ôn làm việc với dãy số

8th Grade

15 Qs

CLASS 8 CODING

CLASS 8 CODING

8th Grade

10 Qs

Introduction To Python

Introduction To Python

6th - 8th Grade

9 Qs

Computer Devices and its Operating System

Computer Devices and its Operating System

4th - 8th Grade

10 Qs

COMPUTER MEMORY

COMPUTER MEMORY

4th - 8th Grade

10 Qs

str vs int

str vs int

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Joshua Coleman

Used 26+ 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 data type is "UB4 9LE"

String

Integer

Character

Float

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of concatenating 'Hello' and 'World' in Python?

word1 = "Hello"

Word2 = "World"

print(Word1 + Word2)

HelloWorld

Hello World

['Hello', 'World']

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would be best for storing a person's age?

String

Integer

Float

Boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type does the following line of code use?

year = int(input("What year is it?")

input

string

integer

number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

integers are used to...

display information

complete calculations

gather user input

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings are used to...

display information

complete calculations

gather user input

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Identify the variable that uses strings.

age

currentYear

print

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?