Saturday, September 6, 2008

THE C ENVIRONMENT - NAVARRA


In this week, we discuss a very long topic that we didn’t finish it. But still we learned about many things especially in the programming portion. I learned that there 4 parts of C environment. They are the main menu, editor status line and edit window, compiler message window, and hot keys.

Main menu

- it instruct C to do something as indicated in the list of menu.
- It can de used by pressing Alt key and the first letter of the main menu.
· The basic menu are:
ü File – used to save files
ü Run – used to compile links and runs the program currently loading in the environment.
ü Compile – used to compile the program currently in the environment.
· The submenu under the file menu are:
ü Load – enables the user to select a file to be opened.
ü Pick – enables the user to select a file based on the last nine files previously opened or edited.
ü New – allows the user to start a new program.
ü Save – store the file that currently in the editor.
ü Write to – enables the user to save the file in different filename.
ü Directory – displays the content of the current working directory.
ü Change Dir – enables the user to specify the defined path to change the default path
ü OS Shell – load the DOS command processor
ü Quit – lets the user to exit.

Editor status line and edit window
- it is the part where you type your program
- where you can see the current line and the column of the text you typed.

Message Window
- is located beneath the middle of the edit window and hotkeys.
- Used to display various compiler or linker.

Hot Keys
- located at the bottom of C operating system.
- Refers for shortcut or shorthand for selecting a menu.

I also learned that there are five elementary data type in C. and they are the character that is cut into the term char, the integer that is known as the int, the floating point, the double floating, and the void.

Char
– used to hold ANSCII characters or any 8 – bit quantity.



Int
– used to hold any real numbers.

Floating and double floating
– used to hold any real numbers and fractional quantity.


Void
– used to declare explicitly a function as returning no value.
– Declare explicitly a function as no parameters
– Used to create generic pointers.

We also learned about the ranges of value of the numbers that a certain data can hold. Ai also learned that if we will apply the modifier, the value will be change because modifiers are used to alter the meaning of the base type to fit the needs of various situations more precisely.I also learned that the list of modifiers are the Signed, unsigned, long and short.

And as the end of the week, Sir allow us to read and familiarize the 32 keyword that we will be using in our program.

Sunday, August 31, 2008

FLOWCHARTING AND ALGORITHMS - Joannacel A. Paraiso

This week I learned about the:

FLOWCHARTING AND ALGORITHMS

Flowcharting
- is a two – dimensional representation of an algorithm. A diagram representing the logical sequence in which a combination of steps is to be performed.
- A common method of defining the logical steps of flow within a program by using a series of symbols to identify the basic input, process and output function within a program.


Algorithm
-is a finite set of instruction that specify a sequence of operations to be carried out in order to solve a specific problem or class of problems.

Basic symbols used in flowcharting:

  • Terminal- it is used to signify the beginning and the end.
  • Preparation/ initialization- signifies the preparation of data. used to select initial conditions. Used to represent instructions or groups of instructions that will alter or modify a program's course of execution.
  • Input/Output- shows input and output. data are to be read inro the omputer's memory from an input device or data are to be passed fom the memory to an output device.
  • Processing- performs any calculations that are to be done.
  • Decision- signifies any decisions to be done.
  • On – page Connector- Shows the entry or exit point of the flowchart. A non – processing symbol used to connect one part of the flowchart to another without drawing flow lines.
  • Off – page Connector- Designated entry to or exit from one page when a flowchart requires more than one page.
  • Flow lines- Signifies the process that is to be executed next.

Basic Control Strutures
  • Sequence
-a process executed from one to another in a straightforward manner.
  • Selection
-a choice is provided between alternatives.
  • Repetition
-provides for the rpetitive exection of an operation or routine while the conditio is true.

Commonly Used Operators in Flowcharting
Arithmetic operators
  • + addition
  • - subtraction
  • * multiplication
  • / division

Saturday, August 30, 2008

FLOWCHARTING AND ALGORITHMS - NAVARRA

In this week, we tackle about flowcharting and algorithms. I learned that flowcharting is a two – dimensional representation of an algorithm. I also learned that flowcharting is just a diagram representing the logical sequence in which a combination of steps is to be performed.

I also learned that algorithm is a finite set of instruction that specify a sequence of operations to be carried out in order to solve a specific problem.

I also learned that flowcharting uses a lot of symbols and procedures. The symbols that we discuss are:

· Terminal

