SlideShare a Scribd company logo
1 of 41
Programming
Terminology
Including specialized terms from
Java, C++, C#, and Visual Basic.
- Michael Henson -
www.michaeljhenson.info
Algorithm
• A finite sequence of unambiguous
instructions which, when given the
required input, produces the correct
output and then stops.
• A sequence of the correct steps in the
correct order for solving a problem.
- Michael Henson -
www.michaeljhenson.info
Pseudocode
• An algorithm written in plain English
instructions and structured into a
code-like form.
• An intermediate step between natural
language and programming language.
- Michael Henson -
www.michaeljhenson.info
IDE
• Integrated Development Environment
• A set of software tools that work
together for designing, developing,
and troubleshooting programs.
• Usually includes a source code editor,
debugger, compiler, project management
features, and often much more.
- Michael Henson -
www.michaeljhenson.info
Variable
• A value stored in the computer’s
memory.
• All variables have:
– Name (how we reference it in code)
– Type (what type of data it stores)
– Value (what actual data value it has)
– Size (how many bits in memory)
- Michael Henson -
www.michaeljhenson.info
Precedence
• The priority of operators that
determines the order in which they
are evaluated.
• Higher precedence goes first.
• The precedence of operators in Java, C+
+, C#, and Visual Basic follows the same
mathematical rules as standard arithmetic.
- Michael Henson -
www.michaeljhenson.info
Control Structures
• Also called control statements.
• Code statements that determine how
control is transferred from one statement
to another.
• In structured programming, there are three
types:
1. Sequence – the steps go in the given order
2. Selection – branching; conditional “if” statements
3. Repetition – looping
- Michael Henson -
www.michaeljhenson.info
Selection Structures
• Control structures that evaluate a
condition to determine which
statement will be executed next.
• Also called branching statements or
conditional statements.
• Java, C++, C#: if, if/else, switch
• Visual Basic: If-Then, If-Then/Else,
Select Case
- Michael Henson -
www.michaeljhenson.info
Repetition Structures
• Loops -- control structures that evaluate a
condition to determine whether to repeat
a given block of code.
• In Java and C++: while, do/while, for
• In C#: All of the above, plus foreach
• In Visual Basic .NET: While, Do
While/Loop, Do/Loop While, Do
Until/Loop, Do/Loop Until, For/Next,
For Each/Next
- Michael Henson -
www.michaeljhenson.info
GUI
• Graphical User Interface
• An interface to a software program
consisting of visual, graphical
elements with which the user
interacts.
- Michael Henson -
www.michaeljhenson.info
Function
• A subroutine that returns a value
back to the caller.
• In C++, subroutines are sometimes called
functions even when they do not return a
value (void functions).
- Michael Henson -
www.michaeljhenson.info
Sub
• In Visual Basic, a procedure that
does not return a value to the
caller.
• In C++, we call this a void function.
• In Java, we call this a void method.
- Michael Henson -
www.michaeljhenson.info
Method
• A subroutine that is defined as a
member of a class.
• In C++, these are usually called member
functions.
• In Java, every subroutine is called a
method since they all must exist within the
bounds of a class.
- Michael Henson -
www.michaeljhenson.info
Parameters
• Values passed as input into a
procedure from the point where the
procedure is called. (Actual
parameters or arguments.)
• Variables declared in a procedure
header to hold values that are
passed in. (Formal parameters.)
- Michael Henson -
www.michaeljhenson.info
Signature
• The portion of a procedure header
containing the procedure’s name
and parameter list.
• Each procedure must have a unique
signature. That is, they must differ either
in name or in the number, type, or order of
their parameters.
- Michael Henson -
www.michaeljhenson.info
Pass by Value
• A way of passing parameters in
which a copy of the parameter’s
value is passed to the procedure.
• In Java, primitive variables are always
passed by value.
• In C++, this is the default behavior of
parameters unless otherwise specified.
• In VB, this is accomplished using ByVal.
- Michael Henson -
www.michaeljhenson.info
Pass by Reference
• A way of passing parameters in
which a reference to the original
variable is passed to the procedure.
• Objects are always passed by reference.
• In C++, primitive variables can be passed
as reference parameters by using &.
• In VB, this is accomplished using ByRef.
- Michael Henson -
www.michaeljhenson.info
Scope
• The portion of program code where
a particular identifier (variable,
function, etc.) may be referenced.
- Michael Henson -
www.michaeljhenson.info
Overloading
• Creating multiple procedures with
the same name but different
parameter lists.
- Michael Henson -
www.michaeljhenson.info
Data Structure
• A collection of memory locations
under one name that stores multiple
pieces of data.
• May be static (fixed size) or dynamic (can
grow and shrink).
- Michael Henson -
www.michaeljhenson.info
Array
• A static data structure in which the
elements, all of which are the same
data type, are accessed via the
array name and an integer
subscript.
• All elements of an array have the same
name and type.
- Michael Henson -
www.michaeljhenson.info
Sorting
• The process of putting a data
structure’s elements in order.
- Michael Henson -
www.michaeljhenson.info
Searching
• The process of looking through a
data structure to find a given key
value.
- Michael Henson -
www.michaeljhenson.info
Encapsulation
• Encapsulation is the bundling of data
with the program code that operates on it.
• Objects do this by containing data
members and methods in their class
definitions.
• Encapsulation enables information hiding.
- Michael Henson -
www.michaeljhenson.info
Information Hiding
• Information hiding is the ability to hide
implementation details from the outside
world. It enables objects to make things
available on a “need-to-know” basis and
helps to protect data from taking on invalid
values.
• Objects do this by containing data and
methods that are marked public, private,
or some level in between.
- Michael Henson -
www.michaeljhenson.info
Constructor
• A special method that is called
automatically upon the creation of
an object to initialize that object’s
data and prepare it for use.
• In Java, C++, and C#, the constructor
always has the same name as the class it
constructs.
• In VB, the constructor is always Sub New.
- Michael Henson -
www.michaeljhenson.info
Accessor
• A procedure for accessing an
object’s private data.
• Sometimes called getters (for retrieving
values) and setters (for setting values).
• In VB and C#, get and set accessors can
be paired in Property methods.
- Michael Henson -
www.michaeljhenson.info
Class
• The definition of a certain type of object
or group of objects. A class defines what is
required for a certain object to exist.
• Declares the properties that describe an object
and the behaviors of which an object is capable.
• An object-oriented program is made of class
definitions which declare variables that
represent an object’s attributes (data members)
and the functions that determine an object’s
behaviors (methods).
- Michael Henson -
www.michaeljhenson.info
Object
• An object is a “thing” that has attributes
and behaviors. It’s an instance of a
class.
• A common analogy: If a class is the
blueprint for a house, then an object is the
actual house that was built from the
blueprint.
- Michael Henson -
www.michaeljhenson.info
Composition
• A relationship between objects in
which one object is composed of
another object.
• For this reason, composition is sometimes
called “aggregation” or a “has-a”
relationship.
• Classes do this by containing object
variables as data members.
- Michael Henson -
www.michaeljhenson.info
Inheritance
• A relationship between classes in
which one class automatically
absorbs all of the properties and
behaviors of another class.
• Inheritance creates an “is-a”
relationship between the child and
parent classes.
- Michael Henson -
www.michaeljhenson.info
Overriding
• Overriding happens when a class
inherits a method from its parent
and then replaces that method with
an alternate implementation of it.
• Overriding can be thought of as
“redefining”
- Michael Henson -
www.michaeljhenson.info
Access Modifier
• A keyword that specifies which
parts of the code have access to a
particular class member.
• See language-specific modifiers on
following slides.
- Michael Henson -
www.michaeljhenson.info
VB Access Modifiers
Modifier: Allows access to:
Public Anyone who has an
object of the class
Protected Subclasses
Friend Other classes in the
same assembly
Private Code within the same
class only
- Michael Henson -
www.michaeljhenson.info
C# Access Modifiers
Modifier: Allows access to:
public Anyone who has an
object of the class
protected Subclasses
internal Other classes in the
same assembly
private Code within the same
class only
- Michael Henson -
www.michaeljhenson.info
Java Access Modifiers
Modifier: Allows access to:
public Anyone who has an
object of the class
(default package
access)
Subclasses and classes
in the same package
protected Subclasses
private Code within the same
class only- Michael Henson -
www.michaeljhenson.info
C++ Access Modifiers
Modifier: Allows access to:
public Anyone who has an
object of the class
protected Subclasses
private Code within the same
class only
- Michael Henson -
www.michaeljhenson.info
Polymorphism
• The ability of different types of
objects related by inheritance to
respond differently to the same
method call.
• This is made possible by the fact that
classes inherit methods from their parents
and can then override those methods.
- Michael Henson -
www.michaeljhenson.info
Abstract Class
• An “incomplete” class; one that
cannot be instantiated; one that
usually contains abstract methods
and is intended to be used as a
base class only.
• Abstract classes are one way of inheriting
an interface without necessarily inheriting
a specific implementation.
- Michael Henson -
www.michaeljhenson.info
Abstract Method
• A method that is only declared, but
left undefined.
• An abstract method is intended to be
overridden in subclasses.
• In C++, abstract methods are called pure
virtual functions.
- Michael Henson -
www.michaeljhenson.info
To Be Continued…
- Michael Henson -
www.michaeljhenson.info

More Related Content

What's hot

What's hot (20)

Algorithm and c language
Algorithm and c languageAlgorithm and c language
Algorithm and c language
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS Concept
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
C++ programming
C++ programmingC++ programming
C++ programming
 
Polymorphism in oop
Polymorphism in oopPolymorphism in oop
Polymorphism in oop
 
What are variables and keywords in c++
What are variables and keywords in c++What are variables and keywords in c++
What are variables and keywords in c++
 
Decision properties of reular languages
Decision properties of reular languagesDecision properties of reular languages
Decision properties of reular languages
 
Parsing (Automata)
Parsing (Automata)Parsing (Automata)
Parsing (Automata)
 
Function
FunctionFunction
Function
 
Linker and Loader
Linker and Loader Linker and Loader
Linker and Loader
 
C language unit-1
C language unit-1C language unit-1
C language unit-1
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 
Event+driven+programming key+features
Event+driven+programming key+featuresEvent+driven+programming key+features
Event+driven+programming key+features
 
Expression evaluation
Expression evaluationExpression evaluation
Expression evaluation
 
Function C programming
Function C programmingFunction C programming
Function C programming
 
Access specifiers(modifiers) in java
Access specifiers(modifiers) in javaAccess specifiers(modifiers) in java
Access specifiers(modifiers) in java
 
