- Type
- Handout
- Course
- CS609 System Programming
- Size
- PDF 7.3 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 245. Download the file for all 245 pages.
Leaders in Education Technology
Table of Contents
Topic 1: Windows Operating System ..................................................................................................... 12 Core Features of Windows Operating System .................................................................................... 12 Topic 2: Windows Evolution ................................................................................................................. 13 Disk Operating System (DOS) ............................................................................................................. 13 Windows History ................................................................................................................................ 13 Topic 3: Windows Market Role ............................................................................................................. 14 Topic 4: Windows, Standards and Open Systems .................................................................................. 15 Topic 5: Windows Principles ................................................................................................................. 16 Topic 6: 32-Bit and 64-Bit Source Code Portability .............................................................................. 17 Topic 7: When to use Standard C Library for File Operations .............................................................. 17 Differences between Windows APIs and Standard Functions ............................................................ 17 Topic 8: A Simple File Copy Program Using Standard C Library ........................................................ 18 Topic 9: A Simple File Copy Program Using Windows APIs ............................................................... 19 Program 1 - 2 ...................................................................................................................................... 19 Topic 10: A Simple File Copy Program Using Windows Convenience Function ................................. 21 Program 1 - 3 .......................................................................................................................................... 21 Topic 11: Windows File System ............................................................................................................ 22 NT File System .................................................................................................................................. 22 File Allocation Tables ........................................................................................................................ 22 Compact Disk File System (CDFS) ................................................................................................... 22 Supports Universal Disk Format (UDF) & Live File System (LFS) also .......................................... 22 Lecture 12: File Naming Conventions ................................................................................................... 22 Certain Limitations for File Naming .................................................................................................... 22 Week 02: Topic 13 to 24 ............................................................................................................. 23 Lecture 13: Creating and Opening Files (Using Windows API) ......................................................... 24 The CreateFile() API ............................................................................................................................ 24 Lecture 14: Reading/Writing a File ........................................................................................................ 25 Syntax: ................................................................................................................................................ 25 Parameters ......................................................................................................................................... 25 Syntax: ................................................................................................................................................ 25 Lecture 15: Closing a File ...................................................................................................................... 26 Lecture 16: Generic Characters .............................................................................................................. 26 Lecture 17: Generic Functions ............................................................................................................... 27 Lecture 18: Unicode Strategies .............................................................................................................. 27 Using Generic Code Policy .................................................................................................................. 27 Using Unicode Policy .......................................................................................................................... 28 Unicode and 8-bit Policy ..................................................................................................................... 28 Lecture 19: Reporting Errors ............................................................................................................. 28 Lecture 20: Example for Reporting Errors ........................................................................................ 29 Example: ............................................................................................................................................. 29 Topic 20: Reporting Errors .................................................................................................................... 30 Topic 21: - Standard IO devices: ........................................................................................................... 32 Topic 22: Copying multiple files using windows API. .......................................................................... 33 CatFile Function: ................................................................................................................................ 34 Topic 23: Encrypting files: ..................................................................................................................... 35 File Encryption Program ..................................................................................................................... 35 Topic 24: Windows File Management ................................................................................................... 37 Delete ................................................................................................................................................. 37 Hard Copy .......................................................................................................................................... 38 Move ................................................................................................................................................... 38
Topic 25: Windows Directory Management .......................................................................................... 40 Current Directory ................................................................................................................................ 40 Topic 26: Console I/O ............................................................................................................................ 41 Topic 27: Printing and Prompting on Console ....................................................................................... 43 Variable parameter list ........................................................................................................................ 43 Console Prompt functions: .................................................................................................................. 43 Print String Function: ......................................................................................................................... 43 Console Prompt Function ................................................................................................................... 45 Topic 28: Printing Current Directory ..................................................................................................... 46 Topic 29: (64-bit File System) ............................................................................................................... 47 Topic 30: (File Pointer) .......................................................................................................................... 47 Topic 31: (Arithmetic for File) .............................................................................................................. 48 Topic 32: (Specifying File Pointer Position using Overlapped Structure) ............................................. 50 Implementation: .................................................................................................................................. 50 Topic 33: (Getting File Size) .................................................................................................................. 51 Topic 34: (Random Record Updates using File Pointer) ....................................................................... 52 Topic 35: (File Attributes and Directory Processing) ............................................................................ 58 Topic 36: (More on File and Directory Attributes) ................................................................................ 59
Topic 37: (Temporary File Names) ........................................................................................................ 62 Topic 38: (Listing File Attributes) ......................................................................................................... 62 Topic 39: Setting File Times .................................................................................................................. 64 Topic 40: File Processing Strategies ...................................................................................................... 64 Topic 41: File Locking ........................................................................................................................... 65 Topic 42: Releasing file locks. ............................................................................................................... 65 Topic 43: Lock Logic consequences ...................................................................................................... 65 Topic 44: The Registry ........................................................................................................................... 66 Topic 45: Registry Keys ......................................................................................................................... 66 Topic 46: Key Management ................................................................................................................... 67 Topic 47: Listing Registry Keys ............................................................................................................ 68 PowerShell .......................................................................................................................................... 68 PowerShell .......................................................................................................................................... 68
Topic 48: Exception and their Handlers ................................................................................................. 70 Topic 49: Try and Except Blocks ........................................................................................................... 70 Topic 50: Filter Expressions .................................................................................................................. 70 Topic 51: Exceptions Codes ............................................................................................................... 71 Topic 52: Exceptions Handling Sequence .......................................................................................... 72 try: ...................................................................................................................................................... 72 except ExceptionI: .............................................................................................................................. 72 except ExceptionII: ............................................................................................................................. 72 Topic 53: Floating-Point Exceptions .................................................................................................. 72 Topic 54: Errors and Exceptions ........................................................................................................ 72 Topic 55: Treating Errors as Exceptions ............................................................................................ 73 Topic 56: Termination Handlers ......................................................................................................... 73 Topic 57: Better Programs with Termination Handlers...................................................................... 73
Topic 58: Filter Functions .................................................................................................................. 75 Topic 59: Console Control Handles ................................................................................................... 75 Topic 60: Console Control Handler Example .................................................................................... 77 Topic 61: Vectored Exceptions Handling ........................................................................................... 79 Topic 62: Memory Management ........................................................................................................ 80 Topic 63: Windows Memory Management Overview ....................................................................... 80 Topic 64: Introduction to Heaps ......................................................................................................... 81 Topic 65: Creating Heaps ................................................................................................................... 83 Topic 66: Managing Heap Memory ................................................................................................... 84 Topic 67: Heap Size and Serialization ................................................................................................ 85 Topic 68: Using Heaps ....................................................................................................................... 87 Topic 69: Working with Heaps .......................................................................................................... 87
Topic 70: Binary Search Using Heaps ................................................................................................ 90 Topic 71: Memory-Mapped Files ....................................................................................................... 91 Topic 72: File Mapping Objects ......................................................................................................... 91 Topic 73: Open Existing File Mapping Objects ................................................................................. 93 Topic 74: Mapping Objects to Process Address Space ...................................................................... 94
Related CS609 files
All CS609 files →- CS609 Final Term Subjective by Waqar Siddhu Final term PDF 1.6 MB
- CS609 Updated MCQs Set 2 MCQs PDF 5.3 MB
- CS609 Handouts by VUBuddy Handout PDF 2.6 MB
- CS609 Updated Handouts Set 2 Handout PDF 3.3 MB
- CS609 Updated Handouts Handout PDF 6.5 MB
- CS609 Highlighted Handouts by VU Topper RM Highlighted PDF 2.5 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.