Skip to content

Commit

Permalink
Add music transposition exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Jan 23, 2024
1 parent d3d2477 commit e20667c
Show file tree
Hide file tree
Showing 56 changed files with 925 additions and 88 deletions.
6 changes: 3 additions & 3 deletions AutograderTools.xml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Feel free to browse the [exercises](./exercises) and open the starter template (
- [Sieve of Eratosthenes](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/sieve/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/sieve/parsons.xml), too!
- [Sliding Windows](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/sliding-windows/template.xml).
- [From Infinite Sequences to Finite Lists](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/take-collect-sequences/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/take-collect-sequences/parsons.xml), too!
- [Transposing Music](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/transpose-music/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/transpose-music/parsons.xml), too!
- [Vigenere Cipher](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/vigenere/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/vigenere/parsons.xml), too!


Expand Down
2 changes: 1 addition & 1 deletion docs/autograders/acronym.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/actor-birthday.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/anagram.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/atbash.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/average-list.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/average.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/between.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/bigram-autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/caesar-shift.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/crack-caesar-brute-force.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/crack-caesar-partial-soln.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/cyclic-iterator.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/factorial.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/fizz-buzz.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/greet.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/intro-infinite-sequences.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/isogram.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/leap-year.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/letter-frequency-dictionary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/letter-frequency.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/luhn-formula.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/map-sequence.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/minesweeper.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/moving-average.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/pangram.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/sieve.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/sliding-windows.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/take-collect-sequences.js

Large diffs are not rendered by default.

682 changes: 682 additions & 0 deletions docs/autograders/transpose-music.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/vigenere.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<link rel="stylesheet" href="/exercises/smui.css" />
<meta http-equiv="content-security-policy" content="">
<link href="/exercises/internal/immutable/assets/_page-032cf5c2.css" rel="stylesheet">
<link rel="modulepreload" href="/exercises/internal/immutable/start-6d52d616.js">
<link rel="modulepreload" href="/exercises/internal/immutable/start-9d4ad2d7.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/index-31e164be.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/singletons-436790b1.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/singletons-3d4a6400.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/_layout.svelte-e28bcd83.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/Ripple-9eced80c.js">
<link rel="modulepreload" href="/exercises/internal/immutable/modules/pages/_layout.js-04cad6c0.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/_layout-0ebf6292.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/create/_page.svelte-ebfe970d.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/exercises-14139a55.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/create/_page.svelte-b2a84476.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/exercises-084e881f.js">
</head>
<body>
<div>
Expand Down Expand Up @@ -63,7 +63,7 @@


<script type="module" data-sveltekit-hydrate="1sqdlhl">
import { start } from "/exercises/internal/immutable/start-6d52d616.js";
import { start } from "/exercises/internal/immutable/start-9d4ad2d7.js";

start({
env: {},
Expand Down
43 changes: 34 additions & 9 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
<link rel="stylesheet" href="/exercises/smui.css" />
<meta http-equiv="content-security-policy" content="">
<link href="/exercises/internal/immutable/assets/_page-1714ccdf.css" rel="stylesheet">
<link rel="modulepreload" href="/exercises/internal/immutable/start-6d52d616.js">
<link rel="modulepreload" href="/exercises/internal/immutable/start-9d4ad2d7.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/index-31e164be.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/singletons-436790b1.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/singletons-3d4a6400.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/_layout.svelte-e28bcd83.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/Ripple-9eced80c.js">
<link rel="modulepreload" href="/exercises/internal/immutable/modules/pages/_layout.js-04cad6c0.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/_layout-0ebf6292.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/_page.svelte-f0a60205.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/stores-9bde0e82.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/exercises-14139a55.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/_page.svelte-896f36ea.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/stores-46903a9d.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/exercises-084e881f.js">
</head>
<body>
<div>
Expand All @@ -53,7 +53,7 @@


<div style="margin-left: 2em; margin-right: 2em" class="svelte-1hmwni4"><p style="font-size:1.15em; text-align: center" class="svelte-1hmwni4">Welcome to the official collection of NetsBlox exercises!
<br class="svelte-1hmwni4">Learn to program using NetsBlox by exploring the 29 exercises that span a variety of topics and concepts.
<br class="svelte-1hmwni4">Learn to program using NetsBlox by exploring the 30 exercises that span a variety of topics and concepts.
<br class="svelte-1hmwni4">For more information about NetsBlox, check out <a href="https://netsblox.org" class="svelte-1hmwni4">https://netsblox.org</a>!</p>
<div style="margin: auto; width: 400px" class="svelte-1hmwni4"><label class="mdc-text-field smui-text-field--standard mdc-text-field--with-leading-icon" style="">
<span class="mdc-floating-label" style="">Search exercises...</span>
Expand Down Expand Up @@ -722,6 +722,31 @@ <h4 class="mdc-typography--subtitle2 svelte-1hmwni4" style="margin: 0; color: #8

</div>

</div><div class="mdc-layout-grid__cell"><div class="mdc-card"><div style="padding: 1rem;" class="svelte-1hmwni4"><h2 class="mdc-typography--headline6 svelte-1hmwni4" style="margin: 0; font-size: 1.3em; display: inline-block;">Transposing Music</h2>
<div class="mdc-chip-set smui-chip-set--non-interactive" role="grid"><div class="mdc-chip" style="" role="row">

<span role="gridcell"><span class="mdc-chip__text">music</span>
</span>

</div>



</div>
<h4 class="mdc-typography--subtitle2 svelte-1hmwni4" style="margin: 0; color: #888">Can you transpose musical notes?
</h4></div>
<div class="mdc-card__actions"><div class="mdc-card__action-buttons"><button class="mdc-button smui-button--color-secondary mdc-card__action mdc-card__action--button" style=""><div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Download</span>
</button>
<button class="mdc-button smui-button--color-secondary mdc-card__action mdc-card__action--button" style=""><div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Open in NetsBlox</span>
</button>
</div>

</div>

</div>

</div><div class="mdc-layout-grid__cell"><div class="mdc-card"><div style="padding: 1rem;" class="svelte-1hmwni4"><h2 class="mdc-typography--headline6 svelte-1hmwni4" style="margin: 0; font-size: 1.3em; display: inline-block;">Vigenere Cipher</h2>
<div class="mdc-chip-set smui-chip-set--non-interactive" role="grid"><div class="mdc-chip" style="" role="row">

Expand Down Expand Up @@ -761,8 +786,8 @@ <h4 class="mdc-typography--subtitle2 svelte-1hmwni4" style="margin: 0; color: #8
</div>


<script type="module" data-sveltekit-hydrate="1i312xx">
import { start } from "/exercises/internal/immutable/start-6d52d616.js";
<script type="module" data-sveltekit-hydrate="1m0p5o5">
import { start } from "/exercises/internal/immutable/start-9d4ad2d7.js";

start({
env: {},
Expand All @@ -776,7 +801,7 @@ <h4 class="mdc-typography--subtitle2 svelte-1hmwni4" style="margin: 0; color: #8
form: null
},
paths: {"base":"/exercises","assets":"/exercises"},
target: document.querySelector('[data-sveltekit-hydrate="1i312xx"]').parentNode,
target: document.querySelector('[data-sveltekit-hydrate="1m0p5o5"]').parentNode,
trailing_slash: "never"
});
</script>
Expand Down
1 change: 0 additions & 1 deletion docs/internal/immutable/chunks/1-02695bb8.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/internal/immutable/chunks/1-c1177ae3.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{default as t}from"../components/error.svelte-6f0556a7.js";export{t as component};
1 change: 0 additions & 1 deletion docs/internal/immutable/chunks/2-4543ceb5.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/internal/immutable/chunks/2-f7d3d918.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{default as t}from"../components/pages/_page.svelte-896f36ea.js";export{t as component};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{default as t}from"../components/pages/create/_page.svelte-ebfe970d.js";export{t as component};
import{default as t}from"../components/pages/create/_page.svelte-b2a84476.js";export{t as component};

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e20667c

Please sign in to comment.