Programmer Defined Function
INPUT, OUTPUT, AND BUILT-IN AND PROGRAMMER-DEFINED FUNCTIONS
Case Assignment
Case 2 assignments consist of keyboard input, formatted output, built in functions, and programmer functions:
Review the assigned videos in the background materials of the course before attempting to read the Python chapters.
Complete the following exercises from chapters 5, 6, 7 and 15 from “Python 2: For Beginners Only.”
Exercise 5.1, Exercise 5.3, and Exercise 6.3.
Exercise 7.2, Exercise 7.3,
Exercise 15.3, Exercise15.4 (exercises 1-4 only)
Create a Word file named as “ITM205-Case 2-Exercises-YourFirstNameLastName”containing a copy of each of the IDLE source codes and running results with clear exercise numbers marked on the page.
You can use the Snipping tools or screen print (ctrl + Print Screen) to show the Pythons editor’s (IDLE) code and results and demonstrate that your program executed correctly.
Write a summary document in Microsoft Word format named as “ITM205-Case2-Summary-YourFirstNameLastName” to show what you have accomplished through the exercises.
INPUT, OUTPUT, AND BUILT-IN AND PROGRAMMER-DEFINED FUNCTIONS
Name:
Institution:
Exercise 5.1
Source code:
The result:
Exercise 5.3
The Python format characters are:
dSigned integer decimal.
iSigned integer decimal.
oUnsigned octal.
uUnsigned decimal.
xUnsigned hexadecimal (lowercase).
XUnsigned hexadecimal (uppercase).
eFloating point exponential format (lowercase).
EFloating point exponential format (uppercase).
fFloating point decimal format.
FFloating point decimal format.
gSame as "e" if exponent is greater than -4 or less than precision, "f" otherwise.
GSame as "E" if exponent is greater than -4 or less than precision, "F" otherwise.
cSingle character (accepts integer or single character string).
rString (converts any python object using repr()).
sString (converts any python object using str()).
%No argument is converted, results in a ...
π Other Visitors are Viewing These APA Coursework Samples:
- Case Study Microsoft Access 1 page/β275 words | 2 Sources | APA | Technology | Coursework |
- Case analysis: Real-time Dashboards Track the Action of New York Jet Games1 page/β275 words | 1 Source | APA | Technology | Coursework |
- Case Static and Dynamic Routing2 pages/β550 words | 4 Sources | APA | Technology | Coursework |
- Doppler Effect1 page/β275 words | 1 Source | APA | Technology | Coursework |
- Information Technology3 pages/β825 words | 1 Source | APA | Technology | Coursework |
- Routers Components2 pages/β550 words | 6 Sources | APA | Technology | Coursework |
- Static and Dynamic Routing2 pages/β550 words | 6 Sources | APA | Technology | Coursework |