Showing posts with label of. Show all posts
Showing posts with label of. Show all posts

Thursday, March 12, 2015

Announcing Version 1 9 of the NET Library for Google Data APIs

We have released version 1.9 of the .NET Library for Google Data APIs and it is available for download.

This version adds the following new features:

  • support for 3-legged OAuth
  • two new sample applications: BookThemAll (mashup of Calendar and Provisioning APIs) and UnshareProfiles (showcasing a new feature of the Google Apps Profiles API)
  • updates to the Content for Shopping API to implement 20+ new item attributes
  • support for new yt:rating system and Access Control settings to the YouTube API

This new version also removes the client library for the deprecated Google Base API and fixes 20 bugs.

For more details, please check the Release Notes and remember to file feature requests or bugs in the project issue tracker.

Claudio Cherubino profile | twitter | blog

Claudio is a Developer Programs Engineer working on Google Apps APIs and the Google Apps Marketplace. Prior to Google, he worked as software developer, technology evangelist, community manager, consultant, technical translator and has contributed to many open-source projects, including MySQL, PHP, Wordpress, Songbird and Project Voldemort.

Read more »

Tuesday, March 10, 2015

Lots of Excitement about Google Apps at I O 2011

Hard to believe it’s been only two short weeks since Google I/O 2011! There was fantastic energy at the event, and developers had their choice of over 100+ sessions on topics ranging from Google Apps to Android to App Engine to HTML5 to Cloud Robotics.

Here are the highlights from the Google Apps track:

Sessions

In the Google Apps track, we had 8 sessions on a variety of topics of interest to Google Apps Marketplace developers, systems integrators and customers alike. All of the sessions are available in HD on YouTube and we’ve also posted many of the session slides and notes.

Google Apps Marketplace:

  • Launch and Grow your Business App on the Google Apps Marketplace provided an intro to the Apps Marketplace, but most of the session was third-party developers telling the story of their businesses, demoing their integrations and providing guidance for other developers looking for success on the Marketplace. Teaser: 30% free->paid conversion rates from GQueues on the Google Apps Marketplace.
  • Apps Marketplace: Best Practices and Integrations covered a wealth of best practices for business app development and Google Apps integrations based on experience working with hundreds of developers building applications for the Google Apps Marketplace.

Google Apps Script:

  • Enterprise Workflow with Apps Script showed how Google Apps Script can be used to build complex workflows using simple server-side JavaScript code. The speakers built on several examples for document publishing approval, showing lots of code for how it’s done.
  • Developing Apps, Add-Ins and More stepped through building Add-Ins with deep integration into the Google Apps UI and full applications. The team announced the Apps Script GUI Builder to drag and drop UI components and full Apps Script APIs for Gmail and Google Docs.

Application APIs:

  • Google Tasks API announced the brand-new API to interact with a user’s Google Tasks. Several third-party developers demonstrated how they integrated tasks with their project management and CRM apps.
  • Using the Google Docs APIs to Store All your Information in the Cloud gave a very brief overview of the Documents List API followed by a deep-dive into gcategorically, an App Engine + Python sample app for uploading documents to Google Docs. Best practices for developing integrations with Google Doc were also covered. This session is very useful for Apps Marketplace developers, especially because of the new ability to upload all file types to all types of Google accounts.

Solutions and Administration:

  • Developing Innovative Custom Business Solutions with Google Apps covered how web solution providers are driving us towards the goal of 100% web. Included many real-world examples from a variety of companies who are extending Google Apps using Apps Script, Google Sites, gadgets, Data APIs, App Engine, GWT and more.
  • Compliance and Security in the Cloud talked about the suite of APIs and tools available for Google Apps customers to handle policy compliance, audit, incident response and more. Very helpful session for IT administrators, CTOs and CIOs using Google Apps, with much of the session diving into several examples using real-world use cases.

Developer Sandbox

We had 24 fantastic companies in our Developer Sandbox this year, showcasing the applications they built for the Google Apps Marketplace and the services they provide Google Apps customers as system integrators or VARs. We were excited to see many of the companies talking about new integrations they have recently built with Google Apps.

Parties and Fun

The official After Hours event celebrated technical and artistic innovation and included robots, games and transforming vehicles in addition to a live performance from Jane’s Addiction. Many Google teams and companies attending I/O also threw plenty of great parties at nearby bars and restaurants.