– its shape is a rectangle whose corners are not pointed
– it is used to signify the beginning and the end.
· Preparation
– also called as the initialization
– it is used to represent instructions or groups of instructions that will alter a program’s course of execution.
– It is also used to select initial conditions.
· Input/Output
– its shape is like a rhombus.
– the data are to be read into the computer memory from an input device or the are to be passed from the memory to an output device.
· Processing
– performs any calculations that are to be done.
· Decisions
– signifies any decisions to be done.
– It only consist two decision, the true and the false
· On – page Connector
– its shape is circle.
– Shows the entry or exit point of the flowchart.
– A non – processing symbol used to connect one part of the flowchart to another without drawing flow lines.
· Off – page Connector
– its shape is an inverted pentagon.
– Designated entry to or exit from one page when a flowchart requires more than one page.
· Flow lines
– are lines with one arrow head.
– Signifies the process that is to be executed next.

We also discuss about the three basic control structures. And that are the sequence, selection and repetition.

Sequence
– a process executed from one to another in a straightforward manner.

Selection
– uses the term if, then and else.
– There is a choice that being provided between alternatives.
– The flowchart already has a two direction, the true and the false which is dependent to the choice of the person doing it.

Repetition
– provides a repetitive execution of an operation or routine while the condition is true.
– The condition is evaluated before executing any process statement.

And lastly, we discuss about the arithmetic symbols that are used and they are the:

Addition +
Subtraction -
Multiplication *
Division /

Other symbols are:

= - equal
< > - greater or lesser that
≥ ≤ - greater than or equal to
- lesser than or equal to
║ - or
&& - and
! - not

Saturday, August 23, 2008

Learnings of the Week- Joannacel A. Paraiso

Overview of C Language

