(Complete) ITWSPEC4 - Machine Problem 01
(Complete) ITWSPEC4 - Machine Problem 01
(Complete) ITWSPEC4 - Machine Problem 01
MACHINE PROBLEM
1
(Swift Control Structures)
1. Write a program code that will compute the factorial of a given number using for-in, while, and
repeat-while statements. The accepted value should be UInt32 only.
2. Create a program that will convert each number from a given integer to its equivalent word
value. The accepted value should be UInt16 only.
3. Create a program that will determine the position of a given point on an xyz coordinate system
given the following point position:
a. Origin
b. on xy – plane
c. on xz – plane
d. on yz – plane
e. in a given box
II. ASSESSMENT
Note: The following rubrics/metrics will be used to grade students’ output in the Machine
Problem 1.
V. REFERENCES
http://www.developer.apple.com