Thanks to all the developers who attended Google I/O and made it such an enormous success. Our team loved the chance to chat with many of you and learn more about your businesses and technical challenges.

Hope to see you all at Google I/O 2012!

Want to weigh in on this topic? Discuss on Buzz



Ryan Boyd profile | twitter | events

Ryan is a Developer Advocate on the Google Apps Marketplace team, helping businesses build applications integrated into Google Apps. Wearing both engineering and business development hats, youll find Ryan writing code and helping businesses get to market with integrated features.

Read more »

Monday, March 9, 2015

Deprecating Tables and Records feeds of the Spreadsheets API

At Google, we value quality, effective developer products. APIs are something we develop and release often. In support of this, we offer many APIs in our Labs program that allows our users to test APIs in an experimental setting.

After more than two years in service, we have made the decision to deprecate the Table and Record feeds of the Google Spreadsheets API. Having thoroughly tested these feeds and received lots of your feedback, we feel that the functionality provided by these feeds is something much better satisfied by the List and Cell feeds in the API.

Our deprecation plan for these APIs will keep these feeds in service for an additional year from today’s date.

If you are a current user of the Table and Record feeds, we highly recommend that you take the time to migrate over to the List and Cell feeds. Since the List feed works very similarly to the Records feed, this should be a smooth process.

As always, if you have any questions, feel free to use the Spreadsheets API forum.

Want to weigh in on this topic? Discuss on Buzz

Read more »

Wednesday, March 4, 2015

Directory of 1700 Learning Tools Jane Knight

  • Link to Learning Tools Directory
  • Janes E-Learning Pick of the Day
  • Top 100 Tools For Learning
WHAT?
A growing Directory of over 1,700 learning tools ranging from "traditional" course development tools through E-Learning 2.0 collaboration and sharing tools as well as tools for personal learning. The tools are both free/open source and commercial.

The tools are categorised in two main areas:
  • PRODUCER TOOLS for developers and deliverers of workplace learning, performance improvement solutions or post-16 education (e.g. Blogging tools, Content Management tools, Course Authoring tools, Course & Learning Management tools, Learning Games tools, Podcasting tools and Wiki tools).
  • PERSONAL TOOLS for students, employees, lifelong learners, etc for personal or group learning purposes (e.g. Personal Productivity tools, (Re)search tools, Social Bookmarking tools and Browsers & Extensions).

Some tools are available in both free and commercial versions, and appear in a number of categories.

Have fun exploring and discovering new useful learning tools :)

Read more »

The the Map of Creativity Flash version

Link to the Map of Creativity
"The Map of Creativity is a user-friendly, interactive database of innovative educational projects throughout the world.

The Next Generation Foundation (NGF) exists to promote a culture of creativity by providing exceptional educators working in marginalised communities with opportunities to learn new skills, by supporting exemplary projects around the world, and by providing a platform for dialogue, debate and exchange of ideas. Ultimately, the success of the Next Generation Foundation project, rests on the involvement of as many of the partners in childrens lives as possible."

Read more »

Tuesday, March 3, 2015

The Real Story Behind the Failure of U K eUniversity

Link to article (By Richard Garrett)
"In February 2000, with much fanfare, the British government announced funding of 62 million ($113 million) for a national, commercial e-university called United Kingdom e-University (UKeU). The initiative was touted as an innovative response to the perceived opportunities and threats of online higher education in the form of U.S. institutions such as the University of Phoenix Online and the University of Maryland University College, not to mention the many at the time dot-com start-ups such as NYU Online and Cardean University.
Despite considerable resources and a lengthy development period given to UKeU, the government announced in February 2004 that the project had failed to meet recruiting targets, and it quickly became clear that the initiative would not survive..."
This article looks at some of the reasons for UKeUs failure, which include timing, focus, branding, platform investment (around 35 Million US Dollars), and impatience. A great article that we should all read and learn from .
Read more »

Warren Buffetts MBA Talk Vs Evolution of Dance

  • Wikipedia
  • Warren Buffett MBA Talk (1 hr 28 min video)

WHO?
Warren Edward Buffett (b. August 30, 1930, Omaha, Nebraska), often called the "Sage of Omaha" or the "Oracle of Omaha", is an American investor, businessperson and philanthropist ($30 billion donation to Bill and Melinda Gates Foundation!). Buffett has amassed an enormous fortune from astute investments managed through the holding company Berkshire Hathaway, of which he is the largest shareholder and CEO. With an estimated current net worth of around US$52 billion, he was ranked by Forbes as the second-richest person in the world as of September 2007, behind Bill Gates ...more

WARREN BUFFETT MBA TALK?
This (FREE) Google Video Warren Buffett MBA Talk (made before a graduating MBA class at University of Florida), is simply a must for anyone studying, doing, or planning to do business. You might hate him or love him, but certainly you can spare 1 1/2 hours of your life to learn from his amazing razor sharp wisdom and advice in investment, finance, business and life in general. If you want a more instructionally chunked version (6-12 minute parts) you can always enjoy the 10 part series on YouTube. Here is the Google Video version, if you missed it:


WISDOM OF THE CROWDS?
Amazingly, Warren Buffetts MBA Talk on Google Video has only been viewed +98,000 times (since September 04, 2006). I suppose it sounds a lot, but if you compare it to the most viewed video on YouTube (at the moment), it has roughly 600 times less views. Believe it or not, the six minute Evolution of Dance has until now got more than 59 MILLION views (since April 06, 2006). Alright, I got to admt it is really funny, and even I have used it during a few workshops and classes to loosen up the participants with a bit of laughter! One might also argue that the Google Video version is too long (88 minutes) to get so many views, but the chunked version on YouTube has even got fewer views. The Buffett MBA Talk Part 1 has until now only got +38,000 views (since May 23, 2007), and that is more than any of the other 9 parts.

Lets look at it from another angle. The Worldwide MBA registration figures for the council’s Graduate Management Admission Test (GMAT), used by 1,700 business schools worldwide in the admission process, were 241,662 in December 2006, up from 238,706 a year earlier and 227,490 in December 2004. For example, if we assume that there are approximately 1 million MBA students around the world today, only 1 out of 10 would have watched this video on Google Video. Hmm, lets hope that this video has been watched in crowds or been downloaded and shared using other tools. Also, I wouldnt be surprised that most of those that have viewed it are not even MBA students (including me!).

WHO CARES!
To sum up, this is only one example (of many) excellent free online learning resources out there that are not being fully utilized by the global intelligence learning network. The world of the Internet has an unbelievable amount of learning treasures, but we often get distracted by all the other fun and junk.

It is alright to have a bit of fun, but we should also spare some time for great learning adventures like the Warren Buffett MBA Talk. Actually, ALL educational programs should make it a requirement in their curriculum to watch, listen and collaboratively reflect such talks or resources.

We should focus more on the people behind the theories and practices than simply learning what their outputs are made of, and how they are being used or practiced. In other words, it is very important to reflect the masterminds or geniuses life stories, and their struggles and trials leading them to their theories, practices, inventions and innovations. By doing so, we will also appreciate their efforts and lessons learned more.

Warren Buffett is one of those geniuses worth reading about, watching, listening and learning from :)

Read more »

Sunday, March 1, 2015

A Growing List of Free Learning Tutorial Sites!

  • Wiki-version - A Growing List of Free Learning Tutorial Sites

I was thinking the other day, why not create a simple raw list of links to EXCELLENT SITES (with short descriptions) that have or link to tutorials that explore learning tools and online learning. Here is my initial list, but I am quite sure there are many more great resource sites out there. So, if you have anyone to share, please post them in the comments section and I will add them. Ops, shouldnt we be using a Wiki for this kind of activity (Collaborative list creation)? Click here, if you want to add using the wiki-version.

Here is the initial quick list:
  • Learning 2.0 Programme
    This blog has been set-up as part of PLCMCs Learning 2.0 project to encourage staff to experiment and learn about the new and emerging technologies that are reshaping the context of information on the Internet today.
  • An Introduction to Social Learning(Jane Hart)
    Provides you with a practical approach to getting started with using social media for both formal and informal learning - either in the form of best-of-breed stand-alone tools or in an integrated suite of social media tools.
  • ELearning T4T (WikiEducator)
    eLearning Training for Teachers is a project node for the collaborative development of "just-in-time" tutorials to help educators implement eLearning successfully.
  • WebTools4u2use
    The purpose of this website is to provide a place for K-12 school library media specialists to learn a little more about web tools that can be used to improve and enhance school library media programs and services, to see examples of how they can be used, and to share success stories and creative ideas about how to use and integrate them. Hundreds of free and inexpensive web tools are available for school library media specialists to use that can make us more productive, valued, and, perhaps, more competitive.
  • Pauls E-Learning Resources
    This E-learning resources website is developed and maintained by Paul Andrews (Learning Technologist). On this site you will find his favourite links to free on-line services that allow you to provide your students with enhanced learning opportunities which you can then embed into, or link from, your school/college/universitys website, course blog or VLE/MLE.
  • iLearn technology (Kelly Tenkely)
    Is an edublog dedicated to giving teachers practical tips for integrating technology into the classroom.
  • Resource Kit for Creative Communities (e-Learning)
    In this resource kit, community organisations can find helpful online guidance, ideas and tools for developing and facilitating e-learning in communities and regions. The kit includes suggestions and options on the why and how of e-learning. Youll find guidance on low cost tools and technologies, as well as ideas and stories to help you get started.
  • Teacher Training Videos (Russell Stannard)
    These videos were created for teachers to help them to incorporate technology into their teaching. Just click and a video will open and take you through how to use that technology. These videos are for any teachers or lecturers, indeed for anyone interested in learning how to use the technologies.
  • WonderHowTo
    Hand-selects and curates the best instructional videos from over 1,700 websites. It is your one-stop shop to browse, search, or network your way through the world of free video tutorials.
  • EduTube
    Is a educational video search platform with an main aim to organize the best educational video content on the Internet. All content on EduTube is moderated and only relevant, educational content is permitted.
  • Multimedia Training Videos
    A series of free learning videos (by Russell Stannard and Savraj Matharu) that explore Flash, Director and Photoshop.
  • ItrainOnline Multimedia Training Kit
    Is a growing collection of "workshop kits" for face-to-face training. The materials use a standard set of templates, and offer building blocks for trainers to build their own courses.
  • Teachers TV
    is a digital channel for everyone who works in schools. Their programmes cover every subject in the curriculum, all key stages and every professional role – from teaching assistant to headteacher. You can watch us on digital cable and satellite and programmes are also available anytime, on-demand and for free on this website.
  • TeacherTube
    Its main goal is to provides an online community for sharing instructional videos. Here you will find more than 54,000 videos covering all sorts of subjects.
  • ALISON
    Free Interactive Workplace Skills Courseware including Touch Typing Skills, European Computer Driving Licence (ECDL), British Computer Society (BCS) Unit E, Financial Literacy and e-Citizen
  • The Moodle Academy
    Is designed to be a drop in centre for you to reinforce your Moodle skills. While we are thinking Moodle, we might want to check out Using Moodle 2nd Edition, which is the second edtion of the OReilly book "Using Moodle" by Jason Cole and Helen Foster.
  • Moodle Tutorials
    Ops, cant get Moodle out of my head! Check out this collection of 2 Minute Moodles - an attempt to simplify and show how to use a range of Moodle features. The tutorials try not to assume too much previous knowledge and are presented for the pragmatical and not necessarily tech-savy users (Moodle purists please excuse).
  • Drupal in Education Open book (hosted by e-Learning Institute)
    An open resource started by Bryan Ollendyke at the e-Learning Institute to talk about Drupals place in education. Has a great CMS matrix comparing different CMS technologies that can all be used for education / e-learning. It is a living resource and has contributions from several PSU Drupalers though its open to contribution from any / everyone. Good if you are interested in getting into Drupal for Education.
  • Google Apps Training
    The Google Apps interactive tutorial provides clear audio and text directions and practice exercises for using six Google products; email, calendar, talk, docs, sites, and start page.
  • Go-2-School
    A great resource for learning Google SketchUp and Google Earth.
  • W3Schools
    Here you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced XML, SQL, Database, Multimedia and WAP.
  • Edumax
    Edumax is an online learning website that provides free lessons on topics from personal development to computer programming.
  • TechTutorials
    A directory containing thousands of free tutorials for IT professionals, hobbyists, and home users.
  • 14 hours of Free E-Learning Strategy Tutorials
    Bryan Chapman, Chief Learning Strategist at Chapman Alliance does regular webinars on e-learning strategies. He posts these for free use from his website. They are a little bit hidden. You have to scroll down the page to find them. NOTE: Because many of the webinars are vendor sponsored, you may have to add your information before watching them, but they are absolutely free.
