Foundations-of-Programming-Python 試験問題を無料オンラインアクセス

試験コード:Foundations-of-Programming-Python
試験名称:Foundations of Programming (Python) - E010 JIV1
認定資格:WGU
無料問題数:62
更新日:2026-11-29
評価
100%

問題 1

A program needs to update all values in a list by adding 5 to each number. Which for loop structure accomplishes this task?

問題 2

Which Python data structure contains only unique elements and does not support indexing?

問題 3

Fix the logic error in this function that should return the larger of two numbers.
def find_maximum(a, b):
if a < b:
return a
else:
return b

問題 4

Fix the missing function call in this function that should return the uppercase version of a string.
def make_uppercase(text):
return text.upper

問題 5

Write a complete function convert_temperature(celsius) that converts Celsius to Fahrenheit using the formula:
F = C * 9/5 + 32.
For example, convert_temperature(0) should return 32.0.
def convert_temperature(celsius):
# TODO: Convert Celsius to Fahrenheit using F = C * 9/5 + 32
pass

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。