<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shagun-tom</title>
    <description>The latest articles on DEV Community by Shagun-tom (@shaguntom).</description>
    <link>https://dev.to/shaguntom</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3449062%2Ff83ea9ab-23f7-4dcf-90ce-d651c925424e.jpg</url>
      <title>DEV Community: Shagun-tom</title>
      <link>https://dev.to/shaguntom</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shaguntom"/>
    <language>en</language>
    <item>
      <title>What Is a Computer? Understanding the Basics Again</title>
      <dc:creator>Shagun-tom</dc:creator>
      <pubDate>Sat, 07 Nov 2026 16:30:51 +0000</pubDate>
      <link>https://dev.to/shaguntom/what-is-a-computer-understanding-the-basics-again-5b6i</link>
      <guid>https://dev.to/shaguntom/what-is-a-computer-understanding-the-basics-again-5b6i</guid>
      <description>&lt;p&gt;Introduction: A Question That Made Me Think&lt;/p&gt;

&lt;p&gt;I still remember a scene from the movie 3 Idiots where someone asks, "What is a machine?" A simple explanation follows, but the teacher expects a more textbook-style definition.&lt;/p&gt;

&lt;p&gt;This reminds me of my childhood. I was a rote learner who used to memorise definitions without actually understanding them.&lt;br&gt;
During my second year of B.Tech, I faced a similar situation in a viva. My teacher asked me, "What is a computer?" Unfortunately, I couldn't give a proper answer. My response wasn't even close to an accurate definition.&lt;br&gt;
That experience made me realise that my fundamentals weren't as strong as I thought.&lt;br&gt;
It made me think about some basic questions&lt;br&gt;
What exactly is a computer?&lt;br&gt;
What is a machine?&lt;br&gt;
What are the basic functions of a computer?&lt;br&gt;
If both a table and a machine are man-made, what makes them different?&lt;br&gt;
These questions might sound simple, but can we actually answer them confidently?&lt;br&gt;
Today, I decided to revisit these basics. I picked up a Class 1 computer textbook and started reading. Surprisingly, it helped me understand these concepts from a simpler perspective.&lt;/p&gt;

&lt;p&gt;In this blog, I'll discuss the basic concepts of machines and computers, rather than their history or advanced technical details.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What Is a Machine?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A machine is a device designed to perform specific tasks and make human work easier, faster or more efficient.&lt;br&gt;
Machines can operate using different sources of energy, such as electricity, fuel or human power.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;A sewing machine helps us stitch clothes.&lt;br&gt;
A washing machine helps us wash clothes.&lt;br&gt;
A bicycle helps us travel from one place to another.&lt;/p&gt;

&lt;p&gt;Not everything made by humans is a machine. For example, a table is a man-made object, but its primary purpose is to provide a surface for placing things. A machine, on the other hand, is designed to perform a particular task or help us carry out work.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What Is a Computer?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A computer is an electronic machine that accepts data as input, processes it according to given instructions and produces meaningful results as output.&lt;br&gt;
It can also store data and information for future use.&lt;br&gt;
The word computer comes from the word compute, which means to calculate.&lt;br&gt;
However, modern computers can do much more than calculations. We use them for communication, education, entertainment, designing, programming and many other activities.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;How Does a Computer Work?&lt;br&gt;
A computer performs three basic functions:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Input&lt;br&gt;
Input means providing data or instructions to a computer.&lt;br&gt;
We use input devices such as:&lt;br&gt;
Keyboard, Mouse, Microphone&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Processing&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Processing means performing operations on the given data according to instructions.&lt;br&gt;
The CPU (Central Processing Unit) is responsible for executing instructions and performing processing operations.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Output&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Output is the result produced after processing the input.&lt;br&gt;
We use output devices such as:&lt;br&gt;
Monitor, Printer, Speakers&lt;/p&gt;

&lt;p&gt;Let's understand with an example:&lt;br&gt;
Suppose we want to add two numbers: 10 and 20.&lt;br&gt;
Input: We enter 10 + 20 using the keyboard.&lt;br&gt;
Processing: The computer performs the addition.&lt;br&gt;
Output: The monitor displays 30.&lt;/p&gt;

&lt;p&gt;This is how a computer takes input, processes it and produces output.&lt;/p&gt;

