Hey there! I'm Rachel Wil Singh, aka R.W., and I will be your instructor for CS 200 this semester! Let's take a bit of time to get you acclimated to how my courses work, especially if you've never had one of my classes before.
First week of class!
SYLLABUS Review the syllabus to learn about course layout and policies
📝 Notes - Course Notes [CS200.CN] Throughout the course you will be submitting your notes (answers to questions) for a grade.
This assignment has a downloadable version of the notes in .odt, .docx, and .pdf format,
and you will submit your notes here throughout the semester for it to be reviewed.
(You don't have to do anything with this assignment right now but download it to your computer.)
Join the Discord! (optional but recommended) Discord is a chat program and I have a server set up for my courses.
I will also have channels created for each team in the course so you can
coordinate with classmates there.
Make sure to continue on to Unit 01, 02, 03, and 04 for the first week!
Review concepts These assignments can be redone as many times as you'd like to get a better grade. But to start with,
you might focus on doing them once and come back to them later because there are other units to complete!
🏋️ Unit 02 - main() - Intro to the structure of a C++ program [CS200.U02EX] (Due Sunday, June 11th) 📄 Documentation Canvas assignment replit: Assignment "U02EX - main()"
🔗 Unit 03: Variables - Storing data (Week 1 - June 5th)
We can use variables to store information for access later in our programs. In this section we'll learn about data types, declaring variables, and assigning values to them.
Branching is a core part of computer programming. We need to be able to "branch" our program's flow depending on some test criteria, such as if one value is greater than another.
🏋️ Unit 05 Exercise - Branching with if statements [CS200.U05EX] (Due Sunday, June 18th) 📄 Documentation (Will be posted soon!) Canvas assignment replit: Assignment "U05EX - if statements"
A while loop in programming is a control flow statement that allows a block of code to be executed repeatedly, as long as a certain condition remains true. The code block inside the loop will continue to execute as long as the specified condition is evaluated to true.
In C++, a pointer is a variable that stores the memory address of another variable. It allows direct access to the memory location of the variable it points to, providing the ability to manipulate the value of the variable indirectly.
Functions are an essential building block of programming because they allow programmers to break down a program into smaller, more manageable pieces of code.
With structs we can create our own data types. Structs are similar to classes in many ways, though classes are still used in C++, which we will cover later on. For now, we will keep our structs small and simple.
🏋️ Unit 10 Exercise - Organizing related data with structs [CS200.U10EX] (Due Sunday, July 2nd) 📄 Documentation Canvas assignment replit: "U10EX - Structs"
In C++, a class is a user-defined data type that encapsulates data and functions that operate on that data into a single entity. It provides a way to organize and modularize code, enabling object-oriented programming (OOP) concepts such as inheritance, polymorphism, and encapsulation.
In C++, a for loop is a control structure that allows a block of code to be executed repeatedly for a specific number of times. It has a syntax that consists of three optional statements in the initialization, condition, and update expressions, separated by semicolons, enclosed in parentheses, followed by a statement or a block of statements to be executed in the loop.
In C++, an array is a collection of elements of the same data type that are stored in contiguous memory locations. It can be initialized with a fixed size, and the individual elements can be accessed by their index position within the array.
🏋️ Unit 13 Exercise - Storing sets of data with Arrays and Vectors [CS200.U13EX] (Due Sunday, July 9th) 📄 Documentation Canvas assignment replit: U13EX - Data
In C++, std::string is a class in the Standard Library that represents a sequence of characters as a string object. It provides many built-in functions that allow manipulation of strings, making it a more flexible and powerful alternative to C-style character arrays.
In C++, inheritance is a mechanism that allows a new class to be based on an existing class, inheriting its data members and member functions. The derived class can then extend or modify the functionality of the base class, providing a way to reuse and extend existing code.
Searching and sorting algorithms are fundamental concepts in computer science used to organize and retrieve data efficiently. Searching algorithms help to find specific items within a collection of data, while sorting algorithms arrange data in a specific order, such as numerical or alphabetical.
Recursion is a technique where a function calls itself repeatedly until a specific termination condition is met. It can be used to solve complex problems that can be broken down into simpler, similar sub-problems, making the code more concise and easier to read.