0% found this document useful (0 votes)
6 views24 pages

Introduction to Programming Languages

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views24 pages

Introduction to Programming Languages

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to

Programming
Languages

PREPARED BY: JOHN ALDRICH RIVERA


Learning Objectives
01 DESCRIBE PROGRAMMING LANGUAGES 03 EXPLAIN BASIC PROGRAMMING CONCEPTS

Understand how programming languages serve as Writing simple code snippets fosters hands-on
tools for communicating instructions to computers. experience, allowing students to apply theoretical
knowledge in practical scenarios while improving
their confidence in coding and debugging
techniques.

02 DIFFERENTIATE LANGUAGE TYPES 04 APPLY CONCEPTS TO REAL-WORLD


PROBLEMS
Recognize their distinct characteristics, advantages, Use programming fundamentals to analyze and
and areas of application. solve simple tasks.
Icebreaker
What is Programming?
A RECIPE FOR COMPUTERS

Programming is the process of


creating instructions that a computer
can understand and execute.
What is a Programming
Language?
A LANGUAGE FOR COMPUTERS

A programming language enables developers to


communicate with computers through a structured set
of commands.
Why Learn Programming
Languages?

KEY MOTIVATIONS FOR LEARNING


⚬ Create and develop innovative apps
⚬ Build dynamic and interactive websites
⚬ Enhance your problem-solving skills
⚬ Improve career opportunities in the tech
industry
Low-Level vs High-Level
Programming Languages
LOW-LEVEL HIGH-LEVEL
Direct hardware control More intuitive and easier
and optimization. to write.

Age = 21
01000011 print(Age)
01000101
01010100. Output :
21
Programming Languages

PYTHON C JAVA
Easy to learn with clear syntax and Ideal for systems programming and Cross-platform compatibility makes it widely
versatility. performance-critical applications. used.
Variables
DATA STORAGE

Variables are fundamental in programming, functioning like


containers for data. They allow you to store and manipulate values
throughout your code.
x = 10
name = “John Doe“
initial = ‘J’

John Doe J

10
name initial

x
Data Types
VARIABLE STORAGE

Variables can store different types of data including


Control Structures
MANAGING PROGRAM FLOW

Control structures determine the flow of a program. They include conditionals, which
execute specific code based on conditions, and loops, which repeat code until a
condition is met.
Understanding the Loop
Loops let a program repeat tasks automatically without writing the
same code again.

Output
Functions
DEFINING CODE REUSABILITY

Functions are essential for organizing code into reusable blocks.


Functions
Function with Parameters
DEFINING DYNAMIC FUNCTIONS

Parameters allow functions to be more flexible and reusable, as


they can operate on different data each time they are invoked.

Output

Hello, Angelica
Hello, Marvin
Hello, Edilyn
Common Syntax Errors

SEMICOLON VARIABLE TYPE


Missing semicolon leads to unexpected Incorrect variable names cause code to fail. Type mismatch results in compilation errors.
behavior.
Summary
ESSENTIAL PROGRAMMING CONCEPTS

⚬ Variables are used to store data.


⚬ Control structures determine the flow of code
execution.
⚬ Functions encapsulate reusable code blocks for
specific tasks.
Let’s test your Skills!
QUESTION

A __________ is a reusable block of code designed to perform a specific


task.
Let’s test your Skills!
QUESTION

In programming, a __________________ is used to store data


values that can be changed or updated during program execution.
Let’s test your Skills!
QUESTION

A __________________ language uses words and symbols that are


closer to human language, making it easier for programmers to write
and understand instructions.
Let’s test your Skills!
QUESTION

In programming, the process of finding and fixing errors in


the code is known as __________________.
Let’s test your Skills!
QUESTION

Giving a computer precise, step-by-step instructions to complete a


task is known as __________________.
Group Activity

Create a Flowchart for a


simple daily task.

You might also like