Thursday, 22 September 2016

Write a program in c to sum ,sub,mult ,division on a one program

#include<stdio.h>
#include<conio.h>
void main()
{
int  a,b,sum,sub,mult;
float div;
clrscr();
printf(" enter the value of a and b\n");
scanf("%d%d",&a,&b);
sum=a+b;
sub=a-b;
mult=a*b;
div=a/b;
printf("the sum is =%d",sum);
printf("the sub is =%d",sub);
printf("the mult is =%d",mult);
printf("the div is =%f",div)
getch();
}

Saturday, 3 September 2016

How to Prepare A Presentation Profile on Powerpoint

I like to think of Microsoft PowerPoint as a test of basic marketing skills. To create a passing presentation, I need to demonstrate design skills, technical literacy, and a sense of personal style.powerpoint-presentation-tips

If the presentation has a problem (like an unintended font, a broken link, or unreadable text), then I’ve probably failed the test. Even if my spoken presentation is well rehearsed, a bad visual experience can ruin it for the audience. Expertise means nothing without a good presentation to back it up.

PowerPoint Presentation Style Tips

Step 1: Don’t let PowerPoint decide how you use PowerPoint.


Microsoft wanted to provide PowerPoint users with a lot of tools. But this does not mean you should use them all. Here are some key things to look out for:

  • Make sure that preset PPT themes complement your needs before you adopt them.
  • Try to get away from using Microsoft Office’s default fonts, Calibri and Cambria. Using these two typefaces can make the presentation seem underwhelming.
  • Professionals should never use PPT’s action sounds. (Please consider your audience above personal preference).
  • PowerPoint makes bulleting automatic, but ask yourself: Are bullets actually appropriate for what you need to do? Sometimes they are, but not always.
  • Recent PPT defaults include a small shadow on all shapes. Remove this shadow if it's not actually needed. Also, don’t leave shapes in their default blue.

Step 2: Create custom slide sizes.

While you usually can get away with the default slide size for most presentations, you may need to adjust it for larger presentations on weirdly sized displays. If you need to do that, here's how.

  1. In the top-left corner, choose "File."
  2. Select "Page Setup."
  3. Type the height and width of the background you'd like, and click "OK."
  4. A dialogue box will appear. Click "OK" again.
  5. Your background is resized!

Tip: Resize your slides before you add any objects to them or the dimensions of your objects will become skewed.

Change-Size-of-Background-PPT-2

Step 3: Edit your slide template design.

Often, it's much easier to edit your PowerPoint template before you start -- this way, you don't have design each slide by hand. Here's how you do that.

  1. Select "Themes" in the top navigation.
  2. In the far right, click "Edit Master," then "Slide Master."
  3. Make any changes you like, then click "Close Master." All current and future slides in that presentation will use that template.\
Change-Slide-Master-1

Step 4: Make sure all of your objects are properly aligned.

Having properly aligned objects on your slide is the key to making it look polished and professional. You can manually try to line up your images ... but we all know how that typically works out. You're trying to make sure all of your objects hang out in the middle of your slide, but when you drag them there, it still doesn't look quite right. Get rid of your guessing game and let PowerPoint work its magic with this trick.

How to align multiple objects:

  1. Select all objects by holding down "Shift" and clicking on all of them. 
  2. Select "Arrange" in the top options bar, then choose "Align or Distribute."
  3. Choose the type of alignment you'd like.Align-to-Object

How to align objects to the slide:

  1. Select all objects by holding down "Shift" and clicking on all of them. 
  2. Select "Arrange" in the top options bar, then choose "Align or Distribute."
  3. Select "Align to Slide."
  4. Select "Arrange" in the top options bar again, then choose "Align or Distribute."
  5. Choose the type of alignment you'd like.

Align-to-SlidePowerPoint Presentation Design Tips

Step 5: Get more control over your objects' designs using "Format" menus.

Format menus allow you to do fine adjustments that otherwise seem impossible. To do this, right click on an object and select the "Format" option. Here, you can fine-tune shadows, adjust shape measurements, create reflections, and much more. The menu that will pop up looks like this:powerpoint_format_menusAlthough the main options can be found on PowerPoint’s format toolbars, look for complete control in the format window menu. Other examples of options available include:

Adjusting text inside a shape.
Creating a natural perspective shadow behind an object.
Recoloring photos manually and with automatic options.

Step 6: Take advantage of PowerPoint's shapes.


Many users don’t realize how flexible PowerPoint’s shape tools have become. In combination with the expanded format options released by Microsoft in 2010, the potential for good design with shapes is readily available. PowerPoint provides the user with a bunch of great shape options beyond the traditional rectangle, oval, and rounded rectangle patterns, unlike even professional design programs like Adobe Creative Suite or Quark.

