...

Tuesday 18 August 2015

C++ Beginner Level Assignment




“Great ability develops and reveals itself increasingly with every new assignment.”


Assignment Details: Create Functions where required. This Assignment will give you opportunity to grasp all your concepts at the beginner level. I assure you that if any programmer will be able to implement all these questions without getting help from peers and Internet ,he/she will be a really good programmer in future.
GOOD LUCK. :) .....


How to make your Blog SEO Friendly?



It is obvious that everyone is familiar with blogs and Blogger is a product of Google Inc. and how popular the CMS (Content Management System) is among the Bloggers. There is a myth among Bloggers that Blogger blog is SEO friendly as it is owned by Google itself. But, the fact is that no CMS is SEO friendly by default. As a user we should optimize it for search engines. Google has added some useful SEO features to the Blogger platform and those include - Custom Robots.txt, Search Description for all Blogger Posts, an option to 301 redirect blogger posts, custom permalinks, custom 404 page and much more. I assume that you're familiar with these features but if you're not then Google it. I'm not explaining these features because this post is only regarding the steps which will make your blog SEO friendly. Your blog must be SEO friendly because now a days there are thousands of website and your blog will not be in the search engine or it'll be in the last pages. People usually browse and see only first 3 to 5 pages of the search. Here are few steps which will help you to make your blog SEO friendly.


Title Tag Optimization

If you’re using any default blogger templates, you might’ve noticed that your homepage title appears after every post title in search results. Since Google displays only the first 66 characters of your title, your actual title that come after your home page title will get ignored most of the time. If you’ve targeted any important keywords in your post title, then they’ll be chopped off because of the home page title being appended before it.
In order to optimize your Title tags, follow the below steps.
  1. Blogger > Template > Edit HTML
  2. Search for the below code in the <head> section of your template
    <title><data:blog.pageTitle/></title>
  3. Replace it with the below code
    <b:if cond=’data:blog.pageType == &quot;item&quot;’>
    <title><data:blog.pageName/> | <data:blog.title/></title>
    <b:else/>
    <title><data:blog.pageTitle/></title>
    </b:if>
  4. Now, save your template.

Change your Post title Heading Tag

By default, all blogger templates use H1 for homepage title, H2 for blog description and H3 to post titles. Due to the fact that the post titles are the second most important part of your blog after the main title, you should assign them an H2 instead of H3.
  1. Go to Template | Edit HTML
  2. Search for .post h3 and replace all the occurrences of it with .post h2.
  3. Next search for,
    <h3><data:title/></h3>
  4. Replace it with the below code
    <h2><data:title/></h2>
  5. Save template.

 

Meta Description

Blogger has implemented another much-awaited feature called ‘Search Description’. This allows us to provide a meta description to every post individually. If you’re using the default template provided by Blogger, you can simply activate this feature by going to Settings > Search Preferences and provide the description for your homepage under ‘Meta Tags’ section. Doing so will enable ‘Search Description’ option for all individual posts & you can see it on the right sidebar while you are on the post editor.
Enable Search Description Feature in Blogger
In case you’re using a custom or third-party templates, along with the above settings, you’ll also need to add a small piece of code in your template.
Add the below code under the <head> tag in your template.
<b:if cond=’data:blog.metaDescription != &quot;&quot;’>
<meta expr:content=’data:blog.metaDescription’ name=’description’/>
</b:if>

Robots.txt Settings for Blogger

