Data Types and String Functions

Data Types and String Functions

11th Grade

17 Qs

quiz-placeholder

Similar activities

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

10th Grade - University

20 Qs

Assesmen Berpikir komputasi

Assesmen Berpikir komputasi

11th Grade

20 Qs

QUIZ INFORMATIKA BAB 3

QUIZ INFORMATIKA BAB 3

9th Grade - University

20 Qs

Latihan Soal PSAS Informatika 11

Latihan Soal PSAS Informatika 11

11th Grade

20 Qs

PHP OOP 1 (Class s.d. Constructor)

PHP OOP 1 (Class s.d. Constructor)

11th Grade

20 Qs

Quizz ASJ smt2

Quizz ASJ smt2

11th Grade

20 Qs

Cloud Service Models & Software Process Models

Cloud Service Models & Software Process Models

2nd Grade - University

20 Qs

Microsoft Word 2019 Advanced – Unit 1 (Review of Basic Concepts)

Microsoft Word 2019 Advanced – Unit 1 (Review of Basic Concepts)

10th Grade - University

15 Qs

Data Types and String Functions

Data Types and String Functions

Assessment

Quiz

Information Technology (IT)

11th Grade

Practice Problem

Hard

Created by

Ashley Gatta

FREE Resource

AI

Enhance your content in a minute

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

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

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?