BNF & EBNF
BNF & EBNFBNF & EBNF
BNF & EBNF
 
Java(Polymorphism)
Java(Polymorphism)Java(Polymorphism)
Java(Polymorphism)
 
Data Type Conversion in C++
Data Type Conversion in C++Data Type Conversion in C++
Data Type Conversion in C++
 
Variables in C++, data types in c++
Variables in C++, data types in c++Variables in C++, data types in c++
Variables in C++, data types in c++
 

Viewers also liked

Can you learn to love? The science and experience of human attachment
Can you learn to love? The science and experience of human attachmentCan you learn to love? The science and experience of human attachment
Can you learn to love? The science and experience of human attachmentDr. Jonathan Mall
 
Girls vs boys
Girls vs boysGirls vs boys
Girls vs boyscarlyrelf
 
2017 Avvo Modern Love and Relationship Study
2017 Avvo Modern Love and Relationship Study2017 Avvo Modern Love and Relationship Study
2017 Avvo Modern Love and Relationship StudyAvvo
 
Kinds Of Love Relationships
Kinds Of Love RelationshipsKinds Of Love Relationships
Kinds Of Love Relationshipsvik coolboy
 
Stages in Love Relationship
Stages in Love RelationshipStages in Love Relationship
Stages in Love RelationshipEdz Gapuz
 
