1. High-Level Languages (Close to human language) (source code)
2. Low-Level Languages:
a. Machine Code (Consist of only 0s and 1s — binary)
b. Assembly Language (Use mnemonics — short abbreviations)
Close to human language.
Easier to debug due to natural language.
No knowledge of hardware is needed.
Portable and not designed to run on just one type of machine.
Examples: C++, Java, Pascal, Python, Visual Basic.
2. Low-Level Languages: Assembly and Machine
a. Machine Code:
Consist of only 0s and 1s — binary.
CPU understands directly
Very difficult to write and debug due to binary.
High-level language (source code): understandable by humans.
Machine code (written in binary (0’s and 1's)): understandable by computers.
Compilers and Interpreters: convert source code into machine code.
Compiler converts the whole source code into machine code at a once. Interpreter converts line by line.
Compiler gives the error messages after scanning the entire code. Interpreter stops at the first error, so debugging is easier.
Compilers are used by: C, C++, C#, basic, ada …
Compiler and interpreter work together in Java:
- Java Compiler, called Javac, converts the source file (.java) to (.class) file, written in Java bytecode.
- Java interpreter, called java, converts the (.class) file into natural machine codes.
This is the second article that I write about HTML tips. While studying HTML basics, you can not notice the importance of the tags or attributes at first. But, after several reviews, you will wonder about situations that they are used for. Let’s begin the second 10 HTML tips and tricks.
Extra spaces and lines in HTML code are removed automatically. Then, what will you do, when there is a poem? No need to add <br>, etc. line by line. Just insert your poem or content within the <pre> (pre-formatted text) element. …
In this article, I want to focus on several HTML tips and tricks for code newbies. It will take time to learn all HTML tags and attributes, maybe this article can speed you up and encourage you to learn HTML more deeply. Let’s begin:
When naming your file, you can use “.htm” as well as “.html” as file extension. There is no difference between them.
In the <head> section, written things in the <title> element will be shown on the page’s tab at the browser’s title bar. If you don’t use <title> element, then the HTML…
What is Linux?
Linux is an operating system (OS) like Windows and Mac OS. Linux, which is open-source and accessible to the public for free, is released in 1991 by Linus Torvalds. Linux is used in phones, cars, refrigerators, televisions, etc. as well as computers.
What is an Operating System(OS)?
OS manages computer hardware and software resources. It communicates between them.
What is Kernel?
A Kernel is a program that is the heart of an Operating System and is responsible for low-level tasks such as disk, memory management. Kernel acts as an interface between applications and hardware. A Kernel has…