Today’s shapes include a highly functional Smart Shapes function, which enables you to create diagrams and flow charts in no time. These tools are especially valuable when you consider that PowerPoint is a visual medium. Paragraphing and bullet lists are boring -- you can use shapes to help express your message more clearly.


Step 7: Create custom shapes.


When you create a shape, right click and press "Edit Points." By editing points, you can create custom shapes that fit your specific need. For instance, you can reshape arrows to fit the dimensions you like.edit_pointsAnother option is to combine two shapes together. When selecting two shapes, right-click and go to the "Grouping" sub-menu to see a variety of options.

  • Combine creates a custom shape that has overlapping portions of the two previous shapes cut out.
  • Union makes one completely merged shape.
  • Intersect builds a shape of only the overlapping sections of the two previous shapes.
  • Subtract cuts out the overlapping portion of one shape from the other.
  • By using these tools rather than trying to edit points precisely, you can create accurately measured custom shapes.

Step 8: Crop images into custom shapes.


Besides creating custom shapes in your presentation, you can also use PowerPoint to crop existing images into new shapes. Here's how you do that:

  1. Click on the image and select "Format" in the options bar.
  2. Choose "Crop," then "Mask to Shape," and then choose your desired shape. Ta-da! Custom-shaped photos. 

Crop-to-ShapeStep 9: Present websites within PowerPoint.

Tradition says that if you want to show a website in a PowerPoint, you should just create link to the page and prompt a browser to open. For PC users, there’s a better option.

Third party software that integrates fully into PowerPoint’s developer tab can be used to embed a website directly into your PowerPoint using a normal HTML iframe. One of the best tools is LiveWeb, a third-party software developed independently.

By using LiveWeb, you don’t have to interrupt your PowerPoint, and your presentation will remain fluid and natural. Whether you embed a whole webpage or just a YouTube video, this can be a high-quality third party improvement.

Unfortunately, Mac users don’t have a similar option. A good second choice is to take screen shots of the website, link in through a browser, or embed media (such as a YouTube video) by downloading it directly to your computer.

Friday, 2 September 2016

History of Python Language

Python’s early development started at a research institute in Amsterdam called CWI, which is a Dutch acronym for a phrase that translates into English as Centre for Mathematics and Computer Science. CWI is an interesting place; funded by the Dutch government’s Department of Education and other research grants, it conducts academic-level research into computer science and mathematics. At any given time there are plenty of Ph.D. students wandering about and old-timers in the profession may still remember its original name, the Mathematical Centre. Under this name, it was perhaps most famous for the invention of Algol 68.

I started working at CWI in late 1982, fresh out of university, as a programmer in the ABC group led by Lambert Meertens and Steven Pemberton. After 4 or 5 years the ABC project was terminated due to the lack of obvious success and I moved to CWI’s Amoeba group led by Sape Mullender. Amoeba was a micro-kernel-based distributed system being jointly developed by CWI and the Vrije Universiteit of Amsterdam, under leadership of Andrew Tanenbaum. In 1991 Sape left CWI for a professorship at the University of Twente and I ended up in the newly formed CWI multimedia group led by Dick Bulterman.

Python is a direct product of my experience at CWI. As I explain later, ABC gave me the key inspiration for Python, Amoeba the immediate motivation, and the multimedia group fostered its growth. However, so far as I know, no funds at CWI were ever officially earmarked for its development. Instead, it merely evolved as an important tool for use in both the Amoeba and multimedia groups.

My original motivation for creating Python was the perceived need for a higher level language in the Amoeba project. I realized that the development of system administration utilities in C was taking too long. Moreover, doing these in the Bourne shell wouldn’t work for a variety of reasons. The most important one was that as a distributed micro-kernel system with a radically new design, Amoeba’s primitive operations were very different (and finer-grain) than the traditional primitive operations available in the Bourne shell. So there was a need for a language that would “bridge the gap between C and the shell.” For a long time, this was Python’s main catchphrase.

At this point, you might ask "why not port an existing language?" In my view, there weren’t a lot of suitable languages around at that time. I was familiar with Perl 3, but it was even more tied to Unix than the Bourne shell. I also didn’t like Perl’s syntax--my tastes in programming language syntax were strongly influenced by languages like Algol 60, Pascal, Algol 68 (all of which I had learned early on), and last but not least, ABC, on which I’d spent four years of my life. So, I decided to design a language of my own which would borrow everything I liked from ABC while at the same time fixing all its problems (as I perceived them).

The first problem I decided to fix was the name! As it happened, the ABC team had some trouble picking a name for its language. The original name for the language, B, had to be abandoned because of confusion with another language named B, that was older and better known. In any case, B was meant as a working title only (the joke was that B was the name of the variable containing the name of the language--hence the italics). The team had a public contest to come up with a new name, but none of the submissions made the cut, and in the end, the internal back up candidate prevailed. The name was meant to convey the idea that the language made programming “as simple as ABC”, but it never convinced me all that much.

