Week 3: Libary Functions and Chars
Learning objectives:
Upon finishing this learning module, you should be able to:- Use standard library functions to do math and work with characters
- Generate pseudorandom numbers for a desired range
- Use the char data type and understand how it relates to int
Deadlines This Week:
- Monday 11:59PM - Assignment 2
- Fri 11:59PM - Numeric Functions CPPLab
- Sat 11:59PM - Chars CPPLabs
- Saturday 11:59 Quiz 1 - see below for tips
Classroom schedule:
- Monday
-
- No class
- Tuesday
-
- Random numbers and math functions
- Read Ch 3.9, 3.12, 4.1-4.2
- CPPLab Math Functions
- Wednesday
-
- Chars
- Read Ch 4.3-4.7
- CPPLab Characters
- Friday
-
- Quiz Review/CPPLab work
Online Activity Outline:
Using Functions
- Read 3.9 on random numbers. This video explains some of the basics:
- Read Ch 4.1 and 4.2. These videos explain some of the basics:
- Do Numeric Functions CPPLab
Chars
- Read Ch 4.3-4.7. This video explains a bit about chars
- Do Characters CPPLab
- Go to the book author's webpage (see Resources links at the top of the page) - go to the quiz tab and do some practice questions from Ch1, 2 and 3 to get ready for the quiz. The quiz will be some multiple choice, some short answer, and some writing code. Make sure to read the directions carefully before beginning. Also, see the quiz tips section below.
- Take Quiz 1 in elearn
- Do the assignment.
Quiz Tips:
Open Thursday-Sat in Elearn, TIME LIMITED (60 minutes), and NOT collaborative.Covers weeks 1 & 2. Make sure you block out an hour of uninterrupted time before you start the quiz - you can not pause the timer once you start.
Extra Info:
Learncpp.com
Classroom slides/examples:
Directory of files from the weekRight click files and save to your computer