What is the digital divide?
The majority of people are aware that we are living in the Information Age. Businesses, jobs, and life in general have embraced technology. Knowing how to use a computer has become more of a necessity now than it has ever been. Unfortunately, a significant number of people are not "tech savvy" either because they are apprehensive about learning to utilize technology or just find the concepts to not be as intuitive. Of course, we then have lots of people of all ages who love technology and have a high aptitude for it. One of the ways we can describe this is by using the term "digital divide" because the digital and technology world has managed to divide people into two broad categories. The first category is people who cannot effectively use technology and the second category is the people who can use it effectively.
What are selection structures?
Selection structures allow us to determine which set of expressions (instructions) need to be processed based on the values of certain variables or certain expressions. A few selection operators include the if statement and the switch statement. Skilled programmers know when to use either the if statement or the switch statement. With selection structures, a programming language allows us to make "decisions" based on various conditions.
What is short-circuit evaluation?
In C++ and other programming languages, an expression can either be true or false. Most expressions consist of variables, constants, and logical operators such as AND and OR. If an expression has two conditions and an AND operator between them, then both conditions must be true, so both expressions must be evaluated in order to determine if the expression is true or false. However, if the two conditions surround an OR operator, then only one expression must be true in order for the expression to evaluate as true. Short-circuit evaluation occurs when the first condition is true because we need not evaluate the second condition to determine whether the expression is true or false.