### Program for Deletion of linked list

Program for Deletion of linked list
struct node* current = *headRef; // deref headRef to get the real
while (current != NULL) {
next = current->next; // note the next pointer
free(current); // delete the node
current = next; // advance to the next node
}
}

### Program for Binary search method

Source code for Binary search method
int binarySearch(int value) {
low = 0; high = N; while (low < mid =" (low" low =" mid" high =" mid-1:">= value, //so high can't be < mid if A[mid] == value high = mid; } // high == low, using high or low depends on taste if (low < N) and (A[low] == value) return low // found else return -1 // not found
}

### find Nth Node linked list

finding Nth Node in linked list..
int GetNth(struct node* head, int index) {
struct node* current = head; int count = 0; // the index of the node we're currently looking at while (current != NULL) { if (count == index) return(current->data); count++; current = current->next; } assert(0); // if we get to this line, the caller was asking // for a non-existent element so we assert fail.}

### Generate a Mirror Image of a tree. Change a tree so that the roles of the left and right pointers are swapped at every node

Generate a Mirror Image of a tree. Change a tree so that the roles of the left and right pointers are swapped at every node
void mirror(struct node* node) {
if (node==NULL) {
return;
}
else {
struct node* temp; // do the subtrees
mirror(node->left); mirror(node->right); // swap the pointers in this node
temp = node->left;
node->left = node->right;
node->right = temp;
}
}

### Given a binary search tree and a "target" value, search the tree to see if it contains the target.

Given a binary search tree and a "target" value, search the tree to see if it contains the target.
static int lookup(struct node* node, int target)
{ // 1. Base case == empty tree // in that case, the target is not found so return false if (node == NULL) { return(false); }
else { // 2. see if found here if (target == node->data) return(true); else { // 3. otherwise recur down the correct subtree if (target <>data) return(lookup(node->left, target)); else return(lookup(node->right, target)); } }}

### What is spanning Tree?

What is spanning tree?
A spanning tree is a tree associated with a network. All the nodes of the graph appear on the tree once. A minimum spanning tree is a spanning tree organized so that the total edge weight between nodes is minimized.

### Minimum number of queues needed to implement the priority queue?

Two. One queue is used for actual storing of data and another for storing priorities.

### Datastructures used for recursion

Which Datastructure is used for recursion
Stack datastructure is used for recursion. Because of its LIFO (Last In First Out) property it remembers its ‘caller’ so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls. Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

### Innobuzz Android App Development Training

Innobuzz Android Application Development Distance Learning Program
Hey friends, Preparing for interview is our every day Topic but with changing trends in technology we should upgrade our technical skills which are new and important and for fresh graduates to step in to a job learning hot and new technology will push him a step forward , So I did some research on this and found “Android App Development” will be the rite one as we see android app every where every website. So where to learn it ,So I collected some data from various institutes analysed the topics they teach and took some feed back from the students who already got trained ,And found as Android is open source it can be self learnt with good guidance and less cost So found Innobuzz is the best.

For all i suggest innobuzz.in is best institute for learning “Android App Development”,They are only one which provide Distance learning with a very good Quality training ,The best part of them I liked is their Training Methodology and Training Features.

innobuzz Training Methodology Our Distance Learning Training Module is designed in such a way that reinforces the student to focus on self learning as well. Our Training Module is structured such that students have to take out time to Research over the Tools and Concepts that they have learned in the Demonstration Component of the Distance Learning Program, in order to complete the Assignments.
innobuzz Training Features .: Content Featuring Sessions with full Audio, Video and Demonstration. .: This Training Program covers Presentations, Real life Case Studies, Extensive Live Practical Demonstrations. .: At the end of each training session, students will get Assignments for Research to guide them towards a path for Research and Development on each domain. .: The Training Fee includes the cost of the Course ware. Course ware includes the Training DVD Toolkit. This Toolkit will include all the Tools and Scripts which will be required during the Training and in order to finish the assignments which will be given to the students.
Reason why innobuzz is the best
1) Ther main goal is on practical knowledge which is best of them,As theory can be learnt from many places.
2) Their approach towards Distance learning is very good as the Kit they provide contains Presentations, Real life Case Studies, Extensive Live Practical Demonstrations, Tools and Scripts all integrated together in a Training Environment which will be very useful for self starter.
3) It has 150 Practicals covered with Live Demonstration.

Below are the contact links of innobuzz.in
Website : www.innobuzz.in
And who so ever is going to join it, do leave a comment here. We would also appreciate if you mention that you read about the institute from the site www.cinterviews.com or www.androidinterviewquestions.info if you join the institute any day.
Find the best interview questions for android developer from below links
www.cinterviews.com/2012/04/android-interview-questions-with.html
http://www.androidinterviewquestions.info/

### Android Interview Questions with answers

Describe Android Application Components
Q2: Describe the format of Apk
Q3: What is Intent?
Q4: What are the dialog boxes that are supported in android?
Q5: What's the difference between file, class and activity in android?
Q6: What is a Sticky Intent?
Q7: Why cannot you run standard Java bytecode on Android?
Q8: Can you deploy executable JARs on Android? Which packaging is supported by Android?
Q9: How will you launch an Activity within you application?
Q10: How will you pass data to sub-activities?
Q11: Explain about the exceptions of Android?
Q12: Explain Structure of Manifest Files.
Q13: Describe the Android Application Architecture?
Q14: when to use service
Q15: What are cursors & Content Values?
Q16: what is the difference between relative layout and absolute layout?

## XML Interview Questions

1. What is XML?
2. What is SGML?
3. What is the difference between XML and HTML?
4. Why not just carry on extending HTML?
5. Why is XML such an important development?
6. Describe the role that XSL can play when dynamically generating HTML pages from a relational database.
7. Who is responsible for XML?
8. Give a few examples of types of applications that can benefit from using XML.
9. What is SOAP and how does it relate to XML?
10. What is DOM and how does it relate to XML?
11. Can you walk us through the steps necessary to parse XML documents?
12. Using XSLT, how would you extract a specific attribute from an element in an XML document?
13. How would you build a search engine for large volumes of XML data?
14. What is the difference between XML and C or C++ or Java?
15. What does an XML document actually look like (inside)?
16. How does XML handle white-space in my documents?
17. How can I make my existing HTML files work in XML?
18. Is there an XML version of HTML?
19. Which parts of an XML document are case-sensitive?
20. Can XML use non-Latin characters?
21. What's a Document Type Definition (DTD) and where do I get one?
22. Does XML let me make up my own tags?
23. How to create my own document type?
24. How to write my own DTD?
25. Can a root element type be explicitly declared in the DTD?
26. How do I get XML into or out of a database?
27. Can I encode mathematics using XML?
28. How will XML affect my document links?
29. Can I use JavaScript, ActiveX, etc in XML files?
30. Can I use Java to create or manage XML files?
31. How does XML handle metadata?
32. How to control formatting and appearance?
33. How to use graphics in XML?
34. How to include one XML file in another?
35. What is parsing and how do I do it in XML?
36. What are the special characters in XML?
37. Do I have to change any of my server software to work with XML?
38. I am trying to understand the XML Spec: why does it have such difficult terminology?
39. Can I still use server-side inclusions?
40. How to include a conditional statement in my XML?
41. I have to do an overview of XML for my manager/client/investor/advisor. What should I mention?
42. What is the purpose of XML namespaces?
43. What is an XML namespace?
44. How do I declare an XML namespace in an XML document?
45. Where can I declare an XML namespace?
46. Can I use an attribute default in a DTD to declare an XML namespace?
47. Do the default values of xmlns attributes declared in the DTD apply to the DTD?
48. How to override an XML namespace declaration that uses a prefix?
49. How to override a default XML namespace declaration?
50. How do I undeclare the default XML namespace?
51. How do different XML technologies treat XML namespace declarations?
52. How do I use the default XML namespace to refer to element type names in an XML namespace?
53. When should I use the default XML namespace instead of prefixes?
54. What is the scope of an XML namespace declaration?
55. What happens when an XML namespace declaration goes out of scope?
56. Can multiple XML namespace declarations be in scope at the same time?
57. How can I declare XML namespaces so that all elements and attributes are in their scope?
58. Can I use XML namespaces in DTDs?
59. Do XML namespace declarations apply to DTDs?
60. Can I use qualified names in DTDs?
61. How to construct an XML document that is valid and conforms to the XML namespaces recommendation?
62. How to allow the prefixes in my document to be different from the prefixes in my DTD?
63. How to create documents that use XML namespaces?
64. Can I use the same document with both namespace-aware and namespace-unaware applications?
65. How do applications process documents that use XML namespaces?
66. How to use XML namespaces with SAX 1.0 and SAX 2.0?
67. What is a qualified name?
68. Can qualified names be used in attribute values?
69. How are qualified names mapped to names in XML namespaces?
70. How are universal names represented? Are universal names universally unique?
71. What happens if there is no prefix on an element type name?
72. What does the URI used as an XML namespace name point to?
73. What is XPointer?
74. How do I install the XPointer processor?
75. What is server-side XPointer?
77. How do integrate XPointer into my application?
78. How to configure an XPointer processor?
79. How to implement an application-specific XPointer scheme?
82. What three essential components of security does the XML Signatures provide?
83. What is XLink Markup Design?
84. Tell me about SOAP in XML?
85. What is XQuery?

## XHTML Interview Questions

1. What is XHTML?
2. What are the differences between XML and HTML?
3. What XHTML does it stand for?
4. How is XHTML better than HTML? What do you prefer?
5. How to build a "Good Morning" page. With XHTML?
6. Why XHTML Modularization?
7. Why do we need modular DTDs?
8. Is there any other important new developments?
9. Why is this XSLT important?
10. What is XHTML Validation?
11. What is about an assumption with XHTML?
12. How to writing XHTML demands a clean HTML syntax?
13. How to create XHTML pages?
14. Is XHTML should be the master storage format for my resources?
15. What are the advantages of XHTML?
16. What is XHTML DTD?
17. What the benefits of XHTML?
18. How to convert most HTML pages to XHTML?
19. Who developed XHTML?
20. Is XHTML case sensitive?
21. How To Get Ready For XHTML?
22. What is an XHTML element attribute?
23. What is about an assumption in XHTML?
24. What is the latest XHTML specification?
25. How to enter element content?
26. How to close an XHTML element?
27. What is the relation between XHTML and SGML?
28. What is the relation between XHTML and HTTP?
29. How to write the opening tag of an XHTML element?

### HTML Interview Questions

HTML Interview Questions
1. What is HTML?
2. What are the uses of html document?
3. What is a html tag?
4. What is the file extension of html?
5. Is there any tools required for basic html page?
6. How can you check the errors in html?
7. What is the opening tag and closing tag?
8. Write the simplest code of a webpage?
9. What is a hypertext link?
10. Can you write html page with handaccurately?
11. Tell me some empty elements are closing in the start tag?
12. What will be the output if you did not use the end tag?
13. Which case tags is preferable according to w3cstandards?
14. What is the use of attributes?
15. Is it possible to nest tables within tables and how?
16. Why headings are important for any live website?
17. What is the use of comments in html?
18. Can you gaurantee the output of the html?
19. What are the main reasons of output variation?
20. How to align a table in different directions?
21. How do i use forms?
22. How to write javascript in html page?
23. Can i have two or more actions in one form?
25. What is html text formating?
26. Tell me citations, quotations and definition tags?
27. How can I avoid using the whole URL?
28. Why table width does not use the full browser width?
29. What is html code for list items?
30. How do i get special charachters in my html?
31. Can I prevent a form from being submitted again?
32. What is the use of html styles?
33. How to specify colors?
34. How can i allow file uploads to my web site?
35. How to link an image to different url?
36. How to link to a location in the middle of an HTML document?
37. How to create a button which acts like a link?
39. How to remove the border around frames?
40. What are the several tags and attributes are deprecated?
41. What is the use of alt attribute in live site?
42. Which should I use, &entityname; or &#number; ?
43. Can i use the body tags with the frameset?
44. What do you understand by websafe color?
45. What is so great about HTML 4.0?
46. How to use background image?
47. How to make a thumbnail for my image?
48. What is the difference between the HTML form methods GET and POST?
49. How to include a HTML document in another document?
50. How to prevent looks in different browser?
51. What are the non supported image formats?
52. How to validate HTML files?
53. What is HTML DOCTYPE element?
54. What is html meta element?
55. Where do we use keywords in html for search enginee rankings?

### cascading style sheets Interview questions

CSS Interview Questions
1. What is CSS and its uses?
2. What are Cascading Style Sheets?
3. Which browsers suppourt css?
4. How to center block-elements with CSS1?
5. What is class?
6. What is grouping?
7. How to link external style sheet?
8. Is css styles are case sensitive?
9. What are style sheets?
10. What is selector?
11. How can i specify background images?
12. What is embedded style? How to link?
13. What is contextual selector?
14. What is ID selector?
15. What are the advantages and disadvantages of the various style methods?
16. What is inline style? How to link?
17. What is imported Style Sheet? and How to link?
18. How to style forms?
19. Can css be used other than html documents?
20. How to place text over an image?
21. How to combine multiple style sheets into one?
22. What is parent-child selector?
23. What is attribute selector?
24. What are inline, block, parent, children, replaced and floating elements?
25. Is html attributes or css properties which one is prefered?
26. How to eliminate the blue border around linked images?
27. Can i attach more declaration to one selector?
28. How do I have a fixed (non-scrolling) background image?
29. How to use CSS to separate content and design?
30. Write some examples of good and bad coding with reason?
31. What are pseudo-classes?
32. As a reader, how can I make my browser recognize my own style sheet?
33. How to get rid of the gap under my image?
35. What is CSS rule 'at-rule'?
36. What is CLASS selector?
37. What is CSS declaration?
38. What is 'important' declaration?
39. How do I have a non-tiling or non-repeating background image?
40. What are the reasons for external stylesheet not working?
41. What can be done with style sheets that can not be accomplished with regular HTML?
42. What is property?
43. How to make my div 100% height?
44. How to style table cells?
45. What is CSS rule 'ruleset'?
46. How to center the web page?
47. What is the difference between ID and CLASS?
48. Which characters can CSS-names contain?
50. Why shouldn't I use fixed sized fonts?
51. How do you make a whole div into a link?
52. How do I have links of different colors on the same page?
53. How to use CSS building a standards based HTML template?
54. What is shorthand property?
55. How do I get my footer at the bottom of webpage?
56. How do you target a certain browser?
57. How does inheritance work?
58. What is wrong with font-family: "Verdana, Arial, Helvetica"?
59. Do any WYSIWYG editors support the creation of Style Sheets?
60. Which style specification method should be used? Why?
61. Do URL's have quotes or not?
62. What is the difference between 'class' and 'id'?
63. How to place two paragraphs next to each other?
64. Can you use someone else's Style Sheet without permission?
65. When is auto different from 0 in margin properties?
66. How to move the list bullet to the left and right?
67. Why is it my ':hover' declaration for links does not work?
68. What is Extensible Stylesheet Language (XSL)?
69. Document Style Semantics and Specification Language (DSSSL)?
70. How to place multiple blocks next to each other?