exam questions

Exam PCEP-30-02 All Questions

View all questions & answers for the PCEP-30-02 exam

Exam PCEP-30-02 topic 1 question 14 discussion

Actual exam question from Python Institute's PCEP-30-02
Question #: 14
Topic #: 1
[All PCEP-30-02 Questions]

The fact that tuples belong to sequence types means:

  • A. they can be modified using the del instruction
  • B. they can be extended using the .append() method
  • C. they are actually lists
  • D. they can be indexed and sliced like lists
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jobseeker
2 weeks, 5 days ago
Selected Answer: C
C and D.. Both are lists: Mutable sequence types and immutable sequence types. We can index and slice both, lists and Tuples
upvoted 1 times
...
hovnival
3 months, 4 weeks ago
Selected Answer: D
The correct answer is: D. they can be indexed and sliced like lists Tuples are immutable sequence types in Python, meaning they cannot be modified (no item assignment or deletion) and do not have methods like .append() for extension. However, like other sequence types such as strings and lists, tuples support indexing and slicing to access their elements.
upvoted 2 times
...
Sam_sgv
4 months, 1 week ago
Selected Answer: D
in Python, it is entirely possible to index and slice tuples
upvoted 1 times
...
Nfyughguygjhg
4 months, 2 weeks ago
Selected Answer: C
c is the correct answer
upvoted 2 times
...
christostz03
8 months ago
d is the correct answer
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago