1answer.
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
11Alexandr11 [23.1K]
3 years ago
7

Which statement about comments is false? Select one: a. Lengthy comments can cause poor execution-time performance. b. Comments

do not cause any machine language object code to be generated. c. Comments may begin and end with /* and */, respectively. d. Programmers insert comments to document programs and improve program readability.
Computers and Technology
1 answer:
dybincka [34]3 years ago
8 0

Answer:

The answer is "Option a".

Explanation:

In programming, the Comment is also known as the description of the source code or the program, which increases the readability of the programmer.  It aims to facilitate understanding of it's code to humans, and when we this code the compilers and interpreters typically avoid it, and correct choices can be defined as follows:

  • In choice b, There is no use of comments in the compilation.  
  • In choice c, the multiple line comment starts with starts and ends with /* and */.  
  • In choice d, it increases the program readability.
You might be interested in
6.10.1: Modify a C string parameter. Complete the function to replace any period by an exclamation point. Ex: "Hello. I'm Miley.
Andrej [43]

Answer:

#include <iostream>

#include <cstring>

using namespace std;

void replacePeriod(char* phrase) {

int i = 0;

while(*(phrase + i) != '\0')

{

if(*(phrase + i) == '.')

*(phrase + i) = '!';

i++;

}

}

int main() {

const int STRING_SIZE = 50;

char sentence[STRING_SIZE];

strcpy(sentence, "Hello. I'm Miley. Nice to meet you.");

replacePeriod(sentence);

cout << "Updated sentence: " << endl;

cout << sentence << endl;

return 0;

}

Explanation:

  • Create a function called replacePeriod that takes a pointer of type char as a parameter.
  • Loop through the end of phrase, check if phrase has a period and then replace it with a sign of exclamation.
  • Inside the main function, define the sentence and pass it as an argument to the replacePeriod function.
  • Finally display the updated sentence.
6 0
3 years ago
A doorknob is an example of which simple machine?
Zarrin [17]
A doorknob is an example of a:
D. Wheel and Axle. 
I hope this helped ^_^
3 0
3 years ago
Read 2 more answers
The Coffee Counter charges ​$7.00 per pound for Kenyan French Roast coffee and ​$11.00 per pound for Sumatran coffee. How much o
ss7ja [257]

Answer:

jimmmy

Explanation:

3 0
3 years ago
AYUDAAA ESPARA HOYYY
DIA [1.3K]

Answer:

what?

Explanation:

8 0
3 years ago
Read 2 more answers
Implementing HTML best practices and writing code to match the original intentions of each element is known as __________ HTML.
erica [24]

Answer:

semantic

Explanation:

The description provided is describing the practice known as semantic HTML. This is basically code that provides both the user and the developer a description on what the code was originally supposed to do. For example, a method that calculates the total cost of a set of prices could be called calculateTotal(). By doing so you are describing the intention of the method clearly so that the individual using the method does not need to look at anything else to know what it does.

6 0
3 years ago
Other questions:
  • How do switches and bridges learn where devices are located on a network?
    5·1 answer
  • Why would it be a bad idea for gateways to pass broadcast packets between networks? What would be the advantages of doing so
    12·1 answer
  • In what order does the air flow in a canister vacuum cleaner pass through the following components?
    11·1 answer
  • How is the illusion of animation achieved using Sprites with multiple costumes?
    12·1 answer
  • The most common roof type is called a
    14·2 answers
  • Write a program that determines the value of the coins in a jar and prints the total in dollars and cents. Read integer values t
    5·1 answer
  • What should you consider when looking at houses to buy? A. Location B. Size and condition of the yard C. Size, features, and con
    12·2 answers
  • Write a program to change background colour of your visual basic form with any 3 different events.​
    15·2 answers
  • Jabari created new video game for his coding course. What is one way he should format his pseudocode?
    12·1 answer
  • Service provided by multiple servers acting in parallel is referred to as: a. Multiple-phase queuing system b. Multiple-channel
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!