1/20/22

Impact of Computers on the World: - Positive and Negative


 As we know the computer is one of the most powerful weapons nowadays in our society. Today most of the work has done by computers. Computer saved people time and increase the doing efficiency of work. The daily use of computers has put a strong impact on people's life. The effects are positive as well as negative. We all know that every coin has two faces 1. Head and 2 tails. So, Everything has two sides Positive and Negative

So, today’s article is based on the positive and negative impact of computers nowadays on people day to day life.  We are going to discuss both sides in this article.

POSITIVE IMPACT OF COMPUTER

There is a lot of positive impact of computer. We are going to discuss it through points. 

  • Employment Benefits: - The Computer helps millions of people, It is the most important point of all the points.
  • Educational Benefits: - As you know due to coronavirus all the educational firms are closed. So all the classes are taken from the home. Teachers use laptops or computers to take lectures of the students. 
  • Entertainment Benefits:- People use computers for their entertainment through games, watching movies. 
  • Improved Efficiency:- Computers have increased the ability of people to work. Because of the work that used to be done in the first 2 hours. Today the same work is done in 10 to 15 minutes with the help of computers.
  • Improved Service:- People have received good services from any government or private agency because of the computer. 
  • Better information retrieval:- With the help of computers, it is possible to search millions of documents within a few seconds. There is no need to search for information from a bundle of papers.

NEGATIVE IMPACT OF COMPUTER

  • Employment Problems:- The main negative impact of computers on human life was the employment problem. Computer reduced the manpower of the work. And If a work can be done by one man with the help of computers. So why would the employer hire more men for the same job? That’s why sometimes computers have a negative impact on human life.
  • Collection of unnecessary data:- This is also a main negative impact of computers. Today many government and private companies collect unnecessary information about any person. There is no need to collect all this information on the computer. This information takes a lot of memory space of the computer. 
  • Issue of System Security:- It is also an important point of negative impact. Anybody (who is working on the company, or hackers who access your personal data.) can change, stole, or know your personal information which you don’t want to share with everybody. There are a lot of computer viruses through which hackers or computer experts enter into the computer system to do anything they want with your data.
  • People are depending too much on it:-  Ever since the advent of computers, humans have become dependent on computers. People become lazier to do work. 

The Conclusion

This author concludes that invention is good as long as it is used for the good of men. Those inventions can prove to be harmful and fatal for humans. Those are not inventions but a curse. However, people should also understand what they are inventing. Is that invention a curse or a boon for human life?


Continue Reading →

1/7/22

Introduction to Number System.


As we all know that a computer is used to process data entered by the users, and provide results as output. A set of instructions has to be fed into the computer system to instruct the computer that how to process data. And which type of calculation is done when users entered some information through input devices. 

All this information is instructed in the form number system that the computer can understand. These Data can be in the form of characters as well as numbers. 

There are commonly 4 types of a number system. These are:- 

  • Binary Number System
  • Decimal Number System
  • Hexadecimal Number System
  • Octal Number System

Now, we are going to discuss this briefly. 

Note:- The number of digits that can occur at each position of a number in any number system is known as the base of that number system. 

1. Decimal Number System

This is the most commonly used number system in our daily life. The total number of digit in that number system are :- 0,1,2,3,4,5,6,7,8,9.

The base of that number is 10. The decimal number system is a positional number system that means each digit has a fixed position or weight associated with it, that is why it is also known as the weighted number system. 

I know it is a little bit confusing. So let’s go with an amazing example to understand about it. 

For Example:- 

Let some number randomly, we assume a number 786, now in that number the weight of number [6] is 1 (ones), number [8] is 10 (tens) and number [7] is 100 (hundred). The Number of tens increases every time whenever the number increase. Ex:- 4555 in this example, 4 is the most significant number as the base value of 4 was thousand means 10^4. 

We can define them as 10^0 for 6, 10^1 for 8, 10^2 for 7. That’s why we read it as Seven Hundred Eighty-Six. 

As in the decimal number system, the base is 10, we represent the given number as 786^10. 

Now, We are going to see an example of a decimal number. 

Let Consider a number anything you want. Suppose we assume a decimal number 321.123.  

Note:- If the base is not given in the number it should automatically take 10. 

Now, In the decimal number system, the places to the left of the decimal point are positive and the right point is the negative power of 10. 

The Number before the decimal point is known as an Integral part, And the number after the decimal point is known as the fractional part.

In the given below image, you can see both the integral part and fractional part with their powers.   

So Friends, this is part 1 of this post in our next part we discuss the rest of the number system briefly. Hope what we describe in this post is understandable for you guys. And if you have any doubt then comment below I will try to solve it with my possibilities. Thank You.. 😊

Image is sourced from Google Images. 


Continue Reading →

1/1/22

Basic Anatomy of Computer

Introduction 

In many areas of the world, many things are done through computers. Today, the work of a few hours is done within a few seconds through the computer. A Computer saves a lot of human time. We have mentioned about the history of computer in our last few chapters, if you have not read that then go read it. We have told about a computer history in this chapter. In today's chapter, we will learn about common computer equipment. 

Basic Anatomy of Computers

Before the basic anatomy of computers. We would like to define what is Computer? I have already told it in our previous article with full definition if you don’t know computer we recommend you to read it. So

A Computer is an electronic machine that accepts data from the users through input devices and processess it and gives some output through the output device. This is a simple definition of computer. Now All the computer systems perform 5 Basic Operations these are:- 

  • Inputting :- The process of entering data and instruction into the computer system. 
  • Storing :- Saving the data or instruction somewhere so that when require they are available. 
  • Processing :- Performing arithmetical operation or logical operations on data so they output some useful information. 
  • Outputting :- The Process of producing the useful information to the users through some output devices.
  • Controlling :- Directing the manner and Sequence in which all of the above operations are performed. 

All of the above mention options are performed by some functional units which form the basic building blocks of any computer system.

In this Figure, the solid lines are used to indicate the flow of instructions or data the lines represent the control exercised by the control unit. 


In this chapter we have only see the anatomy of computer. In our next article, we are going to know more about this. Stay Happy.

Images Source :- Google Images.

Continue Reading →

8/28/21

What is Computer? History of Computer.

Image Source:- Quora


Hey Friends in today's era, computers or laptops are the basic components which are used normally in all the workplaces such as schools, colleges, hospitals, laboratories, companies, etc. Today Computer is the basic thing in our day to day life. Human life has become very easier with computers. Because you can do your work within second with the help of computer and internet. Such as sending an important file to someone. Just open your laptop and mail the document within seconds.  So today we are going to discuss computers and their different types. And also the basic computer required for computers. So Let’s Begin…

What is Computer? 

Many people use a computer daily for some work. But do you know about computers? what is a computer? I bet many people didn’t know about it. So Basically, A Computer is a programmable electronic device, which is used to perform mathematically or logically operations. A user input data through any input device after that a set of instruction process and provide the result of it as “Output”.

A Computer can process arithmetical as well as logical calculations. Arithmetically operation such as +,-,/,* etc and logical operations are  a>b, a<b, a>=b, etc. These operations are processed by a set of instruction written on it. 

In simple words, A computer is an electronic device that accepts data as input and processes it, and gives the result of that input as output. 

Father of Computer and The first computer

Do You know that the father of computers is Charles Babbage. Because it is believed that the first computer was invented by him. Analytical Engine is considered as the first computer which is invented by Charles Babbage was first described in 1837

From an Electronic Device to Computer.


Now let all these aside and tell me that do you know how an electronic device gets the name computer?

The term Computer is derived from the Latin word “Computare” which means calculate.


So that is for today guys we will be back soon with another tutorial. Keep learning with mad about computer. You can also check more information about computers. Click Here For More


