Showing posts with label Anna Lea Cacayorin. Show all posts
Showing posts with label Anna Lea Cacayorin. Show all posts

Friday, September 5, 2008

Learnings of the Week (sept 1-4)

Last week, we have started our discussion on the C language. But this week, our lessons focuses on the data types used in programming the C or the Combined Programming Language.
Some of the data types are the char, int, void, the floating, the double floating and some more.
char - values are used to hold ASCII characters or any 8-bit quantity.

int - values are used to hold real numbers. Real numbers have both an integer.
void - The type void has three uses:
*To declare explicitly a function as returning no value.
*To declare explicitly a function as having no parameters.
*To create generic pointers.

float and double
- values are used to hold real numbers. Real numbers have both an integer and fractional component.
The range of char is from 0 to 255.
The range of int is -32768 to 32767.
The range of void is not applicable for it is valueless.
The range of float is 3.4 X 10-38 to 3.4 X 1038 while the range of double is 1.7 x 10-308 to 1.7 x 10308.
C has 32 keywords. Twenty- seven which are given by Brian Kernighan and Dennis Ritchie standard and the five added by the ANSI (American National Standard Institute). Keywords in C are reserved words that have a special meaning. Reserved words are words “reserved” by the programming language for expressing various statements and constructs, thus, these may not be redefined by the programmer.
The following are the known 32 keywords:
auto double int struct break else long switch case enum register typedef char extern return union const float short unsigned continue for signed void default goto sizeof volatile do if static while

Next Week, we will continue discussing more about the C language.

Saturday, August 30, 2008

Learnings of the Week (aug 25-29)

During this week, we have tackled about the C language, its history, uses, features, and also about flowcharting.

Without the idea of Dennis Ritchie, C language would have not been discovered especially its relevance and importance to us. C was invented and first implemented by Dennis Ritchie to augment B's power, which was the first computer language before C.

C did not become immediately popular after its creation and 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 Programming Language."

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 in assembly language.

Some examples of C are the operating system, the language compilers, assemblers, the text editors, the network devices, etc.

The features of C are: it is a simple core language, such as math functions and file handling; it focuses on a procedural programming paradigm which facilitates for programming in a structured style and others.



¡
¡

Sunday, August 10, 2008

Learnings of the week


This week, we have discussed about the three fundamentals of the computer system and the four different types of software.

The three fundamentals of the computer system are the system unit, the output devices and the input devices.


The four different types of software are the software, the data, the programs, and the fundamental idea.

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. It is also the programs or data that a computer uses. Also kept on some hardware device such as a hard disk or floppy disk and consists of both programs and data. Programs are list of instructions for the processor. Data can be any information that a program needs like character data, numerical data, image data, audio data, and countless other types. Fundamental Idea, where both programs and data are saved in computer memory in the same way. The electronics of computer memory (both main memory and secondary memory) make no distinction between programs and data.

There are also different kinds of software which are the application software, the operating system and the programming languages.

Application software
are programs that people use to get their work done. It may include data entry, update query and report programs, productivity software for spreadsheets, word processing, databases and custom accounting programs for payroll, billing and inventory. It is designed to help people with specific task such as making a spreadsheet of creating a graphic image. Operating System is software which controls the computer and runs applications, it keep all the hardware and software running together smoothly. It communicates information from the application software to a computer’s program. Programming Languages are used to create all other software whether it is Operating system or Application software.

There are different kinds of languages such as the
Machine-LanguageAssembly, LanguageFORTRAN (Formula Translation), ALGOL (ALGOrithmic Language), COBOL (Common Business Oriented Language), BASIC (Beginner’s All-purpose Symbolic Instruction Code), Program Languages, PASCAL, LOGO, C languages (C and C++)LISP and PROLOG (PROgramming for LOGic), ADA, Java, and the Fourth and Fifth Generation Languages.
This week is a very tough and tiring one because of series of quizzes in tle but in spite of the difficulty, I have learned a lot about computers more on their different functions.



Friday, August 1, 2008

Learnings of the Week


During this week, we had a discussion about the different types of computer, its different fundamental elements and the different parts of a certain computer which helps me a lot on determining every function of that particular system.

I have learned that there are many types of computer we are using nowadays and it made me confuse sometimes on how they are being used for they have many uses. The types of computer are microcomputer,minicomputer,supercomputer,mainframe computer,wearable computer,workstation. After we had discussed the types of computer, we have tackled about the three fundamentals of computer which had widen my understanding about the uses of computer and its different functions.

We also tackled the parts of the tower case, the motherboard and others. I also learned that tower case has three types:full,midi,and mini. I have learned many things this week. I hope I could still remember these as we go on on our discussion on computers.