Difference between C++ and Java
Difference between C++ and JavaDifference between C++ and Java
Difference between C++ and JavaAjmal Ak
 
02a fundamental c++ types, arithmetic
02a   fundamental c++ types, arithmetic 02a   fundamental c++ types, arithmetic
02a fundamental c++ types, arithmetic Manzoor ALam
 
Stages of love/Neurochemistry of Love
Stages of love/Neurochemistry of LoveStages of love/Neurochemistry of Love
Stages of love/Neurochemistry of LoveEssence
 
Computer science principals in terms of Programming
Computer science principals in terms of ProgrammingComputer science principals in terms of Programming
Computer science principals in terms of ProgrammingUmair Jameel
 
difference between c c++ c#
difference between c c++ c#difference between c c++ c#
difference between c c++ c#Sireesh K
 
Functional programming with haskell
Functional programming with haskellFunctional programming with haskell
Functional programming with haskellfaradjpour
 
A Brief Introduction to Object-Orientation (The Light Version)
A Brief Introduction to Object-Orientation (The Light Version)A Brief Introduction to Object-Orientation (The Light Version)
A Brief Introduction to Object-Orientation (The Light Version)Michael Henson
 
Flare APIs Overview
Flare APIs OverviewFlare APIs Overview
Flare APIs OverviewCisco DevNet
 
SEO: Core Understanding, Solid Strategy & Advanced Tactics
SEO: Core Understanding, Solid Strategy & Advanced TacticsSEO: Core Understanding, Solid Strategy & Advanced Tactics
SEO: Core Understanding, Solid Strategy & Advanced TacticsIslamAmeen
 
Design, Innovate, Digitize. Developing Skills to Solve Future Problems.
Design, Innovate, Digitize. Developing Skills to Solve Future Problems.Design, Innovate, Digitize. Developing Skills to Solve Future Problems.
Design, Innovate, Digitize. Developing Skills to Solve Future Problems.Cisco DevNet
 

Viewers also liked (19)

Java Technicalities
Java TechnicalitiesJava Technicalities
Java Technicalities
 
Can you learn to love? The science and experience of human attachment
Can you learn to love? The science and experience of human attachmentCan you learn to love? The science and experience of human attachment
Can you learn to love? The science and experience of human attachment
 
Girls vs boys
Girls vs boysGirls vs boys
Girls vs boys
 
2017 Avvo Modern Love and Relationship Study
2017 Avvo Modern Love and Relationship Study2017 Avvo Modern Love and Relationship Study
2017 Avvo Modern Love and Relationship Study
 
Kinds Of Love Relationships
Kinds Of Love RelationshipsKinds Of Love Relationships
Kinds Of Love Relationships
 
Stages in Love Relationship
Stages in Love RelationshipStages in Love Relationship
Stages in Love Relationship
 
Difference between C++ and Java
Difference between C++ and JavaDifference between C++ and Java
Difference between C++ and Java
 
02a fundamental c++ types, arithmetic
02a   fundamental c++ types, arithmetic 02a   fundamental c++ types, arithmetic
02a fundamental c++ types, arithmetic
 
Stages of love/Neurochemistry of Love
Stages of love/Neurochemistry of LoveStages of love/Neurochemistry of Love
Stages of love/Neurochemistry of Love
 
Computer science principals in terms of Programming
Computer science principals in terms of ProgrammingComputer science principals in terms of Programming
Computer science principals in terms of Programming
 
