📝

Logic Building - Phase 5: Strings

Master string manipulation, character operations, and word-level logic

50 questions•5 pages•~75 min

Use this quiz track to strengthen recall, speed, and exam-style decision making. Attempt one page first, review explanations, and then re-attempt incorrect questions without notes.

A good scoring strategy is to mark uncertain questions, finish known ones quickly, and return with elimination logic. This improves accuracy while keeping momentum under time constraints.

Progress: 0 / 500%
Page 3 of 5 • Questions 21-30 of 50
Q21easy

What does this code do? s = "hello" print(s.isalpha())

Q22easy

What is the output?

s = "Python123"
print(s.isalnum())
Q23easy

What will be printed? s = "Hello World" print(s.replace(" ", "-"))

Q24medium

What is the result?

s = "Python"
print(s[::2])
Q25easy

What will be printed? s = "hello" print(s.title())

Q26hard

What does this code do? s = "Python" result = s.lower() == s.upper() print(result)

Q27hard

What is the output?

s = "Hello"
print(s.center(10, "*"))
Q28easy

What will be printed? s = "Python" print(s.find("z"))

Q29medium

What is the result?

s = "Hello World"
print(s.split("o"))
Q30easy

What will be printed? s = "Python" print("P" in s)

Quiz Pages

Navigate directly to paginated quiz sets. These links help you revise by page and make every page discoverable.