Data Types and String Functions

Data Types and String Functions

11th Grade

17 Qs

quiz-placeholder

Similar activities

Mock-Up Academy Programming Online Test

Mock-Up Academy Programming Online Test

6th Grade - University

20 Qs

Quiz Array Kelas XI

Quiz Array Kelas XI

11th Grade

15 Qs

Quiz Pemrograman Arduino

Quiz Pemrograman Arduino

10th Grade - University

15 Qs

Video Game Programming and Design Questions

Video Game Programming and Design Questions

9th - 12th Grade

20 Qs

Python for loop/lists

Python for loop/lists

9th Grade - University

15 Qs

Quiz sobre el ornitorrinco y la programación

Quiz sobre el ornitorrinco y la programación

8th Grade - University

15 Qs

Arduino Quiz #10: Arrays and Loops

Arduino Quiz #10: Arrays and Loops

11th Grade

17 Qs

Programming Foundations Practice Quiz

Programming Foundations Practice Quiz

11th Grade

20 Qs

Data Types and String Functions

Data Types and String Functions

Assessment

Quiz

Information Technology (IT)

11th Grade

Hard

Created by

Ashley Gatta

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is an example of a String?

42

"Hello, World!"

3.14

True

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is an example of an Integer?

"42"

42

3.14

False

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is an example of a Float?

"3.14"

42

3.14

True

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is an example of a Boolean?

"True"

42

3.14

False

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What does the `len` function do in Python?

Converts a string to lowercase

Converts a string to uppercase

Returns the length of a string

Accesses a string by index

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is the output of `len("Hello")`?

4

5

6

7

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What does the `.lower()` function do in Python?

Converts a string to lowercase

Converts a string to uppercase

Returns the length of a string

Accesses a string by index

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?