Programming involves writing computer programs and algorithms using programming languages. There are different types of programming languages from low-level machine languages close to hardware to high-level languages that are more abstract. Popular programming paradigms have evolved over time like structured programming, modular programming, object-oriented programming, and declarative programming to help manage complex programs. The most commonly used programming languages today include Java, Python, and JavaScript.
Computer programming involves writing instructions for a computer in a particular programming language. It is done by writing source code which is then translated by compilers, interpreters or assemblers into object code that computers can understand. There are many programming languages at different levels, with high-level languages being easier for humans but slower for computers compared to machine-level languages. Popular high-level languages include Java, Python and C++, which allow programmers to focus on solving problems without worrying about the specific computer hardware.
Computer programming involves writing instructions for a computer in a specific programming language. It is the process of creating computer software. There are many programming languages that are used for different purposes. Programming languages have evolved from low-level machine languages that are difficult for humans to read to high-level languages that are easier to use. High-level languages must be translated into machine code before a computer can execute them. Computer programs use logic, variables, and other programming elements to perform tasks. Programming provides benefits such as meeting demand for software and developing important job skills.
Computer programming involves writing instructions for a computer in a programming language. It is done through programming languages that have specific syntax and keywords. There are low-level languages like machine code and assembly that are closer to what computers can understand directly, and high-level languages that are easier for humans like Python and Java but need to be compiled into machine code. Programs are made up of objects, variables, operations and control flow statements. Programming provides benefits like developing problem-solving skills and is a lucrative career.
The document provides information about programming and programming languages. It discusses what a program and programming are, and defines a programming language as a set of words, symbols and codes that enables humans to communicate with computers. It describes different generations of programming languages from machine language and assembly language as first generation languages to fourth and fifth generation languages that provide more abstraction and visual interfaces. The document also discusses different programming approaches like structured and object-oriented programming. It explains how programs written in high-level languages need to be translated into machine language by compilers, interpreters or assemblers. Finally, it discusses basic elements in programming like constants, variables, data types, operators and control structures.
Information about the level of programming language, types of programming language, the principal paradigms, few programming languages, criteria for good language.
Remember your first glance at a screenful of computer code? It probably felt like reading another language. Some words may have looked familiar, such as “print” and “input,” but they were surrounded by symbols and numbers that looked completely new.
https://codelearning4.wordpress.com/
The document provides an introduction to basic programming concepts through 10 lessons:
1) It defines programs, programming, and programming languages. Programs direct computers using organized instructions. Programming is creating commands to direct computers. Programming languages allow communication with computers.
2) It discusses generations of programming languages from low-level machine code to high-level languages.
3) It covers structured and object-oriented programming approaches.
4) It defines translators like assemblers, interpreters, and compilers that translate human-readable code into machine-readable code.
5) It provides an overview of installing and using the Visual Basic programming language.
6) It identifies the basic elements of programming:
This document provides an introduction to programming languages and Python. It discusses what a program is, different categories of software, and types of programming languages including machine language, assembly language, and high-level languages. It also covers programming paradigms like imperative, logical, functional, and object-oriented. The document outlines the software development life cycle and describes key areas where Python is commonly used like academia, scientific tools, machine learning, and web development.
The document discusses the basic concepts of programming including defining a program and programming language, levels of programming languages from low-level to high-level, common programming elements like variables and data types, and the key phases of program development from problem analysis to documentation.
The document discusses various aspects of software programming and development including:
1) It describes different types of computer programs and how they are stored and executed, such as executable files, dynamic link libraries, and initialization files.
2) It explains how programs are planned, written in various programming languages, and solve problems through techniques like algorithms, structured programming, and object-oriented programming.
3) It provides an overview of the systems development life cycle which includes phases for needs analysis, design, development, implementation, and maintenance of software solutions.
This document provides an overview of object-oriented programming concepts and the Java programming language. It discusses the basic syntax of Java, including classes, objects, methods, and variables. It also covers Java data types, operators, and expressions. The document is part of a course on applying object-oriented programming language skills and includes self-check questions for students.
This document provides an introduction to basic programming concepts including programs, programming, programming languages, generations of programming languages, and translators.
The key points covered are:
1) A program is a series of organized instructions that direct a computer to perform tasks. Programming is the creation of a set of commands that direct a computer to carry out a task.
2) Programming languages allow humans to communicate with computers. Examples of programming languages mentioned include BASIC, Pascal, C, and Smalltalk.
3) Programming languages have evolved through generations from machine language (1st generation) to assembly language (2nd generation) to high-level languages like BASIC, Pascal, and C (3
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...Safe Software
The National Fuels Treatments Initiative (NFT) is transforming wildfire mitigation by creating a standardized map of nationwide fuels treatment locations across all land ownerships in the United States. While existing state and federal systems capture this data in diverse formats, NFT bridges these gaps, delivering the first truly integrated national view. This dataset will be used to measure the implementation of the National Cohesive Wildland Strategy and demonstrate the positive impact of collective investments in hazardous fuels reduction nationwide. In Phase 1, we developed an ETL pipeline template in FME Form, leveraging a schema-agnostic workflow with dynamic feature handling intended for fast roll-out and light maintenance. This was key as the initiative scaled from a few to over fifty contributors nationwide. By directly pulling from agency data stores, oftentimes ArcGIS Feature Services, NFT preserves existing structures, minimizing preparation needs. External mapping tables ensure consistent attribute and domain alignment, while robust change detection processes keep data current and actionable. Now in Phase 2, we’re migrating pipelines to FME Flow to take advantage of advanced scheduling, monitoring dashboards, and automated notifications to streamline operations. Join us to explore how this initiative exemplifies the power of technology, blending FME, ArcGIS Online, and AWS to solve a national business problem with a scalable, automated solution.
Enabling BIM / GIS integrations with Other Systems with FMESafe Software
Jacobs has successfully utilized FME to tackle the complexities of integrating diverse data sources in a confidential $1 billion campus improvement project. The project aimed to create a comprehensive digital twin by merging Building Information Modeling (BIM) data, Construction Operations Building Information Exchange (COBie) data, and various other data sources into a unified Geographic Information System (GIS) platform. The challenge lay in the disparate nature of these data sources, which were siloed and incompatible with each other, hindering efficient data management and decision-making processes.
To address this, Jacobs leveraged FME to automate the extraction, transformation, and loading (ETL) of data between ArcGIS Indoors and IBM Maximo. This process ensured accurate transfer of maintainable asset and work order data, creating a comprehensive 2D and 3D representation of the campus for Facility Management. FME's server capabilities enabled real-time updates and synchronization between ArcGIS Indoors and Maximo, facilitating automatic updates of asset information and work orders. Additionally, Survey123 forms allowed field personnel to capture and submit data directly from their mobile devices, triggering FME workflows via webhooks for real-time data updates. This seamless integration has significantly enhanced data management, improved decision-making processes, and ensured data consistency across the project lifecycle.
More Related Content
Similar to Intro to programming and intro to java netbean.pdf (20)
The document provides information about programming and programming languages. It discusses what a program and programming are, and defines a programming language as a set of words, symbols and codes that enables humans to communicate with computers. It describes different generations of programming languages from machine language and assembly language as first generation languages to fourth and fifth generation languages that provide more abstraction and visual interfaces. The document also discusses different programming approaches like structured and object-oriented programming. It explains how programs written in high-level languages need to be translated into machine language by compilers, interpreters or assemblers. Finally, it discusses basic elements in programming like constants, variables, data types, operators and control structures.
Information about the level of programming language, types of programming language, the principal paradigms, few programming languages, criteria for good language.
Remember your first glance at a screenful of computer code? It probably felt like reading another language. Some words may have looked familiar, such as “print” and “input,” but they were surrounded by symbols and numbers that looked completely new.
https://codelearning4.wordpress.com/
The document provides an introduction to basic programming concepts through 10 lessons:
1) It defines programs, programming, and programming languages. Programs direct computers using organized instructions. Programming is creating commands to direct computers. Programming languages allow communication with computers.
2) It discusses generations of programming languages from low-level machine code to high-level languages.
3) It covers structured and object-oriented programming approaches.
4) It defines translators like assemblers, interpreters, and compilers that translate human-readable code into machine-readable code.
5) It provides an overview of installing and using the Visual Basic programming language.
6) It identifies the basic elements of programming:
This document provides an introduction to programming languages and Python. It discusses what a program is, different categories of software, and types of programming languages including machine language, assembly language, and high-level languages. It also covers programming paradigms like imperative, logical, functional, and object-oriented. The document outlines the software development life cycle and describes key areas where Python is commonly used like academia, scientific tools, machine learning, and web development.
The document discusses the basic concepts of programming including defining a program and programming language, levels of programming languages from low-level to high-level, common programming elements like variables and data types, and the key phases of program development from problem analysis to documentation.
The document discusses various aspects of software programming and development including:
1) It describes different types of computer programs and how they are stored and executed, such as executable files, dynamic link libraries, and initialization files.
2) It explains how programs are planned, written in various programming languages, and solve problems through techniques like algorithms, structured programming, and object-oriented programming.
3) It provides an overview of the systems development life cycle which includes phases for needs analysis, design, development, implementation, and maintenance of software solutions.
This document provides an overview of object-oriented programming concepts and the Java programming language. It discusses the basic syntax of Java, including classes, objects, methods, and variables. It also covers Java data types, operators, and expressions. The document is part of a course on applying object-oriented programming language skills and includes self-check questions for students.
This document provides an introduction to basic programming concepts including programs, programming, programming languages, generations of programming languages, and translators.
The key points covered are:
1) A program is a series of organized instructions that direct a computer to perform tasks. Programming is the creation of a set of commands that direct a computer to carry out a task.
2) Programming languages allow humans to communicate with computers. Examples of programming languages mentioned include BASIC, Pascal, C, and Smalltalk.
3) Programming languages have evolved through generations from machine language (1st generation) to assembly language (2nd generation) to high-level languages like BASIC, Pascal, and C (3
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...Safe Software
The National Fuels Treatments Initiative (NFT) is transforming wildfire mitigation by creating a standardized map of nationwide fuels treatment locations across all land ownerships in the United States. While existing state and federal systems capture this data in diverse formats, NFT bridges these gaps, delivering the first truly integrated national view. This dataset will be used to measure the implementation of the National Cohesive Wildland Strategy and demonstrate the positive impact of collective investments in hazardous fuels reduction nationwide. In Phase 1, we developed an ETL pipeline template in FME Form, leveraging a schema-agnostic workflow with dynamic feature handling intended for fast roll-out and light maintenance. This was key as the initiative scaled from a few to over fifty contributors nationwide. By directly pulling from agency data stores, oftentimes ArcGIS Feature Services, NFT preserves existing structures, minimizing preparation needs. External mapping tables ensure consistent attribute and domain alignment, while robust change detection processes keep data current and actionable. Now in Phase 2, we’re migrating pipelines to FME Flow to take advantage of advanced scheduling, monitoring dashboards, and automated notifications to streamline operations. Join us to explore how this initiative exemplifies the power of technology, blending FME, ArcGIS Online, and AWS to solve a national business problem with a scalable, automated solution.
Enabling BIM / GIS integrations with Other Systems with FMESafe Software
Jacobs has successfully utilized FME to tackle the complexities of integrating diverse data sources in a confidential $1 billion campus improvement project. The project aimed to create a comprehensive digital twin by merging Building Information Modeling (BIM) data, Construction Operations Building Information Exchange (COBie) data, and various other data sources into a unified Geographic Information System (GIS) platform. The challenge lay in the disparate nature of these data sources, which were siloed and incompatible with each other, hindering efficient data management and decision-making processes.
To address this, Jacobs leveraged FME to automate the extraction, transformation, and loading (ETL) of data between ArcGIS Indoors and IBM Maximo. This process ensured accurate transfer of maintainable asset and work order data, creating a comprehensive 2D and 3D representation of the campus for Facility Management. FME's server capabilities enabled real-time updates and synchronization between ArcGIS Indoors and Maximo, facilitating automatic updates of asset information and work orders. Additionally, Survey123 forms allowed field personnel to capture and submit data directly from their mobile devices, triggering FME workflows via webhooks for real-time data updates. This seamless integration has significantly enhanced data management, improved decision-making processes, and ensured data consistency across the project lifecycle.
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...Impelsys Inc.
Web accessibility is a fundamental principle that strives to make the internet inclusive for all. According to the World Health Organization, over a billion people worldwide live with some form of disability. These individuals face significant challenges when navigating the digital landscape, making the quest for accessible web content more critical than ever.
Enter Artificial Intelligence (AI), a technological marvel with the potential to reshape the way we approach web accessibility. AI offers innovative solutions that can automate processes, enhance user experiences, and ultimately revolutionize web accessibility. In this blog post, we’ll explore how AI is making waves in the world of web accessibility.
If You Use Databricks, You Definitely Need FMESafe Software
DataBricks makes it easy to use Apache Spark. It provides a platform with the potential to analyze and process huge volumes of data. Sounds awesome. The sales brochure reads as if it is a can-do-all data integration platform. Does it replace our beloved FME platform or does it provide opportunities for FME to shine? Challenge accepted
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfällepanagenda
Webinar Recording: https://www.panagenda.com/webinars/domino-iq-was-sie-erwartet-erste-schritte-und-anwendungsfalle/
HCL Domino iQ Server – Vom Ideenportal zur implementierten Funktion. Entdecken Sie, was es ist, was es nicht ist, und erkunden Sie die Chancen und Herausforderungen, die es bietet.
Wichtige Erkenntnisse
- Was sind Large Language Models (LLMs) und wie stehen sie im Zusammenhang mit Domino iQ
- Wesentliche Voraussetzungen für die Bereitstellung des Domino iQ Servers
- Schritt-für-Schritt-Anleitung zur Einrichtung Ihres Domino iQ Servers
- Teilen und diskutieren Sie Gedanken und Ideen, um das Potenzial von Domino iQ zu maximieren
Down the Rabbit Hole – Solving 5 Training RoadblocksRustici Software
Feeling stuck in the Matrix of your training technologies? You’re not alone. Managing your training catalog, wrangling LMSs and delivering content across different tools and audiences can feel like dodging digital bullets. At some point, you hit a fork in the road: Keep patching things up as issues pop up… or follow the rabbit hole to the root of the problems.
Good news, we’ve already been down that rabbit hole. Peter Overton and Cameron Gray of Rustici Software are here to share what we found. In this webinar, we’ll break down 5 training roadblocks in delivery and management and show you how they’re easier to fix than you might think.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2025/06/solving-tomorrows-ai-problems-today-with-cadences-newest-processor-a-presentation-from-cadence/
Amol Borkar, Product Marketing Director at Cadence, presents the “Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor” tutorial at the May 2025 Embedded Vision Summit.
Artificial Intelligence is rapidly integrating into every aspect of technology. While the neural processing unit (NPU) often receives the majority of the spotlight as the ultimate AI problem solver, it is essential to recognize that not all AI workloads can be efficiently executed on an NPU and that neural network architectures are evolving rapidly. To create efficient chips and systems with market longevity, designers must plan for diverse AI workloads that include networks yet to be invented.
In this presentation, Borkar introduces a new processor from Cadence Tensilica. This new solution is designed to complement any NPU, creating the perfect synergy between the two processing engines and establishing a robust AI subsystem able to efficiently support workloads yet to be encountered. This combination allows developers to achieve efficiency and performance on the AI workloads of today and tomorrow, paving the way for future innovations in AI-powered devices.
Your startup on AWS - How to architect and maintain a Lean and Mean accountangelo60207
Prevent infrastructure costs from becoming a significant line item on your startup’s budget! Serial entrepreneur and software architect Angelo Mandato will share his experience with AWS Activate (startup credits from AWS) and knowledge on how to architect a lean and mean AWS account ideal for budget minded and bootstrapped startups. In this session you will learn how to manage a production ready AWS account capable of scaling as your startup grows for less than $100/month before credits. We will discuss AWS Budgets, Cost Explorer, architect priorities, and the importance of having flexible, optimized Infrastructure as Code. We will wrap everything up discussing opportunities where to save with AWS services such as S3, EC2, Load Balancers, Lambda Functions, RDS, and many others.
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOMAnchore
Over 70% of any given software application consumes open source software (most likely not even from the original source) and only 15% of organizations feel confident in their risk management practices.
With the newly announced Anchore SBOM feature, teams can start safely consuming OSS while mitigating security and compliance risks. Learn how to import SBOMs in industry-standard formats (SPDX, CycloneDX, Syft), validate their integrity, and proactively address vulnerabilities within your software ecosystem.
Ivanti’s Patch Tuesday breakdown goes beyond patching your applications and brings you the intelligence and guidance needed to prioritize where to focus your attention first. Catch early analysis on our Ivanti blog, then join industry expert Chris Goettl for the Patch Tuesday Webinar Event. There we’ll do a deep dive into each of the bulletins and give guidance on the risks associated with the newly-identified vulnerabilities.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2025/06/state-space-models-vs-transformers-for-ultra-low-power-edge-ai-a-presentation-from-brainchip/
Tony Lewis, Chief Technology Officer at BrainChip, presents the “State-space Models vs. Transformers for Ultra-low-power Edge AI” tutorial at the May 2025 Embedded Vision Summit.
At the embedded edge, choices of language model architectures have profound implications on the ability to meet demanding performance, latency and energy efficiency requirements. In this presentation, Lewis contrasts state-space models (SSMs) with transformers for use in this constrained regime. While transformers rely on a read-write key-value cache, SSMs can be constructed as read-only architectures, enabling the use of novel memory types and reducing power consumption. Furthermore, SSMs require significantly fewer multiply-accumulate units—drastically reducing compute energy and chip area.
New techniques enable distillation-based migration from transformer models such as Llama to SSMs without major performance loss. In latency-sensitive applications, techniques such as precomputing input sequences allow SSMs to achieve sub-100 ms time-to-first-token, enabling real-time interactivity. Lewis presents a detailed side-by-side comparison of these architectures, outlining their trade-offs and opportunities at the extreme edge.
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven InfrastructureSafe Software
When projects depend on fast, reliable spatial data, every minute counts.
AI Clearing needed a faster way to handle complex spatial data from drone surveys, CAD designs and 3D project models across construction sites. With FME Form, they built no-code workflows to clean, convert, integrate, and validate dozens of data formats – cutting analysis time from 5 hours to just 30 minutes.
Join us, our partner Globema, and customer AI Clearing to see how they:
-Automate processing of 2D, 3D, drone, spatial, and non-spatial data
-Analyze construction progress 10x faster and with fewer errors
-Handle diverse formats like DWG, KML, SHP, and PDF with ease
-Scale their workflows for international projects in solar, roads, and pipelines
If you work with complex data, join us to learn how to optimize your own processes and transform your results with FME.
This OrionX's 14th semi-annual report on the state of the cryptocurrency mining market. The report focuses on Proof-of-Work cryptocurrencies since those use substantial supercomputer power to mint new coins and encode transactions on their blockchains. Only two make the cut this time, Bitcoin with $18 billion of annual economic value produced and Dogecoin with $1 billion. Bitcoin has now reached the Zettascale with typical hash rates of 0.9 Zettahashes per second. Bitcoin is powered by the world's largest decentralized supercomputer in a continuous winner take all lottery incentive network.
PyData - Graph Theory for Multi-Agent Integrationbarqawicloud
Graph theory is a well-known concept for algorithms and can be used to orchestrate the building of multi-model pipelines. By translating tasks and dependencies into a Directed Acyclic Graph, we can orchestrate diverse AI models, including NLP, vision, and recommendation capabilities. This tutorial provides a step-by-step approach to designing graph-based AI model pipelines, focusing on clinical use cases from the field.
Your startup on AWS - How to architect and maintain a Lean and Mean account J...angelo60207
Prevent infrastructure costs from becoming a significant line item on your startup’s budget! Serial entrepreneur and software architect Angelo Mandato will share his experience with AWS Activate (startup credits from AWS) and knowledge on how to architect a lean and mean AWS account ideal for budget minded and bootstrapped startups. In this session you will learn how to manage a production ready AWS account capable of scaling as your startup grows for less than $100/month before credits. We will discuss AWS Budgets, Cost Explorer, architect priorities, and the importance of having flexible, optimized Infrastructure as Code. We will wrap everything up discussing opportunities where to save with AWS services such as S3, EC2, Load Balancers, Lambda Functions, RDS, and many others.
2. The composition of sequences of instructions
What is Programming?
The process of preparing an instructional program for device
Programming is a technological process that tells a computer which
tasks to perform to solve problems.
4. Programming is important because it enables us to create software, websites,
mobile apps, games, and many other digital products that we use in our daily
lives. It allows us to automate tasks, solve complex problems, and create
innovative solutions that improve our lives and businesses. In today's digital
age, programming skills are in high demand and are essential for success in
many industries, from tech to finance to healthcare. By learning to code, we
can open up a world of opportunities and take advantage of the many benefits
that technology has to offer.
5. back to the early 19th century when mathematician Ada Lovelace
created an algorithm for Charles Babbage's Analytical Engine, which is
considered the first computer. However, the first actual programming
language was developed in the 1950s, called FORTRAN (Formula
Translation). This language was used for scientific and engineering
calculations.
History of Programming
In the 1960s, programming languages such as COBOL (Common
Business-Oriented Language), BASIC (Beginners All-Purpose Symbolic
Instruction Code), and ALGOL (Algorithmic Language) were developed.
These languages were used to write applications for business and
research.
6. History of Programming
In the 1960s, programming languages such as COBOL (Common
Business-Oriented Language), BASIC (Beginners All-Purpose Symbolic
Instruction Code), and ALGOL (Algorithmic Language) were developed.
These languages were used to write applications for business and
research.
The 1970s saw the development of languages such as C and Pascal,
which were used to write operating systems and applications. In the
1980s, the first object-oriented language, Smalltalk, was created. This
language allowed developers to create reusable code and was used for
graphical user interfaces.
7. The 1990s saw the development of scripting languages such as Perl
and Python, which were used for web development. In the early
2000s, languages such as Ruby and PHP became popular for web
development. Today, programming languages such as Java, C++,
Python, and JavaScript are widely used for various applications.
History of Programming
8. Programming requires logical thinking and the ability to break down
complex problems into smaller, more manageable parts.
Programmers use logic to develop algorithms, which are step-by-step
procedures for solving problems. These algorithms must be logical
and accurate, with each step leading logically to the next.
In programming, logical operators and conditional statements are
used to control the flow of a program. Logical operators such as AND,
OR, and NOT are used to evaluate logical expressions and make
decisions based on the results. Conditional statements such as IF,
ELSE, and SWITCH are used to execute different parts of a program
based on specific conditions.
9. Thus, logic is a critical component of
programming. Without it, programs would not
work correctly or produce the desired results.
By developing strong logical thinking skills,
programmers can write efficient and effective
code that solves complex problems and meets
the needs of users.
11. Programming languages can be broadly classified
into three categories:
Low-Level Languages: These languages are closer to the machine language
and are used to write operating systems, device drivers, and firmware.
Examples include Assembly Language, C, and C++.
1.
High-Level Languages: These languages are easier to learn and use than
low-level languages. They are used to write applications, games, and
websites. Examples include Java, Python, Php, and Ruby.
2.
Scripting Languages: These languages are used to automate repetitive
tasks, such as web development and system administration. Examples
include Perl, Python, and Ruby.
3.
12. Machine Language: Machine language is
the lowest-level programming language
that a computer can understand. It is a
binary code consisting of 0's and 1's that
correspond to machine instructions. Each
computer architecture has its specific
machine language, which is difficult to
read and write.
Low Level Programming Language
13. Assembly Language: Assembly
language is a low-level programming
language that is easier to read and
write than machine language.
Assembly language uses mnemonics
to represent machine instructions,
making it more human-readable.
Assembly language programs are
translated into machine language by
an assembler.
Low Level Programming Language
14. C: C is a high-level programming
language that can also be considered a
low-level language due to its low-level
memory access and pointer
manipulation capabilities. C provides
direct access to hardware, making it an
ideal choice for systems programming
and embedded systems development.
Low Level Programming Language
15. FORTRAN: FORTRAN (FORmula TRANslation)
is a high-level programming language that
was designed for scientific and engineering
applications. FORTRAN provides low-level
control over hardware, allowing for efficient
computation and numerical analysis.
Low Level Programming Language
16. High Level Programming Language
Java: Java is a high-level, object-oriented programming
language developed by Sun Microsystems (now owned
by Oracle Corporation). Java is designed to be platform-
independent, meaning that Java code can run on any
computer with a Java Virtual Machine (JVM) installed.
Java is widely used for developing web applications,
mobile apps, and enterprise software.
17. High Level Programming Language
Python: Python is a high-level, interpreted programming
language that emphasizes code readability and
simplicity. Python is widely used for scientific
computing, data analysis, web development, and
artificial intelligence.
18. High Level Programming Language
C++: C++ is an extension of the C programming language
that adds support for object-oriented programming. C++
is widely used for developing high-performance
software, including operating systems, games, and
scientific simulations.
19. High Level Programming Language
JavaScript: JavaScript is a high-level, interpreted
programming language that is widely used for
developing web applications. JavaScript runs in web
browsers and provides interactivity and dynamic
behavior to web pages.
20. High Level Programming Language
Ruby: Ruby is a high-level, interpreted programming
language that emphasizes simplicity and productivity.
Ruby is widely used for web development, automation,
and scripting.
21. High Level Programming Language
Swift: Swift is a high-level, compiled programming
language developed by Apple Inc. Swift is designed for
developing applications for iOS, macOS, and watchOS.
Swift is known for its safety, speed, and expressiveness.
22. High Level Programming Language
PHP: PHP is a server-side, interpreted programming
language that is widely used for developing web
applications. PHP is known for its simplicity and ease of
use, making it a popular choice for web developers.
23. High Level Programming Language
SQL: SQL (Structured Query Language) is a domain-
specific language used for managing relational
databases. SQL is used to create, modify, and query
databases, and is widely used in business and data
analysis.
27. computer programming model
that organizes software design
around data, or objects, rather
than functions and logic. An
object can be defined as a data
field that has unique attributes
and behavior.
28. Procedural programming is about writing procedures or methods that
perform operations on the data, while object-oriented programming is
about creating objects that contain both data and methods.
Object-oriented programming has several advantages over
procedural programming:
OOP is faster and easier to execute
OOP provides a clear structure for the programs
OOP helps to keep the Java code DRY "Don't Repeat Yourself",
and makes the code easier to maintain, modify and debug
OOP makes it possible to create full reusable applications with
less code and shorter development time
29. What is the structure of object-oriented programming?
Classes are user-defined data types that
act as the blueprint for individual objects,
attributes and methods.
30. What is the structure of object-oriented programming?
Objects are instances of a class created
with specifically defined data. Objects can
correspond to real-world objects or an
abstract entity. When class is defined
initially, the description is the only object
that is defined.
31. What is the structure of object-oriented programming?
Methods are functions that objects can
perform. They are defined inside a class
that describe the behaviors of an object.
Each method contained in class definitions
starts with a reference to an instance
object. Additionally, the subroutines
contained in an object are called instance
methods. Programmers use methods for
reusability or keeping functionality
encapsulated inside one object at a time.
32. What is the structure of object-oriented programming?
Attributes represent the state of an object.
In other words, they are the characteristics
that distinguish classes. Objects have data
stored in the attributes field. Class
attributes belong to the class itself and are
defined in the class template.
34. The main principles of OOP
The encapsulation principle states that all important information is
contained inside an object and only select information is exposed. The
implementation and state of each object are privately held inside a defined
class. Other objects do not have access to this class or the authority to
make changes. They are only able to call a list of public functions or
methods. This characteristic of data hiding provides greater program
security and avoids unintended data corruption.
Encapsuation
35. The main principles of OOP
Objects only reveal internal mechanisms that are relevant for the use of
other objects, hiding any unnecessary implementation code. The derived
class can have its functionality extended. This concept can help developers
more easily make additional changes or additions over time.
Abstraction
36. The main principles of OOP
Classes can reuse code and properties from other classes. Relationships
and subclasses between objects can be assigned, enabling developers to
reuse common logic, while still maintaining a unique hierarchy. Inheritance
forces more thorough data analysis, reduces development time and
ensures a higher level of accuracy.
Inheritance
37. The main principles of OOP
Objects are designed to share behaviors, and they can take on more than
one form. The program determines which meaning or usage is necessary for
each execution of that object from a parent class, reducing the need to
duplicate code. A child class is then created, which extends the
functionality of the parent class. Polymorphism enables different types of
objects to pass through the same interface
Polymorphism
39. Download and Install
Apache Netbeans IDE
netbeans.apache.org/front/main/download/
www.oracle.com/java/technologies/downloads/?er=221886
Java Development Kit
40. Every line of code that runs in Java must be inside a class. In our
example, we named the class Main. A class should always start
with an uppercase first letter.
Note: Java is case-sensitive: "MyClass" and "myclass"
has different meaning.
System.out.println()
println() method to print a line of text to the screen:
Java Syntax
public class Main {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
41. Java Variables
String - stores text, such as "Hello". String values are surrounded by
double quotes
int - stores integers (whole numbers), without decimals, such as 123
or -123
float - stores floating point numbers, with decimals, such as 19.99
or -19.99
char - stores single characters, such as 'a' or 'B'. Char values are
surrounded by single quotes
boolean - stores values with two states: true or false
42. OPERATOR NAME DESCRIPTION EXAMPLE
+ Addition Adds together two values x + y
- Subtraction Subtracts one value from another x - y
* Multiplication Multiplies two values x * y
/ Division Divides one value by another x / y
% Modulus Returns the division remainder x % y
Arithmetic Operations
ARITHMETIC OPERATORS ARE USED TO PERFORM COMMON MATHEMATICAL OPERATIONS.
43. Java supports the usual logical conditions from
mathematics:
Less than: a < b
Less than or equal to: a <= b
Greater than: a > b
Greater than or equal to: a >= b
Equal to a == b
Not Equal to: a != b
Conditional Statements:
Use if to specify a block of code to be executed, if a specified
condition is true
Use else to specify a block of code to be executed, if the same
condition is false
Use else if to specify a new condition to test, if the first
condition is false
Use switch to specify many alternative blocks of code to be
executed
Conditions
and
If Statements
if (condition) {
//block of code to be executed if
condition is true
}
44. Write a Java program to divide two numbers and print them on the screen.
Test Data :
50/3
Expected Output :
16
Write a Java program to print the results of the following operations.
Test Data:
a. -5 + 8 * 6
b. (55+9) % 9
c. 20 + -3*5 / 8
d. 5 + 15 / 3 * 2 - 8 % 3
Expected Output :
43
1
19
13
Write a Java program to print the sum of two numbers.
Test Data:
74 + 36
Expected Output :
110
Excercises
45. Write a Java program that takes two numbers as input and displays the product of two
numbers.
Test Data:
Input first number: 25
Input second number: 5
Expected Output :
25 x 5 = 125
Write a Java program to print the sum (addition), multiply, subtract, divide and
remainder of two numbers.
Test Data:
Input first number: 125
Input second number: 24
Expected Output :
125 + 24 = 149
125 - 24 = 101
125 x 24 = 3000
125 / 24 = 5
125 mod 24 = 5
Excercises
46. Write a Java program that compute the average of 3 number
Test Data :
80, 81, and 90
Expected Output :
The average of 80, 81, and 90 is 83.66
Write a Java program to print the results of Fahrenheit convert to celsius
Test Data:
120
Expected Output :
48.88
use this formula: (°F − 32) × 5/9 = °C
Write a Java program to print the area of rectangle
Test Data:
Lenght = 40 and Width = 70
Expected Output :
The area of L:40 and W:70 is 2800
Excercises