0% found this document useful (0 votes)
3 views5 pages

Computer Project

The document discusses the importance of coding and programming in development, explaining that coding is a language for communicating with computers and programming involves giving instructions for tasks. It highlights the advantages and disadvantages of Java, noting its simplicity, object-oriented nature, and security, while also mentioning performance issues and memory consumption. Additionally, it differentiates between compilers and interpreters, detailing their functions in translating and executing programming languages.

Uploaded by

remingaming12
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

Computer Project

The document discusses the importance of coding and programming in development, explaining that coding is a language for communicating with computers and programming involves giving instructions for tasks. It highlights the advantages and disadvantages of Java, noting its simplicity, object-oriented nature, and security, while also mentioning performance issues and memory consumption. Additionally, it differentiates between compilers and interpreters, detailing their functions in translating and executing programming languages.

Uploaded by

remingaming12
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Computer Seminar

By remin
What is programming and coding
• Coding and programming hold a vital role in development. It also includes
developments from small projects to big projects.

• Coding is a computer programming language that helps to communicate with a


computer. Computers do not understand human languages. Coding allows humans to
communicate with the computer. Code instructs the computer which tasks to be
performed and what things to do. Learning code also helps develop applications,
websites, and many other things that are ruling the world at present

• Programming is passing the instructions and information to the computer that


describes how a program should be carried out. Programming helps computers to
perform certain actions. Various types of programming languages available in the
market, like C, C++, Java, Python, etc., help develop new and creative technology.
Advantages and disadvantages of Java
• Advantages
• 1. Simple Java is a simple programming language since it is easy to learn and easy
to understand. Its syntax is based on C++
• 2. Object-Oriented Java uses an object-oriented paradigm, which makes it more
practical. Everything in Java is an object which takes care of both data and behavior.
• 3. Secured Java is a secured programming language because it doesn't use Explicit
pointers.
• 4. Multi-Threaded
Java uses a multi-threaded environment in which a bigger task can be converted
into various threads and run separately. The main advantage of multi-threading is
that we need not provide memory to every running thread.
Advantages and disadvantages of Java
• Disadvantage
• 1. Performance Java -needs to be interpreted during runtime, which
allows it to run on every operating system, but it also makes it perform
slower than the languages like C and C++.
• 2. Memory consumption- Java program consumes more memory since it
runs on top of Java virtual machine.
3. Cost -java programming language is a bit costly due to its higher
processing and memory requirements.
5. Garbage collection -Java provides automatic garbage collection that
cannot be controlled by the programmer. It doesn't provide the methods
like delete() and free() to free the memory.
Compiler and interpreter

• A compiler is a computer program that reads a program written


in a high-level language such as FORTRAN, PL/I, COBOL, etc. It
can translate it into the same program in a low-level language
including machine language. The compiler also finds out the
various errors encountered during the compilation of a program.

An interpreter is a program that executes the programming code


directly instead of just translating it into another format. It
translates and executes programming language statements one by
one. An interpreter takes less time to interpret a source
program as distinguished by a compiler.

You might also like