🔘 Supplement and assess your coding journey with multiple choice questions.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
app
bin
config
db
doc
lib
log
public
spec
stems
test
tmp
vendor
.DS_Store
.gitignore
.ruby-version
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
package.json
rubystems_development.sql
rubystems_test.sql

README.md

eval(self)

Supplement and assess your coding journey with multiple choice questions.

Multiple Choice Structure

Example

Given an array of integers, arr = [1, 2, 3, 4], which of the following statements will not return the first element, 1?

  • arr[0]
  • arr.at(0)
  • arr.first
  • arr(1)

Example Structure

The relevant setup information along with the question is the question. The four options are the alternatives. Three of the alternatives are incorrect and therefore distractors. And arr(1) is correct and therefore the key. The entire example is the stem.

Stem Explanation

My intention in crafting this stem was to expose the lesser known #at() method. I chose not to include another choice like arr[-4] because I prefer to limit the choices to four, and given the obscure nature of both arr[-4] and arr.at(0), only one ought to be exposed as the learning opportunity. A second, sequential stem could follow to build upon learning the obscure means of accessing array elements.

Inspiration

Writing Good Multiple Choice Test Questions