Contributors:
  • Clayton Wright
  • Mitch Weisburgh
  • Bryan Chapman
  • Zaid Ali Alsagoff
Lets build a great collection together (wiki-version)! Lets use our collective findings to help others discover these great learning tutorial sites :)
Read more »

Saturday, February 28, 2015

How to Quickly Go to the End of Your Document!

Whenever Im in the middle of a project, it drives me bonkers when it opens up to the first page.  Okay... maybe it doesnt drive me bonkers, but it does make it a little frustrated to have to scroll all the way down, particularly in a long document!

If this happens to you as well, youll love this tip for PowerPoint/Word!

 



Read more »

Thursday, February 26, 2015

In Awe of Mums Shimmering Realities!


WOW! Mum (Nadia Alsagoff), I have to admit I am totally struck by your Shimmering Realities collection! As a result, I want to dedicate this post to my Mum who has inspired me to appreciate art through her passionate lifelong journey as an artist.

Although, I am not the kind of person that would spend hours in an art gallery, I do appreciate and understand the kind of work and challenges so many artists have to go through in life. Being an artist sounds great and fun, but making a living as an artist is certainly not an easy task.



SHIMMERING REALITIES
My Mum retired late last year from her day-to-day work, and has now more time to dedicate to her lifelong passion. Over the last decade or so, most of my Mums work has been expressed in the form of abstract art, but recently she has rediscovered her passion to paint animals and nature.

Actually, this has surprised me, because her eyesight is not exactly great (and has certainly not improved over the years). Also, I am not sure how effective her current glasses are either. I can still remember an incident a few years back, when she walked head on into a street light. Another time, when I was a kid, she walked straight past me on the street without recognizing me.

Though, she could have been day dreaming on both occasions. I remember once, I cut my lip walking past a statue. It was night time, and I didnt notice that the statue or man was pointing his arm and finger towards my direction. I suppose we both are a bit clumsy (understatement)! Or perhaps it is an inherited ability to day dream in potentially dangerous situations.

So, what I am really trying to say is that I am amazed and in awe that she can still paint such amazing paintings of realism. Alright, I will stop writing now, and share with you five gems from this Shimmering Realities collection:




I especially love the Cheetah one. The Cheetahs eyes (of curiosity) and facial expression leaves us to our imagination to figure out its real intention (Yummy!).

Interestingly, Mum has used Facebook to share her latest art, though it is only viewable to her friends (if I am not mistaken). Click here to check (if you are interested to discover more of her work)!

Hopefully, you enjoyed Mums paintings, I certainly did. Thank you!

Mum, you are AMAZING in so many ways :)
Read more »

Wednesday, February 18, 2015

The Top 10 Best iPhone Apps of 2013

The Top 10 Best iPhone Apps of 2013

With the ever increasing popularity of the amazing iPhone and its incredibly performing apps, 2013 has shed a new light on a wide variety of original, innovative and successfully brilliant tools. Whether you need to access your social media account on the go, need help as a student, listen to music or even find your way, there is a new app for all different types of people. In addition to their great capabilities, not only does each new iphone app provide many different beneficial options, the large majority of them also can be downloaded and used at no additional charge.

Also Read: 4 Best Tips to Clean Your Touch Screen Device
Also Read: How to Clean Laptop Parts with Simple Household Products

Instagram

The new fad in social media networking, Instagram, is one of the best new iphone apps of 2013. Combining the features of the networking giants Facebook and Twitter, this great tool is extremely fun for its users, while also having one of the best photo-taking abilities that an app has ever seen. With a filter that can make even the worst pictures look perfect, all of the photos that are posted on Instagram can be done so with some of the best artistic presentation on the internet.

Google Maps

Possible the best app for travelers is finally here with the new iPhone feature of Google Maps. Unlike using Google.com, this amazing tool not only provides you with driving directions, but it also helps map out the quickest route from point A to point B for walkers and bike riders. By entering your beginning and end destinations, this great app will provide you with the most accurate directions, while also supplying a large highlighted line to make sure that you stay on your designated course.

Netflix

Still needing a subscription for the many entertaining movies and shows that Netflix provides, this iphone app is ideal for people that do not have any other internet devices that wish to watch movies and television shows. Simply by accessing your account, all customers can now watch their favorite films or sitcoms with the ease of pushing a button.

