Python

Python

University

55 Qs

quiz-placeholder

Similar activities

MICCPE-FINALS

MICCPE-FINALS

University

51 Qs

OPP_DA_midTerm v2

OPP_DA_midTerm v2

University

50 Qs

ELECS 6

ELECS 6

University

50 Qs

PLC and Timer Concepts Quiz

PLC and Timer Concepts Quiz

University

52 Qs

MIDTERM EXAMINATION IN LIVING IN THE IT ERA

MIDTERM EXAMINATION IN LIVING IN THE IT ERA

University

50 Qs

BSCS 4-3 - Midterm Exam (Jan. 6, 2024)

BSCS 4-3 - Midterm Exam (Jan. 6, 2024)

University

50 Qs

CNPM 4

CNPM 4

University

50 Qs

Python_Ch4_All

Python_Ch4_All

University

59 Qs

Python

Python

Assessment

Quiz

Instructional Technology

University

Easy

Created by

michael Bolinger

Used 2+ times

FREE Resource

55 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
print("www.cisco.com".lstrip("w."))

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these methods uses whitespace characters to convert a string into a list?

Convert

Seperate

Replace

Join

Split

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
alpha = "abcde"
print(min(alpha))

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
alpha = "abcde"
print(alpha + "f")

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
i_am = 'I\'m'
print(len(i_am))

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
print("aAbByYzZaA".index("Z"))

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this function?
alpha = "vwxyz"
print(min(alpha))

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?