Q&A, Part III

CSCI 1360: Foundations for Informatics and Analytics

Midterm Review

Topics

  • Python: Compiled vs interpreted, general language vs domain-specific, user ethos and design philosophy, syntax
  • Variables: types, limtations of each, casting, assignment, increment, scope, shadowing
  • Data Structures: lists, sets, tuples, dictionaries, generators, comprehensions
  • Conditionals: if statements, elif and else clauses, boolean logic and boolean operators
  • Loops: for loops, while loops, range, zip, enumerate, itertools
  • Exceptions: errors, try/except blocks, else clauses, finally clauses
  • Functions: arguments (positional, default, and variable), return values
  • Classes and Objects: classes, objects, instantiation, encapsulation, abstraction, inheritance, constructors, methods, attributes
  • Vectorized Programming: NumPy arrays, slicing, broadcasting
  • File I/O: Reading files, writing files, text formats (CSV, JSON, raw text), binary formats (pickle, NumPy), error-handling, programmatic filesystem navigation