difference between c c++ c#
difference between c c++ c#difference between c c++ c#
difference between c c++ c#
 
CHAPTER 1
CHAPTER 1CHAPTER 1
CHAPTER 1
 
Ppt of c++ vs c#
Ppt of c++ vs c#Ppt of c++ vs c#
Ppt of c++ vs c#
 
Functional programming with haskell
Functional programming with haskellFunctional programming with haskell
Functional programming with haskell
 
A Brief Introduction to Object-Orientation (The Light Version)
A Brief Introduction to Object-Orientation (The Light Version)A Brief Introduction to Object-Orientation (The Light Version)
A Brief Introduction to Object-Orientation (The Light Version)
 
Flare APIs Overview
Flare APIs OverviewFlare APIs Overview
Flare APIs Overview
 
BiodataTps15
BiodataTps15BiodataTps15
BiodataTps15
 
SEO: Core Understanding, Solid Strategy & Advanced Tactics
SEO: Core Understanding, Solid Strategy & Advanced TacticsSEO: Core Understanding, Solid Strategy & Advanced Tactics
SEO: Core Understanding, Solid Strategy & Advanced Tactics
 
Design, Innovate, Digitize. Developing Skills to Solve Future Problems.
Design, Innovate, Digitize. Developing Skills to Solve Future Problems.Design, Innovate, Digitize. Developing Skills to Solve Future Problems.
Design, Innovate, Digitize. Developing Skills to Solve Future Problems.
 

Similar to Programming Terminology

Apache Cayenne for WO Devs
Apache Cayenne for WO DevsApache Cayenne for WO Devs
Apache Cayenne for WO DevsWO Community
 
Object Oriented Programming Tutorial.pptx
Object Oriented Programming Tutorial.pptxObject Oriented Programming Tutorial.pptx
Object Oriented Programming Tutorial.pptxethiouniverse
 
Java 102 intro to object-oriented programming in java
Java 102   intro to object-oriented programming in javaJava 102   intro to object-oriented programming in java
Java 102 intro to object-oriented programming in javaagorolabs
 
Javascript classes and scoping
Javascript classes and scopingJavascript classes and scoping
Javascript classes and scopingPatrick Sheridan
 
PHP - Introduction to Object Oriented Programming with PHP
PHP -  Introduction to  Object Oriented Programming with PHPPHP -  Introduction to  Object Oriented Programming with PHP
PHP - Introduction to Object Oriented Programming with PHPVibrant Technologies & Computers
 
Agile Secure Cloud Application Development Management
Agile Secure Cloud Application Development ManagementAgile Secure Cloud Application Development Management
Agile Secure Cloud Application Development ManagementAdam Getchell
 
Advanced Java Testing @ POSS 2019
Advanced Java Testing @ POSS 2019Advanced Java Testing @ POSS 2019
Advanced Java Testing @ POSS 2019Vincent Massol
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Hemlathadhevi Annadhurai
 
33rd degree talk: open and automatic coding conventions with walkmod
33rd degree talk: open and automatic coding conventions with walkmod33rd degree talk: open and automatic coding conventions with walkmod
33rd degree talk: open and automatic coding conventions with walkmodwalkmod
 
SystemVerilog_Classes.pdf
SystemVerilog_Classes.pdfSystemVerilog_Classes.pdf
SystemVerilog_Classes.pdfssusere9cd04
 
A Notes Developer's Journey into Java
A Notes Developer's Journey into JavaA Notes Developer's Journey into Java
A Notes Developer's Journey into JavaTeamstudio
 
NLP and Deep Learning for non_experts
NLP and Deep Learning for non_expertsNLP and Deep Learning for non_experts
NLP and Deep Learning for non_expertsSanghamitra Deb
 
Summer Training Project On C++
Summer Training Project On  C++Summer Training Project On  C++
Summer Training Project On C++KAUSHAL KUMAR JHA
 

Similar to Programming Terminology (20)

