CSC148H5 Lecture Notes - Lecture 2: Init, Priority Queue

49 views7 pages
24 Jan 2017
School
Course

Document Summary

Lecture 2:1 and 2:2 stacks and queues http://openbookproject. net/thinkcs/python/english3e/stacks. html. One role of an os is to provide services to programs. Playing sounds drawing images network communication opening les. Interface: is what you can do withs one program. Interface: name of this function and what it does. What services can windows provide me with such as keyboard, sounds, joysticks. Whats the program accomplishing and what features are available. As users of software we don"t care how its implemented. The distinction between the two is important because people are allowed to change the implementation but not the interface. Changing the name of the function could cause other programs to crash because the function that was being used doesn"t exist anymore. A lot of programmers ignore this advice and use implementation emails when they"re not supposed to do that. Program to an interface and not an implementation. Abstraction: ignoring certain details to make problems easier to solve.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents