2. What is data?
• Kobe Bryant
• 34
• LA Lakers
• Guard
• Jason Kidd
• 41
• Brooklyn Nets
• Coach
• Lebron James
• 28
• Miami Heat
• Forward
Data is a collection of names,
dates, numbers, statistics,
images etc. that represent
something from which
information can be obtained.
The word data is the plural of
datum, from the Latin word
dare, "to give", hence
"something given“.
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
3. Images as Data
• Thai food
• Jump
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
4. What is information?
• Information is data that has been
processed and analyzed in such a way as
to be meaningful to the person who
receives it.
• It is any thing that is communicated and it
gives a message.
• from the Latin stem (information-) of the
nominative (informatio): this noun is
derived from the verb "informare" (to
inform) in the sense of "to give form to the
mind", "to discipline", "instruct", "teach"Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
5. Information gives a message…
• Shortlist of Candidates for USA Dream
Team 2015
Name Age Team Position
Kobe Bryant 34 LA Lakers Guard
Jason Kidd 41 Brooklyn Nets Coach
Lebron James 28 Miami Heat Forward
Derrick Rose 23 Chicago Bulls Guard
Chris Paul 27 Brooklyn Nets Guard
Dwight Howard 26 Houston Rockets Center
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
12. Objectives
• Learn about the different types of data
• Understand the language of computers
• Apply the basic operations in computer
programming
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
13. Data types
• Alphabet (characters and symbols) –
Noon, birthday, Princess Sirindhorn’s
College
• Numerals (numbers) – 0, 1, 1000, 2556
• Alphanumeric (combination of characters
and numbers) – November 9 2011, 8/6
Sanam Chan, Muang 73000
• Symbols – ( ), /, * , [ ], %, &, #, @
• Give 5 examples for each typePrincess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
14. How a computer reads data
• To process data, the computer converts
human language into computer language
using the binary coding system
• Binary is a mathematical number system:
a way of counting – 0 and 1.
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
15. Bits and Bytes
• The smallest unit of data is the bit.
• It can be used to store only 2 values – 0
and 1.
• A byte is made up of 8 bits.
0 1 bit
1 1 bit
110 4 bits
1101011 8 bits
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
16. Words into Binary Code
1000010
Boy
1101111
1111001
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
17. Exercise Binary Code
• Convert the following into binary code
– abc@123
– Gerardo
– 4 + 5 = 9
– 6/8 Moo 5
– +6692-1175020
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
19. Human Language vs. Computer
Language
• Every spoken language has a general set
of rules for how words and sentences
should be structured. These rules are
collectively known as the language syntax.
• Semantic – understandable English
language
• Syntatic – computer language or syntax
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
20. Human Language vs. Computer
Language
• In computer programming, syntax serves
the same purpose, defining how
declarations, functions, commands, and
other statements should be arranged.
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
23. Exercises
• Write the following formulas in the correct
syntax
• 4 x 3 - 2 5 + 1
• 25 - 5 + 10 x 2 3
• 1 + 2 3 * 3 – 9
• Area of a Rectangle = L x W x H
• Area of a Triangle =
• F - C, C - F
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
30. Data Storage
• Paper is the most popular
method of storing data, e.g.
books
• Advantage
– Paper does not need electricity
– Portable
– Inexpensive
– Does not need special equipment
to read
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
31. • Disadvantages of using paper
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
33. • Digital Media, e.g. DVD, Flash Drive, Hard
Disk Drive
• One megabyte can hold around 500 pages
of text, comparable to one thick book.
Name Number of Bytes Amount of Text
Kilobyte (KB) 210 or 1,024 1/2 page
Megabyte (MB) 220 or 1,048,576 500 pages or 1 thick book
Gigabyte (GB) 230 or 1,073,741,824
500,000 pages or 1,000
thick books
Terabyte (TB) 240 or 1,099,511,627,776 1 million thick books
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
34. Database
• A database is a collection of data that is
organised so that its contents can be
easily accessed, managed and updated.
• A database is a logically organized
collection of related data designed and
built for a specific purpose
• Access - obtain or retrieve from a
storage device
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
35. Databases Hierarchy
• Files: collections of related records
– Records: collections of related fields
• Field: unit of data containing 1 or more characters
– Character: a letter number or special character
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
36. What is the importance of a Database?
• Data are organized, stored and retrieved
quickly.
• It allows managers to make correct
decisions and predictions in their
business.
• It allows analysts to make reports by
extracting information from the database.
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
37. Exercise
• Identify the Categories, Records and
Fields
Category
Field
Record
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
39. Effects of Automated Data Processing
• Advantages
• Improves efficiency
– Computers can perform repetitive tasks faster
– Computers don’t get bored or get sick
• Reduce mistakes
– Less human error
– GIGO – Garbage In, Garbage Out
• Cost Savings
– Email vs. Snail Mail
– ATM (24/7) vs. Over-the-counter
– 1 robot per 5,000 peoplePrincess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
40. Information Technology defined
• IT is the application of computers and all
forms of technology to create, store,
retrieve, transmit, exchange, use and
manipulate information in its various
forms, ie. multimedia
– Printed, e.g. books, magazines, newspaper
– Non-printed, e.g. video, audio/sound, internet
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
41. Sources of Information
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
Books, journals, magazines,
newspapers
Internet (Google, Yahoo,
YouTube, Wikipedia)
Movies, Television, Radio
Multimedia presentations
People (teachers, parents,
classmates, friends)
42. Importance of IT
Global
Economic
Society
Personal
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
• Computer-controlled machines, e.g.
laptop, microwave ovens, washing
machines, mobile phones helps
make house work easier
• Improve ones health thru research
• Education for all
• Government is on 24/7
• Can easily communicate with one
another
• E-Commerce (cash-less)
• Online shopping (convenience)
• Robots in factories, airplanes, trains
(costs less)
• World without borders
• New technology available to
everyone
44. Positive Impact of IT
• E-Commerce (Electronic Commerce)
– The buying and selling of products and
services through the Internet, e.g. of some e-
tailers (electronic retailers):
• www.amazon.com sells books and other things
• airline e-ticketing
• Automated Banking and Credit Card
Payment System
– Offers convenient and easy way of getting
money and paying for products
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
45. Positive Impact of IT
• Microprocessor-controlled devices mean
that we have more leisure time to relax
and enjoy ourselves instead of doing
household chores.
• We are able to communicate with
people very easily using computers,
mobile phones, etc. We can become part
of online social networks, making friends
with people from all over the world.
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
46. Positive Impact of IT
• Computers and Internet connections mean
that many of the tasks that involved us
leaving the house, for example, shopping
for music, clothes or food, can now be
done on-line.
• IT has enabled any one (person,
company, university, etc.) to be
ubiquitous, i.e. being virtually present any
time, at any place
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
48. IT in Education, Science and
Engineering
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
1995:
The first full length feature movie created
by a computer is released. Toy Story.
50. Negative Impacts of IT
• Over-dependency to technology
– Decline in creativity, intelligence, activeness
and innocence
• Destructive Innovation
– Computers replace people in their jobs
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
51. Negative Impact of IT
• Data Theft
– Identity, company records, loss of money
• Loss of information or inaccessible
– Breakdown of the system
• Storage Capacity is limited
– As your company grows, your database also
grows. The size of these files can cause the
computer to run more slowly, thus cutting
down on productivity
Princess Sirindhorn’s College
Mattayom 1
Tchr. Jojo Carrillo
We find that technology can be useful and clearly necessary, but that it is not worth the expense of our youth’s creativity, intelligence, activeness, and innocence.By 2013 there will be 1.2 million industrial robots working worldwide — that's one robot for every 5,000 people, according to Marshall Brain, founder of How Stuff Works and author of Robotic Nation. Robots are currently analyzing documents, filling prescriptions, and handling other tasks that were once exclusively done by humans. http://www.nbcnews.com/id/42183592/ns/business-careers/t/nine-jobs-humans-may-lose-robots/#.UgpD2X-NCQU (13.08.2013)