Home > MCQs > IT & Programming > Clojure MCQs

Clojure MCQ

Clojure Quick Quiz

Question 1 of 10
  • What do keywords begin with?

    Answer & Explanation

    Correct Answer: :

    Note: This Question is unanswered, help us to find answer for this one

  • Clojure strings are Java Strings and are represented in exactly the same way, delimited by double quotes.

    Answer & Explanation

    Correct Answer: True

    Note: This Question is unanswered, help us to find answer for this one

  • The reduce function is used to _____

    Answer & Explanation

    Correct Answer: aggregate the elements in a collection using a given function and return the result as a single value

    Note: This Question is unanswered, help us to find answer for this one

  • A function can be stored in a var or passed as an argument to other functions.

    Answer & Explanation

    Correct Answer: True

    Note: This Question is unanswered, help us to find answer for this one

  • Clojure is primarily an imperative language.

    Answer & Explanation

    Correct Answer: False

    Note: This Question is unanswered, help us to find answer for this one

  • How many ways can you safely share mutable data using Clojure?

    Answer & Explanation

    Correct Answer: 3

    Note: This Question is unanswered, help us to find answer for this one

  • For the following code to evaluate without error, what needs to be added? (def regex "(.*)") (re-seq regex "Ryan Kelker")

    Answer & Explanation

    Correct Answer: # symbol before the string in regex

    Note: This Question is unanswered, help us to find answer for this one

  • True or False? Clojure a functional language.

    Answer & Explanation

    Correct Answer: True

    Note: This Question is unanswered, help us to find answer for this one

  • Vars _____

    Answer & Explanation

    Correct Answer: provide thread-local variable bindings

    Note: This Question is unanswered, help us to find answer for this one

  • In Clojure, tail-call optimization is _____

    Answer & Explanation

    Correct Answer: not supported natively by the compiler, but could be simulated using thunks, trampolines, and macros.

    Note: This Question is unanswered, help us to find answer for this one

  • Clojure Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.