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
6th Power Grid Model Meetup
Join the Power Grid Model community for an exciting day of sharing experiences, learning from each other, planning, and collaborating.
This hybrid in-person/online event will include a full day agenda, with the opportunity to socialize afterwards for in-person attendees.
If you have a hackathon proposal, tell us when you register!
About Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
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.
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
6th Power Grid Model Meetup
Join the Power Grid Model community for an exciting day of sharing experiences, learning from each other, planning, and collaborating.
This hybrid in-person/online event will include a full day agenda, with the opportunity to socialize afterwards for in-person attendees.
If you have a hackathon proposal, tell us when you register!
About Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
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.
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.
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdfRejig Digital
Unlock the future of oil & gas safety with advanced environmental detection technologies that transform hazard monitoring and risk management. This presentation explores cutting-edge innovations that enhance workplace safety, protect critical assets, and ensure regulatory compliance in high-risk environments.
🔍 What You’ll Learn:
✅ How advanced sensors detect environmental threats in real-time for proactive hazard prevention
🔧 Integration of IoT and AI to enable rapid response and minimize incident impact
📡 Enhancing workforce protection through continuous monitoring and data-driven safety protocols
💡 Case studies highlighting successful deployment of environmental detection systems in oil & gas operations
Ideal for safety managers, operations leaders, and technology innovators in the oil & gas industry, this presentation offers practical insights and strategies to revolutionize safety standards and boost operational resilience.
👉 Learn more: https://www.rejigdigital.com/blog/continuous-monitoring-prevent-blowouts-well-control-issues/
Jira Administration Training – Day 1 : IntroductionRavi Teja
This presentation covers the basics of Jira for beginners. Learn how Jira works, its key features, project types, issue types, and user roles. Perfect for anyone new to Jira or preparing for Jira Admin roles.
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationChristine Shepherd
AI agents are reshaping logistics and supply chain operations by enabling automation, predictive insights, and real-time decision-making across key functions such as demand forecasting, inventory management, procurement, transportation, and warehouse operations. Powered by technologies like machine learning, NLP, computer vision, and robotic process automation, these agents deliver significant benefits including cost reduction, improved efficiency, greater visibility, and enhanced adaptability to market changes. While practical use cases show measurable gains in areas like dynamic routing and real-time inventory tracking, successful implementation requires careful integration with existing systems, quality data, and strategic scaling. Despite challenges such as data integration and change management, AI agents offer a strong competitive edge, with widespread industry adoption expected by 2025.
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.
Data Virtualization: Bringing the Power of FME to Any ApplicationSafe Software
Imagine building web applications or dashboards on top of all your systems. With FME’s new Data Virtualization feature, you can deliver the full CRUD (create, read, update, and delete) capabilities on top of all your data that exploit the full power of FME’s all data, any AI capabilities. Data Virtualization enables you to build OpenAPI compliant API endpoints using FME Form’s no-code development platform.
In this webinar, you’ll see how easy it is to turn complex data into real-time, usable REST API based services. We’ll walk through a real example of building a map-based app using FME’s Data Virtualization, and show you how to get started in your own environment – no dev team required.
What you’ll take away:
-How to build live applications and dashboards with federated data
-Ways to control what’s exposed: filter, transform, and secure responses
-How to scale access with caching, asynchronous web call support, with API endpoint level security.
-Where this fits in your stack: from web apps, to AI, to automation
Whether you’re building internal tools, public portals, or powering automation – this webinar is your starting point to real-time data delivery.
Presentation given at the LangChain community meetup London
https://lu.ma/9d5fntgj
Coveres
Agentic AI: Beyond the Buzz
Introduction to AI Agent and Agentic AI
Agent Use case and stats
Introduction to LangGraph
Build agent with LangGraph Studio V2
Boosting MySQL with Vector Search -THE VECTOR SEARCH CONFERENCE 2025 .pdfAlkin Tezuysal
As the demand for vector databases and Generative AI continues to rise, integrating vector storage and search capabilities into traditional databases has become increasingly important. This session introduces the *MyVector Plugin*, a project that brings native vector storage and similarity search to MySQL. Unlike PostgreSQL, which offers interfaces for adding new data types and index methods, MySQL lacks such extensibility. However, by utilizing MySQL's server component plugin and UDF, the *MyVector Plugin* successfully adds a fully functional vector search feature within the existing MySQL + InnoDB infrastructure, eliminating the need for a separate vector database. The session explains the technical aspects of integrating vector support into MySQL, the challenges posed by its architecture, and real-world use cases that showcase the advantages of combining vector search with MySQL's robust features. Attendees will leave with practical insights on how to add vector search capabilities to their MySQL systems.
Neural representations have shown the potential to accelerate ray casting in a conventional ray-tracing-based rendering pipeline. We introduce a novel approach called Locally-Subdivided Neural Intersection Function (LSNIF) that replaces bottom-level BVHs used as traditional geometric representations with a neural network. Our method introduces a sparse hash grid encoding scheme incorporating geometry voxelization, a scene-agnostic training data collection, and a tailored loss function. It enables the network to output not only visibility but also hit-point information and material indices. LSNIF can be trained offline for a single object, allowing us to use LSNIF as a replacement for its corresponding BVH. With these designs, the network can handle hit-point queries from any arbitrary viewpoint, supporting all types of rays in the rendering pipeline. We demonstrate that LSNIF can render a variety of scenes, including real-world scenes designed for other path tracers, while achieving a memory footprint reduction of up to 106.2x compared to a compressed BVH.
https://arxiv.org/abs/2504.21627
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...Anish Kumar
Presented by: Anish Kumar
LinkedIn: https://www.linkedin.com/in/anishkumar/
This lightning talk dives into real-world GenAI projects that scaled from prototype to production using Databricks’ fully managed tools. Facing cost and time constraints, we leveraged four key Databricks features—Workflows, Model Serving, Serverless Compute, and Notebooks—to build an AI inference pipeline processing millions of documents (text and audiobooks).
This approach enables rapid experimentation, easy tuning of GenAI prompts and compute settings, seamless data iteration and efficient quality testing—allowing Data Scientists and Engineers to collaborate effectively. Learn how to design modular, parameterized notebooks that run concurrently, manage dependencies and accelerate AI-driven insights.
Whether you're optimizing AI inference, automating complex data workflows or architecting next-gen serverless AI systems, this session delivers actionable strategies to maximize performance while keeping costs low.
Trends Artificial Intelligence - Mary MeekerClive Dickens
Mary Meeker’s 2024 AI report highlights a seismic shift in productivity, creativity, and business value driven by generative AI. She charts the rapid adoption of tools like ChatGPT and Midjourney, likening today’s moment to the dawn of the internet. The report emphasizes AI’s impact on knowledge work, software development, and personalized services—while also cautioning about data quality, ethical use, and the human-AI partnership. In short, Meeker sees AI as a transformative force accelerating innovation and redefining how we live and work.
TrustArc Webinar - 2025 Global Privacy SurveyTrustArc
How does your privacy program compare to your peers? What challenges are privacy teams tackling and prioritizing in 2025?
In the sixth annual Global Privacy Benchmarks Survey, we asked global privacy professionals and business executives to share their perspectives on privacy inside and outside their organizations. The annual report provides a 360-degree view of various industries' priorities, attitudes, and trends. See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar features an expert panel discussion and data-driven insights to help you navigate the shifting privacy landscape. Whether you are a privacy officer, legal professional, compliance specialist, or security expert, this session will provide actionable takeaways to strengthen your privacy strategy.
This webinar will review:
- The emerging trends in data protection, compliance, and risk
- The top challenges for privacy leaders, practitioners, and organizations in 2025
- The impact of evolving regulations and the crossroads with new technology, like AI
Predictions for the future of privacy in 2025 and beyond
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