Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

WGU Foundations of Programming (Python) (E010) Exam - Topic 4 Question 12 Discussion

Posted by Harrison on Aug 17, 2026 at 11:35 AM

Which terminal command is used to navigate to a different directory before running a Python script?

Suggested Answer: C

The command cd means ''change directory.'' It is used in a terminal to move from one folder to another.

Example:

cd Desktop

After navigating to the correct folder, a Python script can be run with a command such as:

python script.py

Therefore, the correct answer isC. cd.


Get Premium Foundations of Programming (Python) (E010) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
CE
Ceola 3 days ago
Wait, is it really that simple?
GE
Geraldine 8 days ago
Agreed, cd is the command!
NU
Nu 13 days ago
It's definitely C) cd.
TA
Tandra 18 days ago
Nope, it's not A) or B) for sure!
DO
Dorothea 23 days ago
I thought it was A) move at first.
ED
Edison 29 days ago
Wait, is it really that simple?
CA
Casey 1 month ago
Agreed, that's the command!
LA
Lawrence 1 month ago
It's definitely C) cd.
AS
Ashleigh 1 month ago
I’m pretty confident that "cd" is the correct answer. We definitely covered that in our study group!
MA
Maryann 2 months ago
"goto" seems like it could be a command, but I don't recall using it for navigation in the terminal.
TE
Teri 2 months ago
I remember something about "move," but that doesn't seem right for changing directories.
NO
Noble 2 months ago
I think the command is "cd," but I’m not completely sure. It sounds familiar from the practice questions.
0/2000 characters

Save Cancel