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.
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.
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.
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.
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.
We as students and instructors to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
Standards
Examples of behavior that contributes to a positive environment for our community include:
Demonstrating empathy and kindness toward other people
Being respectful of differing opinions, viewpoints, and experiences
Giving and gracefully accepting constructive feedback
Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
Focusing on what is best not just for us as individuals, but for the overall community
Examples of unacceptable behavior include:
The use of sexualized language or imagery, and sexual attention or advances of any kind
Trolling, insulting or derogatory comments, and personal or political attacks
Public or private harassment
Publishing others’ private information, such as a physical or email address, without their explicit permission
Other conduct which could reasonably be considered inappropriate in a professional/academic setting
Scope
This Code of Conduct applies within all course spaces, including on campus, in the discussion boards, via email, and the course Discord channel.
Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the instructor at rsingh13@jccc.edu. All complaints will be reviewed and investigated promptly and fairly. The instructor is obligated to respect the privacy and security of the reporter of any incident.