Continue Reading →

8/12/21

What is Address Bus, Data Bus & Control Bus in Computer?



If you’re reading this tutorial by skipping the previous tutorial then I strongly recommended to you to learn first previous tutorial. In the Previous tutorial, we had discussed the basic concept of Buses. We can also say that previous tutorial is introduction tutorial about buses…

Let’s come on topic…Today I am going too described Address Bus, Data Bus, and Control Bus.

What is the Address Bus?

The address bus is used by the CPU to send the address of the memory location or the input/output port that is to be accessed at the instant. It is a unidirectional bus i.e. the address can be transferred in one direction only and that is form CPU to the required port or location.

Whether it is a read operation or write operation the CPU calculates the address of the required data and sends it on the data bus for the execution of the required operation. The maximum number of memory locations that can be accessed in a system is determined by the number of lines of an address bus.

An address bus of n lines can be addressed at the most 2n locations directly. Thus a 16-bit address bus can allow access 2 16 bit or 64 K Byte of memory.

People Also Read:- What is an Application Software? And It's Need.
People Also Read:- What is Software Engineering? About Carrier.

What is Data Bus?

A data bus is used to carry the data and instructions from the CPU to memory and peripheral devices and vice versa. Thus it is a bidirectional bus. It is one of most important parts of the connections to the CPU because every program instruction and every byte of data must travel across the bus at some point.

The size of the data bus is measured in bits. The data bus size has much influence on the computer architecture because the important parameters of it like word size, the quantum of data etc. are determined and manipulated by the size of the data bus.

Generally, a microprocessor is called n-bit processors. Thus as the CPU became more advanced, the data bus grew in size. A 64-bit data bus can transfer 8 bytes in every bus cycle and thus its speed is much faster as compared to the 8-bit processor that can transfer one byte in every bus cycle.

What is a Control Bus?

A control bus contains various individual lines carrying synchronizing signals that are used to control. Various peripheral devices connected to the CPU. The common signals that are transferred to the control bus from CPU to devices and vice versa are memory read, memory writes, I/O read, I/O write etc.

Signals are designed, keeping in mind, the design philosophy of the microprocessor and the requirement of the various devices connected to the CPU. So different types of the microprocessor have different control signals. See Below for better understanding.

Image Source Book

Hopefully, you guys did still find this information is useful for you. If you have any doubt or question about this tutorial then let me know through your comment. And don’t forget to share with other computer lovers.
Have a Good Day!!!
People Also Read:- Principal of Software Engineering.
People Also Read:- What is System Software? Best Explanation.

Continue Reading →

8/11/21

CSS Tutorials : - CSS Position Property

CSS Position

The CSS Position Property is used to position any Html element before or after any Html element you want. You can place Html element anywhere you want. You can set the position of Html element by using top, bottom, left, right properties. This property is used when you set the position property of the element first. 

Basically, The CSS Position property has 4 basic Parts:- 

  • CSS Static Positioning
  • CSS Fixed Positioning
  • CSS Absolute Positioning
  • CSS Relative Positioning

CSS STATIC POSITIONING

This is by default the position of the Html element. They appear normally on your web pages. They didn’t affect any positioning on your webpage. 

CSS Fixed Positioning

This property is used to fix the position of the Html element on your web pages. When you apply this property to the Html element they fixed their position. It doesn’t move even you scroll your window screen. Let see an example to clear this property. 

Example:-

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Position in CSS </title>

</head>
<style>
    div{
        border2px solid black;
        height320px;
        width420px;
        marginauto;
        overflowscroll;
    }
    h1{
        colorred;
        positionfixed;
        left320px;
    }
</style>
<body>
    <div>
        <h1> Tokyo Olympics 2020</h1>
        <p>Lorem ipsum, dolor s elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, doicing elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor sit asicing elit. Cobo eveniet repellat?</p>
        <p>Lorem ipsum, dog elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor sit amet g elit. Corpori eveniet repellat?</p>
        <p>Lorem ipsum, dolor sit ameorporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor sit amet  Corporis explicabo eveniet repellat?</p>
    </div>
</body>
</html>

Output :- 


CSS Relative Property 

The relative positioning property is used to set the element relative to its normal position. 

Example:-

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Position in CSS </title>

</head>
<style>
   
    h1{
        colorred;
        positionrelative;
       
    }
</style>
<body>
    <div>
        <h1> Tokyo Olympics 2020</h1>
        <p>Lorem ipsupisicing elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum,adipisicing elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, adipisicing elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor elit. Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor sit . Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor  Corporis explicabo eveniet repellat?</p>
        <p>Lorem ipsum, dolor  Corporis explicabo eveniet repellat?</p>
    </div>
</body>
</html>

Output:-

CSS Absolute Positioning

In this property, the position is relative to its first position. In other words, It is positioned relative to its closest positioned ancestor. Let’s see through an example below:- 

Example:-

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Position in CSS </title>

</head>
<style>
    body{
        background-colorlightblue;
    }
   h2{
       positionabsolute;
       background-colorlightcoral;
       colorblue;
       top200px;
       left100px;
   }
   h3{
       coloryellow;
       background-colorcornflowerblue;
   }
    h1{
        colorred;
        background-colorcornsilk;
        positionabsolute;
        top250px;
        left300px;
       
    }
</style>
<body>
   <p> It started from top left cornor. </p> 
   <h3> This is a heading without positioning.</h3>
    <h1> This is a Heading 1. </h1>
    <h2> This is a Heading 2. </h2>
</body>

</html> 

Output :- 


Continue Reading →

8/4/21

CSS Tutorials :- CSS Fonts Property

Hey Friends, Today we are going to discuss CSS fonts. But before starting the article, I have to clear a thing that, font is part of both Html and CSS. In Html, we just placed our font and after it, we apply the property of the font using CSS. In a website, font played a very important role to look your website more beautiful and stylish.  So let’s started our today’s topic CSS Fonts.

CSS Fonts

CSS Fonts property is used to control the texture of your website. By using this property you can change anything of your font just like text, font-family, bold, italic, color, and many more thing. We can see these properties one by one in the below examples. But before it lets me cover some important font attributes. These are listed below:- 

  • CSS Font Color
  • CSS Font Family
  • CSS Font Weight
  • CSS Font Style
  • CSS Font Size

CSS Font Color

This Font CSS Property is used to change the color of the text of your web pages. You can change the text color in three different ways. These different ways are:- 

  • By Color Name
  • By Hexadecimal Value
  • By RGB Value

In the above example, we define all 3 ways to change text color.

 Example:-

<html>
<head>

</head>
<style>
    h1{
        colorred;
    }
    h2{
      color:  rgb(12398235);
    }
    h3{
        color#33FFDA;
    }

</style>
<body>
    <h1> This is Heading Number 1. </h1>

    <h2> This is Heading Number 2.</h2>

    <h3> This is Heading Number 3. </h3>
</body>
</html>

Output:-


CSS Font Family

This font CSS property is used to change the font of your web pages. You can provide any type of value to it. Just like: - Arial, Times New Roman, Monospace, Arial Bold, etc.  

Example:-

<html>
<head> 
</head>
<style>
    h1 {
        font-familysans-serif;
    }

    h2 {
        font-familyArial Impact, Haettenschweiler, 'Arial Narrow Bold'sans-serif;
    }

    h3 {
        font-familyImpact;
    }
</style>

<body>
    <h1> This is Heading Number 1. </h1>

    <h2> This is Heading Number 2.</h2>

    <h3> This is Heading Number 3. </h3>
</body>

</html>

Output:- 

CSS Font Weight

This Font Property is defined. how bold your text is. There are some different values by applying it you can change the font-weight accordingly to you. You can also use some predefined values such as Bold, Normal, Bolder, Light, etc.

