MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the variable name in this Pseudocode?STARTSEND ‘Whats your name?’ TO DISPLAYRECEIVE agE FROM KEYBOARD (INT)
A
age
B
Age
C
AGE
D
agE
Explanation: 

Detailed explanation-1: -Variable Declaration In pseudocode, it is very easy to declare variables! We just need to mention the variable name then assign a value to it. For example, if we were making a calculator app, we would make a variable called number. We could then use this later to perform our calculations, which we will get into later!

Detailed explanation-2: -That line of pseudocode means “displays the value of expression followed by a space.” For example, you might see pseudocode like this: DISPLAY ("Howdy") DISPLAY ("Neighbor!") That represents code that outputs: “Howdy Neighbor! “

Detailed explanation-3: -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.

There is 1 question to complete.