History of C Language
  • B was developed in the year 1970 by Ken Thompson. The said language is a successor of Basic Command Programming Language (BCPL), which was developed by Martin Richards.
  • Dennis Ritchie invented and first implemented the C Programming Language in Bell Laboratory.
  • C was originally developed under UNIX environment running in DEC PDP-11. "C" stands for Combined Programming Language and sometimes called System Programming Language (SPL).
  • It did not become immediately popular after its creation. It took almost six years when many people read and learned the usefulness of the language after Brian Kernighan and Dennis Ritchie created a famous book called “THE C PROGRAMMING LANGUAGE”.
  • X3J11 committee -> was created in the year 1983 under the American National Standard Institute (ANSI) to provide machine definition of the language and was than approved in 1989.
  • ANSI cooperated with the International Standard Organization (ISO) to refer to as ANSI/ISO 9899:1990”.
  • C is often called a middle-level language. C as a middle-level language means that it combines elements of high-level language with the functionalism of assembly language. It allows manipulation of bits, bytes, and addresses the basic elements with which the computer functions.
  • Input commands, output commands, and special words often referred to as reserved words allow the use of lower case only.
  • They should be written in lower case since C is sensitive to those words. They have only 32 keywords (27 from Kernighan and Ritchie standard and 5 added by the ANSI Standardization Committee.
  • C was initially used for system development work, in particular the programs that make up the operating system.
  • C is used mainly because it produces codes that run as fast as codes written in assembly language.

Examples Uses of C

  • Operating system
  • Language compilers
  • Assemblers
  • Text editors
  • Print spoolers
  • Network devices
  • Modern programs
  • Databases
  • Language Interpreters Utilities

Features of C Languages

> A simple core language, such as math functions or file handling provided by a standard set of library routines.

> C encourages the creation of libraries user-defined functions.

> C is flexible when it allows unrestricted conversion of data from one type to another, such as conversion of a character to its numeric equivalent.

Sunday, August 10, 2008

How the video cards work? - (Joannacel A. Paraiso)

This week we learned about:

How the video cards work:

  • First, build a message in the ‘virtual screen’ in the PC’s memory.
  • The message to be displayed is next passed from the application to the operating system as a block of memory.
  • The operating system then formats the message and transfers it to the display graphic card’s own memory as a pattern of pixels that represent the image or text message.
  • The graphics card then reads the formatted message out of its display memory and paints it onto the screen.
We also learned that:
Video cards
-converts digital data into signals that can be sent across a connector to the monitor which interprets the signal into an image. And there are two basic categories of video modes:
  • The text mode - which is a type of monitor that displays only ASCII which stands for American Standard Codes For International Interchange.
  • The Graphics mode - which is a type of monitor who can display any bit – mapped image.
Expansion Slots
-are located on the back of the computer. They provide access to the AGP, PCI, and ISA expansion slots. Cards are plug into the slots to add more devices for the computer.
Output Devices
-any peripheral device that presents, displays, alters, or records output after it has left a computer’s system unit.Output device data can appear in various forms such as graphics, laser light, sound or text.
Examples of Output devices
  • Computer Speaker - convert output data into sound.
  • Monitor - most popular output device. The monitor receives signals from a video card inside of the computer and gives the user a graphical or textual display. Monitors are important because they give users a visual presentation of keyboard commands and mouse movements.- Monitors display output data and show users the end results of the processes taking place inside a computer.
  • Printer - create images on paper, plastic, cloth and other print media using technologies like ink transfer, heat transfer, chemical transfer, chemical reactions, and physical force.
Input Devices
-any peripheral appliance that generates input for the computer and allows users to enter information into the computer to be processed. It allows users to provide a computer with commands, software, instructions, and information. Input devices are the pathways through which information enters a computer’s system unit.
Examples of input devices:
  • Keyboard – the set of typewriter like keys that enables you to enter data into a computer.
    The keys on computer keyboards are often classified as follows:


    >Alphanumeric Keys = letter and numbers

    >Punctuation Keys = comma, period, semicolon, and so on.

    >Special Keys = functions keys, control keys, arrow keys, Caps Lock key, etc.
  • Mouse – The mouse is a device that controls the movement of the cursor or pointer on a display screen. Invented by Douglas Engelbart of Stanford Research Center in 1963, and pioneered by Xerox in the 1970’s.
  • Microphone – Allows the computer to receive and record sound. Necessary for voice recognition software and any software that needs to record sound.

Five Elements of Computing Process:
- equipment involved in the function of a computer.
  • Software - also called “Program”, is the instruction that tell the hardware what to do.n Data - is the raw facts that the computer can change into useful information. The information we get out of the computer always depends on the data we put into it.
  • People - are also called the “end users”. Most computers need people to operate them.n Procedures - are the steps or directions that the end user needs to follow in order to complete a certain task.
  • SOFTWARE- Provides the commands that tell the hardware what task to perform, what to read and write, how to send the end result (output) to a monitor or printer.
  • Data- can be any information that a program needs: character data, numerical data, image data, audio data, and countless other types.

Saturday, August 9, 2008

LEARNINGS OF THE WEEK (Nona SISON)

BY: MARIA NONA V. SISON


When an application wants to communicate with the user through the PC’s screen:


First, build a message in the ‘virtual screen’ in the PC’s memory. The message to be displayed is next passed from the application to the operating system as a block of memory. The operating system then formats the message and transfers it to the display graphic card’s own memory as a pattern of pixels that represent the image or text message. The graphics card then reads the formatted message out of its display memory and paints it onto the screen.



We've learned that video card converts digital data into signals that can be sent across a connector to the monitor which interprets the signal into an image. And there are two basic categories of video modes:


The text mode which is a type of monitor that displays only ASCII which stands for American Standard Codes For International Interchange.


The graphics mode which is a type of monitor who can display any bit – mapped image.



Expansion slots are located on the back of the computer. They provide access to the AGP, PCI, and ISA expansion slots. Cards are plug into the slots to add more devices for the computer. A motherboard speaker provides simple sound output, such as indicating hardware errors during start up. This may either be a motherboard component called a piezo speaker that resembles a small black cylinder, or a standard “voice-coil” speaker that is attached to the interior of the case and connected to the motherboard by wires.


An output device is any peripheral device that presents, displays, alters, or records output after it has left a computer’s system unit.Output device data can appear in various forms such as graphics, laser light, sound or text.


1. Computer Speaker - convert output data into sound.


2. Monitor - most popular output device. The monitor receives signals from a video card inside of the computer and gives the user a graphical or textual display. Monitors are important because they give users a visual presentation of keyboard commands and mouse movements.- Monitors display output data and show users the end results of the processes taking place inside a computer.


3. Printer - create images on paper, plastic, cloth and other print media using technologies like ink transfer, heat transfer, chemical transfer, chemical reactions, and physical force.


An input device is any peripheral appliance that generates input for the computer and allows users to enter information into the computer to be processed. It allows users to provide a computer with commands, software, instructions, and information. Input devices are the pathways through which information enters a computer’s system unit.


Keyboard – the set of typewriter like keys that enables you to enter data into a computer.

The keys on computer keyboards are often classified as follows:


Alphanumeric Keys = letter and numbers

Punctuation Keys = comma, period, semicolon, and so on.

Special Keys = functions keys, control keys, arrow keys, Caps Lock key, etc.


Mouse – The mouse is a device that controls the movement of the cursor or pointer on a display screen. Invented by Douglas Engelbart of Stanford Research Center in 1963, and pioneered by Xerox in the 1970’s.]


Microphone – Allows the computer to receive and record sound. Necessary for voice recognition software and any software that needs to record sound.


