Skip to main content

Posts

Showing posts from 2013

Characteristics of Object-Oriented Programming( OOP ) and Procedure Oriented Programming ( POP )

Procedure Oriented Programming Object-Oriented Programming Divided Into In POP, the program is divided into small parts called  functions . In OOP, the program is divided into parts called  objects . Importance In POP, Importance is not given to  data  but to functions as well  the  sequence  of actions to be done. In OOP, Importance is given to the data rather than procedures or functions because it works in the  real world . Importance In POP, Importance is not given to functions. In OOP, Importance is given to the data. Approach POP follows  a Top-Down approach . OOP follows the  Bottom-Up approach . Access Specifiers POP does not have any access specifier. OOP has access specifiers named Public, Private, Protected, etc. Data M...

Structures in C

Structure is user defined data type which is used to store heterogeneous data under unique name. Keyword ' struct ' is used to declare structure. We already know that arrays are many variables of the same type grouped together under the same name. Similarity with arrays Structures are like arrays except that they allow many variables of different types grouped together under the same name. For example you can create a structure called person which is made up of a string for the name and an integer for the age. Here is how you would create that person structure in struct  person { char   * name ; int  age ; }; The above is just a declaration of a type. You must still create a variable of that type to be able to use it. Here is how you create a variable called p of the type person: Code: #include <stdio.h> struct  person { char   * name ; int  age ; }; int  main () { struct  person p ; ...

Cell Phones and Cancer Risk

Key Points Cell phones emit radiofrequency energy, a form of non-ionizing electromagnetic radiation, which can be absorbed by tissues closest to where the phone is held. The amount of radiofrequency energy a cell phone user is exposed to depends on the technology of the phone, the distance between the phone’s antenna and the user, the extent and type of use, and the user’s distance from cell phone towers. Studies thus far have not shown a consistent link between cell phone use and cancers of the brain, nerves, or other tissues of the head or neck. More research is needed because cell phone technology and how people use cell phones have been changing rapidly. ·   Why is there concern that cell phones may cause cancer or other health problems? There are three main reasons why people are concerned that cell phones (also known as “wireless” or “mobile” telephones) might have the potential to cause certain types of cancer or other...

File Pointers

A file pointer is a pointer to a structure, which contains information about the file, including its name, current address of the file in the memory, whether the file is being read or written, and whether errors or end of the file have occurred. The user does not need to Know the details, because the definitions obtained from stdio.h include a structure declaration called FILE. The only declaration needed for a file pointer is symbolized by FILE *fp; This says that fp is the file pointer that points to a FILE structure. Opening a file: The fopen() function opens a stream for use and links a file with that stream. A file pointer associated with that file is then returned by the fopen() function. Most often the file is a disk file. The prototype for the fopen() function is FILE *fopen( const char * filename, const char *mode); Where filename is a pointer to a string of characters that make up a valid file name and can also include a...

Pointers in C

Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your program's efficiency, and even allow you to handle unlimited amounts of data. For example, using pointers is one way to have a function modify a variable passed to it. It is also possible to use pointers to dynamically allocate memory, which means that you can write programs that can handle nearly unlimited amounts of data on the fly--you don't need to know, when you write the program, how much memory you need. Wow, that's kind of cool. Actually, it's very cool, as we'll see in some of the next tutorials. For now, let's just get a basic handle on what pointers are and how you use them. What are pointers? Why should you care? Pointers are aptly name: they "point" to locations in memory. Think of a row of safety deposit boxes of various sizes at a local bank. Each safety deposit box will have a number associated with it so that you ca...

Microsoft staff photo, December 7, 1978

Microsoft staff photo, December 7, 1978. From left to right: Top: Steve Wood , Bob Wallace , Jim Lane . Middle: Bob O'Rear , Bob Greenberg , Marc McDonald , Gordon Letwin . Bottom: Bill Gates , Andrea Lewis , Marla Wood , Paul Allen . Gates described the photograph in 2009 as "that famous picture that provides indisputable proof that your average computer geek from the late 1970s was not exactly on the cutting edge of fashion.

Where Did The Name Microsoft Come From?

On July 29, 1975, Bill Gates used the name " Micro-soft " in a letter to Paul Allen to refer to their partnership. The name was registered with the secretary of state of New Mexico on November 26, 1976. In August 1977, the company opened their first international office in Japan, called ASCII Microsoft. In 1981, the company incorporated in the state of Washington and became Microsoft Inc. Bill Gates was the President of the Company and the Chairman of the Board, and Paul Allen was the Executive VP.

The History Of Microsoft and Bill Gates

  Microsoft was formed by a Harvard College Dropout called Bill Gates. Bill Gates was born William Henry Gates III on October 28, 1955. He was born to a family that was successful in business, living a comfortable upper middle class life in Seattle, Washington. Early in his elementary school days, Bill Gates quickly shot to the head of the class, consistently outscoring his peers in most subjects, but especially math and science. His parents soon enrolled him in Lakeside Prep School, where the atmosphere was intellectual enough to stimulate the young Gates. This move to Lakeside would prove historic, for it was here, in the spring of 1968, that he was introduced to computers. At that time, computers were still too large and expensive for the school to purchase one of its own. Over the next ten months or so, the school struck agreements with various corporations who allowed the students to use their computers. Bill Gates, his buddy Paul Allen and a handful of o...