Comments should:
a) give the reader the background of the programmer.
b) be written for every line of code.
c) communicate the purpose of the code that follows it.
d) give information about how many hours it took to write the code.

Answers

Answer 1
Option C is correct............
Answer 2

Answer:

c.

Explanation:


Related Questions

What are 5 different google g-suite tools that you can use to collaborate and communicate with othe

Answers

it is google docs like stuff made by google

SOMEONE PLEASE HELP ME I REPOSTED THIS 3 time and no ONE HAD HELPED ME

Answers

Answer:

The answer is B

You wrote a program to find the factorial of a number. In mathematics, the factorial operation is used for positive integers and zero. What does the function return if the user enters a negative three? def factorial(number): product = 1 while number > 0: product = product * number number = number - 1 return product strNum = input("Enter a positive integer: ") num = int(strNum) print(factorial(num))
-6
1
-3
There is no output due to a runtime error.

Answers

Answer: well it’s not “There is no output due to a runtime error”

Explanation: Put that and I got it wrong

The Answer Is 1.

Edge 2020.

The most commonly used auxiliary storage device(s) is/ are _____.
a.
floppies and tapes
b.
a filing cabinet
c.
hard disks and floppies
d.
tapes and hard disks

Answers

Answer: A

Explanation:

Social networking is the most popular online activity?
True
False

Answers

Answer:

true

Explanation:

It’s true because I said so

a employee who has intregity is

Answers

Answer:

is some one who demonstrates  sound moral and ethical principles ,always does the right thing no matter when or who's watching, they can be trusted around the staff and the stakeholders. which means that that person is honest, fair, and dependable

Explanation:

i actually just did a report for a class that i am taking called human resources

i hoped this helped you

Circuit pruning occurs only before puberty.
O True
O False

Answers

Answer:

False

Explanation:

Answer:

The answer is false goodluck6

What does a network backbone do?
allows data to be delivered more quickly and efficiently
makes data transfer from the cloud more secure
connects different network functions, such as printers and modems
configures random local networks in major cities that make up the Internet

Answers

Answer:

configures random local networks in major cities that make up the internet.

Answer:

D

Explanation:

How do you halt an infinite loop?
by pressing the Control key and the

key

Answers

write code creating an infinite loop, with my new Excel, the Ctrl + Break no longer works. Neither does the Esc key, etc.

I've looked all over the web and it appears that Microsoft has a bug and doesn't care to fix it.

Is there a way to re-introduce the Ctrl + Break function to VBA so if this happens in the future I don't lose work / force close?

Answer:c

Explanation:ctrl and c stops a infinite loop

write a paragraph about ICT?

Answers

Answer:

ICT (information and communications technology or technologies) is an umbrella term. It includes any communication device or application, such as radio, television, cellular phones, computer and internet, satellite systems and so on. Videoconferencing and distance learning is a very important part of ICT.

which of these options highlights the need for learning algorithms
A. Algorithms help you draw neat diagrams
B. Algorithms help you create easily understandable programs
C. Algorithms help you learn assembly-level language
D. Programmers can code using algorithms only

Answers

Answer: D.

Explanation:

Answer:

The answer is B. Algorithms help you create easily understandable programs

Explanation:

I got it right

What is a characteristic of tasks in Outlook?
The Tasks view can be seen by clicking the View tab.

New tasks are created in the Appointments form

Tasks are an action item in Outlook and are basically a to-do list.

Old tasks are automatically deleted from your list​

Answers

Answer:

C. Tasks are an action item in Outlook and are basically a to-do list.

Explanation:

A to-do List is just a list of tasks.

and I took the test and got it right

Answer:

C. is correct

Explanation:

edg 2021

whats the name of the windows 10 nucleus

Answers

Answer:

motheboard

Explanation:

4.9 Code Practice: Question 4
Instructions
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.

