FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is an example of pseudocode?
A
If student’s grade is greater than 60%, print “pass” Else print “fail.”
B
8B542408 83FA0077 06B80000 00000C383
C
mov edx, [esp+8] cmp edx, 0 ja @f mov eax, 0 ret
D
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Explanation: 

Detailed explanation-1: -These include while, do, for, if, switch. Examples below will illustrate this notion. Print the class average.

Detailed explanation-2: -Pseudocode is understood by the programmers of all types. it enables the programmer to concentrate only on the algorithm part of the code development. It cannot be compiled into an executable program. Example, Java code : if (i < 10) i++; pseudocode :if i is less than 10, increment i by 1.

Detailed explanation-3: -Expert-Verified Answer Pseudocode is used to write program steps. No standard is provided to write a program in pseudocode. Logic design: Its function is to design the logic of a program.

There is 1 question to complete.