Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What value would be returned into \'i\' by the intrinsic function INDEX, assumin

ID: 3832057 • Letter: W

Question

What value would be returned into 'i' by the intrinsic function INDEX, assuming the following declarations and assignment? INTEGER:: i CHARACTER (len = 20):: sentence. = 'Today is a great day' CHARACTER (len=3):: string2 = 'day' ... i = INDEX (sentence, string2, .FALSE.) Zero (0) Three (3) Undefined Eighteen (18) Which of the following is used to represent negative integers in the computer? collating sequence cycle two's complement nested loop Which statement is used to execute one or more statements multiple times, when a condition is true? IF CYCLE EXIT DO Which of the following is a way for us, humans, to write an algorithm? Object code ASCII code EBCDIC code Pseudo-code

Explanation / Answer

Dear Student,

Here is the answer:

----------------------------------------------------------------------------------------------------------------------------------------

Answer:3

Option:C is correct.

Explanation:

We need to find out the second compliment to represent the negative integer in computer.

----------------------------------------------------------------------------------------------------------------------------------------

Answer:4

Option:A is correct.

Explanation:

if condition takes an expression in parenthesis and an statement or block of statements. if the expression is true then the statement or block of statements gets executed otherwise these statements are skipped.

-----------------------------------------------------------------------------------------------------------------------------------------

Answer:5

Option:d is correct.

Explanation:

Pseudo-code is a way for programmer, to write an algorithm in human readable language(i.e English) rather than a programming language.

---------------------------------------------------------------------------------------------------------------------------------------

Kindly Check and Verify Thanks..!!!

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote