I&C SCI 32 Study Guide - Final Guide: Localhost, Top Type, Multiple Choice

157 views6 pages

Document Summary

Writing python code, such as partial functions given the specifications. Know how to write a functino def random(param1:str, param2: int) -> int. When a fucntion is called, it is being asked to do something. An exception just means that the function failed to complete its job. Using try statements is an effective way to determine what we want to try: except: else: finally: A try, 1 except minimum, (option) else, (optional) finally. File system: software that manages how information is stored on a storage device. The basic abstraction of a file system is a file. In comp sci, a file is a container in which a sequence of bytes is stored. These bytes are interpreted differently depending on the file type. A file name is a piece of metadata associated with a file. File systems tend to be a hierarchy of directories with each directory containing files and other directories.