Enroll by June 5th, 2023Enroll Now
OUR PROGRAMSFull-stack Web Development Front-end Web Development Back-end Web Development Explore Our Programs Our Students Sample projects and assignments How We Teach FAQs Message Us
YOUR ACCOUNTMy Classroom
Web Development Jargons Explained in 4 Different Ways
TLDR: A conditional represents a choice in a program, it dictates what happens next. Such as, if today is a Monday, then make a reservation for dinner with the family, otherwise, eat dinner alone with TV.
A conditional is a choice. It is a piece of program that will only happen if a condition is met. Such as, if today is a Monday, then make a reservation for dinner with the family, otherwise, eat dinner alone with TV.
Conditionals are used often in programs to dictate execution flow path. Usually, conditionals are created using if-else statements. If condition is met, do this, else, do that. You can also chain multiple if-else statements together
Conditionals are available in almost all programming languages. Most conditionals are created using if statements. You can chain multiple if statements together and the computer will run them from top to bottom.
When one of the conditionals is satisfied, the code inside the conditional will be executed. The remaining chained conditionals will not be run.
Some programming languages also support the switch statement, which allows programmers to write more concise conditionals.
Programming is creating instructions for the computer to perform specific tasks. A person who writes programs is called a programmer. There are many different programming languages a programmer can write programs in.
A variable is a temporary storage unit in a program. You can think of it as a box. You can use this box to hold an item. You can retrieve the item stored, or swap it with another item.
A function can be thought of as a machine that performs a specific task. Such as make sandwich. Every time you want a sandwich to be made, you just have to turn on the machine. Or execute the function, as programmers would say.
Cohort 78 begins on June 5th, 2023
Learn back-end development with Ruby and Rails. Computer science fundamentals with practical programming skills.
Students and instructors from world-class organizations