&lt;p&gt;Apart from these three functions, a computer can also store data and information for future use.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;How to Start a Desktop Computer?&lt;br&gt;
Here are the basic steps to start a desktop computer:&lt;br&gt;
Switch on the main power supply.&lt;br&gt;
Turn on the UPS, if connected.&lt;br&gt;
Press the power button on the system unit (commonly called the CPU cabinet).&lt;br&gt;
Turn on the monitor if it doesn't start automatically.&lt;br&gt;
After these steps, the computer starts its booting process and loads the operating system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A Little About the History of Computers&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Charles Babbage is widely known as the Father of the Computer.&lt;br&gt;
He designed a mechanical computing machine called the Analytical Engine. Although it was never completed during his lifetime, its design introduced several important ideas used in modern computers.&lt;/p&gt;

&lt;p&gt;Conclusion: Why Understanding Basics Matters&lt;/p&gt;

&lt;p&gt;Sometimes, we focus so much on learning advanced concepts that we forget to strengthen our fundamentals.&lt;br&gt;
Revisiting these basic concepts reminded me that understanding something is more important than simply memorising its definition.&lt;br&gt;
This blog was just an introduction to computers, but it made me realise that even the simplest questions deserve proper understanding.&lt;br&gt;
After all, learning doesn't always mean moving forward. Sometimes, it means going back to the basics.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>OOPS IN PROGRAMMING</title>
      <dc:creator>Shagun-tom</dc:creator>
      <pubDate>Sat, 18 Oct 2025 03:31:38 +0000</pubDate>
      <link>https://dev.to/shaguntom/oops-in-programming-1kpe</link>
      <guid>https://dev.to/shaguntom/oops-in-programming-1kpe</guid>
      <description>&lt;p&gt;OOPS stand for object oriented programming system&lt;br&gt;
it is a main concept in programming 🖥️ language such as java and python or more .&lt;br&gt;
it make code readable, reusable, scalable and modular .&lt;br&gt;
it have few concepts such as class, object and main four pillars.&lt;br&gt;
CLASS : class a is blueprint of an object . &lt;br&gt;
example - construction design for home.&lt;br&gt;
OBJECT : real identity .&lt;br&gt;
example : actual home.&lt;/p&gt;

&lt;p&gt;FOUR MAIN PILLARS -&amp;gt;&lt;/p&gt;

&lt;p&gt;Inheritance :- access property from parent class &lt;br&gt;
 eg:- single level, multi level &lt;/p&gt;

&lt;p&gt;Abstraction : hiding internal details . if we make a class abstraction then the whole class become abstract . to make a class abstract we use abstract keyword . &lt;/p&gt;

&lt;p&gt;Polymorphism :- poly means many and morphism means form . hence the overall mean is one identity have many form . &lt;br&gt;
  eg:- phone&lt;/p&gt;

&lt;p&gt;Encapsulation :- wrap class, method and other data in one .&lt;br&gt;
in enhance privacy by making class private . &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
      <category>java</category>
    </item>
    <item>
      <title>react and django</title>
      <dc:creator>Shagun-tom</dc:creator>
      <pubDate>Wed, 10 Sep 2025 09:59:12 +0000</pubDate>
      <link>https://dev.to/shaguntom/react-and-django-4maa</link>
      <guid>https://dev.to/shaguntom/react-and-django-4maa</guid>
      <description></description>
    </item>
    <item>
      <title>Idempotent</title>
      <dc:creator>Shagun-tom</dc:creator>
      <pubDate>Thu, 21 Aug 2025 13:48:41 +0000</pubDate>
      <link>https://dev.to/shaguntom/idempotent-3fcn</link>
      <guid>https://dev.to/shaguntom/idempotent-3fcn</guid>
      <description>&lt;p&gt;Idempotent means doing a work multiple times but get same output . &lt;br&gt;
Example 1:- you press like button on Instagram but if you press it once or 10 times your like will consider only onces. &lt;br&gt;
-&amp;gt; it insure one like per user.&lt;br&gt;
Example 2 :- &lt;br&gt;
int x = 5;&lt;br&gt;
int x = 5;&lt;br&gt;
int x = 5;&lt;br&gt;
if i assign x = 5 once or multiple times it's value remaining same.&lt;/p&gt;

&lt;p&gt;Advantages:-&lt;br&gt;
-&amp;gt; Privacy &lt;br&gt;
-&amp;gt; times saver&lt;br&gt;
-&amp;gt; API saftey &lt;/p&gt;

</description>
      <category>software</category>
      <category>api</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
