Monday, February 12, 2018

Algorithm have done all the work

All the operations performed by computer consist of Algorithm. It can be said that in Computer Science, an algorithm is an unambiguous specification of how to solve a class of problems. Algorithms can perform a calculationdata processing, and automated reasoning tasks.



Every programmer knows what is the role of  Algorithm in building a good program. When a programmer needs to build a good program he needs to make the coding as good as possible to develop a good coding the programmer need to follow some step and need to build the coding in a step by step manner such that thee will not be any trouble or error in the code. So, Algorithm can be defined as the step by step representation of a program. Before writing a program in any of the programming languages we use algorithm and flowchart. The flowchart is the pictorial representation of an algorithm. 


A          L          G          O          R          I          T          H          M


Algorithm put the Science in the Computer Science.

How does Google Hangout transmit live video across the internet so quickly?
They use audio and video compression algorithm.
How does Google Maps figure out how to get from one place to another place?
They use a route finding algorithm.
How does Pixar color a 3D model of character based on the lighting in a virtual room?
They use a rendering algorithm.
How does NASA choose how to arrange the solar panels on the international space station? and when to rearrange them?
They use an optimization and a scheduling algorithm.

Example of some Algorithm that we use in our life:

The taxi algorithm:
  1. Go to the taxi stand.
  2. Get in a taxi.
  3. Give the driver my address.
The call-me algorithm:
  1. When your plane arrives, call my cell phone.
  2. Meet me outside baggage claim.
The rent-a-car algorithm:
  1. Take the shuttle to the rental car place.
  2. Rent a car.
  3. Follow the directions to get to my house.


Saturday, February 10, 2018

I LOVE YOU virus found !



"Hey you cheat me with your love, and now my whole work got stuck" - It seems the little bit comedy that a virus got its name ILOVEYOU. It was the top dangerous virus ever.


ILOVEYOU virus is also referred as Love Bug and Love letter. It was a computer worm that attacked tens of millions of Windows personal computers on and after 5 May 2000. It was spread through Email to the personal computer. An attached file named "LOVE-LETTER-FOR-YOU.txt.vbs" with the subject of the mail as "I LOVE YOU"  was spread using the email service provided during that time. The windows operating system which was one of the famous during that time was used to hide the file extension .vbs as it is a system file at that time. Also, leading unwitting users to think it was a normal text file. Opening the attachment activated the Visual Basic script. 


The worm did damage on the local machine, overwriting random types of files (including Office files, image files, and audio files; however after overwriting MP3 files the virus would hide the file), and sent a copy of itself to all addresses in the Windows Address Book used by Microsoft Outlook. In contrast, the Melissa virus only sent copies to the first 500 contacts. But this made it spread much faster than any other previous email worm.


Download the virus source code https://goo.gl/5aGMTs

The virus was created by two Filipino programmers, Reonel Ramones and Onel de Guzman. What it did was use social engineering to get people to click on the attachment; in this case, a love confession. 

The virus has made a big revolution at that time by effecting millions of Windows 98 computers and brought big loss to the government department.





Friday, February 9, 2018

Programming language which is got named BRAINFUCK

BRAINFUCK Programming Language


Programing Language that made the computer smart. Each programming language has shown its own talent to the world so, here are some of the most commonly know or unknown. 

Whenever someone enters 's into the field of the computer it's necessary to know at least some of the programming language. But even thus there are many languages that are being invented or discovered every night. All them are having special features. 

The  Difficult languages that are more complex to understood had only stood out of the college class. Let's see one of those programming languages.

Brainfuck

 Brainfuck is an esoteric programming language created in 1993 by Urban Müller. The special feature that made it difficult was nothing but it had only 8 commands in this language. Brainfuck simply requires one to break commands into microscopic steps. Now, think how hard it is just printing a hello statement with 8 commands.

[Program to print Hello World ]

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++
..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

To understand the program you need to learn the below 8 characters used as commands to perform different operations  
Character/cmdMeaning/Perform
>increment the data pointer (to point to the next cell to the right).
<decrement the data pointer (to point to the next cell to the left).
+increment (increase by one) the byte at the data pointer.
-decrement (decrease by one) the byte at the data pointer.
.output the byte at the data pointer.
,accept one byte of input, storing its value in the byte at the data pointer.
[if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching] command.
]if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching[ command.
Input:



Output:
      

Try online compiler click here