Skip to main content

Grokking Computer Science

Computers are fun, aren't they? Today we see computers in every aspect of our lives but it is even more fun to know how computers work.

Computer Science is the study of how computers work. The study has a theoretical and mathematical focus and involves processes such as Algorithms, to solve problems.

Why should we study Computer Science?

The most important aspect of computer science is problem-solving. Problem solving is an essential skill for life. Students study the design, development and analysis of software and hardware used to solve problems in a variety of business, scientific and social contexts. Because computers solve problems to serve people, there is a significant human side to computer science as well.

There are a few reasons which explain the benefits of computer science -
  • Computing is part of everything we do.
  • It helps in solving complex and challenging problems.
  • It enables us to make positive changes in the world (to make the world a better place - a clichΓ©d line, but very true 🌝).
  • Lucrative careers πŸ’°.
  • Opportunities for true creativity and innovativeness.
  • Makes the world smaller. Democratizes the world 🌎.

Motivation

I love building things and computers allow me to build things. This and the above reasons made me think about learning computer science from scratch. I learn things by doing and documenting. This enables my brain to remember stuff (at least the basic principles). In case I forget things, I can always look up the documentation πŸ’‘.

Therefore, I am starting this project today (April 11, 2019), while writing the very first post, I know this will be a long one (maybe spanning years). Since computer science is spread across various domains such as Data Structures, Algorithms, Networking, Operating Systems, Machine Learning, Data Science, Programming and many more, I am sure learning all this will take years. The human brain tends to forget stuff as time passes. This blog will serve as a sort of digital notes which I can refer to anytime (thanks to computers, again!! 🌝).

Goal

The goal is to share with the world what I have learnt and to learn what others have learnt or are learning.
One of my favourite writers is Helen Keller and she said once - 
Alone we can do so little; together we can do so much
 Thus, my belief is that collaborating with the world is the best way to learn and to grow. Hence, I welcome every suggestion by you awesome people out there to make this blog awesome like you.
We must always remember (V for Vendetta (2005))
Strength Through Unity, Unity Through Faith
Come on! let's grok computer science together ✌

Follow this post for the detailed table of contents which link through articles on different topics.

Conclusion

I hope you enjoyed the post. Feel free to befriend me on Facebook, Twitter or Linked In or say Hi by email.

Happy Coding 😊 and Happy Learning 😊

Comments

Popular posts from this blog

Threads in Java - Masterclass (Part 0)

Multithreading is a way to introduce concurrency in a program. In any case, if there are parallel paths in our program (parts which do not depend on the result from another part), we can make use of multithreading.
One should exploit this feature, especially with all these multiple core machines nowadays.

Below are a few reasons why we should use multithreading -
1. Keep a process responsive There was once a time when you would print a document in MS Word and the application would freeze for an annoyingly long amount of time until the job finished. Eventually, Microsoft solved this problem by running a printing job parallel to the main thread/ GUI thread.  To be clear though, not only GUI apps but Network services have to keep an ear to the ground for new clients, dropped connections and cancellation requests. In either case, it is critical to do the heavy lifting on a secondary thread to keep the user satisfied. 2. Keep a processor busy Keeping a processor busy can be a tough task e…

Parsing XML using Retrofit

Developing our own type-safe HTTP library to interface with a REST API can be a real pain as we have to handle many aspects -
making connectionscachingretrying failed requeststhreadingresponse parsingerror handling, and more.  Retrofit, on the other hand, is a well-planned, documented and tested library that will save you a lot of precious time and headaches. In this tutorial, we are going to discuss how we can parse the XML response returned from https://timesofindia.indiatimes.com/rssfeedstopstories.cms using the Retrofit library.

To work with Retrofit, we need three classes -  Model class to map the JSON dataInterfaces which defines the possible HTTP operationsRetrofit.Builder class - Instance which uses the interface and the Builder API which allows defining the URL endpoint for the HTTP operation. Every method of the above interface represents on possible API call. The request type is specified by using appropriate annotations (GET, POST). The response is returned as a Call object…

Threads in Java - Basics (Part 1)

Hello everyone, today we are going to discuss one of the most important concepts in Java - Multithreading.
In the first part of this multi-part blog series, we will be discussing the basics of threads, how can we create them? which is the best approach? and many other questions like these. So without further ado, let's get started.
What are threads? Let's say you are Batman (pretty cool, eh? 😊) and your arch-enemy, the master alchemist Ra's al Ghul has brewed a dangerous potion from the Lazarus Pit. To avenge his earlier defeats by the hands of The Dark Knight, he has spread the potions all over the Gotham city.  Now, the only way to save citizens of Gotham is to find the cure of the potion (hidden in the city somewhere) and find Ra's as well before he can devise a new plan to destroy the city.  Batman calls Nightwing (the original Robin) and asks his help in finding Ra's. Batman decides to find the cure of the deadly potion. In the end, both Batman and Robin wer…