IT 117: Intermediate Scripting
Class 6

Tips and Examples


Review


New Material


Studying


Microphone

Quiz 1

I have posted the answers to Quiz 1 here.

Homework 3

I have posted homework 3 here.

It is due this coming Sunday at 11:59 PM.

Questions

Are there any questions before I begin?

Tips and Examples

Hashbang Problem with Windows Text Files

Review

Sequences

Dictionaries

Dictionary Literals

Getting Values from a Dictionary

Empty Dictionaries

Adding Entries to a Dictionary

Changing a Dictionary Value

Dictionaries Are Not Sequences

Looping Through a Dictionary

Tuples As Dictionary Values

When To Use a Dictionary

Attendance

New Material

Creating Lists

Lists versus Dictionaries

The in And not in Operators

Deleting Elements from A Dictionary

Getting the Number of Elements in a Dictionary

Sorting Dictionary Keys

Hash Tables

License Entry License Array Empty Hash Slots Hash Table with No Collisions Hash Table with Collisions

Studying

Class Exercise

Class Quiz