palindrome algorithm

Now I tried to explain about palindromes, what is palindrome? palindrome meaning that if the words read from left to right or right to left the same. 'RADAR', is one example of the word palindrome because in reading from left to right or right to left the same result 'RADAR'. When viewed it looks easy for us who have long involved with the world of information technology. But I will explain how the algorithm and implementation using C programming language of this palindrome with the steps as follows:


  • First declare a variable containing an array A 'RADAR' and the array B to serve as a comparison when the array A has been moved to an array B with transfers made from A [n-1] and will use a variable bolean 'x' for the outcome of whether ' RADAR 'said palindrome or not
  • Then after that, first print array containing a 'RADAR' to check whether the declaration is correct that you have previously made
 
  • Furthermore, the logic of the palindrome is actually just move the array A into array B with the launch of A [n-1] like this
 Hint: J is the variable which is declaration at the beginning with the value 0(see point 1)
  •  To prove whether the process points 3 that true, then please print first array B
  • Now it is time to checking that array B has the same contents with array A and if equal then the 'x' will is true and if one letter is not the same 'x'  become false value then the process is stopped
  • This is the last step to the process of palindromes. Check if all the contents of an array of B matches the array A if match so that's palindrome if not that's not palindrome


This is the code i've made before : palindrome

DECRYPT

In my previous post explaining what it was encrypt. Now I will explain how the process of returning the result code which was encrypted password back to the initial passcode. This process is known as decrypt process.
The algorithm is similar to decrypt the encryption process: 

  • Prepare two arrays one for the alphabet and one for the code  

  • Then input the code that's encrypted password stored in the variable 'pasw'

ENCRYPT

At this opportunity I will explain further what encryption is and how to process. Encryption I have learned during the algorithm classes this semester and I will try to explain to you as well as the encryption algorithm using programming language C.
Encryption is a very popular technology in the world of information technology where the technology is devoted to providing security to the user for a passcode protection from hacker attacks very dangerous and worrying. How it works is by way of encryption scrambles the password code to a particular pattern that sometimes need to work extra hard to break that pattern as this (pattern) is the wealth of each individual who could not possibly be the same between one person with another person . Really amazing !

SELECTION SORT

I will try to explain a little about the Selection Sort algorithm that I have learned and understood. Before you go any further I tried to interpret the meaning of the first syllable. When viewed Selection Sort can be interpreted as sorting is done using a selection process. What was selected? Of course the data to be sorted. Selection of this sort, including sorting categories that are still using comparative data or known by the Comparison Sort example like Bubble Sort Sort, Selection Sort, Insertion Sort, Merge sort.
The algorithm in this sorting process (Comparison Sort) is to do a comparison between the data which was followed by the exchange of data if not in accordance with certain requirements.