Graderpractice for programmers

254271 Fundamentals - CS Practice

Awaiting submission
Print "Hello Mor Nor" (without quotes).
Awaiting submission
Read in a number, add 7, and print it out.
Awaiting submission
Write a program that inputs a single number and prints out whether it is odd or even.
Awaiting submission
Write a program that reads in an integer input and then outputs x stars (where x is the user's input).
Awaiting submission
Read in 2 integers (one on each line) and then print out all the numbers between the 2 numbers (exclusive).
Awaiting submission
Write a program that inputs the height of a triangle and then builds the triangle.
Awaiting submission
Write a program that inputs a number x and generates the sum of x + (x-1) + … + 1. The number x is greater than zero.
Awaiting submission
Write a program that inputs 3 numbers and returns the greatest.
Awaiting submission
Write a program that inputs a list of numbers and returns the mean (to 1 decimal place).
Awaiting submission
Write a program that takes a list of integer pairs and returns the absolute difference between them.
Awaiting submission
Write a program that takes a two integers (one on each line) and returns the first 10 numbers in the Fibonacci sequence starting with those numbers.
Awaiting submission
Write a program that reads two words and returns whether they are the same or different (ignoring the case).
Awaiting submission
Write a program that reads in a list of words and outputs a compressed version of only their first 2 letters and last 2 letters. If the word is less than 4 letters then do not compress it.
Awaiting submission
Write a program that calculates all the substring permutations of length 5 on an input string. Order the permutations alphabetically.

Input: A string of at least 5 characters up to 100 characters long, a-z only.
Output: All the substring permutations of length 5, ordered alphabetically.