Five Elements Of Computing Processn Hardware - equipment involved in the function of a computer.




  • Computer hardware consists of the components that can be physically handled.

The function of these components is typically divided into three main categories: input, output, and storage.




  • Software - also called “Program”, is the instruction that tell the hardware what to do.n Data - is the raw facts that the computer can change into useful information. The information we get out of the computer always depends on the data we put into it.


  • People - are also called the “end users”. Most computers need people to operate them.n Procedures - are the steps or directions that the end user needs to follow in order to complete a certain task.


  • SOFTWARE• Provides the commands that tell the hardware what task to perform, what to read and write, how to send the end result (output) to a monitor or printer.


  • Programs- are list of instructions for the processor.


  • Data- can be any information that a program needs: character data, numerical data, image data, audio data, and countless other types.

Fundamental Idea: Both programs and data are saved in computer memory in the same way.


• WORD PROCESSORS• Is usually the first application that leads people to using a computer for their work


.•SPREADSHEET SOFTWARE• Are commonly used for accounting purposes such as tabulating of complex mathematical equations with a row and column matrix.


• DATBASE SOFTWARE• Is a program that manage large amounts of data organized as fields, records, and files. Database structure information so you can search the database by specific or generalized content called a query.


•PRESENTATION SOFTWARE• Is designed to showcase information to an audience.

LEANINGS OF THE WEEK - NAVARRA


In this week we really learned a lot of things. Especially thing related to card and computers. We tackled about the many things that are very useful for our future.

I learned that video card converts digital data into signals that can be sent across a connector to the monitor which interprets the signal into an image. I also learned that there are two basic categories of video modes:

· the text mode which is a type of monitor that displays only ASCII which stands for American Standard Codes For International Interchange.

· The graphics mode which is a type of monitor who can display any bit – mapped image.

I also learned about the expansion slots that are placed at the back of the computer and provide access to the AGP ( Accelerated Graphics Port ), PCI ( Peripheral Connect Interface) and the ISA ( Integrated Standard Adaptor ). I also learned that piezo speaker is a component of the motherboard and an example of Speaker that provides simple sound output.

I also learned that Internal Modem resides on an expansion board in order to connect to the internet. It also convert (modulate) the digital code into analogue waves and convert them back into digitals (demodulate) at the other end. There is also a power supply that supplies fuel to the computer. And the power cables that supplies power from the power supply to the drives. the colors of power cables indicates the power they contain such as the:

· Yellow wire furnishes 12 volts of power

· Red wire furnishes 5 volts of power

· Blacks that represent ground wires.

We also learned about the output devices that present, display, alters, or records output after it has left a computer’s system unit. The example of this devices are the Computer speaker that converts output data into sound, the monitor that is the most popular output device and the printer that creates images on the paper.

We also discuss about the input devices who generates input for the computer and allows the users to enter into the computer to be processed. The examples are:

· Keyboard that has 6 types of special keys namely Control key, Alt key, Shift key, Arrow key, Function key and the Caps lock key.

· Mouse that invented by Douglas Engalbert.

· Digital Camera that takes picture without a film.

· Graphic Tablet

· Joy Sticks

We also tackled about the peripheral devices that serve specific purposes

and enhanced the computer’s functions. The example of this device is the CD – ROM Drive, Modem, and the External Drive Unit.

I also learned about the 5 elements of Computing Process and they are the:

· Hardware – is the equipment involved in the function of a computer.

· Software – also called as the “programs”

· Data – is the raw facts that the computer can change into useful information.

· People – that are called as the “end users”.

· Procedures – are the steps or directions that the end user need to follow in order to complete a certain task.

We also discuss the Software and its types namely the Application Software, the Operating system, and the Programming languages. We also learned the generations of languages and that are the:

· Machine – language = is the first generation languages and is based in binary language that is difficult for human to use.

· Assembly language = is the second generation language that is used to shorten and simplify the process of programming.

· High – level language = is the third generation language that are like an English Language.

· The fourth and fifth generation of language are closer to the natural languages or rely on Graphical Development Interfaces (GUI).

We also touch in the development of the Word Processing Program:

· Electric Pencil = the first word-processing program for microcomputers

· Wordstar = more powerful that Electric pencil

· Multimate = the first program that made the IBM PC a Wang – Word Processor.

· DisplayWrite = made the IBM PC imitate an IBM Displaywriter.

· PC – Write = shareware you could try for free before sending a donation to the author.

These things are being discussed in this first week of August. These lessons will raely help in the future. And I know that this will last to our memory because this is discussed very – well.