You are on page 1of 3

q1./* algo a. 1. 2. 3. 4. 5. 6. q2. /*algo a. 1. 2. 3. 4. 5. 6. 7. 8.

to add two nos.*/ start get get first no. get second no. add first & second no. get the result of add of two nos. end. to prepare tea*/ Start put water in pan & boil it. add tea leaves. add sugar. pour milk. boil it. pour tea in cup. end.

q3./* withdraw cash from atm.*/ a. 1. start 2. insert card. 3. enter the pin code. 4.enter type of account(saving or current)button from which u want to withdraw money. 5. press cash withdrawl button. 6. enter amt u want to withdraw. 7. atm will chck the available amount ,if enough amt is there 8. collect money 9. collect the statement from the atm machine. 10. end. q4./* simple intrest*/. a. 1. start 2. enter the principle,rate and n no of years. 3. multiply principle,rate & n. 4. divide it by100. 5. get the result of SI. 6.end. q5./* average oge of 3 nos*/. a. 1. start. 2. get the three nos. 3. add them. 4.divide it by 3. 5.get the result of average of three nos. 6. end. q6./* percentage of five students.*/ a. 1. start . 2. enter the marks of five sudents in five subjects of each. 3. add marks of five students individually. 4. divide the marks of each student by 500. 5. mutiply it by 100. 6. get the result. 7. end.

q7. /* check prime no from 1-20.*/ a. 1. start 2. get the 20 nos. 3. divide each no by 2. 4. if any no. gives remainder 1orany no other than 0 on division so it is not prime no. 5. if no. gives remainder 0 on division by 2. 6. so it's a prime no. 7. get the pime no. seperately. 8. end. q8. /* reciept of purchased books from bookseller.*/ a. 1. start 2. tell the book want to purchase. 3. bookseller will check their availibility, if those books aren't available so u 'll not get books. 4. if books are available shopkeeper will give you book . 5. book receipt will be also given. 6. end. q9. /* no is even or odd.*/ a. 1. start 2. get any no. 3. divide the no with 2, if it's remainder is 0 so it's not even. 4. else ,no is even. 5. u'll get even no. 6. end. q10. /* largest of five nos.*/ a. 1. start 2. get first, sec ,third,fourth & fifth no. 3.check: if first no is greater than sec then first no is greater. 4. else , sec no is greater. 5. you have got greater no. 6. end q11.. /*algo for converting distance in m which was enetered km.*/ a. 1. start 2. enter dis in kms. 3. divide it with 1000. 4.get dis in m. 5. end q12./* algo for no sound problem*/ a. 1. start 2. confirm that sound isn't on mute. 3. if it's on mute ,set the sound on incresed vol. 4. if sound isn't audible on incrasing, so maximize sound . 5. if then also sound isn't audible, call to to customer care. 6. person from customer care will come and rectify the problem. 7.no sound problem will be solved 8. end. q13./* algo for airline rservation*/ a. 1. start

2. request for reservation and give your details such as name,age,sex,phone no& address to reservation incharge. 3. give your details of timming, days and destination. 4. reservation incharge will enter your details and check availibilty of classes 5. incharge will give details of seats in classes. 6. pay charge for the class . 7. seat of a class will get booked. 8.end q14./*algo for identify +ve and -ve no*/ a. 1. start 2. enter any no. 3. if n is greater than 0 ,it's positive 4. else -ve no. 5.display +ve and -ve no 6.end

You might also like