CPP15 - Inheritance
CPP15 - InheritanceCPP15 - Inheritance
CPP15 - Inheritance
 
Apache Cayenne for WO Devs
Apache Cayenne for WO DevsApache Cayenne for WO Devs
Apache Cayenne for WO Devs
 
Object Oriented Programming Tutorial.pptx
Object Oriented Programming Tutorial.pptxObject Oriented Programming Tutorial.pptx
Object Oriented Programming Tutorial.pptx
 
SEppt
SEpptSEppt
SEppt
 
Java 102 intro to object-oriented programming in java
Java 102   intro to object-oriented programming in javaJava 102   intro to object-oriented programming in java
Java 102 intro to object-oriented programming in java
 
Javascript classes and scoping
Javascript classes and scopingJavascript classes and scoping
Javascript classes and scoping
 
PHP - Introduction to Object Oriented Programming with PHP
PHP -  Introduction to  Object Oriented Programming with PHPPHP -  Introduction to  Object Oriented Programming with PHP
PHP - Introduction to Object Oriented Programming with PHP
 
Agile Secure Cloud Application Development Management
Agile Secure Cloud Application Development ManagementAgile Secure Cloud Application Development Management
Agile Secure Cloud Application Development Management
 
Java_notes.ppt
Java_notes.pptJava_notes.ppt
Java_notes.ppt
 
Advanced Java Testing @ POSS 2019
Advanced Java Testing @ POSS 2019Advanced Java Testing @ POSS 2019
Advanced Java Testing @ POSS 2019
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
 
33rd degree talk: open and automatic coding conventions with walkmod
33rd degree talk: open and automatic coding conventions with walkmod33rd degree talk: open and automatic coding conventions with walkmod
33rd degree talk: open and automatic coding conventions with walkmod
 
OOPS Characteristics
OOPS CharacteristicsOOPS Characteristics
OOPS Characteristics
 
SystemVerilog_Classes.pdf
SystemVerilog_Classes.pdfSystemVerilog_Classes.pdf
SystemVerilog_Classes.pdf
 
Bn1038 demo pega
Bn1038 demo  pegaBn1038 demo  pega
Bn1038 demo pega
 
A Notes Developer's Journey into Java
A Notes Developer's Journey into JavaA Notes Developer's Journey into Java
A Notes Developer's Journey into Java
 
