1 / 8

CS252: Systems Programming

CS252: Systems Programming. Ninghui Li Exam 1 Review. Topic 1: C Programming. General C programming questions Not limited to things explicitly covered in this class. Pointer usage Memory allocation errors Array vs pointers Function pointers and generic mappers.

foster
Download Presentation

CS252: Systems Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS252: Systems Programming Ninghui Li Exam 1 Review

  2. Topic 1: C Programming • General C programming questions • Not limited to things explicitly covered in this class. • Pointer usage • Memory allocation errors • Array vs pointers • Function pointers and generic mappers

  3. Topic 2: Program Structures & GDB • Steps of building a program • Static vs. shared library • Memory structure of a program • Using GDB

  4. Topic 3: Unix Systems Overview • i-node structure (data block indicies) • Directory structure • Hard link vs soft link • File permission bits (what are required for accesses) • Processes • Redirection stdin/stdout/stderr (how to use them in command line, not how to implement them)

  5. Topic 4: Regular Expressions • Understand what kind of strings are matched by a regular experssion • Able to write a regular expression to match certain sets of strings

  6. Topic 5: Common Unix Commands • Know what the commands listed in slides do • Write simple shell scrits

  7. Topic 6 & Topic 7 Part 1: Lex & Yacc • Understand Lex & YACC code • Be able to write simple ones

  8. Topic 8: Kernel Mode, System Calls, etc. • User mode vs kernel mode • Interrupts • Poling (synchronous) vs asynchronous • System calls

More Related