SlideShare a Scribd company logo
Programming Terms & Concepts
CIT-111, Intro to Programming: Java
Overview of Terms:
● Computer Program
● Algorithm
● Machine vs. Programming Languages
● Key Words
● Operators
● Punctuation
● Programmer-Defined Names
● Syntax
● Statement
Starting Out:
● Computer Program:
○ Instructions given to a computer to complete a task
or figure out a problem
○ Note: We really have to spell it out too - Cannot make
assumptions the computer will know what you mean.
● Algorithm:
○ The defined steps for performing a task or
completing a problem
○ See the video from Khan Academy here
● Being knowledgeable about the two above
concepts helps with understanding why and
how we work with programming languages.
Languages
● Machine Language:
○ The broken down code into the base language of the computer
○ Will look like binary, and difficult to read/write for humans
○ One machine’s language may not be the same as another
● Programming Language:
○ Humanized, made so humans could write the directions and
then have the computer translate it into machine language
○ Numerous programming languages available for programmers
today
Many programming languages share the same concepts and frameworks
(i.e. a variable is a variable). If you can get these concepts down, it is just a
matter of learning the syntax of new languages.
Writing the Programs:
● Key Words (aka Reserved Words):
○ Words defined by the programming language to have special
meaning and use
○ These can not be programmer-defined and programmers must be
careful to not use these words as variable names, function
names, etc.
● Operators:
○ Symbols or words that perform operations on one or more
operands
○ For example: area = length * width, where =, and * are operators
● Punctuation:
○ In many languages, punctuation acts as a means to end
statements in the language, or to denote start/ending of things
such as arrays, functions, etc.
Writing the Program:
● Programmer Defined Names (aka identifiers):
○ Programmer created names for elements of a program
○ These elements are often used for storage, repeatable
directions so the programmer can call them through the
language
○ An example is a variable, which is a means of storing
information, where I might say:
int total = 500;
■ The term total is made up by me (the programmer)
● Syntax:
○ This is the set of rules that define the programming language
and must be followed
○ If not followed, the odds are good your program will begin to
output errors and not function correctly
Writing the Program:
● Statement:
○ Think of these like sentences - it is a complete instruction to
have the computer perform an action.
○ Example:
■ System.out.println(“Hello World!”);
○ In Java - Note the semicolon at the end, that is how we know
the statement has ended

More Related Content

PPTX
Building your first webpage
PPTX
Programming Process
PPTX
Thinking like a Programmer
PPTX
Chapter 2 Benefits of Learning to Code
PPTX
Chapter 3 what is programming
PPTX
Frontend 101 Initializing a Frontend Project using React
ODT
(6) cpp abstractions inheritance_part_i_exercises
PPTX
GSoC improvements on plonecli
Building your first webpage
Programming Process
Thinking like a Programmer
Chapter 2 Benefits of Learning to Code
Chapter 3 what is programming
Frontend 101 Initializing a Frontend Project using React
(6) cpp abstractions inheritance_part_i_exercises
GSoC improvements on plonecli

What's hot (20)

PDF
Assignment A: Writing a Business Plan
PDF
Lecture 1 what_is_programming_language
PPTX
Coding vs programming
PPT
Programming language
PDF
Preparing for a .Net Interview
PPTX
learning html
PPTX
Demystifying software development
ODP
Building languages with Kotlin
PDF
Building languages with Kotlin
ODP
How to code
PPTX
Drupal 7 with php unit
PPT
Chrysalis day-c++
PPTX
7 best AI tools in 2020
PPTX
Basic programming and data structure
ODP
[EclipseCon France 2017] Eclipse Platform Generic Editor
PDF
Paradigms programming from functional to multi-agent dataflow
ODP
Let's go
PPTX
Introduction to Coding Dojos
PDF
Functional rotterdam-20-09-16
PPTX
Developing
Assignment A: Writing a Business Plan
Lecture 1 what_is_programming_language
Coding vs programming
Programming language
Preparing for a .Net Interview
learning html
Demystifying software development
Building languages with Kotlin
Building languages with Kotlin
How to code
Drupal 7 with php unit
Chrysalis day-c++
7 best AI tools in 2020
Basic programming and data structure
[EclipseCon France 2017] Eclipse Platform Generic Editor
Paradigms programming from functional to multi-agent dataflow
Let's go
Introduction to Coding Dojos
Functional rotterdam-20-09-16
Developing
Ad

Similar to Programming terms & concepts - Using Java (20)

