Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

257 bytes removed, 08:51, 14 June 2017
Table of Virtual Machines / DNS Records
:Below is a table with links to useful online Python reference sites (by category). You may find these references useful when performing assignments, etc.
 
=== Table of Virtual Machines / DNS Records ===
 
'''All''' the machines in the following table require DNS records. The rows not shaded represent future servers that will be created in Assignment #2.
{| class="wikitable" | style="margin-left:0px; border: 2px solid black;"
| style="border: 2px solid black;" | [https://docs.python.org/3/tutorial/introduction.html#lists Lists]<br>[https://docs.python.org/3/tutorial/datastructures.html#more-on-lists More on Lists]<br>[https://docs.python.org/3/tutorial/datastructures.html#list-comprehensions List Comprehensions]
| style="border: 2px solid black;" valign="top"| [https://docs.python.org/3/tutorial/introduction.html#strings Strings]<br>[https://docs.python.org/3/library/string.html String Comparisons]
| style="border: 2px solid black;" valign="top"| [https://docs.python.org/3/library/re.html Regular Expression Operations]<br>[https://docs.python.org/3/howto/regex.html Regular Expressions (HOWTO)]
| style="border: 2px solid black;" valign="top"| [https://docs.python.org/3/tutorial/datastructures.html#dictionaries Dictionaries]
|}
     ::'''Strings'''::*::* ::'''Regular Expressions:'''::*::*<br><br>
= INVESTIGATION 1: DATA STRUCTURES =
</source>
== PART 2 - Set Sets ==
:Sets are another very similar structure to lists, they can also be modified and changed, unlike the tuple. But sets have two unique characteristics, they are unordered, and they cannot have duplicate values. The unordered part provides a added performance from hashing the values, but also means we cannot pull out a specific value at a spefici position. Any duplicate entries will immediately be deleted. Sets however are great tools for doing comparisons, finding differences in multiple sets, or finding similarities. The best part about sets are, they are fast!
</source>
:::4. Before proceeding, make certain that you identify any and all errors in lab4b.py. When the checking script tells you everything is OK before proceeding to the next step.
 
== PART 3 - Dictionary ==
13,420
edits