So, rather than over-analyzing the naming problem, I decided to under-analyze it. I picked the first thing that came to mind, which happened to be Monty Python’s Flying Circus, one of my favorite comedy troupes. The reference felt suitably irreverent for what was essentially a “skunkworks project”. The word “Python” was also catchy, a bit edgy, and at the same time, it fit in the tradition of naming languages after famous people, like Pascal, Ada, and Eiffel. The Monty Python team may not be famous for their advancement of science or technology, but they are certainly a geek favorite. It also fit in with a tradition in the CWI Amoeba group to name programs after TV shows.

For many years I resisted attempts to associate the language with snakes. I finally gave up when O’Reilly wanted to put a snake on the front of their first Python book "Programming Python". It was an O’Reilly tradition to use animal pictures, and if it had to be an animal, it might as well be a snake.

With the naming issue settled, I started working on Python in late December 1989, and had a working version in the first months of 1990. I didn’t keep notes, but I remember vividly that the first piece of code I wrote for Python’s implementation was a simple LL(1) parser generator I called “pgen." This parser generator is still part of the Python source distribution and probably the least changed of all the code. This early version of Python was used by a number of people at CWI, mostly, but not exclusively in the Amoeba group during 1990. Key developers besides myself were my officemates, programmers Sjoerd Mullender (Sape’s younger brother) and Jack Jansen (who remained one of the lead developers of the Macintosh port for many years after I left CWI).

On February 20, 1991, I first released Python to the world in the alt.sources newsgroup (as 21 uuencoded parts that had to be joined together and uudecoded to form a compressed tar file). This version was labeled 0.9.0, and released under a license that was an almost verbatim copy of the MIT license used by the X11 project at the time, substituting “Stichting Mathematisch Centrum”, CWI’s parent organization, as the responsible legal entity. So, like almost everything I’ve written, Python was open source before the term was even invented by Eric Raymond and Bruce Perens in late 1997.

There was immediately a lot of feedback and with this encouragement I kept a steady stream of releases coming for the next few years. I started to use CVS to track changes and to allow easier sharing of coding responsibilities with Sjoerd and Jack (Coincidentally, CVS was originally developed as a set of shell scripts by Dick Grune, who was an early member of the ABC group). I wrote a FAQ, which was regularly posted to some newsgroup, as was customary for FAQs in those days before the web, started a mailing list, and in March 1993 the comp.lang.python newsgroup was created with my encouragement but without my direct involvement. The newsgroup and mailing list were joined via a bidirectional gateway that still exists, although it is now implemented as a feature of mailman – the dominant open source mailing list manager, itself written in Python.

In the summer of 1994, the newsgroup was buzzing with a thread titled “If Guido was hit by a bus?” about the dependency of the growing Python community on my personal contributions. This culminated in an invitation from Michael McLay for me to spend two months as a guest researcher at NIST, the US National Institute for Standards and Technology, formerly the National Bureau of Standards, in Gaithersburg, Maryland. Michael had a number of “customers” at NIST who were interested in using Python for a variety of standards-related projects and the budget for my stay there was motivated by the need to help them improve their Python skills, as well as possibly improving Python for their needs.

Characterstic Of Python

  1. Generator Expressions
  2. input() Let me explain, I have not seen a language (so far), where you can assign a value to a statement that prints something, it is like ruby's print/gets, but with a value assigned to the print, instead of: print "Foo" bar = gets
  3. yield
  4. Many types of datasets: ordereddict, namedtuple, array, list, tuple, dictionary

Wednesday, 31 August 2016

How to save your money 8 tips.

1. Record your expenses


The first step in saving money is to know how much you’re spending. For one month, keep a record of everything you spend. That means every coffee, every newspaper and every snack you purchase for the entire month. Once you have your data, organize these numbers by category—for example, gas, groceries, mortgage and so on—and get the total amount for each.

2. Make a budget

Image result for Make a budget
Now that you have a good idea of what you spend in a month, you can build a budget to plan your spending, limit over-spending and make sure that you put money away in an emergency savings fund. Remember to include expenses that happen regularly, but not every month, like car maintenance check-ups. Find more information on creating a budget.

3. Plan on saving money

Image result for Plan on saving money
Taking into consideration your monthly expenses and earnings, create a savings category within your budget and try to make it at least 10-15 percent of your net income. If your expenses won't let you save that much, it might be time to cut back. Look for non-essentials that you can spend less on—for example, entertainment and dining out—before thinking about saving money on essentials such as your vehicle or home. Learn more money-saving tips from Bank of America.

4. Set savings goals

