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 (20)

Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
Object-oriented concepts
Object-oriented conceptsObject-oriented concepts
Object-oriented concepts
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
Compilers
CompilersCompilers
Compilers
 
Files in c++ ppt
Files in c++ pptFiles in c++ ppt
Files in c++ ppt
 
Our presentation on algorithm design
Our presentation on algorithm designOur presentation on algorithm design
Our presentation on algorithm design
 
Types Of Operating Systems
Types Of Operating SystemsTypes Of Operating Systems
Types Of Operating Systems
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
 
Python recursion
Python recursionPython recursion
Python recursion
 
Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsAlgorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to Algorithms
 
Jsp ppt
Jsp pptJsp ppt
Jsp ppt
 
PHP FUNCTIONS
PHP FUNCTIONSPHP FUNCTIONS
PHP FUNCTIONS
 
Features of java
Features of javaFeatures of java
Features of java
 
Modular programming
Modular programmingModular programming
Modular programming
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
structured programming
structured programmingstructured programming
structured programming
 
VB.net
VB.netVB.net
VB.net
 

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
 
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
 
JavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGIJavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGIAashish Jain
 

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
 
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++
 
JavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGIJavaScript, VBScript, AJAX, CGI
JavaScript, VBScript, AJAX, CGI
 

Recently uploaded

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

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