5 - Functions Flashcards
1
Q
Introduction to Julia
What is the main way used to create a function?
A
2
Q
Introduction to Julia
How can a function be called on a single line?
A
3
Q
Introduction to Julia
How is an anonymous function created?
A
4
Q
Introduction to Julia
What is duck-typing?
A
5
Q
Introduction to Julia
What does the ‘!’ at the end of a function name do?
A
6
Q
Introduction to Julia
What is the difference between ‘sort’ and ‘sort!’?
A
7
Q
Introduction to Julia
What is a higher order function?
A
7
Q
Introduction to Julia
How does the map() function work?
A
8
Q
Introduction to Julia
What is the boadcast() function?
A
9
Q
Introduction to Julia
What is the syntactic sugar for calling the broadcast() function?
A