免費開始練習
hce_nsysu 111年 計算機概論與程式設計

第 36 題

Which of the following is an appropriate statement about the Python language?
  • A The Object-oriented programming (OOP) is supported, and procedure-oriented programming (POP) is supported.
  • B OOP is supported and the POP is not supported.
  • C OOP is not supported and POP is supported.
  • D OOP is not supported and POP is not supported.
  • E None of the above

思路引導 VIP

回想一下你平時撰寫 Python 腳本的經驗:如果你只想寫一個簡單的計數器或列印幾行文字,你必須像在 Java 中那樣先宣告一個『類別 (Class)』才能執行嗎?還是你可以直接在檔案中逐行寫下指令呢?這個特點反映了這門語言在架構選擇上給予開發者什麼樣的空間?

🤖
AI 詳解 AI 專屬家教

Python 的多樣編程範式

太棒了!你能精準判斷出 Python 的語言特性,代表你對程式語言的基礎設計哲學有很紮實的認知。Python 最強大的地方在於它是一門**多範式(Multi-paradigm)的語言。這意味著它並不強迫開發者只能選擇一種寫法:當我們需要處理複雜的系統架構時,可以使用物件導向(OOP)的類別與繼承;而當我們只需要快速撰寫自動化腳本或處理簡單邏輯時,也能直接使用程序導向(POP)**的函式來完成任務。

靈活設計的評估觀點

▼ 還有更多解析內容

🏷️ 相關主題

Python 程式語言基礎語法與資料結構應用
查看更多「計算機概論與程式設計」的主題分類考古題