Setting savings goals makes it much easier to get started. Begin by deciding how long it will take to reach each goal. Some short-term goals (which can usually take 1-3 years) include:
Starting an emergency fund to cover 6 months to a year of living expenses (in case of job loss or other emergencies)
Saving money for a vacation
Saving to buy a new car
Saving to pay taxes (if they are not already deducted by your employer)
Try the Bank of America savings goal calculator to see how long it will take for you to reach your saving goal.
Long-term savings goals are often several years or even decades away and can include:
Saving for retirement
Putting money away for your child's college education
Saving for a down payment on a house or to remodel your current home

5. Decide on your priorities

Different people have different priorities when it comes to saving money, so it makes sense to decide which savings goals are most important to you. Part of this process is deciding how long you can wait to save up for a goal and how much you want to put away each month to help you reach it. As you do this for all your goals, order them by priority and set money aside accordingly in your monthly budget. Remember that setting priorities means making choices. If you want to focus on saving for retirement, some other goals might have to take a back seat while you make sure you're hitting your top targets.

6. Different savings and investment strategies for different goals

If you're saving for short-term goals, consider using these FDIC-insured deposits accounts:
A regular savings account, which is easily accessible
A high-yield savings account, which often has a higher interest rate than a standard savings account
A bank money market savings account, which has a variable interest rate that could increase as your savings grow
A CD (certificate of deposit), which locks in your money at a specific interest rate for a specific period of time
For long-term goals consider:
FDIC-insured IRAs, which are built for purposes such as retirement savings. If you’re not sure how much money you should set aside for retirement, give the Merrill Edge retirement calculator a try.
Securities, like stocks and mutual funds. These investment products are available through investment accounts with a broker-dealer (e.g. Merrill Edge). Remember that securities, such as stocks and mutual funds, are not insured by the FDIC, are not deposits or other obligations of a bank and are not guaranteed by a bank, and are subject to investment risks including the possible loss of principal invested.

7. Make saving money easier with automatic transfers

Automatic transfers to your savings account can make saving money much easier. By moving money out of your checking account, you'll be less likely to spend money you wanted to use for savings. There are many options for setting up transfers. You choose how often you want to transfer money and which accounts you want to use for the transfers. You can even split your direct deposit between your checking and savings accounts to contribute to your savings with each paycheck. Thinking of saving as a regular expense is a great way to keep on target with your savings goals.

8. Watch your savings grow

Check your progress every month. Not only will this help you stick to your personal savings plan, but it also helps you identify and fix problems quickly. With these simple ways to save money, it may even inspire you to save more and hit your goals faster.

Tuesday, 30 August 2016

how to improve your personality.

In order to help all spiritual seekers who wish to make fast spiritual progress we developed these intensive spiritual workshops to provide clear practical guidance and a highly conducive environment for spiritual growth.
If you have desire to know yourself at a much deeper level, to nurture divine qualities and greatly increase the pace of your inner change then we encourage you to take the benefit of this unique opportunity.


The workshops include interactive and practical sessions to help you:


  1. Overcome personality defects and reduce ego
  2. Gain higher levels of protection from spiritual distress and learn about various self-healing methods
  3. Learn how the spiritual dimension can affect our lives
  4. Acquire tools and guidance to go to the next level of spiritual practice

If you incorporate the simple steps of spiritual practice that you will learn in this workshop, you will benefit from greater spiritual protection, peace of mind and experience fast spiritual development.

The workshop groups are kept small with around 10 attendees only, so that we can give you individual support for your spiritual practice taking into account your personality, state of mind and spiritual path. We will also provide you with all the necessary tools to further your Spiritual journey once you are back home.
If you want to see the video click here on video 

WHO IS HACKER

Hacker is a term used by some to mean "a clever programmer" and by others, especially those in popular media, to mean "someone who tries to break into computer systems."
1) Eric Raymond, compiler of The New Hacker's Dictionary, defines a hacker as a clever programmer. A "good hack" is a clever solution to a programming problem and "hacking" is the act of doing it. Raymond lists five possible characteristics that qualify one as a hacker, which we paraphrase here:

A person who enjoys learning details of a programming language or system
A person who enjoys actually doing the programming rather than just theorizing about it
A person capable of appreciating someone else's hacking
A person who picks up programming quickly
A person who is an expert at a particular programming language or system, as in "UNIX hacker"
Raymond deprecates the use of this term for someone who attempts to crack someone else's system or otherwise uses programming or expert knowledge to act maliciously. He prefers the term cracker for this meaning.

2) The term hacker is used in popular media to describe someone who attempts to break into computer systems. Typically, this kind of hacker would be a proficient programmer or engineer with sufficient technical knowledge to understand the weak points in a security system. For more on this usage, see cracker.
In other word 
"1.a person who uses computers to gain unauthorized access to data.
2.a person or thing that hacks or cuts roughly."