Conditional (computer programming)

Conditional (computer programming)

Conditionals in computer science are commands that allow programmers to make decisions based on whether a condition is true or false. They alter the control flow of a program and can be used to perform different computations or actions depending on the condition. Dynamic dispatch is another way to select alternatives at runtime, although it is not typically considered a conditional construct.

3 courses cover this concept

Data 8: The Foundations of Data Science

UC Berkeley

Fall 2022

UC Berkeley's course blends inferential thinking, computational thinking, and real-world relevance, offering students hands-on analysis of real-world datasets. It covers critical concepts in computer programming, statistical inference, privacy, and study design.

No concepts data

+ 33 more concepts

CS 164: Programming Languages and Compilers

UC Berkeley

Fall 2022

Explores how compilers translate high-level languages into machine-understandable code, offering practical experience with developing compilers for various languages. Also covers reasoning about compiler correctness and understanding runtime errors.

No concepts data

+ 28 more concepts

CSE 142 Computer Programming I

University of Washington

Summer 2022

This introductory course teaches programming using Java. Students learn computational problem-solving techniques, functional decomposition, control structures, data abstraction, and code documentation. No prior programming experience is required.

No concepts data

+ 46 more concepts