Week 14
Week 14
Let’s explore some fun facts connected with the world of programming
ORIGIN OF THE TERM “BUG”
The term "bug" to describe a software glitch dates back to 1947. Engineers
found an actual moth causing issues in the Mark II computer at Harvard
University. The moth was removed and taped into the logbook with the note:
"First actual case of bug being found."
HELLO, WORLD!
The first program most people write when learning a new programming
language is "Hello, World!" This tradition started with the book "The C
Programming Language" by Brian Kernighan and Dennis Ritchie.
FIRST HIGH-LEVEL PROGRAMMING
LANGUAGE:
Linux, one of the most widely used operating systems, is open-source and free.
It powers most of the world's web servers, supercomputers, and cloud
infrastructures.
THE LONGEST PROGRAMMABLE NUMBER
A turtle is stuck at the bottom of the well, the height of the well is H.
Each day, the turtle goes up by X meters, but at night the turtle falls asleep and
slides down by Y meters.
H, X and Y are inputs to your program.
Write a program which will accept these inputs and output how many days it
will take the turtle to get out of the well.
EXERCISE 2: ANAGRAM CHECKER
Write a function that takes two strings and returns true if they are anagrams of
each other, and false otherwise. Anagrams are words or phrases made by
rearranging the letters of another, such as "cinema" and "iceman".
Create a simple calendar scheduler. Implement a class that allows users to add
events, remove events, and view the schedule for a given day. Each event has a
start time, end time, and description.
Here you can be creative as there are no strict requirements: just design the
program as you wish, some hints: allow the user to interact with the calendar,
e.g. in the console ask for input and decide what to do based on the input.
NEXT STEPS FOR YOU….
Having finished the OOP course, you now have better understanding about programming
fundamentals and have practiced quite a lot, but this is just the beginning. Some advices for the next
steps:
• Practice – best way to solidify your programming skills is through practice, work on small
projects and solve problems on popular coding challenge platforms such as hackerrank, leetcode,
codeforces, etc.
• Explore different programming languages: try Java, Python, C#, you will quickly realize that the
concepts of programming are the same in every language, it’s just the style and syntax that is
different
• Build a portfolio – create a GitHub account, push some code there, create projects by yourself or
collaborate with your friends
GOOD LUCK!