Sample Run
Enter Temperature: 27.6
Enter Temperature: 29.5
Enter Temperature: 35
Enter Temperature: 45.5
Enter Temperature: 54
Enter Temperature: 64.4
Enter Temperature: 69
Enter Temperature: 68
Enter Temperature: 61.3
Enter Temperature: 50
Sum = 504.3

Answers

total = 0

i = 0

while i < 10:

   temp = float(input("Enter Temperature: "))

   total += temp

   i += 1

print("Sum =", str(total))

I hope this helps!

I don't understand how to do these. It's python by the way.

Answers

Answer:

Disclaimer: I dont put the Euler, magic word, and another variables, you need to do this

Explanation:

print(eulersNumber[16])

print(eulersNumber[26])

print(eulersNumber[31])

print(magicWords[:3]+magicWords[8:10])

3° I dont know how i can make this

print(a[::-1])

print(b[::-1])

print(c[::-1])

print(x[::-1])

print(y[::-1])

Have a nice day

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors

Answers

Answer:

A simple syntax error :)

"A character or string incorrectly placed in a command or instruction that causes a failure in execution."

Good luck! Hope this helped! :D

The kinds of errors does Erin need to fix is a simple syntax error.

What is syntax error?

Syntax is a character or string when incorrectly placed in a command or instruction results in failure while executing.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be.

The correct way to remove syntax error is putting colon and semicolon on the right place.

Learn more about syntax error.

https://brainly.com/question/18271225

#SPJ2

Chris has received an email that was entirely written using capitalization. He needs to paste this text into another document but also ensure that the capitalization is removed.

What should Chris do?

Use the Paste Special function to paste the text without formatting.
Turn the Caps Lock button on the keyboard to the off position.
Use Shift+F3 to change the case of the desired text.
All of the above steps are correct.

Answers

Answer: D. all of the above

Explanation:

Answer:

D.) All of the steps above are correct

Explanation:

what is the meaning of .net in computer​

Answers

Answer:

.net is a top-level domain, also known as a TLD. Derived from the word network, it was originally developed for companies involved in networking technology. Today .net is one of the most popular domain names used by companies all over the world to launch their business online.

Place the steps in order for placing a section break

Answers

Answer:

choose a break option, select breaks, click the layout tab, change the formatting style, and position the cursor

Explanation:

i could be wrong cause i dont know what its about but this is what makes sense to me

Answer:

position the cursor click the layout tab select breaks choose a break option change the formatting style

Explanation:

Just had this question

Which of these should be included in a program's comments?

a. code to set the parameters of a shape

b. a description of what the program does

c. a description of how long it took to write the code

d. code for inserting a background

Answers

Answer:

B

Explanation:

Comments in code are primarily used to describe what the program does, and how chunks of the code running the program help relate to what the program does. Comments in code are not primarily used for answers d & a, which is more code, since if you comment, the compiler doesn't notice the code, so it doesn't work. Comments in code are not used for c either, since it's not really needed to write that in the comments.

What can you add to your presentation from the Insert tab?

Animations
Pictures
Variants
Transitions

Answers

Answer:

B. PICTURES

Explanation:

Answer:

I know its late but pictures is the answer.

Explanation:

I took the test and got it right.

1. What sort of information should be taken by the human resource before
leaving for foreign employment? Write in brief.​

Answers

Answer:

DDDDDDDDDDDDDDD

Explanation:

Answer:

Sources of information on foreign job opportunities. Blue, newspapers or professional journals; Red, personal contacts abroad; Green, recruitment websites.

Explanation:

What is the main citation style for English and humanities classes? Modern Language Association style (MLA) American Psychological Association style (APA) .edu style (EDU) .gov style (GOV)

Answers

Answer:

MLA

Explanation:

Answer:

A) Modern Language Association style (MLA) Is your answer!

Explanation:

If you think about it the other answers either don't fit or don't make sense! :)

Hope this helps! :)

