Computer Computations

Commonly operated machine particularly used for Trade, Education and Research is the simple definition of computer thought to me on my school days. Computers made our jobs easier to finish. We use it almost everywhere. We know that computers only understand binary numbers i.e., 0‘s and 1‘s. So, these computers are also called “Binary Computers”. Let us take a look on it and its further improvements.

Binary Computers

A binary code represents text, computer processor instructions, or other data using any two-symbol system, but often the binary number system‘s 0 and 1. The binary code assigns a pattern of binary digits (bits) to each character, instruction.


The American Standard Code for Information Interchange (ASCII),uses a 7-bit binary code to represent text and other characters within computers, communications equipment, and other devices. Each letter or symbol is assigned a number from 0 to 127.

7 bit ascii.PNG


  • This can be easily represented by electronic devices and for which calculation can be carried out using reasonably simple active electronics.
  • Binary data is also reasonable simple to store – again only needing a two state storage (on/off – 1/0).


  • Difficult to read.
  • takes a lot of digits to represent any reasonable number.
  • rounding off numbers is the main problem.

Ternary Computers

ternary computer (also called trinary computer) is a computer that uses ternary logic (three possible values) instead of the more common binary logic (two possible values) in its calculations.


Ternary computing is commonly implemented in terms of balanced ternary, which uses the three digits −1, 0, and +1. The negative value of any balanced ternary digit can be obtained by replacing every + with a − and vice versa. It is easy to subtract a number by inverting the + and − digits and then using normal addition. Balanced ternary can express negative values as easily as positive ones, without the need for a leading negative sign as with decimal numbers. These advantages make some calculations more efficient in ternary than binary. Considering that digit signs are mandatory, and non zero digits are magnitude 1 only, notation using only zero and signs alone is more concise than when 1’s are used.

images (11)

With the advent of mass-produced binary components for computers, ternary computers have diminished in significance. The Josephson junction has been proposed as a balanced ternary memory cell, using circulating superconducting currents, either clockwise, counterclockwise, or off. The advantages of the proposed memory circuit are capability of high speed computation, low power consumption and very simple construction with fewer elements due to the ternary operation. In 2009, a quantum computer was proposed which uses a quantum ternary state, a qutrit, rather than the typical qubit. When the number of basic states of quantum element is d, it is called qudit.



  • The advantages of using ternary logic is to do our computing would be that we can hold the same amount of information in less memory, and we can process more information at once.


  • Ternary computing relies on three-state “trits” rather than two-state bits.

Quaternary Computers

Quaternary is the base-4 numeral system. It uses the digits 0, 1, 2 and 3 to represent any real number. Four is the largest number within the subitizing range and one of two numbers that is both a square and a highly composite number (the other being 36), making quaternary a convenient choice for a base at this scale. Despite being twice as large, its radix economy is equal to that of binary. However, it fares no better in the localization of prime numbers.


Quantum computers are still binary – “quantum binary”, they can have arbitrary superpositions of 0 and 1. 0 and 1 are special cases of a superposition.


Catch our blog with more ideas and programming tricks. You can see them in our categories list. Catch some of the cheat sheets of programming languages like Python, Java, MySql and some other cools tricks.


Maria Irudaya Regilan J

How to convert Java file into executables

Previously I have told that learning Java is a magic. Wanna learn more in that magic? Here’s the easy explanation on converting .java file to .exe.

Steps for exporting .jar from .java

Step 1: Create your java file. I recommend you to create your file in eclipse because creating .jar file for your program can be easily done in that. If you do not have eclipse installed in your system, you can find it in here.

Step 2: Now create your project on eclipse and store it in your workspace.

Step 3: Now right click on your project in Project Explorer tab and select Export.


Step 4: In Export -> under JAVA folder select jar file and click next.

export tab.png

Step 5: Select the export destination for your .jar file and click Finish


Steps for creating an executable

Step 1: You should download a setup of JSmooth to your system. You will find it in here.

Step 2: Open JSmooth after instaling in your system.

jsmooth front.png

Step 3: On Skeleton tab, under Skeleton Selection, select console wrapper option from dropdown list to show my console window as output in my application. You also have other suitable options that can be chosen. Under Skeleton Properties, type the message in the text box that shows when an error occurs(mostly when the client doesn’t own a machine where Java installed). Check PressKey checkbox to make the message to stay in the screen until any key is pressed.

jsmooth skeleton.png

Step 4: On Executable tab, Give you Application Name under Executable Binary text box and Give your Application Icon under Executable Icon.

jsmooth executable

Step 5: On Application tab, under Main Class text box, give the class name of your Java program. In my case, it is “Strdisplay“. Check Use an embedded jar check box under Embedded Settings and direct it to your exported .jar file at the beginning.

Jsmooth Application.png

Step 6: Now, Click the gear icon at the top to compile. Save your Jsmooth file with a good name.

jsmooth save

Once, you have compiled successfully, you get compilation dialog box as follows,

jsmooth compilation

Step 7: After a successful compilation you can see an application exists near your Jsmooth file. Double click it and enjoy the execution.

jsmooth output.PNG


That’s it. now you can able to develop executable applications in Java. If you want to know how to develop executables in python, click here. Also Catch up Cheat sheets that are available in our blog. You can catch them under our blog categoryProgramming‘.


Maria Irudaya Regilan J

Any of these Programming Languages that you should know


This language got its birth in the year 1991. This language is the important player in the field of Android development. Know this Oracle’s production if you wanna be the champion in android field.



This language is the platform for the people who wants to learn a programming  language. It helps you to understand how memory allocation of a variable works and explains the structure of programming languages.



This language traces back to 1989, and is loved by its fans for its highly readable code. You can learn it easily at the beginning and don’t forget it has variety of real time application.

images (1)


This language for programming web sites is incredibly common and so popular and even some estimates say it powers one-third of the web. Big sites like WordPress, Facebook, and Yahoo use it.

images (3)


Learn this and you feel so comfortable while working on web. This has no relation with Java. The language which gives you a lot of money $.

images (2)


This is the programming language of choice for statisticians and anybody doing data analysis. A magical tool for the people works with data.

images (4)


Originally designed by Google to build systems at the immense scale needed to power the world’s busiest search engine, it’s since caught on with developers who value reliability and integrity above all else. It’s one of the fastest-growing programming languages out there, too.go_logo


Like Python, developers like this 24-year-old language because it’s easy to read and write the code. Also popular is Rails, an add-on framework for Ruby that makes it really easy to use it to build web apps. The language’s official motto is “A programmer’s best friend.”



Originally developed by a NASA engineer in the late ’80s, Perl excels at processing text, and developers like it because it’s powerful and flexible. It was once famously described as “the duct tape of the web,” because it’s really great at holding websites together, but it’s not the most elegant language.

images (9)


While Apple’s previous issues with Taylor Swift may have made all the headlines, the Apple Swift programming language was winning over developers as a faster, easier way to build iPhone apps. With high-profile fans like IBM, expect it to take off even more in 2016.

download (3).jpg


Intended as a mathematical programming language to help teach university students advanced algebra and image processing, it’s also widely used by scientists, engineers, and programmers working in the exploding field of image processing and other artificial-intelligence applications.

images (10)

Catch our blog also with some other cool stuff.

Tic Tac Toe game in Python 3.6

Doing programming is awesome when you get the output what you have expected. When you include graphics on the programming, you are actually making the code to dance. Here, is an example of a code dance, The Tic Tac Toe game. Download it and you can also convert it to an exe file. Use this file as you if you are going to convert your file into an executable application.

Share your comments and tell your friends too.

Also take a look on how to send sms using python and many more.