Example:-

<html>
<head>
<title> This is title. </title>
</head>

<body>
  <p style="font-weight: lighter;"> This is 1st Paragraph. </p>
  <p style="font-weight: bolder;"> This is 2nd Paragraph. </p>
  <p style="font-weight: 800;"> This is 3rd paragraph. </p>
</body>
</html> 

Output:-


CSS Font Style

This property defines that how your text will appear on your webpage. It may be normal, bold, italic, oblique, etc. 

Example:-

<html>
<head>
<title> This is title. </title>
</head>
<style>
    #para1{
        font-styleitalic;
    }
    #para2{
        font-stylenormal;
    }
    #para3{
        font-styleoblique;
    }
</style>
<body>
  <p id = "para1"> This is 1st Paragraph. </p>
  <p id = "para2"> This is 2nd Paragraph. </p>
  <p id = "para3"> This is 3rd paragraph. </p>
</body>
</html>

Output:-


CSS Font Size

It define the size of the font appear on your webpages. It should be small, normal, medium, large. 

Example:-
<html>
<head>
<title> This is title. </title>
</head>

<body>
    <p style="font-size:small;">  This font size is small</p> 
    <p style="font-size:large;">  This font size is large. </p> 
    <p style="font-size:200%;">  This font size is set on 200%. </p>  
</body>
</html>

Output :-


People Also Read :- CSS Padding Property

Continue Reading →

7/6/21

CSS Tutorial :- CSS Padding Property

CSS PADDING

CSS Padding Property is used to give some space between the element content and element border. Just like margin you can provide the padding from the top, bottom, left, right, etc. You can independently apply padding on the element using separate properties.  And you can also apply padding property at once by using shorthand property. 

But, Padding and margin property both are different from each other. The difference between margin and padding was the margin property would have applied outside the element. But the padding property would have applied inside the element.

CSS Padding Properties

  1. Padding: - This property is used to set padding in one declaration. 
  2. Padding-top: - This property is used to set padding at the top. 
  3. Padding-right: - It is used to set the padding from the right side of the element. 
  4. Padding-bottom: - It is used to set the padding from the bottom of the element. 
  5. Padding-left: - This property was applied from the left side of the element. 

CSS Padding Values

The Value of padding can be set in Four ways: -

  1. Length: - It Specifies padding in px, pt, cm etc.    
  2. % (percentage): - It define padding in % percentages
  3. Initial: - It set the padding at default values.
  4. Inherit: - It inherits padding from its parent elements

Example: - 

<!DOCTYPE html>
<html>

<head>
    <style>
        .container {
            displayflex;
        }

        #first,
        #second {
            border2px solid red;
            width30%;
            height120px;
            /* padding: 23px 23px 23px 23px; */
            margin23px;
        }
    </style>
</head>

<body>

    <h1> Padding Property </h1>

    <div class="container">
<p id="first"><b> This is First Paragraph.</b><br><br> Lorem ipsum, dolor
 sit amet consectetur adipisicing elit.
Assumenda libero impedit omnis voluptatibus, in neque 
nulla sed quis voluptatum repellat! Hic, cumque vero!</p>
        
<p id="second"> <b> This is Second paragraph.</b><br><br> lsdjlajsdljaldsj
asdjflasjdflajsdlfjasldfjlas dflads flaskdj fl asdjflkasd flasdjflkasd 
jflkasdjfil asdflkasdjf jdlasd flsad flkasdjf lasdfj lasdf alskdjfalsk dfjlaksd
faslkdfj alskdfjlaksd jflasdjflk .</p>
   
 </div>

</body>

</html>

Ouput: -

Without Padding

With Padding


Continue Reading →

7/2/21

Introduction of Loop in C Programming Language.

Has it ever happened to you that in C programming you have to print a code of block several times? And you have to write that code again and again. If you write the same thing several times. Then your code will get long, complex, and difficult to read. 