NLP and Deep Learning for non_experts
NLP and Deep Learning for non_expertsNLP and Deep Learning for non_experts
NLP and Deep Learning for non_experts
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Summer Training Project On C++
Summer Training Project On  C++Summer Training Project On  C++
Summer Training Project On C++
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Programming Terminology

  • 1. Programming Terminology Including specialized terms from Java, C++, C#, and Visual Basic. - Michael Henson - www.michaeljhenson.info
  • 2. Algorithm • A finite sequence of unambiguous instructions which, when given the required input, produces the correct output and then stops. • A sequence of the correct steps in the correct order for solving a problem. - Michael Henson - www.michaeljhenson.info
  • 3. Pseudocode • An algorithm written in plain English instructions and structured into a code-like form. • An intermediate step between natural language and programming language. - Michael Henson - www.michaeljhenson.info
  • 4. IDE • Integrated Development Environment • A set of software tools that work together for designing, developing, and troubleshooting programs. • Usually includes a source code editor, debugger, compiler, project management features, and often much more. - Michael Henson - www.michaeljhenson.info
  • 5. Variable • A value stored in the computer’s memory. • All variables have: – Name (how we reference it in code) – Type (what type of data it stores) – Value (what actual data value it has) – Size (how many bits in memory) - Michael Henson - www.michaeljhenson.info
  • 6. Precedence • The priority of operators that determines the order in which they are evaluated. • Higher precedence goes first. • The precedence of operators in Java, C+ +, C#, and Visual Basic follows the same mathematical rules as standard arithmetic. - Michael Henson - www.michaeljhenson.info
  • 7. Control Structures • Also called control statements. • Code statements that determine how control is transferred from one statement to another. • In structured programming, there are three types: 1. Sequence – the steps go in the given order 2. Selection – branching; conditional “if” statements 3. Repetition – looping - Michael Henson - www.michaeljhenson.info
  • 8. Selection Structures • Control structures that evaluate a condition to determine which statement will be executed next. • Also called branching statements or conditional statements. • Java, C++, C#: if, if/else, switch • Visual Basic: If-Then, If-Then/Else, Select Case - Michael Henson - www.michaeljhenson.info
  • 9. Repetition Structures • Loops -- control structures that evaluate a condition to determine whether to repeat a given block of code. • In Java and C++: while, do/while, for • In C#: All of the above, plus foreach • In Visual Basic .NET: While, Do While/Loop, Do/Loop While, Do Until/Loop, Do/Loop Until, For/Next, For Each/Next - Michael Henson - www.michaeljhenson.info
  • 10. GUI • Graphical User Interface • An interface to a software program consisting of visual, graphical elements with which the user interacts. - Michael Henson - www.michaeljhenson.info
  • 11. Function • A subroutine that returns a value back to the caller. • In C++, subroutines are sometimes called functions even when they do not return a value (void functions). - Michael Henson - www.michaeljhenson.info
  • 12. Sub • In Visual Basic, a procedure that does not return a value to the caller. • In C++, we call this a void function. • In Java, we call this a void method. - Michael Henson - www.michaeljhenson.info
  • 13. Method • A subroutine that is defined as a member of a class. • In C++, these are usually called member functions. • In Java, every subroutine is called a method since they all must exist within the bounds of a class. - Michael Henson - www.michaeljhenson.info
  • 14. Parameters • Values passed as input into a procedure from the point where the procedure is called. (Actual parameters or arguments.) • Variables declared in a procedure header to hold values that are passed in. (Formal parameters.) - Michael Henson - www.michaeljhenson.info
  • 15. Signature • The portion of a procedure header containing the procedure’s name and parameter list. • Each procedure must have a unique signature. That is, they must differ either in name or in the number, type, or order of their parameters. - Michael Henson - www.michaeljhenson.info
  • 16. Pass by Value • A way of passing parameters in which a copy of the parameter’s value is passed to the procedure. • In Java, primitive variables are always passed by value. • In C++, this is the default behavior of parameters unless otherwise specified. • In VB, this is accomplished using ByVal. - Michael Henson - www.michaeljhenson.info
  • 17. Pass by Reference • A way of passing parameters in which a reference to the original variable is passed to the procedure. • Objects are always passed by reference. • In C++, primitive variables can be passed as reference parameters by using &. • In VB, this is accomplished using ByRef. - Michael Henson - www.michaeljhenson.info
  • 18. Scope • The portion of program code where a particular identifier (variable, function, etc.) may be referenced. - Michael Henson - www.michaeljhenson.info
  • 19. Overloading • Creating multiple procedures with the same name but different parameter lists. - Michael Henson - www.michaeljhenson.info
  • 20. Data Structure • A collection of memory locations under one name that stores multiple pieces of data. • May be static (fixed size) or dynamic (can grow and shrink). - Michael Henson - www.michaeljhenson.info
  • 21. Array • A static data structure in which the elements, all of which are the same data type, are accessed via the array name and an integer subscript. • All elements of an array have the same name and type. - Michael Henson - www.michaeljhenson.info
  • 22. Sorting • The process of putting a data structure’s elements in order. - Michael Henson - www.michaeljhenson.info
  • 23. Searching • The process of looking through a data structure to find a given key value. - Michael Henson - www.michaeljhenson.info
  • 24. Encapsulation • Encapsulation is the bundling of data with the program code that operates on it. • Objects do this by containing data members and methods in their class definitions. • Encapsulation enables information hiding. - Michael Henson - www.michaeljhenson.info
  • 25. Information Hiding • Information hiding is the ability to hide implementation details from the outside world. It enables objects to make things available on a “need-to-know” basis and helps to protect data from taking on invalid values. • Objects do this by containing data and methods that are marked public, private, or some level in between. - Michael Henson - www.michaeljhenson.info
  • 26. Constructor • A special method that is called automatically upon the creation of an object to initialize that object’s data and prepare it for use. • In Java, C++, and C#, the constructor always has the same name as the class it constructs. • In VB, the constructor is always Sub New. - Michael Henson - www.michaeljhenson.info
  • 27. Accessor • A procedure for accessing an object’s private data. • Sometimes called getters (for retrieving values) and setters (for setting values). • In VB and C#, get and set accessors can be paired in Property methods. - Michael Henson - www.michaeljhenson.info
  • 28. Class • The definition of a certain type of object or group of objects. A class defines what is required for a certain object to exist. • Declares the properties that describe an object and the behaviors of which an object is capable. • An object-oriented program is made of class definitions which declare variables that represent an object’s attributes (data members) and the functions that determine an object’s behaviors (methods). - Michael Henson - www.michaeljhenson.info
  • 29. Object • An object is a “thing” that has attributes and behaviors. It’s an instance of a class. • A common analogy: If a class is the blueprint for a house, then an object is the actual house that was built from the blueprint. - Michael Henson - www.michaeljhenson.info
  • 30. Composition • A relationship between objects in which one object is composed of another object. • For this reason, composition is sometimes called “aggregation” or a “has-a” relationship. • Classes do this by containing object variables as data members. - Michael Henson - www.michaeljhenson.info
  • 31. Inheritance • A relationship between classes in which one class automatically absorbs all of the properties and behaviors of another class. • Inheritance creates an “is-a” relationship between the child and parent classes. - Michael Henson - www.michaeljhenson.info
  • 32. Overriding • Overriding happens when a class inherits a method from its parent and then replaces that method with an alternate implementation of it. • Overriding can be thought of as “redefining” - Michael Henson - www.michaeljhenson.info
  • 33. Access Modifier • A keyword that specifies which parts of the code have access to a particular class member. • See language-specific modifiers on following slides. - Michael Henson - www.michaeljhenson.info
  • 34. VB Access Modifiers Modifier: Allows access to: Public Anyone who has an object of the class Protected Subclasses Friend Other classes in the same assembly Private Code within the same class only - Michael Henson - www.michaeljhenson.info
  • 35. C# Access Modifiers Modifier: Allows access to: public Anyone who has an object of the class protected Subclasses internal Other classes in the same assembly private Code within the same class only - Michael Henson - www.michaeljhenson.info
  • 36. Java Access Modifiers Modifier: Allows access to: public Anyone who has an object of the class (default package access) Subclasses and classes in the same package protected Subclasses private Code within the same class only- Michael Henson - www.michaeljhenson.info
  • 37. C++ Access Modifiers Modifier: Allows access to: public Anyone who has an object of the class protected Subclasses private Code within the same class only - Michael Henson - www.michaeljhenson.info
  • 38. Polymorphism • The ability of different types of objects related by inheritance to respond differently to the same method call. • This is made possible by the fact that classes inherit methods from their parents and can then override those methods. - Michael Henson - www.michaeljhenson.info
  • 39. Abstract Class • An “incomplete” class; one that cannot be instantiated; one that usually contains abstract methods and is intended to be used as a base class only. • Abstract classes are one way of inheriting an interface without necessarily inheriting a specific implementation. - Michael Henson - www.michaeljhenson.info
  • 40. Abstract Method • A method that is only declared, but left undefined. • An abstract method is intended to be overridden in subclasses. • In C++, abstract methods are called pure virtual functions. - Michael Henson - www.michaeljhenson.info
  • 41. To Be Continued… - Michael Henson - www.michaeljhenson.info