Posts

Showing posts from February, 2021

Explaining Computer Translator

  Translator Translator is a computer program that translates program written in a given programming language into a functionally equivalent program in a different language. Depending on the translator, this may involve changing or simplifying the program flow without losing the essence of the program, thereby producing a functionally equivalent program. Types of Language Translator There are mainly three Types of translators which are used to translate different programming languages into machine equivalent code: 1.    Assembler 2.    Compiler 3.    Interpreter 1. Assembler An assembler translates assembly language into machine code. Assembly language consists of Mnemonics for machine Op-codes, so assemblers perform a 1:1 translation from mnemonic to a direct instruction. For example, LDA #4 converts to 0001001000100100. Conversely, one instruction in a high level language will translate to one or more instructions at machine lev...

Explaining Computer Languages

  Computer Languages Language is actually a vocabulary and set of grammatical rules for constructing a computer program to perform a specific task. The term programming language usually constitutes several set of instructions to perform a specific task. A program is written as a series of human understandable computer instructions that can be read by compiler and linker, and translated into machine code so that a computer can understand and run it. Thus we can say that a programming language is a computer language, programmers used these languages to develop applications, script or other set of instruction for a computer to execute. Machine and assembly languages are low-level, requiring a programmer to manage explicitly all of a computer's idiosyncratic features of data storage and operation. In contrast high-level languages shield a programmer from worrying about such considerations and provide a notation that in more easily written and read by programmers. There are ba...

How To Run Core Java Program In Command Prompt

Image
First Download jdk from given link:- https://www.oracle.com/java/technologies/javase-jdk11-downloads.html   Step 1:- Write a Java Program Ex:- class name { public static void main(String args[]) { System.out.println("My Name Is Khan"); } }   Step 2:- Save file as class name and .java extension(ex:- name.java)   Step 3:- Copy java file path Step 4:- Open CMD(command Prompt) Step5:- Compile the java program using  javaC  command Ex:-  javaC JavaFilePath  Step 6:- Use java command to run your program Ex:-   Java JavaFilePath  --------------------------------------------------End--------------------------------------------------------- Thanks For Visiting This Blog.....