Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

CS/IT 112 – COMPUTER PROGRAMMING 1

BY: JENEL M. SAMORTIN


VISION – MISSION - OBJECTIVES

VISION
to produce Christian leaders for tomorrows world

MISSION
to provide in education the Christian culture of excellence
and examples that forms and transform lives.
OBJECTIVES OF CICS
To prepare students to be IT professionals and researchers
and to be proficient in designing and developing computing
solutions.
To become a responsible Christian professionals and global
citizens, who are aware of ethical issues and societal needs
and problems inherent in the computing fields.
To produce qualified and well-rounded computer
professionals who can develop systems supportive of the
information needs of industry and government using
computer data processing system.
INTRODUCTION- COMPUTER BASICS
WHAT IS A COMPUTER?

- is an electronic device that manipulates information,


or data. It has the ability to store, retrieve,
and process data.

2 THINGS COMPUTER HAVE IN COMMON:

1. HARDWARE
2. SOFTWARE
INTRODUCTION- COMPUTER BASICS
HARDWARE
- is any part of your computer that has a physical
structure, such as the keyboard or mouse.
COMPUTER BASICS
SOFTWARE
- is any set of instructions that tells the
hardware what to do and how to do it.

DIFFERENT TYPES OF COMPUTERS


1. DESKTOP
2. LOPTOP
3. TABLET
4. SERVERS
5. OTHER TYPES
- Smartphones
- wearables
COMPUTER BASICS
- game consoles
- tv
2 MAIN STYLES OF PCs
1. PCs
2. MACs
PROBLEM ANALYSIS
SYMBOL NAME FUNCTION
Terminator/end-start
FLOWCHART It marks the start and end
SYMBOLS
of the flowchart.

Flow lines/arrow A connector that shows the


relationship among the
flowchart symbols.
Process Rectangle. Represents
process.

Input/output Represents input or output


in the flowchart.

Decision A flowchart symbol that


represents a decision.

On-page connector Used to link flowcharts in


the same page.

Off-page connector Used to link flowchart in


other page or pages.
FLOWCHARTING
Draw the flowchart of the following:
1. Going to School
2. Paying tuition fee
3. Display the sum of two numbers.
4. Display the sum of two numbers inputted by the user.
5. Display even numbers from 1 to 100.
DELETE TABLE
Syntax:
DROP TABLE tablename;

Example:
DROP TABLE studentinfo;
ALTER TABLE
- use in add, delete, modify columns in a table.
ADDING COLUMN
Syntax:
ALTER TABLE tablename ADD columnname
datatype;

Example:
ALTER TABLE studentinfo ADD student_address
VARCHAR (100);
ALTER TABLE
REMOVING COLUMN
Syntax:
ALTER TABLE tablename DROP COLUMN
columnname;

Example:

ALTER TABLE student_info DROP COLUMN


student_address;

You might also like