Kindle

Amazingly, one of the best new iPhone apps is the Kindle by Amazon. Once only able to be accessed through the actual Kindle itself, the iphone now has the ability to provide its users with all of their favorite books, games and magazines that were originally produced by the Amazon tablet. Not only is this possible through the new app, the majority of the time, the Kindle can be downloaded for free.

Also Read: Top 5 Cheapest Android Tablets below Rs. 5000 in India in 2013

Yelp

Similar to Google Maps, one of the best iPhone apps of 2013 is the more than useful Yelp tool. For people that are frequently on the go, Yelp will give iPhone owners the ability to find specific types of restaurants, tourist attractions and stores. In addition, this remarkable tool also contains consumer reviews for all of the different entities that are being searched for.

Dropbox

For iPhone owners that store a lot of data on their phone, Dropbox is now available to offer additional “cloud” storage space. Allowing their users to download and upload all types of information, this great 2013 iPhone app can even be programmed to automatically store everything that is added to your device.

YouTube

Now available as an iPhone app, YouTube is the perfect tool for the individuals that wish to search for specific videos, music and other media related updates. Also at no addition charge, this video streaming instrument will allow its users to create a music playlist permitting account holders to continually listen to their favorite type of music.

GoodReader

Although there is a subscription fee, this new iPhone app is essential for today’s college student. With an unprecedented amount of PDF files that need to be accessed, GoodReader is the perfect tool for downloading specific PDF files to your phone. In addition to this crucial access, this great app will permit the creation of various files, play audio and video downloads and sync your folders to other apps like SkyDrive, Dropbox and SugarSync.

Also Read: The Top 4 Websites to Create Android Apps Online for Free

Keynote

For both business workers and students, Keynote is one of the best new iPhone apps that allow the possibility of various types of presentations. With specifically designed performance standards, this extremely helpful educational and business tool will more than exceed your presentation standards.

iTunes U

With no additional subscription charge, the iTunes U app is tremendously practical for students as it offers a wide range of college level courses from some of top American institutions like Harvard and Stanford.


About Author:
Alice McLean is a writer at bestessays.com with background in history, sociology and internet marketing. Now she is writing her first book on internet marketing.

Image Source: http://i.telegraph.co.uk/multimedia/archive/02476/iphone5_2476157b.jpg
Read more »

Tuesday, February 17, 2015

Depth First Search DFS Traversal of a Graph Algorithm and Program

Most of graph problems involve traversal of a graph. Traversal of a graph means visiting each node and visiting exactly once. There are two types of traversal in graphs i.e. Depth First Search (DFS) and Breadth First Search (BFS). In this tutorial I will discuss about DFS.

Read Previous Articles:
1. Graphs: Introduction and Terminology
2. Representation of Graphs: Adjacency Matrix and Adjacency List

Depth First Search (DFS)

It is like preorder traversal of tree. Traversal can start from any vertex, say Vi . Vi is visited and then all vertices adjacent to Vi are traversed recursively using DFS.

Since, a graph can have cycles. We must avoid revisiting a node. To do this, when we visit a vertex V, we mark it visited. A node that has already been marked as visited should not be selected for traversal. Marking of visited vertices can be done with the help of a global array visited[ ]. Array visited[ ] is initialized to false (0).

Algorithm for DFS

n ← number of nodes
Initialize visited[ ] to false (0)
for(i=0;i<n;i++)
               visited[i] = 0;

void DFS(vertex i) [DFS starting from i]
{
               visited[i]=1;
               for each w adjacent to i
                              if(!visited[w])
                                             DFS(w);
}

Depth First Search (DFS) Traversal of a Graph [Algorithm and Program]

The graph shown above is taken as input in both the programs mentioned below:

C Program to implement DFS traversal on a graph represented using an adjacency matrix

#include<stdio.h>

void DFS(int);
int G[10][10],visited[10],n;    //n is no of vertices and graph is sorted in array G[10][10]

