| Exam Code/Number: | PCED-30-02Join the discussion |
| Exam Name: | PCED - Certified Entry-Level Data Analyst with Python |
| Certification: | Python Institute |
| Question Number: | 52 |
| Publish Date: | Sep 07, 2026 |
|
Rating
100%
|
|
Given the following string:
text = "Report2024Final"
Which of the following statements are entirely correct? (Choose two.)
A list is reversed using slicing: lst[::-1]. The programmer wants to confirm whether this modifies the original list or creates a new one. What is the correct behavior?
A Python loop uses range(5, 0, -2) to iterate backward. The programmer expects a decreasing sequence. Which values will actually be generated when this loop runs?
You have a list of test scores, where each entry includes a student name and a score. Some students appear more than once. You want to compute the average score for each student and store the results in a dictionary. Here's the partial code block:
Which code correctly replaces the # MISSING CODE comment to calculate the average score for each student? Select the best answer.
Consider the following Python code:
What will be printed when the code above is executed?
40
Enter your email address to download Python-Institute.PCED-30-02.premium Dumps