We may earn an affiliate commission when you visit our partners.
Course image
David Dalsveen

In this project you will create an application that yields a zodiac sign based on an input of birth month and day.

Read more

In this project you will create an application that yields a zodiac sign based on an input of birth month and day.

The process of making decisions is fundamental in programming, just as it is in real life. A pre-existing condition is evaluated, and a decision is made based on the evaluation. For example, if it is cold outside, a person chooses to wear a coat. If a temperature sensor exceeds a certain threshold, the furnace turns off. In C++, as in other programming languages, a decision construct is used to control the sequence of instructions that are executed under certain conditions. It allows the programmer the power to take certain action based on various input conditions. For example, a grading program will need to assign a certain grade based on a test score.

Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Enroll now

What's inside

Syllabus

C++ Decision Programming
In this project you will create an application that yields a zodiac sign based on an input of birth month and day. The process of making decisions is fundamental in programming, just as it is in real life. A pre-existing condition is evaluated, and a decision is made based on the evaluation. For example, if it is cold outside, a person chooses to wear a coat. If a temperature sensor exceeds a certain threshold, the furnace turns off. In C++, as in other programming languages, a decision construct is used to control the sequence of instructions that are executed under certain conditions. It allows the programmer the power to take certain action based on various input conditions. For example, a grading program will need to assign a certain grade based on a test score

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Teaches fundamental programming concepts like decision constructs, which are core to all programming languages
Suitable for beginners who are new to C++ and programming concepts
Hands-on project to apply decision constructs in a practical setting
Focuses on a specific programming concept, making it a targeted and efficient learning experience
Note: Course is currently optimized for learners in the North America region

Save this course

Save C++ Decision Programming to your list so you can find it easily later:
Save

Reviews summary

Strong decision programming concepts

Learners say this course provides a strong understanding of decision programming concepts in C++ through lectures and projects. The projects are said to be engaging and helpful in applying the concepts to real-world problems. Students report gaining a comprehensive understanding of decision statements in C++ through this course.

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in C++ Decision Programming with these activities:
Read a book on C++ programming fundamentals
Reading a book on C++ programming fundamentals can provide you with a comprehensive understanding of the core concepts and principles of C++ programming, which can serve as a solid foundation for your learning in this course.
View C++ Primer on Amazon
Show steps
  • Obtain a copy of a recommended C++ programming book, such as 'C++ Primer' or 'C++ How to Program'.
  • Read through the book, focusing on the chapters that cover basic C++ syntax, data types, operators, and control flow.
  • Make notes and highlight important concepts for future reference.
Review basic programming concepts
Refreshing your understanding of basic programming concepts can help you recall and strengthen your foundation, making it easier to grasp new concepts and apply them effectively in the course.
Browse courses on Programming Fundamentals
Show steps
  • Go through your notes or online resources to review fundamental programming concepts such as variables, data types, operators, and control flow.
  • Solve simple programming problems or exercises to test your understanding and identify areas where you need additional practice.
Practice basic C++ syntax
Practicing basic C++ syntax can help you reinforce your understanding of the fundamental building blocks of the language and improve your programming skills.
Browse courses on C++ Syntax
Show steps
  • Find online resources or tutorials that provide exercises on basic C++ syntax.
  • Write simple C++ programs to practice declaring variables, using operators, and performing basic input and output operations.
  • Review your code and debug any errors to improve your understanding of syntax and error handling.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Follow online tutorials on C++ decision programming
Following online tutorials on C++ decision programming can provide you with step-by-step guidance and interactive exercises to reinforce your understanding of decision-making concepts.
Browse courses on Conditional Statements
Show steps
  • Search for online tutorials that cover C++ decision programming, such as if-else statements, switch statements, and logical operators.
  • Follow the tutorials and complete the provided exercises to practice writing decision-making code in C++.
  • Review the tutorial materials and make notes to clarify any concepts you may not fully understand.
Create a flowchart or diagram of a simple C++ program
Creating a flowchart or diagram of a C++ program helps you visualize the flow of logic and identify potential errors, which can improve your understanding of program structure and execution.
Browse courses on C++ Programming
Show steps
  • Choose a simple C++ program, such as one that calculates the factorial of a number or prints a pattern.
  • Use a flowcharting tool or draw a diagram to represent the program's logic.
  • Include all the necessary steps, decision points, and loops in your flowchart or diagram.
Participate in a study group or online forum for C++
Participating in a study group or online forum can provide you with opportunities to discuss C++ concepts with peers, ask questions, and share knowledge, which can enhance your understanding and retention.
Browse courses on C++ Programming
Show steps
  • Join an online forum or study group dedicated to C++ programming.
  • Participate in discussions, ask questions, and share your own knowledge and experiences.
  • Collaborate with other members to solve problems and learn from each other's perspectives.
