Skip to content

Latest commit

 

History

History
220 lines (141 loc) · 7.99 KB

3-context-is-content.md

File metadata and controls

220 lines (141 loc) · 7.99 KB

demonstrating how the same coding challenge in different learning environments gives a very different experience and learning outcomes.

each example has the exact same challenge, test cases, explanation and resources, but they are not completely interchangeable:

  • how does each environment change your interaction with the code, is one easier or harder?
  • what implicit & explicit skills are practiced or avoided in each environment?
  • which version will most directly prepare students for developing real projects in a professional development environment?
  • which format is easier for making more exercises? does the amount of effort relate to better student learning?

Index


for python tutor

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.

  • fork, this repo
  • complete the challenge on pytut
  • when you've passed all the tests paste a permalink to your solution below

[my solution on pytut](paste your link here)

stuck?

  1. read search ask
  2. get a hint
  3. ask a question on the forum

your notes:

TOP


For markdown & console

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.

  • first, fork this repository onto your account
  • to complete the exercise, copy the block below into the console
  • when you think you've got it, hit enter to see how you did!
  • you can rework your last try by hitting the up arrow
  • to reset, simply delete the body of the function and start over
  • to save your work, edit this markdown page and paste your solution from the console into this md
{ 
  function reverseString(str) {
    return str;
  }

  var olleh_type = reverseString("hello");
  console.assert(typeof olleh_type === 'string', 
      'reverseString("hello") should return a string');

  var olleh_value = reverseString("hello");
  console.assert(olleh_value === 'olleh',  
      'reverseString("hello") should become "olleh".');

  var ydwoH = reverseString("Howdy");
  console.assert(ydwoH === 'ydwoH', 
      'reverseString("Howdy") should become "ydwoH".');

  var htraE_morf_sgniteerG = reverseString('Greetings from Earth');
  console.assert(htraE_morf_sgniteerG === 'htraE morf sgniteerG', 
      'reverseString("Greetings from Earth") should become "htraE morf sgniteerG".');

};

stuck?

  1. read search ask
  2. get a hint
  3. ask a question on the forum

your notes:

TOP


for codepen

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.

  • fork, this repo
  • fork and complete the challenge on codepen
  • when you've passed all the tests paste a link to your fork below:

[my solution on codepen](paste your link here)

stuck?

  1. read search ask
  2. get a hint
  3. ask a question on the forum

your notes:

TOP


for javascript replit

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.

  • fork, this repo
  • fork and complete the challenge on replit
  • when you've passed all the tests paste a link to your fork below:

[my solution on replit](paste your link here)

stuck?

  1. read search ask
  2. get a hint
  3. ask a question on the forum

your notes:

TOP


for node replit

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.

  • fork, this repo
  • fork and complete the challenge on replit
  • when you've passed all the tests paste a link to your fork below:

[my solution on replit](paste your link here)

stuck?

  1. read search ask
  2. get a hint
  3. ask a question on the forum

your notes:

TOP


for glitch

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.

  • fork, this repo
  • fork and complete the challenge on glitch
  • when you've passed all the tests paste a link to your fork below:

[my solution on glitch](paste your link here)

stuck?

  1. read search ask
  2. get a hint
  3. ask a question on the forum

your notes:

TOP