CS 262 Fall 2026 - Introduction to Low-Level Programming
George Mason University
Department of Computer Science
Course Basics
Professor: Hamza Mughal
Email: hmughal2@gmu.edu
Office: BUCHAN D217F
Office Hours: Tuesday, Thursday 10:30 am - 11:30 am
Section 003 (T/TR 9 am - 10:15 am in Innovation Hall 103)
Modality: In Person Lectures
Professor: Kevin Andrea
Email: kandrea@gmu.edu
Office: Buchanan D217C
Office Hours: Monday 1:30 pm - 2:30 pm, Wednesday 12:00 pm - 1:00 pm
Section 003 (M/W 3 pm - 4:15 pm in Horizon Hall 2016)
Modality: In Person Lectures
Professor: Ping Deng
Email: pideng@gmu.edu
Office: Engineering 4608
Office Hours: Tuesday, Wednesday 1:30 pm - 2:30 pm
Section 003 (M/W 3 pm - 4:15 pm in Horizon Hall 2009)
Modality: In Person Lectures
GTAs: TBA
UTAs: TBA
Prerequisites
C or better in CS 211 or CS 222, and C or better in CS 110 (CS 110 can be a co-requisite with CS 262)
Readings (In this class, the main resource for the material will be the lectures and slides delivered by the instructor.)
Kernighan and Ritchie, The C Programming Language, 2nd ed., Prentice Hall, 1988 (required)
Byron S. Gottfried, Programming with C, 2nd ed., Schumm's Outline, 1996 or the latest (complementary)
Peter Printz and Tony Crawford, C in a Nutshell: A Desktop Quick Reference, 1st ed.,
O'Reilly, 2006 (complementary)
David Griffiths and Dawn Griffiths, Head First C, 1st ed., O'Reilly, 2012 (complementary)
Course Description
Most high-level programming languages (and particularly Java) insulate the programmer from the realities of the hardware on which the programs will run. C is the exception since it was originally designed to implement the Unix operating system. C offers the programmer direct access to much of the underlying hardware and, for programs running under Unix, direct access to operating system services. For these reasons C remains the language of choice for systems programming.
This course is intended to prepare students for topics in systems programming. It emphasizes relevant concepts of the C programming language, as well as the use of main commands of the Unix Operating System. This is a course on "low-level" programming using C which is taught with an emphasis on operations with pointers.
Learning Outcomes
Be able to implement, test and debug a designed solution to a problem in a low-level programming language, specifically the C programming language.
Demonstrate a good understanding of C language constructs such as pointers, dynamic memory management, and address arithmetic.
Demonstrate a good understanding of C libraries for input and output, and the interface between C programs and the UNIX operating system.
Demonstrate an ability to use UNIX tools for program development and debugging.
Course Topics
This is a course on "low-level" programming using C. We will learn C with heavy emphasis on pointer operations.
List of Planned Topics (in no particular order)
C Types, Operators, and Expressions
Basic I/O, Input and Output Libraries
Control Flow
Functions and Program Structure
Strings
Pointers and Arrays
Dynamic memory allocation
Structures
The Unix System Interface
vi/vim
Bitwise operations
Makefiles, Compiling, and Linking
Debugging using gdb and Valgrind
File I/O
Multiple source files
Grading
5% Lab Participation
5% Lab Assignments
5% Lecture Participation
30% Projects (3 programming assignments, each assignment worth 10%)
20% Quizzes (6 quizzes, lowest quiz dropped, each quiz worth 4%)
15% Midterm
20% Final (cumulative)
Per departmental policy, you must pass a significant exam threshold to receive a passing grade in
this class regardless of your performance on other assignments. To receive a passing grade in this
course, your final exam grade MUST be >= 60% or the average exam grade MUST be >=65%.
Project Policies to Pass the Course: Programming Projects Average of at least 60%
If you know in advance that you are unable to take an exam on the scheduled date for a valid and unavoidable reason, you must notify your instructor at least one week before the scheduled exam date to make arrangements for a make up
If you feel points have been incorrectly deducted, contact the grader. For all projects and lab assignments, that is your GTA. For exams, that is your professor. Contesting of grades on any/all submissions must be requested within one week of receiving the grade. No grade changes will be considered after that deadline
Grade Cutoffs
A+ [98-100] A [92-98) A- [90-92)
B+ [88-90) B [82-88) B- [80-82)
C+ [78-80) C [72-78) C- [70-72)
D [60-70)
F [0-60)
Projects
In addition to the labs, there will be multiple larger programming projects. Programming assignments will be posted on Blackboard as they are assigned and must be submitted on Canvas on the assigned due date by 11:59 pm. If your program is incomplete, you may still submit it for partial credit. However, your code must run without obvious errors (even if all functionality is not present). Building your programs in a modular fashion and debugging as you go are crucial concepts in program development. Additionally, your TA relies on running your program as part of your grade determination. Accordingly, any programming assignment that is submitted but either does not compile or has major errors when it is run will receive no more than 50% credit. Email submissions for projects are not accepted.
Students are responsible for verifying that all submissions are the correct file and that the submitted files can be extracted correctly. Please note that once a submission link expires, we do not accept resubmissions due to corrupted files or incorrect file submissions.
Late Work
Late projects and labs will be penalized 10% per day (incl. weekend days/holidays). You should recognize that this can cause major penalties for incomplete programs, so start work early! If your program isn't the way you'd like it to be when the deadline is near, submit it anyway for partial credit. In fact, submit early and often! The system permits you to retrieve and resubmit your assignment until the due date, so you may resubmit if you improve your program prior to the deadline.
The latest you can turn in work is 48 hours after the deadline
Students begin the semester with THREE One-Day-Late tokens. If you have a token left and turn in work late, the token is spent and no other deduction is made on the work. The late tokens may only be applied to projects and not labs.
Quizzes
Quizzes are in person. Quizzes must be taken on the scheduled date/time. No make-up quizzes are given unless due to extenuating circumstances.
Exams
Exams are in person. Exams must be taken on the scheduled date/time.
Exam Policies
In general, no computers, cell phones, books, calculators, or other such resources are allowed.
Unauthorized Devices and Materials: Policies regarding authorized material and devices will be specified per exam. The possession of an unauthorized device or unauthorized material during any exam will result in an automatic 0 on that exam, even if the device or material is not used. For example, if you are asked to turn off your phone and put it away in your backpack, and then you are seen with a phone in your pocket during an exam (even if it is off), then that exam will be an automatic 0. The same rule also applies for any limited access devices or material. For example, if you are seen with a reference sheet outside the parameters specified, then that exam will be an automatic 0. This policy is non-negotiable and it is your responsibility to confirm before the assessment if something does or does not adhere to the assessment policies.
Class Communications
CS 262 will be using Piazza and Canvas for most class communications. You are responsible for any notifications or information posted on Canvas/Piazza either by your instructor, your GTA or the class UTA(s), and you will need to check the systems regularly for such notices. Some information may be disseminated through these systems rather than in class. Individual communications with the instructor/GTA/UTA may be done by via Piazza utilizing private posts
Special Accomodations
If you are a student with a disability, please see your instructor and contact the Office of Disability Services (ODS) at (703) 993-2474. All academic accommodations must be arranged through the ODS: http://ods.gmu.edu
Privacy and FERPA
Students must use their Mason email account to receive important University
information, including communications related to this class. The instructor and GTAs
can not respond to messages sent from or send messages to a non-Mason email
address. We will not list your Mason email address on any public forum or provide it to
any other students. Your Mason email address will be provided to grading staff (GTA
and graders). If this is an issue, please contact the instructor so that we can figure out
another option. Video recordings of class meetings that are shared only with the
instructors and students officially enrolled in a class do not violate FERPA or any other privacy expectation. All course materials posted to Blackboard or any other course site are
private; by federal law, any materials that identify specific students (via their name,
voice, or image) must not be shared with anyone not enrolled in this class
Inclusion
Every student in this class, regardless of background, sex, gender, race, ethnicity, class,
political affiliation, physical or mental ability, veteran status, nationality, or any other
identity category, is an equal member of our class. If you encounter any barriers to
your inclusion, please contact your professor
Title IX
As a part of George Mason University’s commitment to providing a safe and non-discriminatory learning, living, and working environment for all members of the University community, the University does not discriminate on the basis of sex or gender in any of its education or employment programs and activities. Accordingly, all non-confidential employees, including your faculty member, have a legal requirement to report to the Title IX Coordinator, all relevant details obtained directly or indirectly about any incident of Prohibited Conduct (such as sexual harassment, sexual assault, gender-based stalking, dating/domestic violence). Upon notifying the Title IX Coordinator of possible Prohibited Conduct, the Title IX Coordinator will assess the report and determine if outreach is required. If outreach is required, the individual the report is about (the “Complainant”) will receive a communication, likely in the form of an email, offering that person the option to meet with a representative of the Title IX office.
For more information about non-confidential employees, resources, and Prohibited Conduct, please see University Policy 1202: Sexual and Gender-Based Misconduct and Other Forms of Interpersonal Violence. Questions regarding Title IX can be directed to the Title IX Coordinator via email to TitleIX@gmu.edu, by phone at 703-993-8730, or in person on the Fairfax campus in Aquia 373.
Student opportunity: If you prefer to speak to someone confidentially, please contact one of Mason’s confidential employees in Student Support and Advocacy (SSAC), Counseling and Psychological Services (CAPS), Student Health Services (SHS), and/or the Office of the University Ombudsperson.
Honor Code
Academic Standards exist to promote authentic scholarship, support the institution’s goal of maintaining high standards of academic excellence, and encourage continued ethical behavior of faculty and students to cultivate an educational community which values integrity and produces graduates who carry this commitment forward into professional practice.
As members of the George Mason University community, we are committed to fostering an environment of trust, respect, and scholarly excellence. Our academic standards are the foundation of this commitment, guiding our behavior and interactions within this academic community. The practices for implementing these standards adapt to modern practices, disciplinary contexts, and technological advancements. Our standards are embodied in our courses, policies, and scholarship, and are upheld in the following principles:
Honesty: Providing accurate information in all academic endeavors, including communications, assignments, and examinations.
Acknowledgement: Giving proper credit for all contributions to one’s work. This involves the use of accurate citations and references for any ideas, words, or materials created by others in the style appropriate to the discipline. It also includes acknowledging shared authorship in group projects, co-authored pieces, and project reports.
Uniqueness of Work: Ensuring that all submitted work is the result of one’s own effort and is original, including free from self-plagiarism. This principle extends to written assignments, code, presentations, exams, and all other forms of academic work.
Violations of these standards—including but not limited to plagiarism, fabrication, and cheating—are taken seriously and will be addressed in accordance with university policies. The process for reporting, investigating, and adjudicating violations is outlined in the university’s procedures. Consequences of violations may include academic sanctions, disciplinary actions, and other measures necessary to uphold the integrity of our academic community.
The principles outlined in these academic standards reflect our collective commitment to upholding the highest standards of honesty, acknowledgement, and uniqueness of work. By adhering to these principles, we ensure the continued excellence and integrity of George Mason University’s academic community.
Student responsibility: Students are responsible for understanding how these general expectations regarding academic standards apply to each course, assignment, or exam they participate in; students should ask their instructor for clarification on any aspect that is not clear to them.
We take the honor code quite seriously. Any attempts at copying or sharing code, algorithms, or other violations of the honor code simply will not be tolerated.
As seductively simple as it may seem to just copy and paste work from a friend or online source, remember that it is just as easy to compare your work electronically, and discover the similarities. We use automated software to flag suspicious cases, and then review them by hand to find the cases that must be submitted to the Academic Standards Office. Repeat to yourself: it's not worth trying to cheat. We will catch it, and sadly but surely, we will turn it in.
The penalty for cheating will always be far worse than a zero grade, to ensure it's not worth taking the chance.
The usual Sanction applied is Level 2 (Failure in the course).
It's a pretty sure-fire way to lose a semester and lose some implicated friends; please don't put yourself through that experience!
Course Policies
See AI / LLM Policies
Student Responsibilities
It is your responsibility to ...
lock your computers with a password,
not post your code to websites like Pastebin or ReplIt that are publicly accessible,
not post code to any public repositories,
(If you use services like Github/Gitlab) make sure your repo is set private.
guard your USB drives and computers,
not upload your files to someone else's computer, etc.
You will be liable for any access gained to your public or unprotected code.
Make sure none of your work is possible to access by any other student.
GTAs are allowed to help you in your Programming Assignments! But there are some limitations.
TAs can help you with designing data structures, the overall algorithm used, C programming in general, and fixing any bugs.
TAs can not give you code, allow you to copy code from someone else, or help you write your code.
Academic Standards Links and Specifics
All Students are required to abide by GMU's Academic Standards.
Link: http://academicstandards.gmu.edu/wp-content/uploads/2023/08/George-Mason-University-Honor-Code-2023-2024-final-version-SaveasPDF.pdf
All work must be your own.
If we see anything we cannot explain by any other means except cheating, we are required to submit to the honor court.
CS Honor Code Policies Page: https://gmuedu.sharepoint.com/sites/CEC-CS-GRP/SitePages/Honor-Code(1).aspx
See these CS Honor Code Policies to understand better what constitutes cheating in the CS setting.
It clarifies some scenarios that are unique to our sorts of assignments.
Programming Policies
No sharing or discussion of code. Unless specifically stated otherwise, all assignments are individual projects, not group projects. Students are expected to do their own work, not to share programs with each other, nor copy programs from anyone else. This means you may not discuss program design or strategize solutions with anyone except your instructor or a course UTA or GTA. However, you may offer more limited assistance to your fellow students regarding specific questions on their programming assignments by responding to queries on Piazza. Any sharing of code or discussion of programming projects, except within the parameters of Blackboard, constitutes an honor code violation. Suspected honor code violations are taken very seriously, and will be reported to the Honor Committee. Read the GMU Honor Code and CS Department Honor Code. You are bound by these codes.
No incorporation of code from any source external to the course. You may not incorporate code written by others, such as code found on the Internet or any of the numerous CS books available. You may freely use any code provided as part of the project specifications, without any need for crediting the source. However, if you use code provided by your instructor (other than that given as part of the project specifications) or from the course textbook, you must document what portion came from those sources.
Piazza. We encourage the use of Piazza to discuss assignments and assist one another with programming questions. You may ask questions or respond to queries on Piazza regarding projects or other assignments, so long as you do not post any C code or detailed pseudocode, and so long as you do not provide specific solutions to the overall problem or algorithm design (even in English). Often, students believe that "simple" code is acceptable to place on Piazza. However, because there is a wide variation in what different students and instructors regard as "simple," we must be very strict about the ban against Piazza code. Only an instructor, GTA or UTA is permitted to place code on Piazza unless it is code that has already been provided to all students (either as part of the assignment specification itself or within the class textbook).
Discussing Piazza postings outside of Piazza. Please note that Piazza assistance must remain on the forum. "Summarizing" Piazza statements or responses to another student verbally regarding an assignment is *not* acceptable, and is subject to the above ban on discussing assignment solutions. While it may seem harmless, Piazza was set up so that all assistance could be overseen by instructors/TAs/UTAs, and it is nearly impossible to truly duplicate Blackboard/Piazza discussion outside of the actual forum, thus creating the potential for either (unknowing) mistaken advice, or for unfair advantage by certain students. If you truly wish to assist a fellow student, encourage him or her to log onto Piazza, and direct him/her to specific postings you find helpful.
Back up your program regularly. You are expected to back up your program in separate files as you get different pieces working. Failure to do this may result in your getting a much lower grade on a program if last minute problems occur. (Accidentally deleting your program, having problems connecting, etc., will not be accepted as excuses.)
Keep an untouched copy of your final code submission. It is important that you not touch your programs once you have made your final submission. If there are any submission problems, consideration for credit will only be given if it can be verified that the programs were not changed after being submitted.
Code must run on Zeus using gcc. Students may develop programs using any computer system they have available. Please note, however, that submitted projects must run under the gcc compiler available on Zeus. Your documentation should clearly state which software was used for compilation, and once makefiles are introduced, a makefile should be included with each assignment submission. No extensions will be given due to compiler incompatibilities.
Electronic Devices
Please feel free to use laptops, tablets, etc. to take notes, review slides, etc. during class. If you know that you will need to be doing other things on your screen/device (answering emails, perusing tiktok etc), please sit in the back row to ensure that other students are not distracted by your screen. We all need to do this stuff some times, and I have no judgements on you if you choose to sit in back with your screen open - just do not distract those sitting around you.
In Class Activities
Most lectures will feature interactive activities and/or quizzes. These quizzes and activities are meant primarily to help me understand how well you (and the class as a whole) are understanding the material.
You are strongly encouraged to bring your laptop or phone to class so that you can participate in the activities.
AI / LLM and Academic Standards Course Policies
- You are not allowed to use code from the Internet.
- This includes Stackoverflow, Chegg, Github, ReplIt, TutorialPoint, or any other site with code.
- You are not allowed to use code from Generative AI or LLMs.
- All work submitted in this course must be your own original work.
- The use of AI writing/programming tools, such as Copilot, ChatGPT, Gemini, Claude, Grok, and other similar models are prohibited in this course and will be considered a violation of academic integrity.
- The use of AI-enhanced IDEs, such as VisualStudio Code, Cursor, Augment, Aider, Windsurf, Cline, or any other editor that has AI-features enabled will be considered a violation of academic integrity.
- You can disable AI features in IDEs and then use those IDEs without any issues.
- As an example, if you uninstall Copilot and select "Hide AI Features" in VS Code, you may use that IDE
- You are not allowed to discuss any implementation (code) or design decisions with any other student.
- This includes prior students and students from other sections.
- You are not allowed to share or use any code from any other student (including past students)
- This includes posting your code to a public GitHub repository.
To do the higher-level work in this field (CS367, CS 471, CS 475, CS 455, CS 440, CS 468)...
- You need to understand/apply fundamental concepts and skills without the use of AI tools.
- Practicing without the use of these tools are critical to the process of learning.
All suspected academic integrity violations are required to be reported to the office of Academic Standards.
AI study on performance