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

Exercism

Fortran

via Exercism

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Uma trilha de exercícios práticos de programação em Fortran, começando por "Hello World" e avançando por problemas como Acronym, Armstrong Numbers, Binary Search, Collatz Conjecture, Grains, Hamming, ISBN Verifier, Isogram, Luhn, Matrix, Nth Prime, Pangram, Perfect Numbers, Queen Attack, RNA Transcription, Roman Numerals, Saddle Points, Sieve, Rational Numbers, Protein Translation e Linked List. Cada exercício exige escrever e testar código em Fortran, exercitando strings, números, matrizes, algoritmos de busca e crivo, e estruturas de dados como a lista duplamente ligada. Indicado para quem quer aprender ou praticar Fortran resolvendo problemas curtos e autônomos.

Syllabus

  • Hello World
    • Exercism's classic introductory exercise. Just say "Hello, World!".
  • Acronym
    • Convert a long phrase to its acronym.
  • Armstrong Numbers
    • Determine if a number is an Armstrong number.
  • Binary Search
    • Implement a binary search algorithm.
  • Bob
    • Bob is a lackadaisical teenager. In conversation, his responses are very limited.
  • Collatz Conjecture
    • Calculate the number of steps to reach 1 using the Collatz conjecture.
  • Darts
    • Calculate the points scored in a single toss of a Darts game.
  • Difference of Squares
    • Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.
  • Eliuds-Eggs
    • Help Eliud count the number of eggs in her chicken coop by counting the number of 1 bits in a binary representation.
  • Grains
    • Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.
  • Hamming
    • Calculate the Hamming distance between two DNA strands.
  • ISBN Verifier
    • Check if a given string is a valid ISBN-10 number.
  • Isogram
    • Determine whether a phrase is an isogram, a word with no repeated letters.
  • Luhn
    • Given a number determine whether or not it is valid per the Luhn formula.
  • 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.
  • Pangram
    • Determine whether a phrase uses every letter in the Latin alphabet.
  • Perfect Numbers
    • Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.
  • 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.
  • Raindrops
    • Convert a number into its corresponding raindrop sounds - Pling, Plang and Plong.
  • RNA Transcription
    • Given a DNA strand, return its RNA complement.
  • Roman Numerals
    • Convert modern Arabic numbers into Roman numerals.
  • Saddle Points
    • Detect saddle points in a matrix.
  • Sieve
    • Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.
  • Space Age
    • Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.
  • Sum of Multiples
    • Given a number, find the sum of all the multiples of particular numbers up to but not including that number.
  • Triangle
    • Determine if a triangle is equilateral, isosceles, or scalene.
  • Two-Fer
    • Create a sentence of the form "One for X, one for me.".
  • Yacht
    • Score a single throw of dice in the game Yacht.
  • Leap
    • Determine whether a given year is a leap year.
  • Reverse String
    • Reverse a given string.
  • Allergies
    • Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.
  • High Scores
    • Manage a player's High Score list.
  • Largest-Series-Product
    • Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.
  • Line-Up
    • Help lining up customers at YaÊ»qÅ«b's Deli.
  • Rational Numbers
    • Implement rational numbers.
  • Secret-Handshake
    • Given a decimal number, convert it to the appropriate sequence of events for a secret handshake.
  • Protein Translation
    • Translate RNA sequences into proteins.
  • Linked List
    • Implement a doubly linked list.

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.