subject

According to programming best practices, how should you handle code that needs to be repeated several times in a program? A. Copy the code as many times as needed so that each usage is separate.

B. Have the code appear only once in the program and reference it when it is needed.

C. Store the code on a website and reference the website when it is needed.

D. Store the code only in a code library, not in the actual app's code.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Create a cell reference in a formula by typing in the cell name or         a. right-clicking the cell. b. clicking the cell. c. clicking the column where the cell is located. d. clicking the row where the cell is located.
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
question
Computers and Technology, 25.06.2019 04:00
Use the wrap text icon to modify which graphic appears in the front of layered images modify the picture effects change the way text is wrapped around an object apply wordart to the text
Answers: 1
You know the right answer?
According to programming best practices, how should you handle code that needs to be repeated severa...
Questions
question
Mathematics, 05.05.2020 01:57
question
Mathematics, 05.05.2020 01:57
Questions on the website: 13722361