题目内容

以下关于程序控制结构的描述中,正确的是()

A. Python使用while实现无限循环
B. 循环结构有两个辅助循环控制的保留字break和goto
C. 单分支结构的使用方式为if <条件>
D. <语句块>
E. D.双分支结构的使用方式为if <条件>
F. <语句块>else <语句块>

查看答案
更多问题

以下代码的执行结果是()。desserts = [‘ice cream’, ‘chocolate’, ‘apple crisp’, ‘cookies’]
favorite_dessert = ‘apple crisp’
for dessert in desserts:
if dessert == favorite_dessert:
print(“%s is my favor以下代码的执行结果是()。desserts = [‘ice cream’, ‘chocolate’, ‘apple crisp’, ‘cookies’]
favorite_dessert = ‘apple crisp’
for dessert in desserts:
if dessert == favorite_dessert:
print(“%s is my favor

Apple Crisp is my favorite dessert!
B. apple Crisp is my favorite dessert!
C. ice cream is my favorite dessert!
D. chocolate is my favorite dessert!

While running for President in 2008,____ proposed the American Dream Plan, which included the opportunity to go to college, save for retirement, own a home, health insurance for all children, business

A. Hillary Clinton
Barack Obama
C. Willard Romney
Donald Trump

There are three major divisions of Christianity. Which one of the following does not belong to the three major divisions()

A. Eastern Orthodox Church
B. Protestant Church
C. Anglican Church
D. Roman Catholic Church

In his The History of the Decline and Fall of the Roman Empire, Edward Gibbon lists some reasons for the rise of Christianity. Which one of the following is NOT on his list()

A. The doctrine of a future life
B. The pure and austere morals of the Christians
C. The discord of the Christian group
D. The miraculous powers ascribed to the church

答案查题题库