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

Choose the correct letter for answers: Question{07}: Used to separate input or o

ID: 3854585 • Letter: C

Question

Choose the correct letter for answers:

Question{07}: Used to separate input or output arguments when calling a function.

Answer{07}='';

Reason{07}='';

Question{08}: Used to assign values to a variable.

Answer{08}='';

Reason{08}='';

Question{09}: Used to suppress the output in the command window from a function or calculation.

Answer{09}='';

Reason{09}='';

A. % Percent sign

B. ; Semi-colon

C. : Colon

D. , Comma

E. _ Underscore

F. ... Triple period

G. () Parenthesis

H. [] "Square" Brackets

I. {} "Curly" Brackets

J. ' Single quote
K. " Double quote

L. = Equals sign

M. == Compares two values

N. ~= Compares two values

O. <= Compares two values

P. >= Compares two values

Q. & Logical AND / && Logical AND (with short-circuting)

R. | Logical OR / || Logical OR (with short-circuiting)

S. ~ Logical NOT

Z. None of the above

Explanation / Answer

Question{07}: Used to separate input or output arguments when calling a function.

Answer{07}='D' (Comma)

Reason{07}='In all languages comma used in two contexts they are seperator and operator. Here to seperate input or output arguments when calling a function we use comma ( , ). As the process of compilation of a code and its functions as well run on compiler and step to compilation is so designed that first it read all the letters, symbols, etc as a tokens that process is lexical analysis so therefore when it reads function with some arguments so it is predefined that to successfully pass that part of code successfully for compilation it must contain comma ( , ) to seperate the arguments thus we use comma since it is rule.'

Question{08}: Used to assign values to a variable.

Answer{08}='L' (Equals Sign);

Reason{08}='Equals sign is defined as an assignment operator in computer programming language in all the languages in computer science equals sign is used to assign values in variable as it is predefined in the rule of compilation that when compiler or interpreter reads the equals sign after vaiable and before value than only it gives memory and value to the variable';

Question{09}: Used to suppress the output in the command window from a function or calculation.

Answer{09}='B' (Semi-colon);

Reason{09}='Suppress means showing no output. If at the end of input you put semicolon, it is as if you are giving a sequence of operations, with an "empty" one at the end. This has the effect of making the Language perform the operations you specify, but display no output. On doing calculation with the Language, you usually go through a sequence of steps. If you want to, you can do each step on a separate line. Often, however, you will find it convenient to put several steps on the same line. You can do this simply by separating the pieces of input you want to give with semicolons.'