What is the mean by pseudo code ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the mean by pseudo code ?

26th Jan 2017, 4:00 PM
Prakash Agarwal
Prakash Agarwal - avatar
6 Answers
+ 3
Ok so whenever I think of pseudo codes, I think of this. If you want to find exponentials, like 2^3. In JavaScript, you would do something traditional like, function myFunc(base, exponent) { var num = 1 ; for (var i = 0; i < exponent; i++) { num *= base } return num } Fortunately, you don't have to make your own tedious and long function because you have Math.pow(2, 3). <- This is pseudo.
26th Jan 2017, 4:22 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
In programming terms pseudo code is used to explain a piece of code that is not specified to a particular language.
26th Jan 2017, 4:59 PM
Alex
Alex - avatar
+ 1
Based off a video I watched, Pseudo random number generator is when you take a number, square it, and get the middle numbers, then take these middle numbers, and square them, then take the middle numbers from the result, and so on, but this sequence will eventually reset, the time it takes to reset is called the period. When it resets, it will produce the same sequence all over again. There.
26th Jan 2017, 4:08 PM
Dawzy
Dawzy - avatar
+ 1
From what you have written a pseudo random number is different to my understanding. Which is that pseudo code, is a notation resembling a simplified programming language, used in program design. I do believe you have mixed them up. i.e. 1. a pseudo random number generator 2. notation resembling a simplified programming language
26th Jan 2017, 4:18 PM
Christopher J Morgan
Christopher J Morgan - avatar
0
but what is the work of it in programing?
26th Jan 2017, 4:11 PM
Prakash Agarwal
Prakash Agarwal - avatar
0
I don't even know ... I saw that in a comment.. so I just asked u ... t
26th Jan 2017, 4:25 PM
Prakash Agarwal
Prakash Agarwal - avatar