Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Exercism

Batch Script

via Exercism

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Get fluent in Batch Script by solving 21 exercises. And then level up with mentoring from our world-class team.

Syllabus

  • Hello World
    • Exercism's classic introductory exercise. Just say "Hello, World!".
  • Leap
    • Determine whether a given year is a leap year.
  • Raindrops
    • Convert a number into its corresponding raindrop sounds - Pling, Plang and Plong.
  • Nucleotide Count
    • Given a DNA string, compute how many times each nucleotide occurs in the string.
  • Acronym
    • Convert a long phrase to its acronym.
  • Armstrong Numbers
    • Determine if a number is an Armstrong number.
  • Hamming
    • Calculate the Hamming distance between two DNA strands.
  • Darts
    • Calculate the points scored in a single toss of a Darts game.
  • Two Fer
    • Create a sentence of the form "One for X, one for me.".
  • Reverse String
    • Reverse a given string.
  • Clock
    • Implement a clock that handles times without dates.
  • Scrabble Score
    • Given a word, compute the Scrabble score for that word.
  • Series
    • Given a string of digits, output all the contiguous substrings of length `n` in that string.
  • Grains
    • Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.
  • Square Root
    • Given a natural radicand, return its square root.
  • Sieve
    • Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.
  • Difference of Squares
    • Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.
  • Nth Prime
    • Given a number n, determine what the nth prime is.
  • Proverb
    • For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.
  • Food Chain
    • Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'.
  • Resistor Color
    • Convert a resistor band's color to its numeric representation.

Reviews

Start your review of Batch Script

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.