void main()
{
    int i,j;
    printf("Enter number of vertices:");
    scanf("%d",&n);

    //read the adjecency matrix
    printf("
Enter adjecency matrix of the graph:");
    for(i=0;i<n;i++)
        for(j=0;j<n;j++)
            scanf("%d",&G[i][j]);

    //visited is initialized to zero
    for(i=0;i<n;i++)
        visited[i]=0;

    DFS(0);
}

void DFS(int i)
{
    int j;
    printf("
%d",i);
    visited[i]=1;
    for(j=0;j<n;j++)
        if(!visited[j]&&G[i][j]==1)
            DFS(j);
}

C Program to implement DFS traversal on a graph represented using an adjacency matrix

C Program to implement DFS traversal on a graph represented using an adjacency list

#include<stdio.h>

typedef struct node
{
    struct node *next;
    int vertex;
}node;

node *G[20];    //heads of linked list
int visited[20];
int n;
void read_graph();  //create adjacency list
void insert(int,int);   //insert an edge (vi,vj) in te adjacency list
void DFS(int);

void main()
{
    int i;
    read_graph();
    //initialised visited to 0
    for(i=0;i<n;i++)
        visited[i]=0;

    DFS(0);
}

void DFS(int i)
{
    node *p;
    printf("
%d",i);
    p=G[i];
    visited[i]=1;
    while(p!=NULL)
    {
        i=p->vertex;
        if(!visited[i])
            DFS(i);
        p=p->next;
    }
}

void read_graph()
{
    int i,vi,vj,no_of_edges;
    printf("Enter number of vertices:");
    scanf("%d",&n);

    //initialise G[] with a null
    for(i=0;i<n;i++)
    {
        G[i]=NULL;
        //read edges and insert them in G[]
        printf("Enter number of edges:");
        scanf("%d",&no_of_edges);

        for(i=0;i<no_of_edges;i++)
        {
            printf("Enter an edge(u,v):");
            scanf("%d%d",&vi,&vj);
            insert(vi,vj);
        }
    }
}

void insert(int vi,int vj)
{
    node *p,*q;
    //acquire memory for the new node
    q=(node*)malloc(sizeof(node));
    q->vertex=vj;
    q->next=NULL;

    //insert the node in the linked list number vi
    if(G[vi]==NULL)
        G[vi]=q;
    else
    {
        //go to end of the linked list
        p=G[vi];
        while(p->next!=NULL)
            p=p->next;
        p->next=q;
    }

}

C Program to implement DFS traversal on a graph represented using an adjacency list
Read more »

Sunday, February 15, 2015

C program which reads a text and count all occurrences of a particular word

C program which reads a text and count all occurrences of a particular word

#include<stdio.h>
#include<conio.h>
#include<string.h>

void main()
{
int i=0,j=0,count=0;
char str1[100],str2[20],str3[20];
clrscr();
printf("Enter the text: ");
gets(str1);

printf("Enter word to count: ");
gets(str2);

while(str1[i]!=
Read more »

C program to find sum of series 1 2 3 n


C++ program to find sum of series 1 + 2 + 3 +......+ n

#include<iostream.h>
#include<conio.h>

void main()
{
clrscr();
int i,n,sum=0;
cout<<"1+2+3+......+n";
cout<<"
Enter the value of n:";

cin>>n;

for(i=1;i<=n;++i)
sum+=i;
cout<<"
Sum="<<sum;

getch();
}
Read more »

C program to convert given number of days into years weeks and days

C program to convert given number of days into years,weeks and days

#include<stdio.h>
#include<conio.h>


void main()
{
int y,w,d,a;
clrscr();    //to clear the screen
printf("Enter total number of days:");
scanf("%d",&d);

y=d/365;
a=d%365;
w=a/7;
d=a%7;
printf("
Years=%d
Weeks=%d
Days=%d",y,w,d);

getch();    //to stop the screen
}
Read more »

Saturday, February 14, 2015

C program to find sum of series 1 2 3 2 5 2 n 2

#include<iostream.h>
#include<conio.h>

void main()
{
clrscr();
int n,i;
long sum=0;

cout<<"1^2+3^2+5^2+......+n^2

 Enter Value of n:";
cin>>n;

for(i=1;i<=n;i+=2)
sum+=(i*i);

cout<<"
Sum of given series is "<<sum;
getch();
}
Read more »

Monday, February 2, 2015

Make most out of PowerPoint Presentation

How to Make the Most out of You PowerPoint Presentations | Bibliolatry
By admin
Ive always had a bit of a love and hate relationship with PowerPoint presentations. Despite their effectiveness, many people still perceive them to be.............
Bibliolatry - http://bibliolatry.net/


Read more »