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

Exercism

Fortran

via Exercism

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn Fortran programming through hands-on exercises covering fundamental concepts and practical applications. Start with the classic "Hello World" program and progress to more complex challenges like matrix operations, prime number calculations, and string manipulations. Explore mathematical problems such as the Collatz Conjecture and Armstrong numbers, implement game logic with Yacht, and solve various algorithmic puzzles. Gain proficiency in Fortran's unique features while working on diverse projects ranging from simple calculations to more advanced computations in physics and mathematics.

Syllabus

  • Hello World
    • Exercism's classic introductory exercise. Just say "Hello, World!".
  • Bob
    • Bob is a lackadaisical teenager. In conversation, his responses are very limited.
  • Hamming
    • Calculate the Hamming distance between two DNA strands.
  • Matrix
    • Given a string representing a matrix of numbers, return the rows and columns of that matrix.
  • Nth Prime
    • Given a number n, determine what the nth prime is.
  • RNA Transcription
    • Given a DNA strand, return its RNA complement.
  • Raindrops
    • Convert a number into its corresponding raindrop sounds - Pling, Plang and Plong.
  • Difference of Squares
    • Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.
  • Pangram
    • Determine if a sentence is a pangram.
  • Acronym
    • Convert a long phrase to its acronym.
  • Collatz Conjecture
    • Calculate the number of steps to reach 1 using the Collatz conjecture.
  • Armstrong Numbers
    • Determine if a number is an Armstrong number.
  • Yacht
    • Score a single throw of dice in the game Yacht.
  • Queen Attack
    • Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.
  • Leap
    • Determine whether a given year is a leap year.
  • Allergies
    • Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.
  • Triangle
    • Determine if a triangle is equilateral, isosceles, or scalene.
  • Rational Numbers
    • Implement rational numbers.
  • High Scores
    • Manage a player's High Score list.
  • Perfect Numbers
    • Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.
  • Grains
    • Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.
  • Space Age
    • Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.
  • Reverse String
    • Reverse a given string.
  • Luhn
    • Given a number determine whether or not it is valid per the Luhn formula.
  • Roman Numerals
    • Convert modern Arabic numbers into Roman numerals.
  • ISBN Verifier
    • Check if a given string is a valid ISBN-10 number.
  • Sum of Multiples
    • Given a number, find the sum of all the multiples of particular numbers up to but not including that number.
  • Two-Fer
    • Create a sentence of the form "One for X, one for me.".
  • Sieve
    • Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.
  • Darts
    • Calculate the points scored in a single toss of a Darts game.
  • Saddle Points
    • Detect saddle points in a matrix.
  • Isogram
    • Determine if a word or phrase is an isogram.
  • Linked List
    • Implement a doubly linked list.
  • Protein Translation
    • Translate RNA sequences into proteins.
  • Binary Search
    • Implement a binary search algorithm.

Reviews

Start your review of Fortran

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.