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-codeExplanation / 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..!!!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.