Tag Archives: computer programming

ScotlandJS Interview with Kim Crayton

I will be speaking at my first technology conference next week. Follow this link to read my interview 🙂 ScotlandJS Interview With Kim Crayton

Investing In the Future of Technology

Atlanta, Seattle, and Chicago are Desperate for Software Engineers, says Job Search Firm The above headline is nothing new to me and others learning to code in the Atlanta-area. It’s actually the leading reason that caused me to decide to shift my focus from learning to code to bridging the gap between Atlanta’s tech community … Continue reading Investing In the Future of Technology

Great Reason Why Coding Should Replace Foreign Language As A Requirement In Schools

This is the technology, created by Waverly Labs, I’ve been warning my fellow educators was coming. This all but eliminates the need for foreign language as a requirement in schools. Being 21st century ready demands that’s students 2nd language be some form of programming language. Appropriate technology education is the only way to ensure student’s … Continue reading Great Reason Why Coding Should Replace Foreign Language As A Requirement In Schools

Refactor: Highest and Lowest Number

Python Original: numbers_list = [] highest = 0 lowest = None print “Please enter a number: ” numbers = raw_input(“> “) try: numbers = int(numbers) except: numbers = -1 numbers_list.append(numbers) def test(next_number): try: next_number = int(next_number) except: next_number = num new_number() else: numbers_list.append(int(next_number)) def done(): print “Here’s a list of the numbers you entered: %r” … Continue reading Refactor: Highest and Lowest Number

Overcoming the Challenges of Mentoring

Highest and Lowest Number

It took me most of the day but it’s done. This is the largest Python program I’ve EVER written from scratch. Write a program that repeatedly prompts a user for integer numbers until the user enters ‘done’. Once ‘done’ is entered, print out the largest and smallest of the numbers. If the user enters anything … Continue reading Highest and Lowest Number

Coding Challenge – Multiples of 3 and 5

Python ”’ Multiples of 3 and 5: Example: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Challenge: Find the sum of all the multiples of 3 or 5 below 1000. ”’ multiples_of_3 = … Continue reading Coding Challenge – Multiples of 3 and 5

Coding Challenge – Factors of a Number

# Write a program which prints the factors of a given number. # Example – Input: 6 Output: 1, 2, 3, 6 # Example – Input: 10 Output: 1, 2, 5, 10 # version 1: the code works print “This program is designed to return all the factors of a number.” print “Factors are the … Continue reading Coding Challenge – Factors of a Number

Coding Challenge – 99 Bottles of Beer

Python # version 1 bottles_of_beer = 100 for each_bottle in range(99): bottles_of_beer = bottles_of_beer – 1 bottles_left = bottles_of_beer -1 print “%r bottles of beer on the wall,\n %r bottles of beer.\n Take 1 down, pass it around,\n %r bottles of beer on the wall.” % (bottles_of_beer, bottles_of_beer, bottles_left) # version 2 bottles_of_beer = 100 … Continue reading Coding Challenge – 99 Bottles of Beer