Friday, November 29, 2013

Structure programming vs Object Oriented Programming


Structured ProgrammingObject Oriented Programming
1. The program is represented as a logical structure 1. The program is written as a collection of objects which communicates with each other.
2. The flow of execution of the program is dependent on the structure of program. 2. The basic entity is object. Each computation is performed using objects only.
3. Code is given more importance i.e. taking care about what is happening. 3. Data is given more importance i.e. taking care about who is going to be affected.
4. Can handle upto moderately complex programs. 4. Can handle very complex programs.
5. Less Data security 5. Data security is higher.
6. Less Code Re-usability 6. More Re-usability
7. Less flexible 7. More flexible
8. Abstraction is less 8. Abstraction is more.
9. Debugging is quiet difficult 9. Easy debugging makes lower maintenance cost.
10. This is top-down approach. 10. This is a bottom-up approach.
11. Presence of global variables increase chances of accidental change in data 11. Data hiding feature prevents accidental change in data.

Friday, November 22, 2013

Fair & Lovely offer: Get two hour mobile credits to your mobile

Fair & Lovely Offer Terms & Conditions

--These terms and conditions (“T&C”) are applicable for the Fair & Lovely Offer (“Offer”), applicable from 1st November, 2013 to 30th November, 2013.
Consumers are invited to participate in the Offer where the consumers stand the chance to win a year’s supply of Fair & Lovely, orprepaid recharge of “120 minutes of National TalkTime”/”Rs. 120 Value Top Up”/”Rs. 120 credit on their postpaid Mobile Bill” on the participants mobile number.
How to Participate in the Offer:
  • To participate in this offer, the consumer needs to give a missed call to 09987666666.
  • Participant will get an Outbound (OBD) Call and follow the instructions of the IVRS flow.
  • After answering the simple question, 15,000 consumerseveryday would win a year’s supply of Fair & Lovely. This would mean a delivery of 14 sachets (9g) of Fair & Lovely.
  • However, such consumers may also choose to accept a recharge of their pre-paid mobile number for the same amount, i.e., worth Rs. 120, instead of the above mentioned award. This shall, however, be at the sole discretion of the consumer. 
Continue...