Learn how to use logic to control the flow of a program by testing for certain conditions.
- [Instructor] One of the key parts of programming … is controlling the execution flow of your program. … In this chapter we're going to learn about … the different kinds of flow control provided by Julia. … Now most of this is pretty standard, … so if you are already familiar with other languages, … then all of this will look very familiar to you. … And we're going to start off with conditional statements. … These are statements that evaluate a logical expression … and then take action based up on the result. … So I'm going to open conditionals_start. … So one of the most basic of these is the if statement. … It takes a condition and executes some code … if the condition evaluates to true. … So to take a very simple example, … let's imagine that we had a variable with a value like five … and you can see I've got a variable named x there … and we wanted to print a statement based upon that value. … So I can use an if statement to do that. … What I'll write is if x is less than 10, whoops, …
- Using the Julia REPL tool
- Differences between Julia and other languages
- Variables and data types
- Numbers in Julia
- Defining and operating on strings
- Using built-in functions in Julia
- Conditional statements
- Using array functions
- String processing
Skill Level Beginner
Python Basics for Java Developerswith Deepa Muralidhar42m 53s Beginner
Programming Foundations: Algorithmswith Joe Marini1h 45m Beginner
What you should know1m 26s
2. Language Basics
3. Language Features
4. Control Structures
5. Data Structures
6. Julia Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.