Skip to main content

Posts

XML BASICS

X ML BASICS 1. Create simple XML document template to describe a Books with book title, author name & publication. 2. Create an XML document template to describe the result of student in an examination. The description should includethe student's roll number, name, three subject names and marks, total marks, percentage, and result. 3. Suppose we want to store information regarding in Prescribed format in XML. For example. 4. Write a program to demonstrate comment of XML. 5. Create External DTD declaration for BOOKs XML document.(Element type declaration) 6. Create an internal DTD for Employee XML document. 7. Well-formed, but not valid document. 8. Well-formed and Valid Document. 9. Not well-formed, but valid document. 10. Not Well-formed and not valid document. A DVANCED XML 1. Write a program to implement the concept of Sequence,occurrences and choices in DTD. 2. Write a program to describe Empty, Any and Mixed content in DTD. 3. Write a program

USER- DEFINED FUNCTIONS

1. Write a program to calculate average temperature of five days.Create temp() function . 2. Write a program that uses recursive function fibo() thatgenerates a Fibonacci series containing N elements. 3. Write a program that uses a recursive function fact() that findsthe factorial of a given number N. 4. Program to find if the given no. is prime or not. The functionshould accept the number as argument and return if the no. isprime or not. 5. Write a function that accepts an array of integer values. Thefunction should find the number which divides all the othernumbers. 6. Write a user-defined function to perform Square of a number 7. Write a user-defined function to perform Area of a number 8. Write a user-defined function to perform Reverse the number 9. Write a program that uses a function to check whether anentered three digit number is palindrome or not. 10. Write a program to calculate the result of following with recursive calls offunction. 11. Simple interset with usin

Pointers,Implementation of Singly Link List Using Pointers

1. Write a program to create and display singly link list using pointers. 2. Write a program to insert new record at last position in the singly link list. 3. Write a program to insert new record at the beginning in the singly link list. 4. Write a program to delete a record from last position in the singly link list. 5. Write a program to delete a record from the beginning in the singly link list. 6. Write a program to find the largest element within an integer array using pointers. 7. Write a program to accept string using character pointer and display it. 8. Write a program to calculate the length of the string usingpointers . 9. Write a program to calculate the square and cube of an entered number using pointer of a variable containing the entered number. 10. Write functions to add, multiply, subtract two numbers and call the functions from the main program using a function pointer. DOWNLOAD ABOVE ALL PROGRAMS

USING FILES

1. Write a program to display contents of file on the screen. The program should ask for file name. Display the contents in capital case. 2. Write a program to find size of the file. 3. Write a program to combine contents of two files in a third file. Add line number at the beginning of each line. 4. Write a program to display number 1 to 100. Redirect the output of the program to text file. 5. Write a program to write contents of one file in reverse into another file. 6. Write a program to count number of lines, words and characters in a file. 7. Write a program to create a file called dictionary. dat that contains the information such as Name, Surname, City and Phone number. Write a program to accept a City from user and list details of persons having the given city. 8. Write a program to copy one file to another. While doing so,all extra spaces in a file should be squeezed to one. For eg. If a file contains line “I am learning C”, it should be converted to “I am lea

USING STUCTURES

1. Write a program to define structure with tag state with fieldsstate name, number of districts and total population. Read anddisplay the data. 2. Write a program to create a list of books details. The details ofa book include title, author, publisher, publishing year, numberof pages, and price. 3. Define a structure called Item with members : Item_code,Item_name, Price. Create an array of five Items. Create afunction which accepts the Item array and modifies eachelement with an increase of 10% in the price. 4. Define a structure to represent a date. Use your structures that accept two different dates in the format mm dd of the same year. Write a C program to display the month names of both dates. 5. Define a structure that can describe a Hotel. It should have members that include name, address, grade, room charges,grade and no of rooms. Write a function to print out all hotel details with room charges less than a given value. 6. Write a program to accept records of different s