answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
rjkz [21]
2 years ago
15

What are the pros and cons of using unique closing reserved words on compound statements?

Computers and Technology
1 answer:
Nata [24]2 years ago
6 0

Pros: Readability. Unique closing reserved words on compound statements will enhance readability and flexibility of a language. When an endwhile or an endif in a program is written by someone else, it is vivid which block is ending. Using braces is much harder is sometimes much harder to read.

Cons: Writability. They have the disadvantage of writability and thus, complicating the language by increasing the number of keywords. Use of more of these reserved words mean less words available for the programmer.







You might be interested in
What happened if the offshore team members are not able to participate in the iterations demo due to timezone/infrastructure iss
UkoKoshka [18]

What happened if the offshore team members are not able to participate in the iterations demo due to timezone/infrastructure issues-(c) No Major issue. Since offshore lead and onsite members participate in the demo with the product owner, they can cascade the feedback back to the offshore members.

Explanation:

<u>No Major issue. Since offshore lead and onsite members participate in the demo with the product owner, they can cascade the feedback back to the offshore members.</u>

From the above statement it is clear that in case the offshore team members are not able to participate in the demo with the product owner due to timezone/infrastructure issues it want be a big issue since the onsite members of the team will participate in the demo and they can give all the valuable knowledge and feedback to the offshore members.As they all are part of the very same team

<u>Hence the option(3) is the correct option</u>

4 0
2 years ago
What are common names for some primary discrete components used on circuit boards?
Alenkinab [10]
Transistor, resistor, capacitor, inductor, integrated circuit
7 0
2 years ago
A Consider the following method definition. The method printAllCharacters is intended to print out every character in str, start
ozzi

Answer:

<em>(c) The method call, which worked correctly before the change, will now cause a run-time error because it attempts to access a character at index 7 in a string whose last element is at index 6.</em>

<em />

Explanation:

Given

printAllCharacters method and printAllCharacters("ABCDEFG");

Required

What happens when  x < str.length() is changed to x <= str.length()

First, we need to understand that str.length()  gets the length of string "ABCDEFG"

There are 7 characters in "ABCDEFG".

So: str.length()  = 7

The first character is at index 0 and the last is at index 6

Next, we need to simplify the loop:

for (int x = 0; x< str.length(); x++) means for (int x = 0; x< 7; x++)

The above loop will iterate from the character at the 0 index to the character at the 6th index

while

for (int x = 0; x<=str.length(); x++) means for (int x = 0; x<=7; x++)

The above loop will iterate from the character at the 0 index to the character at the 7th index

Because there is no character at the 7th index, the loop will return an error

Hence: (c) is correct

7 0
2 years ago
Write the prototype for a function named showValues. It should accept an array of integers and an integer for the array size as
aalyn [17]

Answer:

void showValues(int [<em>maximum</em><em> </em><em>volume</em>],int);

4 0
2 years ago
Read 3 more answers
in a blank excel workbook go to insert tab on the ribbon, which of the following is Not vailable 1 smart art 2 coloumns ( not co
Anuta_ua [19.1K]

Answer:

  1. hahahahahahahhahah
7 0
2 years ago
Other questions:
  • Which statement best describes how the rapid prototyping model works?a) Developers create prototypes to show stakeholders how va
    11·2 answers
  • Icon view, list view, and details view are all common views provided by which kind of program?
    6·2 answers
  • Which of the given information should you keep confidential and why? a. You see a memo with the name of your coworker, who will
    13·2 answers
  • The matrix theory is used in the ___ technique
    8·1 answer
  • Which of the following describes ETL? a) A process that transforms information using a common set of enterprise definitions b) A
    14·1 answer
  • Convert to octal. Convert to hexadecimal. Then convert both of your answers todecimal, and verify that they are the same.(a) 111
    12·1 answer
  • Write a C program that inputs four strings that represent integers, converts the string to integers, sums the values and prints
    10·1 answer
  • Program MATH_SCORES: Your math instructor gives three tests worth 50 points each. You can drop one of the test scores. The final
    7·1 answer
  • What are the primary IP addresses for DNS servers hosted on the x128bit, iskytap and cloudparadox domains
    8·1 answer
  • Consider the method total below: public static int total (int result, int a, int b) {     if (a == 0)    {      if (b == 0)     
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!