Develop a small C++ program that implements a decision-making algorithm
Developing a small C++ program that implements a decision-making algorithm allows you to apply your understanding of decision programming concepts in a practical setting, reinforcing your learning and building your confidence.
Browse courses on Problem Solving
Show steps
  • Choose a problem or scenario that requires a decision-making algorithm, such as calculating a grade based on a score or determining the eligibility for a discount.
  • Design and implement a C++ program that incorporates the necessary decision-making logic.
  • Test your program with various inputs to ensure it produces the correct outputs.

Career center

Learners who complete C++ Decision Programming will develop knowledge and skills that may be useful to these careers:
Software Developer
A software developer is responsible for designing, developing, and implementing software systems. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a software developer, you will need to be able to make decisions about the design and implementation of your software, and this course will provide you with the skills you need to do so effectively.
Web Developer
A web developer is responsible for designing, developing, and implementing websites. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a web developer, you will need to be able to make decisions about the design and implementation of your websites, and this course will provide you with the skills you need to do so effectively.
Database Administrator
A database administrator is responsible for managing and maintaining databases. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a database administrator, you will need to be able to make decisions about the design and implementation of your databases, and this course will provide you with the skills you need to do so effectively.
Systems Analyst
A systems analyst is responsible for analyzing and designing computer systems. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a systems analyst, you will need to be able to make decisions about the design and implementation of your systems, and this course will provide you with the skills you need to do so effectively.
Computer Programmer
A computer programmer is responsible for writing and maintaining computer programs. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a computer programmer, you will need to be able to make decisions about the design and implementation of your programs, and this course will provide you with the skills you need to do so effectively.
Network Administrator
A network administrator is responsible for managing and maintaining computer networks. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a network administrator, you will need to be able to make decisions about the design and implementation of your networks, and this course will provide you with the skills you need to do so effectively.
IT Support Specialist
An IT support specialist is responsible for providing technical support to users of computer systems. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As an IT support specialist, you will need to be able to make decisions about how to solve technical problems, and this course will provide you with the skills you need to do so effectively.
Data Analyst
A data analyst is responsible for collecting, analyzing, and interpreting data. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a data analyst, you will need to be able to make decisions about how to collect and analyze data, and this course will provide you with the skills you need to do so effectively.
Business Analyst
A business analyst is responsible for analyzing and designing business processes. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a business analyst, you will need to be able to make decisions about how to improve business processes, and this course will provide you with the skills you need to do so effectively.
Project Manager
A project manager is responsible for planning, organizing, and managing projects. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a project manager, you will need to be able to make decisions about how to plan and manage your projects, and this course will provide you with the skills you need to do so effectively.
Quality Assurance Analyst
A quality assurance analyst is responsible for testing and evaluating software products. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a quality assurance analyst, you will need to be able to make decisions about how to test and evaluate software products, and this course will provide you with the skills you need to do so effectively.
Technical Writer
A technical writer is responsible for writing and maintaining technical documentation. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a technical writer, you will need to be able to make decisions about how to write and maintain technical documentation, and this course will provide you with the skills you need to do so effectively.
Computer Science Teacher
A computer science teacher is responsible for teaching students about computer science. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a computer science teacher, you will need to be able to make decisions about how to teach computer science to your students, and this course will provide you with the skills you need to do so effectively.
Cybersecurity Analyst
A cybersecurity analyst is responsible for protecting computer systems from cyber attacks. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a cybersecurity analyst, you will need to be able to make decisions about how to protect computer systems from cyber attacks, and this course will provide you with the skills you need to do so effectively.
Software Tester
A software tester is responsible for testing and evaluating software products. This course on C++ Decision Programming can help you build a foundation in programming concepts and logic, which are essential for success in this role. As a software tester, you will need to be able to make decisions about how to test and evaluate software products, and this course will provide you with the skills you need to do so effectively.

Reading list

We've selected nine books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in C++ Decision Programming.
Comprehensive and authoritative guide to the C++ programming language. It is written by the language's creator, Bjarne Stroustrup, and provides a deep understanding of the language's features and design.
Comprehensive and up-to-date guide to the C++ programming language. It covers all the latest features of the language, including the new C++11 and C++14 standards.
Provides a comprehensive and up-to-date guide to C++ templates. It valuable resource for programmers who want to learn how to use templates to write more efficient and reusable code.
Provides a comprehensive and practical guide to concurrency in C++. It covers all the major concurrency features of the language, and valuable resource for programmers who want to learn how to write concurrent code.
Provides a comprehensive and in-depth guide to exception handling in C++. It valuable resource for programmers who want to learn how to write code that is more robust and reliable.
Provides a collection of recipes for solving common programming problems in C++. It valuable resource for both beginners and experienced programmers.
Provides a comprehensive and in-depth guide to C++ templates. It valuable resource for programmers who want to learn how to use templates to write more efficient and reusable code.
Provides a set of coding standards for C++ programming. It valuable resource for programmers who want to improve the quality and consistency of their code.

Share

Help others find this course page by sharing it with your friends and followers:
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser