Pseudo code and Flowchart Practice Problems for Assignments


Advertisement





1.    Write pseudo code and draw a flowchart to find the sum of first 50 natural numbers.
2.    Write pseudo code and draw a flowchart to find the largest of three numbers A,B, and C.
3.    Write pseudo code and draw a flowchart for computing power ‘p’ of a given number ‘N’ e.g Np
4.    Write pseudo code and draw flowchart for finding the area of a rectangle




1.    Write pseudo code for the following flowchart                                             

2.      Write pseudo code and draw flowchart for a programwhich Takes marks and display  message. Program will displayfollowing messages depend upon the marks.         

Total Marks                Message
< 50                             Fail
>50 &<60                    Grade D
>60 &< 70                   Grade C
>70 &< 80                   Grade B
>80 &<= 100               Grade A

3.      Write pseudo code and draw flowchart for a program which Takes a number and tells whether the number entered is                                                                        
a.      Either even or odd
b.      Either positive or negative
c.       Either Zero orNot Zero

Note: For example if given number is 2 then you should display “The number is even and positive and not Zero.




0

Post a Comment

Author :
Maria Ali
Lectures
Educations
Questions

ShareThis

 

Recent Posts

Return to top of page Copyright © 2010 | Flash News Converted into Blogger Template by HackTutors