---
# System prepended metadata

title: CS 1358 Introduction to Programming in Python SC1
tags: [pythonSC]

---

# CS 1358 Introduction to Programming in Python SC1

###### tags: `pythonSC`

# 1. Definitions and Short Answers - functions


1. What is a command-line interface?
    > A command line interface (CLI) is a text-based user interface (UI) used to view and manage computer files.

2. What is a prompt?
    > 系統的提示符

3. What is the working directory?
    >工作目錄，又作當前工作目錄、當前目錄
    
4. What is a shell?
    > 為使用者提供使用者介面的軟體

5. What does the mkdir command do?
    > make directory

6. What is the command for renaming a file?
    ```shell
    mv oldfile.txt newfile.txt
    ```
7. What is a path?
    > A path, the general form of the name of a file or directory, specifies a unique location in a file system. 

8. What does the path .. (i.e., two dots) refer to?
    > 上一層的檔案夾

9. In the vi text editor, what sequence of keys do you type to move the cursor down by one position and left by twenty (20) positions? Is there a better way than having to type the key for moving left 20 times?
    > 20 加空白建

10. In the vi text editor, how do you save (a file that already exists) and quit (as one command)?
    > :wq
11. What is the correct pronunciation for vi the text editor?
    >"vee-eye"