Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is a library function? Provide one example.
Think of a function that you can use without defining it.
Define what a user-defined function is.
Consider functions you write in your code.
What is a library function?
Remember the functions you use without writing any code.
True or False: User-defined functions must always be named 'greet'.
Think about how you can name your functions when coding.
Create a user-defined function that calculates the factorial of a given integer.
Think about how recursion works for calculating factorial.
Explain how using library functions can improve the efficiency of a program.
Consider how much time you'd save not repeating common tasks.
6 more questions in this section. Enroll free to practise them all.
Enroll free