Mastering Functional Programming Basics Quiz

Created by: FreeQuizzesFor

Go Back
14 Questions
0 Plays
Mastering Functional Programming Basics: a General level Programming quiz. Test your knowledge with 14 questions!
Rate this quiz:
No ratings yet

Questions

Question 1
What does 'immutability' mean in programming?
A Data is encrypted
B Data cannot change
C Data is shared
D Data is deleted
Question 2
What is a 'pure function'?
A Function with global variables
B Function with no side effects
C Function that prints text
D Function that uses a database
Question 3
In functional programming, what is the focus?
A Classes
B Loops
C Data mutation
D Expressions
Question 4
Does a pure function depend on external state?
A Sometimes
B Only for output
C No
D Yes
Question 5
What is the result of applying a pure function with the same input?
A Random
B Null
C Always the same
D Always different

๐Ÿ“‹ This quiz has 14 questions in total.

Log in to see all questions and correct answers!

๐Ÿšจ Report An Error