1. What is Pure function ? Junior A. a routine whose output depends only on its arguments and which causes no observable side effects B. the property that an expression can be replaced by its resulting value without changing the program's behavior C. the practice of never changing a value after it is created, producing new values instead of altering existing ones D. a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it Reveal the answer + AI explanation — free account
2. Which term means: "a routine whose output depends only on its arguments and which causes no observable side effects"? Junior A. Declarative style B. Referential transparency C. Side effect D. Pure function Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. Pure function — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value B. Pure function — a way of programming that specifies an explicit sequence of statements that change program state to reach a result C. Pure function — a routine whose output depends only on its arguments and which causes no observable side effects D. Pure function — the practice of never changing a value after it is created, producing new values instead of altering existing ones Reveal the answer + AI explanation — free account
4. What is Side effect ? Junior A. a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it B. any interaction with the outside world or mutation of external state that a computation performs beyond returning a value C. a routine whose output depends only on its arguments and which causes no observable side effects D. the practice of never changing a value after it is created, producing new values instead of altering existing ones Reveal the answer + AI explanation — free account
5. Which term means: "any interaction with the outside world or mutation of external state that a computation performs beyond returning a value"? Junior A. Declarative style B. Imperative style C. Referential transparency D. Side effect Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. Side effect — a way of programming that specifies an explicit sequence of statements that change program state to reach a result B. Side effect — a routine whose output depends only on its arguments and which causes no observable side effects C. Side effect — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it D. Side effect — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value Reveal the answer + AI explanation — free account
7. What is Referential transparency ? Mid A. the property that an expression can be replaced by its resulting value without changing the program's behavior B. a way of programming that specifies an explicit sequence of statements that change program state to reach a result C. a routine whose output depends only on its arguments and which causes no observable side effects D. a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it Reveal the answer + AI explanation — free account
8. Which term means: "the property that an expression can be replaced by its resulting value without changing the program's behavior"? Mid A. Pure function B. Declarative style C. Referential transparency D. Side effect Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. Referential transparency — a routine whose output depends only on its arguments and which causes no observable side effects B. Referential transparency — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it C. Referential transparency — the practice of never changing a value after it is created, producing new values instead of altering existing ones D. Referential transparency — the property that an expression can be replaced by its resulting value without changing the program's behavior Reveal the answer + AI explanation — free account
10. What is Immutability ? Junior A. a routine whose output depends only on its arguments and which causes no observable side effects B. a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it C. any interaction with the outside world or mutation of external state that a computation performs beyond returning a value D. the practice of never changing a value after it is created, producing new values instead of altering existing ones Reveal the answer + AI explanation — free account
11. Which term means: "the practice of never changing a value after it is created, producing new values instead of altering existing ones"? Junior A. Immutability B. Pure function C. Declarative style D. Referential transparency Reveal the answer + AI explanation — free account
12. Which statement is correct? Junior A. Immutability — the practice of never changing a value after it is created, producing new values instead of altering existing ones B. Immutability — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value C. Immutability — a way of programming that specifies an explicit sequence of statements that change program state to reach a result D. Immutability — the property that an expression can be replaced by its resulting value without changing the program's behavior Reveal the answer + AI explanation — free account
13. What is Declarative style ? Mid A. any interaction with the outside world or mutation of external state that a computation performs beyond returning a value B. a routine whose output depends only on its arguments and which causes no observable side effects C. a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it D. the practice of never changing a value after it is created, producing new values instead of altering existing ones Reveal the answer + AI explanation — free account
14. Which term means: "a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it"? Mid A. Pure function B. Referential transparency C. Side effect D. Declarative style Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. Declarative style — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it B. Declarative style — the property that an expression can be replaced by its resulting value without changing the program's behavior C. Declarative style — a routine whose output depends only on its arguments and which causes no observable side effects D. Declarative style — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value Reveal the answer + AI explanation — free account
16. What is Imperative style ? Mid A. the property that an expression can be replaced by its resulting value without changing the program's behavior B. a way of programming that specifies an explicit sequence of statements that change program state to reach a result C. a routine whose output depends only on its arguments and which causes no observable side effects D. a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it Reveal the answer + AI explanation — free account
17. Which term means: "a way of programming that specifies an explicit sequence of statements that change program state to reach a result"? Mid A. Imperative style B. Declarative style C. Side effect D. Referential transparency Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. Imperative style — the practice of never changing a value after it is created, producing new values instead of altering existing ones B. Imperative style — a way of programming that specifies an explicit sequence of statements that change program state to reach a result C. Imperative style — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value D. Imperative style — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it Reveal the answer + AI explanation — free account