Which unit of measurement is used to express the capacity of a servo motor?
A. kg/hr
B. kg/m
C. kg/cm
D. kg/km

Answers

Answer:

C. kg/cm

Explanation:

I just did it

who got houseparty and tryna play uno

Answers

Answer:

awww shiiiii yessss

Name any two operating systems you know.

Answers

Answer:

software and hardware

2 operating systems are windows and iOS

If you were the manager at a firm which deals with sensitive information of its customers, employees and other stake holders, how would you make sure that information is protected and is altered only by the designated authorized person

Answers

Answer:

explanation below

Explanation:

Management controls are some of the techniques and mechanisms that can be put in place to implement security policies – which ensure information and information systems are protected.  These controls are not only used by managers but can be exercised by selected users.  

These controls must be put in place to cover all forms of information security, physical security and classification of those information.  

Create a class called Drive. It should have instance fields miles and gas which are both integers. Another instance field, carType, is a String. The constructor should receive a String which initializes carType. The other two instance fields are both automatically initialized to 1 in the constructor. Create a method called getGas that returns an integer that is the gas data member. The getGas method has no parameters. Write in java. First correct answer will be marked brainliest, i need answer very soon

Answers

public class JavaApplication87 {

   

   public static void main(String[] args) {

       Drive dr = new Drive("Insert type of car");

       System.out.println(dr.carType);

   }

   

}

class Drive{

   int miles;

   int gas;

   String carType;

   public Drive(String ct){

       carType = ct;

       miles = 1;

       gas = 1;

       

   }

   int getGas(){

       return gas;

   }

   

}

I'm pretty sure this is what you're looking for. Best of luck.

What makes e-mail different from other forms of business communication?

Answers

Answer:

because it is an electronic mail

Answer:

Email can be both formal or informal however face to face communication is usually most effective in business.

CALCULATE THE PERCENTAGE OF FAT CALORIES TO TOTAL CALORIES. I got no idea how to do this in excel ;-;

Answers

Answer:

As you have the Fat Cal. in column C and the total calories in Column B, what you have to do is to divide column C by Column B.

For instance, in column E2, put the formula: =C2/B2.

Then drag the formula down so that the other formulas will be;

E3; =C3/B3

E4; =C4/B4

E5: C5/B5

E6: C6/B6

Then after that you go to the Home tab, then to the Number style section and format E2 to E5 to be percentages.

