"...the most common misconception that an algorithm and a pseudocode is one of the same things. No, they are not!
Let us take a look at definitions first:
Algorithm : Systematic logical approach which is a well-defined, step-by-step procedure that allows a computer to solve a problem. (Can be what's in the code-side Notes explaining the performance steps of a function, in the case of good Notes.)
Pseudocode : It is a simpler version of a programming code in plain English which uses short phrases to write code for a program before it is implemented in a specific programming language.
Program : It is exact code written for problem following all the rules of the programming language." (https://www.geeksforgeeks.org/difference-between-algorithm-pseudocode-and-program/?ref=lbp)
Your professor highlighted the endeavor of algorithm to correctly and fully assess a # of applicable and inapplicable inputs and thus arrive at an accurate and full solution to the specifically suggested solvable problem. Your program [sufficient language usage] derives from its algorithm [procedural logic of arrangement thereof] to provide an adequate and honest answer to the question of underlying browser resolution. Emphasis on logic of methodology may be taken for granted in programs... you had to eliminate dependencies to attain accurate information regarding any given browser, regardless of values set among different properties offered within features of the browser.
Your pseudocode transforms the task-list of your algorithm-based procedure (logical multi-steps, exhaustive/conclusive operations, "only-every" aspect and behavior that must factor into the solution posited by a program to offer true solution) into more codiFIED instructions, as are better understood by the eventual machine code understanding of a running computer. However, "pseudocode is not an actual programming language... Many time algorithms are presented using pseudocode since they can be read and understood by programmers who are familiar with different programming languages. Pseudocode allows you to include several control structures such as While, If-then-else, Repeat-until, for and case, which is present in many high-level languages..." Pseudocode remains a high-level understood meld of syntax and symbols to structurally signify the roles of programming articulation in the final draft... If the program wasn't accurate in some browser cases, and not for the code of the program throwing errors or negating designed tasks, were some browser aspects not considered within the design itself of your algorithm (i.e. approach to solution?)