And didn’t want to write the same code again and again. So what is its solution? The Solution is Loop. Loop that statement until the condition is not satisfied. Let’s talk about the loop. What is a loop? How its work? etc. etc. 

Introduction of Loop

The Loop is used to execute a statement until the condition of the code is not satisfy. In simple words, a loop provides us to execute a group of statements or multiple instructions multiple times. For Example, if you have to print 1-10 numbers then instead of using printf statement 10 times, we can use printf inside the loop which runs up to 10 iterations.

Advantages of Loop

  1. The first and main thing of the loop is we didn’t write the same code again and again.
  2. Reduce the length of the code. 
  3. The Code is readable. And easy to understand.
  4. It provides the code reusability. 
  5. Loop takes less memory space comparing (write the code several times)

There are mainly 3 types of loops available in the C programming language. These are:-

  1. While Loop
  2. For Loop
  3. Do-While Loop

Let’s See a simple example of a loop. 

Write a program to print the First 50 natural numbers using the loop.

A natural number is a positive number (counting) so don’t be confused about it.


#include<stdio.h>

int main()
{
    int i;

    for (i=1; i<=50; i++)
    {
        printf("%d \n", i);
    }
    return 0;
}

Output:- 


Look at the length of the code. Using the loop the length of the code is reduced. If we have to print 50 numbers without using a loop then we have to write printf statement 50 times. And think if I said to you that, you have to print 50 lakh numbers. I bet, you are not going to do it at any cost. Writing printf statement 50 lakh times is not an easy job.

Continue Reading →

7/1/21

CSS Tutorials : CSS Opacity Property

CSS Opacity

The CSS Opacity property is used to specify the transparency of the Html element. In other words, You can also say that it specifies the clarity of the element. 

The Opacity property value takes from 0.0 to 1.0. The lower value, the more transparency. Look at the image below. 
The First Image that you see in the example has 0.2 Opacity. The Second image has 0.5 and the last image has a default value of 1. 

Look at the Code below to understand how its works. 
<!DOCTYPE html>
<html>
<head>
<style>
 
#img1 {
  opacity0.2;
}
#img2{
    opacity0.5;
}
#img3{
    opacity1;
}
</style>
</head>
<body>
 
<h1>Transparent Images</h1>
 
<img id ="img1" src="1.jpg" width="270" height="200">
<img id ="img2" src="2.jpg" width="270" height="200">
<img id ="img3" src="3.jpg" width="270" height="200">
 
</body>
</html>
 

Transparent Boxes 

You can also use the opacity property to transparent the box or text area. Look at the example below.

Example:- 

<!DOCTYPE html>
<html>
<head>
<style>
p
    background-colorchocolate;
    padding10px;
}
#p1 {
  opacity1;
}
#p2{
    opacity0.5;
}
#p3{
    opacity0.2;
}
</style>
</head>
<body>

<h1>Transparent Boxes</h1>

<p id = "p1"> Opacity 1</p>
<p id = "p2"> Opacity 0.5</p>
<p id = "p3"> Opacity 0.2</p>


</body>
</html>

Output :-

Apply Hover Effect Using Opacity

You can also hover over the image in the form of opacity. Let's Try it 

<!DOCTYPE html>
<html>
<head>
<style>
img:hover{
    opacity0.5;
}
</style>
</head>
<body>

<h1> Hover Property </h1>

<img id ="img1" src="1.jpg" width="270" height="200">
<img id ="img2" src="2.jpg" width="270" height="200">
<img id ="img3" src="3.jpg" width="270" height="200">

</body>
</html>

Ouput :-

Before Hover 

After Hover

That's All of today guys hope you all understand this opacity property very well. If you have any doubt comment below we will definitely try to solve it. 
Continue Reading →

Like us on facebook

blogger templatesblogger widgets

Follow on Twitter

Linkedin

Categories

Mad About Computer. Powered by Blogger.