Module Quiz: Command Line :Version Control (Meta iOS Developer Professional Certificate) Answers 2026
Question 1
What command do you use to print the current working directory?
❌ cd
❌ cat
✅ pwd
Question 2
What command do you use to search text content?
✅ grep
❌ mkdir
❌ ls
Question 3
Which of the following are standard input/output (I/O) streams? (Select all that apply)
✅ stderr
✅ stdout
✅ stdin
Question 4
Pipes are used to pass the output of one command as input to another command.
✅ True
❌ False
Question 5
What command do you use to list files and directories?
❌ mkdir
✅ ls
❌ cd
Question 6
The mv command is used to create directories.
❌ True
✅ False
Question 7
Flags can be used to change the behaviour of a command.
✅ True
❌ False
Question 8
Which of the following are benefits of using the command line? (Select all that apply)
❌ Automatically correct mistakes in commands
✅ Automating tasks
✅ Improved performance versus Graphical User Interface
✅ Interacting with cloud provider platforms in a consistent way
🧾 Summary Table
| Question | Correct Answer(s) |
|---|---|
| Q1 | pwd |
| Q2 | grep |
| Q3 | stdin, stdout, stderr |
| Q4 | True |
| Q5 | ls |
| Q6 | False |
| Q7 | True |
| Q8 | B, C, D |