Other Questions
simplify this expression: 5 + 2b - 2 1.Analyze Effects Which trait aids in building a sense of loyalty to the ruler? 2.Draw Conclusions How can intensive agriculture be both a strength and a weakness? When an endocrine organ is making a hormone, like protein, genes in thecells have to first be transcribed to make what?A. RNAB. DNAC. ATP Define Peace development and the relation of social workers to it Do convection currents of thermal energy form in Earths crust? What force opposes the electromagnetic force in the atom? Which equation represents a linear function of x?A. 2x + y = 4B. y = the square root of xC. 3x - y = x(x+2)D. y = (x+3)(x-5) What do u think it is A private not-for-profit entity is working to create a cure for a disease. The charity starts the year with one asset, cash of $700,000. Net assets without donor restrictions are $400,000. Net assets with donor restrictions are $300,000. Of the restricted net assets, $160,000 is to be held and used to buy equipment, $40,000 is to be used for salaries, and the remaining $100,000 must be held permanently. The permanently held amount must be invested with 70 percent of any subsequent income used to cover advertising for fundraising purposes. The rest of the income is unrestricted.During the current year, this health care entity has the following transactions:1. Receives unrestricted cash gifts of $210,000.2. Pays salaries of $80,000, with $20,000 of that amount coming from purpose-restricted donated funds. Of the total salaries, 40 percent is for administrative personnel. The remainder is divided evenly among individuals working on research to cure the disease and individuals employed for fundraising purposes.3. Buys equipment for $300,000 by signing a long-term note for $250,000 and using restricted funds for the remainder. Of this equipment, 80 percent is used in research. The remainder is split evenly between administrative activities and fundraising. The donor of the restricted funds made no stipulation about the reporting of the equipment purchase.4. Collects membership dues of $30,000 in cash. Members receive a reasonable amount of value in exchange for these dues including a monthly newsletter that describes research activities. By the end of the year, 112/112 of this money had been earned.5. Receives $10,000 in cash from a donor. The money must be conveyed to a separate charity doing work on a related disease.6. Receives investment income of $13,000 from the permanently restricted net assets.Pays $2,000 for advertising. The money comes from the income earned in (f).Receives an unrestricted pledge of $100,000 that will be collected in three years. The entity expects to collect the entire amount. The pledge has a present value of $78,000. Related interest (considered contribution revenue) of $5,000 is earned prior to the end of the year.7. Computes depreciation on the equipment bought in (c) as $20,000.8. Spends $93,000 on research supplies that are used up during the year.9. Owes salaries of $5,000 at the end of the year. None of this amount will be paid from restricted net assets. Half of the salaries are for individuals doing fundraising, and half for individuals doing research.10. Receives a donated painting that qualifies as a museum piece being added to the entitys collection of art work that is being preserved and displayed to the public. The entity has a policy that the proceeds from any sold piece will be used to buy replacement art. Officials do not want to record this gift if possible..A. Prepare a statement of financial position for this not-for-profit entity for the end of the current year.B. Prepare a statement of activities for this not-for-profit entity for this year. This laboratory setup would most likely be used to demonstratecarbohydrate synthesisactive transportdehydrationdiffusion Dana is trying to determine if an unknown sample is a pure substance or not. The sample has a cloudy white color, and it seems evenly mixed throughout. The sample is a liquid with high viscosity. Dana tried separating the sample with a magnet with no effect. When Dana filtered the sample, larger granules of the sample were left behind in the filter. What evidence allowed Dana to conclude that the sample is NOT a pure substance?It has a cloudy white color.The liquid has high viscosity.Dana tried separating the sample with a magnet with no effect.Dana filtered the sample and larger granules of the sample were left behind. Who was the author of "The 1968 Democratic Convention: Disunity on Display" The sequential series of nucleotide triplets that are positioned in the A site of the ribosome during translation. A. Primary structure B. Exons C. Promoter D. Reading frame What Qing emperor refused trade with the British? A. Qian-long B. Kangxi C. Akbar D. Suleiman hi can somebody answer this rlly quickly The ratio of boys to girls in Ms. Grahams class is 3 to 5. There are 20 girls in the class.What is the total number of students in Ms. Graham's class? Graciela y sus padres dieron una fiesta de sorpresa para su hermano Toms. Qu le dice Graciela a su amiga de Costa Rica? Completa el prrafo con el pretrito de hacer, ver o dar. (Complete with the appropriate verbs in the preterite tense.)El sbado pasado mis padres y yo _______ 1 una fiesta de sorpresa para mi hermano. Antes de la fiesta, Mam _______ 2 un pastel, pero Toms nunca lo ______ 3. Yo _______ las decoraciones. Durante la fiesta, cantamos y ________ 5 pelculas. Ms tarde, nosotros le ________ 6 muchos regalos a Toms. Mis padres le ________ 7 ropa nueva y yo le _______ 8 un disco compacto. Su amiga le ________ 9 entradas a un concierto. Fue una noche muy divertida. Y t? Qu _______ 10 el sbado? _______ 11 una pelcula con tus amigos? please help me with question 1 please and thanks What territories were a part of Felipe II empire? Which statement is correctly written as a conditional statement?A) Any four-sided shape is a quadrilateral.B) A shape has four sides when it is a quadrilateral.C) If a shape has four sides, then it is a quadrilateral.D) A shape has four sides, or it is a quadrilateral.