Вы находитесь на странице: 1из 3

INDEX

SR N O 1 AIM Write a program which contains three predicates: male, female, parent. Make rules for following family relations: father,mother, grandfather,grandmother, brother, sister, uncle, aunt, nephew and niece. Write a program that list four addresses in a label form, each address should list a name, one-line address, city, state & pin-code. Write a program for diagnosis the childhood diseases. Write a program to find roots of quadratic equation. (consider all possible cases Write a program to find minimum & ma!imum from gi"e #umbers. Write a program to sol"e Water-$ug %roblem. Write a program to find factorial of gi"en number. Write a program to input user name and password from user and repeatedly asking if any one of them is wrong. Write a menu dri"en program to display set of questions to user and gi"e answer of selected question. &or '!. (-). Who likes apple* (-+. ,oes anybody like apple* (--. .s it true that nobody likes apple* (-/. Who likes apple as well as en0oys playing cricket and piano* (-1. ,oes anybody play at least one instrument* (-2. Who likes to play chess, drink buttermilk but does not play any instrument* (-3. Who share at least one hobby and at least one instrument* DATE OF PRACTI CAL SIGN REMAR KS

2. 3. 4. 5. 6. 7. 8.

9.

(-4. Who are the persons sharing common instruments but no hobbies are in common* 'nter (uestion #o &or 5ns :: /. 0olly false. %layers in a certain club are di"ided into three leagues, and players may only challenge members in their own league or 10. the league below (if there is one . Write a program that will display all possible matches between club players. Write a %67879 program based on list: (a . :o find the length of a list. (b . :o sum all numbers of list. (c . :o find whether gi"en element is a member of a list. (d . :o 5ppend the list. (e . :o 6e"erse the list. (f . :o find the last element of a list. 11 (g . :o delete the first occurrence of an element from a list. (h . :o delete the e"ery occurrence of an element from a list. (i . :o find #th element from the list. (0 . 9i"en are two lists, merge the element present at odd numbered locations in gi"en two lists into third list, and merge the element present at e"en numbered locations in gi"en two lists into fourth list and display all four lists. Write a %67879 program for 5rithmetic 7perations: (a . :o add the member of a gi"en list. (b . :o check if a gi"en year is a 8eap ;ear or not. (c . :o find the 9reatest <ommon ,i"isor. 12 (d . :o find the 8east <ommon ,i"isor. (e . :o find the factorial of a gi"en number. (f . :o generate the fibonacci series of a gi"en number. (g . :o con"ert an integer number into a string of equi"alents binary 13 Write a %67879 program to implement :ower 7f =anoi %roblem.

14. Write a %67879 program for finding the a"erage salary of an employee and for adding and deleting employees from the database.

15. 16.

Write a %67879 program to demonstrate the effecti"e use of <ut and &ail. Write a %67879 program for tra"eling salesman problem.

17. Write a %67879 program for monkey banana problem. 18. Write a %67879 program #-(>''# problem. 19. 5ssignment

Вам также может понравиться