The robots.txt file in Blogger will have the default settings which are not sufficient enough to control the search engines actions. By default, all your posts and labels will get indexed by the search engines like Google & Bing, thus creating a lot of duplicate content issues inside your own blog. In order to avoid such technical issues, it’s wise to make a better use of the robots.txt file.
Settings > Search Preference > Enable ‘Custom robots.txt’ under ‘Crawlers and indexing’ section and use the below text.
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search/
Disallow: /search?
Disallow: /search?q=*
Disallow: /*?updated-max=*
Disallow: /p/about.html
Disallow: /p/privacy.html
Allow: /
Sitemap: http://www.9to5blogger.com/atom.xml?redirect=false&start-index=1&max-results=500

Points to Remember

  • Replace my domain name with yours in the sitemap section.
  • If you’ve more than 500 posts, then simply use this tool to generate the Sitemaps based on your post count.
  • You can also chose to disallow your privacy and about pages from being indexed. Make sure you change the my URLs with your own permalinks before saving.

Add NoFollow Tag to All Labels

Although you’ve disallowed indexing of Labels using the robots.txt file, it is better to add a nofollow tag to them so that there will be no chance for them to get indexed. Go to Template > Edit HTML and search for the below code.
<a expr:href=’data:label.url’ rel=’tag’>
Either add the nofollow tag to the end of the above syntax or simply replace it with the below one.
<a expr:href=’data:label.url’ rel=’tag,nofollow’>
Save your template.

Custom Robots Header Tags

These robots tags will go in the header section of your blog. You can use these settings to disable indexing of archive and search pages in search results. Go to Settings > Search Preferences > ‘Enable custom robots header tags?’ under the ‘Crawlers and indexing’ section. Next, use the below settings.
Custom X-Robots Heder Tags for Blogger
In case you don’t understand the meaning and use of these commands, then know about them here.

Submit Blogger Sitemap to Google & Bing

Although Google & Bing can find your blog, they cannot index your entire site as they won’t have a clue what pages are listed on your blog. This is why the Sitemaps existed. Generate sitemap for your blogger blog (use this tool) and then submit them to both Google Webmaster Tools & Bing Webmasters. Doing so will not only helps the search engines to crawl your blog efficiently but also let you to monitor your SEO score using their dashboard.
Note: You’ll need to place their tag on your site under <head> tag in order to verify your ownership.

Optimize URL Parameters in Webmaster Tools

URL parameters help the search engines to crawl your site even more efficiently. Prioritize your  most useful content by controlling the URL parameters that effect your site content. Simply, go to WMT > Configuration > URL parameters and the add the below parameters one by one. Watch the screenshot in case of any doubts.
  • utm_source > No > Let Googlebot decide
  • utm_medium > No > Let Googlebot decide
  • utm_campaign > No > Let Googlebot decide
  • updated-max > Yes > Sorts > Let Googlebot decide
  • showComment > No > Let Google bot decide
  • max-results > Yes > Sorts > Let Google bot decide
  • m > Yes > Paginates > Let Google bot decide
  • commentPage > Yes > Paginates > Every URL
Adding URL Parameters for Blogger in Webmaster Tools

Redirect Broken Links

Just go to your webmaster tools account and from Health > Crawl Errors, find out if there are any 404 errors on your blog. If there are any such errors, simply use a 301 to redirect them to the correct locations on your blog.


Redirect Broken Links


Go to Settings > Errors and redirections > Custom Redirects.
Apart from these basic settings, make sure you’re optimizing your blog post too. Here are some tips from my end.

How to Write a Keyword Efficient Blog Post?

  1. Analyze first & choose a target keyword before writing any article.
  2. Use the exact keyword at least twice in the article & use the synonyms (3 to 5 times) across the entire article.
  3. Ensure that the permalink of your post contains the exact keyword.
  4. The title should contain your exact match keyword.
  5. Make sure your ‘Search Description’ contains at least 1 exact keyword & 1 synonym.
  6. Lastly, give some useful insights in the article and then publish it.
My Advice: Never stuff more than the described keyword count as it looks like stuffing keywords in your article. Just use them at appropriate places (wherever suitable).

That’s all  from me! Do follow these tips to make your Blogger blog SEO friendly. Don't forget to share it on social media for the help of other bloggers. :) 

Wednesday 6 May 2015

What if 3D Printing was 100x Faster?

What we think of as 3D printing, says Joseph DeSimone, is really just 2D printing over and over ... slowly. Onstage at TED2015, he unveils a bold new technique — inspired, yes, by Terminator 2 — that's 25 to 100 times faster, and creates smooth, strong parts. Could it finally help to fulfill the tremendous promise of 3D printing?

Tour Microsoft's Virtual Earth

Microsoft's Stephen Lawler gives a whirlwind tour of Virtual Earth, moving up, down and through its hyper-real cityscapes with dazzlingly fluidity, a remarkable feat that requires staggering amounts of data to bring into focus.

The Genesis of Google

Google co-founders Larry Page and Sergey Brin offer a peek inside the Google machine, sharing tidbits about international search patterns, the philanthropic Google Foundation, and the company's dedication to innovation and employee happiness.

Sunday 15 February 2015

Bill Gates Work Routine

Bill Gates was born on October 28, 1955. Bill Gates is an American business magnate, philanthropist, investor, computer programmer, and inventor. Gates originally established his reputation as the co-founder of Microsoft, the world’s largest PC software company, Bill Gates founded the world's largest software business, Microsoft, with Paul Allen, and subsequently became one of the richest men in the world. His aid programme to irradiate poverty through Bill and Melinda Gates Foundation is an extraordinary act of greatness. Bill Gates through his own fortune and good will is doing more than any one world has seen. He has not only donated his enormous wealth but also convinced the richest people in the world to do the same.
Bill Gates said "Research shows that there is only half as much variation in student achievement between schools as there is among classrooms in the same school. If you want your child to get the best education possible, it is actually more important to get him assigned to a great teacher than to a great school."

Now Watch the video and you'll see how Bill Gates work hard for success.

Sunday 1 February 2015

Internet - A Most Common and Useful Approach

In this modern century the Internet is the most widespread approach to find out information, although some believe that such approach has more drawbacks. These days many people have a Personal Computer (PC) in their house, obviously they pass a lot of time using the internet. As today it is the best easy and contented way to acquire information. To begin with students, for example, when studying at school the teachers give homework, and frequently that to carry out the task they have to obtain a lot of material. So the student can't do it without internet's assistance. As for majority it's very useful and fast solution. Additionally, for normal person, internet the best mechanism to know about some news about what’s happening over the world or maybe weather forecast in his state. One should, nevertheless, not overlook that this approach of finding material has some disadvantages. Primarily, there is a risk that it’s reliable information or not. Furthermore, you simply can't find the exact information which you are looking for. You must settle with that to discover information on the Internet takes a little time and the search method also matters. There is a large number of data available for users because the whole world has to get news and knowledge whatever they need. These days the internet users are not of the specific age group. Everyone is familiar with it i.e. young and older age group too.


The internet is a boundless place and it’s the one that we could not live without now a days. But we must remember that everything may not be like that as it seems. Populace who use the internet may not be who they say they are and info you find on the internet may not be correct.
Lots of people love gaining access to the internet, but its valuable remembering to keep safe while using the internet because it’s a cyberspace. You might know the consequences along with the advantages about the internet but it’s worth facing a few things in mind.
Many of us now enjoy access to the website via a computer at home, work, and school or even on your mobile phone. It’s significant to think about what kind of info you give out, and keep to yourself in what you say and do. While using the internet you must remember the following things to avoid any sad incident.
  • Never give any personal info such as your home address, phone number, or school to anyone for online conversation, even if you are offered free samples, assistance or data.
  • If you have your personal website or pages on social media sites such as Facebook, Twitter or Google Plus, remember that these are public sites and anybody can visit them.
  • Always think cautiously about what you put on your website, particularly photos. Instead of uploading a picture of yourself you could draw an image, or upload something a bit abstract to protect your identity. But these days the social media sites try to protect your personal info.
  • Remember that people who contact you may not be who they say they are. Anybody can say that they share your interests and are the age fellow but not everybody is as they seem on the internet.
  • Never organize a face-to-face meeting on your own with anyone you’ve met on the internet. If they want to see you, tell your parents/guardians and friends. If you still choose to go forward and meet up, select a busy public place and take somebody with you.
  • Don’t answer to threatening or offensive messages and mails. No matter how frustrating or impolite they are - tell your parents/guardians, block the individual and report them to the website owner.p
  • Be cautious if you get an email from somebody you don’t know. It could have a virus at the very least, which can disorder your computer.

Friday 30 January 2015

What is Search Engine Optimization (SEO)?


What is Search Engine Optimization (SEO)?

SEO stands for Search Engine Optimization. SEO helps to improve and promote a website to increase the traffic or you can say number of visitors that the site gets from search engines like Google. There are many aspects to SEO, from the words on your web page to the way as other sites link to you on the web. SEO is simply a way to make sure that your site is structured like the way that search engines can easily understand.
SEO is not just about making search engine friendly websites. It's about making a website better for people too. Computer Science Prevails make sure that you can fully learn about SEO and then implement it on your website. This tutorial is designed to introduce you to all the areas of SEO.

Why SEO?




The majority of web traffic sources are the major search engines like, Google, Bing, and Yahoo!. On the other hand, the social media and some other types of traffic can add up the audience to your website but the search engines are the primary key of searching for most of the Internet users. This is a fact whether your website provides content, articles, services, products, information, entertainment or anything else.
Search engines plays a vital role and are unique because they provide targeted traffic. The people who are looking for something relevant to their needs, the Search engines are the most likely source for their help. If search engine cannot track your website, or cannot add your website's content to their databases, you miss out one of the best opportunities to increase traffic to your website.
The words that internet users type into the search box has an extraordinary value and that are called search queries. Facts and figures have shown that search engine traffic matters a lot in an organization's success. Targeted traffic to a website provides publicity, revenue, and exposure like no other way of marketing. Investment in SEO will give you an excellent rate of return as compared to other types of marketing and promotion.

What happens without SEO?

Search engines are kept updated and are smart too but they still need help to search webpages for users. The search engines are always trying to improve their technology to crawl the webpages more deeply, precisely and return better search results to the users. However, there is a boundary to how search engines can operate but the SEO can let you thousands of visitors and more attention with interest. The wrong step in SEO can hide your website deep in the search results where the users does not visit. Normally the users search their relevant data and go to the first 3 to 5 pages of the search result.
Moreover, to make your website's content available to search engines, SEO also helps to boost up the rankings of your website so that the content will be available where the users will  find it more easily i.e. on the first 2,3 pages of the search engine. The world of Internet is becoming more competitive, and those developers who perform SEO in the websites will have an advantage in increasing the company's audience and customers.

Can You Perform SEO Yourself?

Performing SEO is complex, but most people can easily understand the basic concept. A small amount of knowledge can make a big difference because its a Chinese proverb that "A journey of a thousand miles begins with a single step". Your knowledge with a little practice can make you an expert. In the world of Computer Science practice is most important beside your knowledge. Becoming an expert depends on your commitment, passion to learn and the complexity of your website. First of all you must have a clear concept of SEO before performing it.
Computer Science Prevails also provides a tutorial on performing SEO correctly but first of all you must understand the basics. A tutorial on performing SEO is available, all you need is to click here.

 



Factorial in C++

In Mathematics, the factorial of a non-negative integer is the product of all positive integers less than or equal to that non-negative integer whose factorial is being taken. The symbol of factorial is exclamation mark (!). For example:
5! = 5 x 4 x 3 x 2 x 1 = 120
12! = 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 = 479001600
In C++, finding the factorial is very easy. All you need is to firstly just understand the concept of factorial and then implement your concept in coding. Here is the simple basic code to find the factorial of any number.

#include<iostream>
using namespace std;
int main()
{

     // Variable Declaration
     int counter, num, fact = 1;

     // Get Input
     cout<<"Enter the Number to find its Factorial: ";
     cin>>num;

     //'for' Loop
    for (int counter = num; counter >= 1; counter--)
     {
         fact = fact * counter;
     }
     cout<<endl;
     cout<<"Factorial of "<<num<<" is: "<<fact<<endl;
     return 0;
 }

Explanation:

In this program I've used the for loop to find the factorial of any number given by the user. For example, the user enters a number '5'. This number will be stored in the the variable 'num' and then the 'for' loop body starts. For loop will execute the loop in reverse order from 5 to 1. It will multiply the value of counter with variable fact and the store its value in fact. e.g:
1=1*5
5=5*4
20=20*3
60=60*2
120=120*1
Finally the program will output the last value stored in the variable fact. According to the given example, the program will show 120 on the output screen because the factorial of 5 is 120. You can also see the output screen given below.

Monday 26 January 2015

Steve Jobs Explains the Rules for Success

Success is what everyone wants to achieve. I think everyone one knows who Steve Jobs was. Steve Jobs was the cofounder, chairman, and CEO of Apple Inc. He was one one the successful people in the history. In this video Steve Jobs explains the rules to become a successful person. Now, watch the video.


Thursday 22 January 2015

Microsoft Windows 10 to turn tablets into PCs

Windows is highly powerful kind of thing. Microsoft Windows 10 to turn tablets into PCs. This is a video with voice of Joe Bilfiore, Corporate Vice President, Microsoft.

Ada Augusta, the First Programmer

On December 10, 1815 (the same year that George Boole was born), a daughter Augusta Ada ByronÑ was born to Anna Isabella (Annabella) Byron and George Gordon, Lord Byron. At that time in England Byron’s fame derived not only from his poetry but also from his wild and scandalous behavior. The marriage was strained from the beginning, and Annabella left Byron
shortly after Ada’s birth. By April of 1816, the two had signed separation papers. Byron left England, never to return. Throughout the rest of his life he regretted that he was unable to see his daughter. At one point he wrote of her,

     I see thee not. I hear thee not.
     But none can be so wrapt in thee.

Before he died in Greece, at age 36, he exclaimed,  ada-lovelace_custom-36235be92c6df0badbde6aed459cadf598131dee
     Oh my poor dear child! My dear Ada!
     My God, could I but have seen her!

Meanwhile, Annabella, who eventually was to become a baroness in her own right, and who was educated as both a mathematician and a poet, carried on with Ada’s upbringing and education. Annabella gave Ada her first instruction in mathematics, but it soon became clear that Ada was gifted in the subject and should receive more extensive tutoring. Ada received further training from Augustus DeMorgan, today famous for one of the basic theorems of Boolean algebra. By age eight, Ada had demonstrated an interest in mechanical devices and was building detailed model boats.


When she was 18, Ada visited the Mechanics Institute to hear Dr. Dionysius Lardner’s lectures on the “Difference Engine”, a mechanical calculating machine being built by Charles Babbage. She became so interested in the device that she arranged to be introduced to Babbage. It was said that, upon seeing Babbage’s machine, Ada was the only person in the room to understand immediately how it worked and to recognize its significance. Ada and Charles Babbage became lifelong friends. She worked with him, helping to document his designs, translating writings
about his work, and developing programs for his machines. In fact, Ada today is recognized as the first computer programmer in history.
When Babbage designed his Analytical Engine, Ada foresaw that it could go beyond arithmetic computations and become a general manipulator of symbols, and thus would have far-reaching capabilities. She even suggested that such a device eventually could be programmed with rules of harmony and composition so that it could be produce “scientific” music. In effect, Ada foresaw the field of artificial intelligence more than 150 years ago.

In 1842, Babbage gave a series of lectures in Turin, Italy, on his Analytical Engine. One of the attendees was Luigi Menabrea, who was so impressed that he wrote an account of Babbage’s lectures. At age 27, Ada decided to translate the account into English, with the intent to add a few of her own notes about the machine. In the end, her notes were twice as long as the original material, and the document, “The Sketch of the Analytical Engine,” became the definitive work on the subject.

It is obvious from Ada’s letters that her “notes” were entirely her own and that Babbage was acting as a sometimes unappreciated editor. At one point, Ada wrote to him,

     I am much annoyed at your having altered my Note. You know I am always
     willing to make any required alterations myself, but that I cannot endure
     another person to meddle with my sentences.

Ada gained the title Countess of Lovelace when she married Lord William Lovelace. The couple had three children, whose upbringing was left to Ada’s mother while Ada pursued her work in mathematics. Her husband was supportive of her work, but for a woman of that day such behavior was considered almost as scandalous as some of her father’s exploits.

Ada died in 1852, just one year before a working Difference Engine was built in Sweden from one of Babbage’s designs. Like her father, Ada lived only to age 36, and even though they led very different lives, she undoubtedly admired him and took inspiration from his unconventional and rebellious nature. In the end, Ada asked to be buried beside him at the family’s estate.

Twitter Delicious Facebook Digg Favorites More

 
Design by MA Technologies | Bloggerized by Computer Science Prevails