Skip to content

nkiernan/Y3-Programming-Languages-Portfolios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Languages Portfolios

Portfolio exercises for final year unit

Smalltalk/Pharo

A GUI which converts Fahrenheit to Celsius

Ruby

A MyString class which calculates the frequency of letters in a string and generates a histogram based on this

JavaScript

A MyString class which calculates the frequency of letters in a string and generates a histogram based on this

Lisp/Clojure

Contains three functions:

  • Test if a number is prime

  • Generate sequence of prime numbers between two given numbers

  • Take two numbers and sum up to ten of the largest primes between them

Haskell

Reads a text file and reports the following:

  • Total number of words in the file

  • Total number of top 20 most common English words in the file

  • Histogram of top 20 most common English words in the file