0% found this document useful (0 votes)
154 views10 pages

Sas#4 - Ite 303-Sia

This document is a student activity sheet for an ITE 303 course. It provides an overview of the lesson which discusses the basic concepts of data and information processing, including the input, process, storage, and output cycles. It also provides examples to illustrate these concepts and presents a simple Python program to demonstrate how these cycles work together.
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)
154 views10 pages

Sas#4 - Ite 303-Sia

This document is a student activity sheet for an ITE 303 course. It provides an overview of the lesson which discusses the basic concepts of data and information processing, including the input, process, storage, and output cycles. It also provides examples to illustrate these concepts and presents a simple Python program to demonstrate how these cycles work together.
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
You are on page 1/ 10

Course Code: ITE 303

Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

Lesson title: Basic of Data Materials:


Learning Targets: 1. Notebook
At the end of the module, students will be able to: 2. Ballpen,pencil
1. Explain the cycles of Computer and information 3. Mobile Phone
processing 4. Laptop/Pc
2. Apply the input, process, storage, output in 5. Google Chrome Browser
programming 6. Apache Server//IIS
7. Any Text Editor
3. Validate the data using Filter and Sorting
8. Qpython for Android
9. Python/Java/C++

References:
Computer Systems: Digital Design,
Fundamentals of Computer
Architecture and Assembly Language
Author: Ata Elahi
Embedded System Design : Embedded
Systems, Foundations of
CyberPhysical Systems, and the
internet of things(Third edition)

Author:Springer
https://www.nchannel.com/blog/advant
ages-of-ecommerce/

A. LESSON PREVIEW/REVIEW
Introduction

The module 3 was incorporated with a short proto type project. But I want you to develop it as you advance in
your programming topics in your other module.
“Ano ba ang napag usapan sa module 3”?

A platform is a group of technologies that are used as a base upon which other applications, processes or
technologies are developed. In personal computing, a platform is the basic hardware (computer) and software

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

(operating system) on which software applications can be run.

I think the definition is quite simple. Platforms make our work easy and manageable. If you are programming in
Java for example. Your platform for JAVA web technology is using the Java web servers program, like
Javaservelets, Hibernate, Vaadin, Java Server Faces etc.

A website platform is essentially, “what your website is built on.” The platform is the foundation of your
website. There are a number of free website platforms out there. Like for example. A CMS. What is a CM? It is
a Content Management System.

What else?

We applied the basic programming to call a weather station that will provide the details for Iloilo City. That was
simple and yet powerful, with that app you can develop more ideas about computing platforms with System
Integration and Architecture.

Let’s proceed to the next topic. “Handa na ka na ba?”…Let’s GO!

B.MAIN LESSON
Content Notes
Because we are discussing System Integration, let’s discuss first a bit of computer instructions and cycles. The
more we refresh ourselves in computing, the more we can get nearer to this subject.

Let’s talk about information processing.

Information processing is the process of changing or converting information into meaningful information.
Information is the processed data which may be used «as it is» or may be put to use along with more data or
information. Collected data must be processed to get meaning out of it, and this meaning is obtained in the
form of information.

Further information is considered useful and meaningful only if have these characteristics:

● Timely − Information should be available when required; a delay in obtaining information renders it
useless.
● Accuracy − Accuracy of information has a significant impact on the decision-making. Possibilities of even
slightest errors should be minimized.
● Completeness − Information should be complete. Incomplete information causes incorrect and unintended
results.

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

● Comprehensive – Information which is incomprehensible is useless for the receiver. This becomes a case
of information failure as the sender sent the information, but it was of no use for the receiver, thus is not
considered as “information.”

I want it to be simple and discuss this in a succinct way.

For example:

Data collected by various input devices during surveys is meaningless unless it is processed. Good
questionnaires are formed and surveys are conducted to collect data which can be processed to give useful
insight.

Another example can be considered as tabular data – if merely a table is constructed without the available data
it might not convey the intended message, but when data mapping is done and using that data to create
graphs & charts, it becomes information. Thus Information Processing is important.

Okay let's’ have some technical parts here. This is to answer your baffling minds.

Data collected by various input devices during surveys is meaningless unless it is processed. Good
questionnaires are formed and surveys are conducted to collect data which can be processed to give useful
insight.

Another example can be considered as tabular data – if merely a table is constructed without the available
data it might not convey the intended message, but when data mapping is done and using that data to create
graphs, charts,data, it becomes information. Then we can say that information processing is very important

“Okey ka pa ba?” I Hope that you are not skipping this part. If you cannot understand it, then write down all the
things and throw this in your GROUP CHAT or you can send a message to your professors.

For the professors/Instructors/Teachers in this subject you can reach me in this dungeon :)
https://m.me/kidronbox

In conceptual framework this is the diagram

Input - - - - -(Information Cycle Processing) ----->

------------------(OUTPUT)
- - - - - - -(PROCESS)

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

<- - -[Storage]- - ->

To have a vivid example we need to write a simple program using Python. (I’m using python to make it more
intuitive to the users. If you will refute that please send me your message.)

For storage let’s use the LIST in Python and then we will ask the program to give us the data. “Parang
customer service na program sa hotel”

#The temporary storage using ARRAYS/LIST


storage = [“room1”,”room2”,”room3”]

#input
Sales_rep = str(input(“enter available room”))
#enter the elements inside the storage

#process…validating the data


If(storage in sales_rep):
print(“ The room is available at %s
”%(sales_rep))
else:
print(“no room available”)

This example has the following logic, first is to apply the Data gathering - - -> INPUT.

Next??? Is the validation - - - - PROCESSING CYCLES, then next is to request the data from the STORAGE
that will push the results to the end user. We call those results as OUTPUT.

If you forgot what is in an array, it is a variable with the same data type but with different elements inside. Go
ahead and open your Qpython in your mobile phone or your Python IDLE in your pc or laptop.

“Opps” we are not yet finish

Four Phases of the information processing cycle


1.Input: Computer receives data and instructions.
2.Process: Computer applies instructions to data to produce information (organized Data).
3.Storage: Saving the information for a subsequent use or use in future.
4.Output: Computer sends information to people in a usable format.

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

Role of Data Processing in Information Processing

Data processing is part of computer instructions, an essential part of information processing. Making use of
processed information in various decision making processes remains the main purpose of information
processing.

Processing of complex data obtained from various data sources requires sorting and filtering of data. It might
also be merged with existing sources of data so as to receive a new data set.

I will use a Hodge podge of PL to sort the data but if you wish to change it to Java or any examples that is way
much cooler.

For example we need to sort the data.

Let’s dive first into Java. We are using the array list here adding the items in the container and calling the
“Collection. sort()” method.

Save this file to (sia3.java)

import java.util.*;

public class DataSort


{ public static void
main(String[] args)
{
// Create a list of strings
ArrayList<String> sas= new
ArrayList<String>(); sas.add("Data
Sort"); sas.add("Robert");
sas.add("Shaq"); sas.add("Nora");
sas.add("Lorns");

/* Collections.sort method is sorting the

elements of ArrayList in ascending order. */


Collections.sort(al);

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

// Let us print the sorted list


System.out.println("List after the use of" +
" Collection.sort() :\n" +
sas); }
}

In the universal context of programming, there are built in functions /classes/methods to sort the data.

In Python you can use sort or sorted()

In java you can use the Collections.sort()

But of course there are lots of recipes on that :) on how to sort the data.

In Python:
data_validate = [1, 3, 4,
2]

# Sorting list of Integers in


ascending data_validate.sort()
print(data_validate)

(Save this in sia4.py)

Let us say, we need to filter the duplicates or extract the duplications of the data here. This could be applied in
record processing right?

How to do that? Let’s have some python coding explainer in our canvas.

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

Fig. 1(Using Python console to test the data)

function that filters


vowels def filt(var1):
storage = ['a', 'e', 'i', 'o',
'u'] if (var1 in storage):
return True
else:
return False

# sequence
sequence = ['g', 'e', 'e', 'j', 'k', 's', 'p', 'r']

# using filter function

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

filtered = filter(filt,
sequence)

print('The filtered letters are:')


for s in filtered: print(s)

(Save this is sia5.py)

Code explainer:
We write the function with one param. That is the (var1) to return the data to the main program. The storage
variable was declared to be the pattern of the checklist for character matching. Then we compare the
parameter if that character exists in the storage.
“Pagkatapos?”.. We create another variable that statically declares the elements of the characters, our intent
here is to duplicate the letter “e” , vowel of course.

We reference a variable to be assigned in the character watch list that is


filter(filt<-function(param->sequence).Then we loop for search and fetch the data for duplication. “Kasi is
actually regular expression: lang sya na nakalagay doon sa storage, doon natin sya mina match sa ikalawang
list natin...Gets?”

As far as sorting is concerns, in programming you can write your own pre defined functions in sorting or use
the existing package, modules or libraries of your PL (Programming Language)

These data sets help in decision making and subsequent decisions pertaining to other aspects in a decision
making process. The information being used may form a part of short term memory or long term memory of the
overall process.

“Chill lang!!”

Skill-building (SB) / Further Reading


Further readings on SIA. If you have questions please go to our GC (to be provided by your
professor/instructor) or you can have a short banter with me here - > http:/m.me/kidronbox

This is to practice your hippo campus (your brain) to recall our lecture in the Content Notes. Content Notes is
the MAIN LESSON.

Activity:

Instruction:

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

1. Type and run all the programs provided in the Content Notes, please follow the
instructions 2. If perfectly compiled and run..Write the source codes in your bond
paper.
2.1 One Program per Bond paper, don’t forget to write your names, course ,subject and year level.

How to RUN Python or Java on a Mobile


Phone? -> Install Qpython or Java AIDE in your
Mobile phone

How to program in Mobile Phone?


->Install any text editor and type the program or use the Qpython Editor, same with Java AIDE.

TO: Professors/Instructors/teachers..If I missed something here you can pm me. -> https://m.me/kidronbox

“The art of learning is infinite. Change your mindset and tell yourself that you can learn everything.”

Check for Understanding


Paper and Pencil Evaluation:
Multiple Choices:

1. I will sort the data in java, which of the following methods should I use?
a) sorted() b) collections c)Collections d) Collections.sort()

2. Which of the following is storage?


a) x=xb)d = y+1 c)data = [2,3,3,4] d) int[] x = {2,3,4,5} –

3. Information should be available when required; a delay in obtaining information renders it useless.
a) data b)Process c)time d)timely

4. Saving the information for a subsequent use or use in future.


a) storage b)container c)list d)non in the lists

5. Computers apply instructions to data to produce information (organized Data).


a) input b)output c)storage d)process

This document is the property of PHINMA EDUCATION


Course Code: ITE 303
Module #4 Student Activity Sheet

Name:______________________________________________________________ Class number: _______

Section: ____________ Schedule: _______________________________________ Date: _______________

C. LESSON WRAP-UP
Summary / Frequently Asked Questions
Congrats!
This is your progress chart. Please shade the box if you accomplish this module as your Work Tracker. Take
note, this is not a race to the finish line; it’s about Learning and Earning.

FAQ’s
1. Can I use any version of Android to run Qpython?
Answer: Yes! Just install the latest Qpython that will support the latest library/modules of Python.

2. If I am using a cell phone, How will I save/retrieve my python or java program?


Answer: Mobile phone and Pc are the same, except that the root folder of android or iOS, is stationed in the
//ANDROID or in the iOS root drive/folder. In another way around you can create your own folder, go to file,
choose option and create folder to house keep your JAVA and PYTHON program

Thinking about Learning


a) Mark your place in the work tracker which is simply a visual to help you track how much work you have
accomplish and how much work there is left to do.

You’re done with the first session! Mark your place in the work tracker below.
Period 1 Period 2 Period 3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

b) Think about your learning by filling up “My Learning Tracker”. Write the learning targets, scores, learning
experience for the session and deliberately plan for the next session.
Date Learning Scores Action Plan
Target/Topic
What module# did you What contributed to the quality of your
do it? What were the What were your performance today? What will you do next
What’s the date
learning targets? scores in the session to maintain your performance or
today?
What activities did you activities? improve it?
do?

This document is the property of PHINMA EDUCATION

You might also like