Page 1 of 1

Pseudocode

Posted: Wed Mar 17, 2010 6:26 pm
by Face
friends i have to study Pseudocode systems and about it ........

please hurry..i have only 2days for my studies..can any one teach me the basics...

BASICS only.....

but I am really hurry..

Re: PSEUDO CORDS

Posted: Wed Mar 17, 2010 6:28 pm
by Face
i am really hurry ..it is for my studies..i refer some webs but it is really hard to understand and there are no basics in simple language.

i wont get the idea in simple language....correctly..........

OKEY..

Re: PSEUDO CORDS

Posted: Wed Mar 17, 2010 7:45 pm
by Face
i got some ideas about COntroling structure..

>If..
>case..
>while..
>For..

but dont get any clear knowdge..
help me to get a clear picture

Re: PSEUDO CORDS

Posted: Wed Mar 17, 2010 7:55 pm
by Face
these are the some examples i got..i have answers but no explanations..
can any one help me out...
urgent

Q1).Write the pseudo cord for a program me to input 100 numbers & to out put number of positive values,number of negative values & number of Zeros.??

Aswr:-

Begin
Z=0
P=0
N=0
For C=1 to 100
Input X
If X=0 Then
Z=Z+1
Else
If X>0 Then
P=P+1
Else
N=N+1
Endif
Endif
Endfor
print Zeros "Z"
print Positives"P"
print negatives"N"
End


can you explain it for me...?

Re: PSEUDO CORDS

Posted: Wed Mar 17, 2010 8:12 pm
by Face
Write the pseudo cord for a program & print FACTORIAL value of a given positive Integer ,where factorial value..

Begin
F=1
C=1
input N
While C<=N
F=F*C
C=C+1
End while
Print Factorial value

Can you please Explain these Questions....

Re: PSEUDO CORDS

Posted: Wed Mar 17, 2010 8:26 pm
by Face
Write the pseudo cord for a program to input the marks for the get the highest mark maximum & minimum & avarage in a class?

begin
input M
max=-1
Min=101
avg=0
Count=0
while M<>-1 then
if M>max then
Max=M
End if
If M<min then
M=Min
End if
Sum=Sum+M
Input M
C=C+1
End while
Print Min
print Max
Avg=Sum/C
print Avg
End

Re: Pseudocode

Posted: Wed Mar 17, 2010 10:01 pm
by Neo

Re: Pseudocode

Posted: Wed Mar 17, 2010 10:12 pm
by Neo

Re: Pseudocode

Posted: Thu May 13, 2010 8:49 pm
by smithdwsn
Yes, really easy to learn with this example. You have used Pseudocode and follow the standard. It is work perfectly so basic understanding about Pseudocode might be easy with this.

Re: Pseudocode

Posted: Thu May 13, 2010 9:00 pm
by Face
Yes, really easy to learn with this example. You have used Pseudocode and follow the standard. It is work perfectly so basic understanding about Pseudocode might be easy with this.
which one friend?

there are soo many examples....:)