COMPUTER PROGRAMMING ASSIGNMENT
INSTITUTE OF PUBLIC ADMINSTATION AND MANAGEMENT(IPAM
MODULE: COMPUTER PROGRAMMING
COURSE:BSC IN INFOMATION TECHNOLOGY
YEAR 1
BY: NAOMI BALAMA MOORE
Assignment 1
1. Summary of Java’s History
Java is a high-level, object-oriented programming language developed by James Gosling and his team at Sun Microsystems in 1995.
Java was originally created for interactive television systems, but it became popular for internet applications because it allows programs to run on different computers without modification. This is possible because of the Java Virtual Machine (JVM), which translates Java code into a form that any computer can run.
The main goal of Java was to create a language that is simple, secure, portable, and reliable. Because of these features, Java became one of the most widely used programming languages for web applications, enterprise software, mobile apps, and large systems.
In 2010, Oracle Corporation acquired Sun Microsystems and became the company responsible for developing Java.
2. Various Java Versions and Their Key Features
Java 1.0 (1996)
-
First official version
-
Introduced basic Java programming features
-
Supported applets for web browsers
Java 2 (J2SE) – 1998
-
Introduced Swing for graphical user interfaces
-
Improved security and performance
-
Added collections framework
Java 5 (2004)
Major improvements such as:
-
Generics
-
Enhanced for-loop
-
Autoboxing and Unboxing
-
Annotations
Java 8 (2014)
One of the most popular versions.
Key features include:
-
Lambda expressions
-
Stream API
-
New Date and Time API
Java 11 (2018)
-
Long-term support (LTS) version
-
Performance improvements
-
New HTTP client
Java 17 (2021)
-
Latest long-term support version
-
Better security
-
Improved performance and language features
3. Application Areas of Java
Java is used in many fields, including:
-
Web Development – creating dynamic websites and web applications.
-
Mobile Applications – especially Android apps.
-
Desktop Applications – software like media players and tools.
-
Enterprise Applications – large systems used by companies and banks.
-
Cloud Applications – backend services and cloud platforms.
-
Game Development – creating simple games.
-
Scientific Applications – research and simulations.
Assignment 2
1. Define IDE
An Integrated Development Environment (IDE) is a software application that provides programmers with tools to write, edit, compile, run, and debug programs in one place.
Example IDEs include:
-
NetBeans
-
Eclipse
-
IntelliJ IDEA
2. Common Tools Provided by an IDE
Typical tools in an IDE include:
-
Source Code Editor – used to write and edit code.
-
Compiler or Interpreter – converts code into executable programs.
-
Debugger – helps find and fix errors.
-
Build Automation Tools – compile and package programs automatically.
-
Code Completion – suggests code while typing.
-
Syntax Highlighting – colors different parts of code to improve readability.
3. Five Benefits of Using an IDE
-
Faster coding because of auto-complete features.
-
Easy debugging to find errors quickly.
-
Better organization of project files.
-
Improved productivity for developers.
-
Integrated tools in one place for coding, compiling, and testing.
4. Types of IDEs
-
Desktop IDEs – installed on a computer (e.g., Eclipse).
-
Web-based IDEs – run in a web browser (e.g., Replit).
-
Mobile IDEs – used for developing mobile apps.
Comments
Post a Comment