Posts

posted by Anonyo Sanyal

Different Addressing Modes used in Addressing

Image
Different Addressing Modes ~By Anonyo Sanyal The operation field of an instruction specifies the operation to be performed. This operation must be executed on some data stored in computer registers or memory words. The way the operands are chosen during program execution is dependent on the addressing mode of the instruction. The addressing mode specifies a rule for interpreting or modifying the address field of the instruction before the operand is actually referenced. Computers use addressing mode techniques for the purpose of accommodating one or both of the following provisions: 1. To give programming versatility to the user by providing such facilities as pointers to memory, counters for loop control, indexing of data, and program relocation. 2. To reduce the number of bits in the addressing field of the instruction. In simpler words, it can be compared to the addressing of a particular location on earth. Just like we have different ways to reach a particular addres

What is JRE, JVM, and JDK?

Image
Difference between JRE, JVM, and JDK By ANONYO SANYAL Now, this article lays a foundation to learn the internals of a JVM. To do that first we need to understand JRE, JVM and JDK and their differences. Once you are done click here to learn the internal details of JVM JVM:- Firstly JVM stands for Java Virtual Machine.  Secondly, JVM is an abstract machine i.e. it doesn't exist in reality. It is just an abstract concept. It is the detailed description of the design and materials which provides a runtime environment to run the java bytecode .  Funny fact, we all know java is a platform independent programming language. But do you know that JVM, JRE, and JDK are platform dependent? The reason is pretty clear. we said that JVM gives a specification (detailed description of the design and materials) for the runtime environment to run the java bytecode. But the specification changes from one Operating System to another. Now to make Java a platform-independent programmin

How to achieve Artificial Intlligence?

Image
How to Achieve Intelligence? By ANONYO SANYAL In an earlier post , we saw the Turing test , and how we define intelligence. It's time to dig deeper into achieving intelligence. Here we must be aware of the fact that Turing test actually is an operational definition of intelligence. Operational definition means a definition which is not merely a theory . It speaks of some tasks, you need to perform and some steps or operation to determine the nature of an item. Thus the term operational definition comes hand in hand with the Turing test as it helps us to determine the intelligence(nature) of a computer(item). PIC.Turing Test Diagram Source:- https://en.wikipedia.org/wiki/Turing_test#/media/File:Turing_test_diagram.png Thus Turing defined intelligent behavior as an ability to achieve human-level performance to fool an interrogator. As in the figure above which we got from Wikipedia, we see there are three objects, A is a computer, B is a Human, C is a Human Interrogator.

The Java Program Execution Procedure

Image
The Mystery of Java Program Execution By ANONYO SANYAL Now, this blog is in JAVA programming language, probably the most used programming language in real life scenarios. Java is an Object Oriented Programming Language which makes it perfect for the development of applications. It finds it's application in small music players to the android application that you run in your smartphones. To know more about Java please go through these .  You might know very well the hello world program in java. If not, it is given below. class Simple{  public static void main(String args[]){  System.out.println("Hello World");  }  } The output of this code is the message "Hello World". Now the question is how the heck is it executed. What happens when we compile the code? During compilation, the code is fed to the compiler which converts the code into instructions which the computer can understand. In Java, the machine code is known as Bytecode. Now here w

What is Artificial Intelligence(AI)?

Image
Artificial Intelligence-The Exact Definition By ANONYO SANYAL Artificial Intelligence(AI) has been hot for around past a few years now, but the concept was familiarized by Alan Turing in the year 1950. In one of his papers called "Computing Machinery and Intelligence," he first introduced the concept of  AI indirectly. He mentioned a test famously known as "The Turing Test" where he discussed how to assess the intelligence of a machine. Before we go into the details of Turing test let us first talk about AI as a whole. AI- The Definition AI can be defined in various ways. Basically, if we say in a nutshell, AI is simply ' mimicking ' the human intelligence by some machine. But this mimicking can be done in four broad ways v.i.z.  Machines who think like humans. Machines who think rationally. Machines who act like humans. Machines who act rationally.  These are the four ways how Peter Norvig and Stuart J. Russell has classified AI