PDF
Introduction to computer programming language
PDF
Computer programing 111 lecture 1
PPTX
IT ppt (Computer Languages).ppt, computer languages
PDF
Programming languages and concepts by vivek parihar
PPTX
Lesson 1 Computer Program (INTRO TO JAVA)
PPTX
Cp 111 lecture 2
PPTX
Computer programing 111 lecture 2
PDF
C programme presentation
PDF
Computer programming programming_langugages
PDF
POLITEKNIK MALAYSIA
PDF
C Programming - Refresher - Part I
PPT
Introduction Programming Languages
PDF
C_Dayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy1.pdf
PPTX
C programming
PPTX
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
PPTX
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
PPTX
INTRODUCTION TO COMPUTER PROGRAMMING.pptx
PPTX
PROG0101_CH02.pptx
PPTX
C Course material
PPT
English de lenguaje de programacion
Introduction to computer programming language
Computer programing 111 lecture 1
IT ppt (Computer Languages).ppt, computer languages
Programming languages and concepts by vivek parihar
Lesson 1 Computer Program (INTRO TO JAVA)
Cp 111 lecture 2
Computer programing 111 lecture 2
C programme presentation
Computer programming programming_langugages
POLITEKNIK MALAYSIA
C Programming - Refresher - Part I
Introduction Programming Languages
C_Dayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy1.pdf
C programming
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
INTRODUCTION TO COMPUTER PROGRAMMING.pptx
PROG0101_CH02.pptx
C Course material
English de lenguaje de programacion
Ad

More from Rebecca DuPont, PhD (7)

PPTX
PPTX
Typography and Web Design
PPTX
Typography and Web Design
PPTX
Introduction to 3D Terminology
PPTX
Downloading and Submitting Results
PPTX
PPTX
Practicing Typing - An Overview
Typography and Web Design
Typography and Web Design
Introduction to 3D Terminology
Downloading and Submitting Results
Practicing Typing - An Overview

Recently uploaded (20)

PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Basic Mud Logging Guide for educational purpose
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
RMMM.pdf make it easy to upload and study
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Classroom Observation Tools for Teachers
human mycosis Human fungal infections are called human mycosis..pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
Basic Mud Logging Guide for educational purpose
VCE English Exam - Section C Student Revision Booklet
Final Presentation General Medicine 03-08-2024.pptx
O7-L3 Supply Chain Operations - ICLT Program
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Types and Its function , kingdom of life
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial disease of the cardiovascular and lymphatic systems
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPH.pptx obstetrics and gynecology in nursing
O5-L3 Freight Transport Ops (International) V1.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Classroom Observation Tools for Teachers

Programming terms & concepts - Using Java

  • 1. Programming Terms & Concepts CIT-111, Intro to Programming: Java
  • 2. Overview of Terms: ● Computer Program ● Algorithm ● Machine vs. Programming Languages ● Key Words ● Operators ● Punctuation ● Programmer-Defined Names ● Syntax ● Statement
  • 3. Starting Out: ● Computer Program: ○ Instructions given to a computer to complete a task or figure out a problem ○ Note: We really have to spell it out too - Cannot make assumptions the computer will know what you mean. ● Algorithm: ○ The defined steps for performing a task or completing a problem ○ See the video from Khan Academy here ● Being knowledgeable about the two above concepts helps with understanding why and how we work with programming languages.
  • 4. Languages ● Machine Language: ○ The broken down code into the base language of the computer ○ Will look like binary, and difficult to read/write for humans ○ One machine’s language may not be the same as another ● Programming Language: ○ Humanized, made so humans could write the directions and then have the computer translate it into machine language ○ Numerous programming languages available for programmers today Many programming languages share the same concepts and frameworks (i.e. a variable is a variable). If you can get these concepts down, it is just a matter of learning the syntax of new languages.
  • 5. Writing the Programs: ● Key Words (aka Reserved Words): ○ Words defined by the programming language to have special meaning and use ○ These can not be programmer-defined and programmers must be careful to not use these words as variable names, function names, etc. ● Operators: ○ Symbols or words that perform operations on one or more operands ○ For example: area = length * width, where =, and * are operators ● Punctuation: ○ In many languages, punctuation acts as a means to end statements in the language, or to denote start/ending of things such as arrays, functions, etc.
  • 6. Writing the Program: ● Programmer Defined Names (aka identifiers): ○ Programmer created names for elements of a program ○ These elements are often used for storage, repeatable directions so the programmer can call them through the language ○ An example is a variable, which is a means of storing information, where I might say: int total = 500; ■ The term total is made up by me (the programmer) ● Syntax: ○ This is the set of rules that define the programming language and must be followed ○ If not followed, the odds are good your program will begin to output errors and not function correctly
  • 7. Writing the Program: ● Statement: ○ Think of these like sentences - it is a complete instruction to have the computer perform an action. ○ Example: ■ System.out.println(“Hello World!”); ○ In Java - Note the semicolon at the end, that is how we know the statement has ended