課程名稱︰計算機程式語言
課程性質︰必修
課程教師︰林達德
開課學院:生農
開課系所︰生機
考試日期(年月日)︰2006/11/9
考試時限(分鐘):20分
是否需發放獎勵金:是
(如未明確表示,則不予發放)
試題 :
Problem 1(70%):
Briefly explain the following terms:
(1)debug
(2)header file
(3)object code
(4)constructor
(5)data member
(6)UML
(7)sqrt()
(8)data hiding
(9)runtime error
(10)structured programming
Problem 2(30%):
Write a C++ program that displays a table of 50 temperature conversions from
Fahrenheit to Celsius.The table should start with a Fahrenheit value of 0
degree and be incremented in values of 5 degrees.Recall that
Celsius=(5.0/9.0)*(Fahrenheit-32)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.238.178