C++ Basics: Selection and Iteration
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
C++ Basics: Selection and Iteration
This course is part of Programming in C++: A Hands-on Introduction Specialization
Instructors: Anh Le
59,460 already enrolled
Included with
Learn more
Ask Coursera
974 reviews
Recommended experience
974 reviews
Recommended experience
What you'll learn
Use variables and operators to store and manipulate small pieces of data
Automate decision making using selection statements so the program result differs based on data
Repeat sections of your program using the appropriate loop type
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
Code and run your first C++ program in minutes without installing anything!
This course is designed for learners with no coding experience, providing a solid foundation of not just C++, but core Computer Science topics that can be transferred to other languages. The modules in this course cover printing, operators, iteration (i.e., loops), and selection (i.e., conditionals). To allow for a truly hands-on, self-paced learning experience, this course is video-free. Assignments contain short explanations with images and runnable code examples with suggested edits to explore code examples further, building a deeper understanding by doing. You'll benefit from instant feedback from a variety of assessment items along the way, gently progressing from quick understanding checks (multiple choice, fill in the blank, and un-scrambling code blocks) to small, approachable coding exercises that take minutes instead of hours.
Welcome to Week 1 of the C++ Basics: Selection and Iteration course. These assignments cover the concepts of printing, variables, and comments. The module ends with a lab and graded coding exercises.
What's included
5 readings4 app items
5 readingsβ’Total 13 minutes
- Navigating Codio Assignmentsβ’5 minutes
- Printing Lesson Notes (Optional Download)β’1 minute
- Variables Lesson Notes (Optional Download)β’1 minute
- Basic Skills Lab (Review and Practice) Notes (Optional Download)β’1 minute
- How to Reset an Assignment in Codioβ’5 minutes
4 app itemsβ’Total 135 minutes
- Codio: Printingβ’20 minutes
- Codio: Variablesβ’30 minutes
- Codio: Basic Skills Labβ’40 minutes
- Codio: Basic Skills Coding Exercisesβ’45 minutes
Welcome to Week 2 of the C++ Basics: Selection and Iteration course. These assignments cover the concepts of arithmetic operators (+, -, *, /, and %) and boolean operators (and, or, not) to manipulate data stored in variables. The module ends with a lab and graded coding exercises.
What's included
3 readings4 app items
3 readingsβ’Total 3 minutes
- Arithmetic Operators Lesson Notes (Optional Download)β’1 minute
- Boolean Operators Lesson Notes (Optional Download)β’1 minute
- Operators Lab (Review and Practice) Notes (Optional Download)β’1 minute
4 app itemsβ’Total 130 minutes
- Codio: Arithmetic Operatorsβ’40 minutes
- Codio: Boolean Operatorsβ’30 minutes
- Codio: Operators Labβ’30 minutes
- Codio: Operators Coding Exercisesβ’30 minutes
Welcome to Week 3 of the C++ Basics: Selection and Iteration course. These assignments cover the concepts of making decisions using conditionals so your script can produce different output based on data. The module ends with a lab and graded coding exercises.
What's included
4 readings5 app items
4 readingsβ’Total 4 minutes
- If Statement Lesson Notes (Optional Download)β’1 minute
- If Else Statement Lesson Notes (Optional Download)β’1 minute
- Switch Case Statement Lesson Notes (Optional Download)β’1 minute
- Conditionals Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
5 app itemsβ’Total 120 minutes
- Codio: If Statementβ’20 minutes
- Codio: If Else Statementβ’20 minutes
- Codio: Switch Case Statementβ’20 minutes
- Codio: Conditionals Labβ’30 minutes
- Codio: Conditionals Coding Exercisesβ’30 minutes
Welcome to Week 4 of the C++ Basics: Selection and Iteration course. These assignments covers the different types of loops to repeat sections of your program without copying-and-pasting the same lines over-and-over again. The module ends with a lab and graded coding exercises.
What's included
4 readings5 app items
4 readingsβ’Total 4 minutes
- For Loops Lesson Notes (Optional Download)β’1 minute
- While Loops Lesson Notes (Optional Download)β’1 minute
- Nested Loops Lesson Notes (Optional Download)β’1 minute
- Loops Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
5 app itemsβ’Total 120 minutes
- Codio: For Loopsβ’20 minutes
- Codio: While Loopsβ’20 minutes
- Codio: Nested Loopsβ’20 minutes
- Codio: Loops Labβ’30 minutes
- Codio: Loops Coding Exercisesβ’30 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Offered by
Explore more from Software Development
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free Trial
- Status: Free TrialC
Codio
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
70.22%
- 4 stars
22.27%
- 3 stars
3.08%
- 2 stars
1.43%
- 1 star
2.97%
Showing 3 of 974
Reviewed on Jul 16, 2023
Hello, thank you for your efforts in the course. It was very useful and beautiful. I hope you will always be healthy and happy. Mohammad Pakzad from Iran.
Reviewed on Feb 25, 2024
codio is the best platform to learn coding, real time learning and workout is excellent pedagogoy. Codi has to release more worksheets on cpp.
Reviewed on Oct 25, 2022
vβery much interesting and amazing course , it was also a very new and effective way of learning , all my basics of c++ programming are covered in such a less time and more understanding way t
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
