Answer:
C
Explanation:
The previous Discussions have provided the opportunity to share some elegant solutions to programming challenges, and many of them share one common trait—they all handle multiple objects with ease. Forget, for the moment, about some of the complexity involved. The formulas may seem strange, but do not worry. At this stage of programming, you are not expected to generate such things on your own; very few new programmers can. Instead, stop to consider the ways programs embrace the computer’s true assets.
Machines do not mind doing the same thing over and over again; they never get bored. They are also capable of handling massive amounts of data in an impeccably organized manner. One of your challenges as a programmer is to communicate, through code, in an efficient way that plays to the computer’s strengths.
Consider, for example, having to write a program to manage personnel records for all of the people working for your company. You certainly would not want to have to write a program with a unique variable for each unique person in the company. Every time a new employee was hired, someone would have to modify the program to add a new variable for that employee. Every time an employee left the company, someone would have to modify the program to remove that employee’s variable and data from the program. Clearly, this would be a very tedious way to automate personnel records. Instead, you need a way to manage that collection of personnel information in a more organized manner. In fact, you need a way of representing the collection of individual employees as just that, a single variable that provides access to all of the employees. Then, you can use loops to process the employee data. Fortunately, Java provides the concept of an array (and other similar collections, such as the ArrayList) to manage collections of similar objects.
It takes time to truly grasp how powerful object-oriented programming can be and how you can harness its "objects-first" focus to make your own programs concise and elegant. Unfortunately, some programmers do not invest that time. They rely on brute force—repetitive methods resulting in long programs that are, by nature, hard to review and debug.
Return to the open source repositories you previously explored. Find a program that (A) uses at least one loop and a list effectively or (B) could use a loop and a list to improve the program.
*. Response that summarizes your findings. The post should:
1. Include a copy of the code that either (A) exemplifies concise, generalized code or (B) presents the perfect opportunity to apply loops, arrays, and lists to reduce the length of the program using a more elegant solution. Do not undertake a lengthy program; limit your code to approximately 20 lines.
2. If the code is an exemplar of good coding, explain what leads you to that conclusion. Be specific.
3. If the code needs improvement, include a rewritten version of the code, in which you apply one of the methods described above to improve the program. Explain how your solution better embraces a computer’s strengths as a tool that can perform calculations quickly, perform repetitive tasks, and/or manage data effectively.
4. Add or revise comments in the code to accurately describe the function of the loop and list.
Do not include the entire source code of the program you choose. Select just the portion with the necessary information, such as variable declarations and methods called from outside the class or method.
Answer:
I can't make out the question
Can someone help me with this
This component is responsible for the logical order of processing?
A) ALU
B) DATA
C) Control Unit
D) RAM
Answer:
A) ALU
Explanation:
The arithmetic logic unit (ALU) performs the arithmetic and logical functions that are the work of the computer.
So, the correct option is - A) ALU
VI. Differentiate between systems SUIwal unu up
vii. How a student can use computer to improve academic performance?
ters in
in a scho
nool library.
Answer:
So in a library u might want to get some reading or homework done the way one can use a computer to improve academic preferences is bye one a computer u can type a essay and look for a book
Explanation:
write a method called threeHeads that repeatedly flips a coin until a coin
Answer:
public void threeHeads() {
Random r = new Random();
int count = 0;
while(count < 3) {
boolean head = r.nextBoolean();
if(head) {
System.out.print("H ");
count++;
} else {
System.out.print("T ");
count = 0;
}
}
System.out.println("\nThree heads in a row!");
}
Explanation:
Use GitHub
Create the content for your website.
Please help
This has to be written in rough draft
Please answer the create the content for your website
And thank you
ERORR, the question you are looking for is not available.
Answer:
darn
Explanation:
Help please i will mark brainlist!
A10:A20 Refer to values in
Question 3 options:
Cell A10 and cell A20
The cell in column A and row 10
The range of cells in column A and rows 10 through 20
The range of cells in row 15 and columns B through #
where in system settings can you find which version of Windows is installed on your computer?
Answer:
Select the Start button > Settings > System > About . Under Device specifications > System type, see if you're running a 32-bit or 64-bit version of Windows. Under Windows specifications, check which edition and version of Windows your device is running.
Explanation:
brainliest pls
Select the correct locations on the image. Adrian wants to delve into database administration. Which certifications would help him along this career path? PMP Oracle DBA PRINCE2 CSPM MCITP
you can pick multiple
Answer:
Oracle DBA and MCITP
Name an off-line storage device that is read-only, i.e. cannot be written to.
Answer:
CD-ROMs
Explanation:
The winning design is typically that which most closely meets the design
brief and which need not necessarily adhere to budget and timescale.
False
True
when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answerAnswer:
when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answer
Explanation:
How is the Scheduling Assistant useful in creating a shared meeting request? Check all that apply.
*shows free/busy information for recipients inside the organization
*shows free/busy information for recipients outside the organization
*helps you to choose a meeting time that is best for everyone
*identifies requested room availability
*will make reminder phone calls to meeting attendees
Answer:
a. shows free/busy information for recipients inside the organization
c. helps you to choose a meeting time that is best for everyone
d. identifies requested room availability
Explanation:
just did it on edg2021 :)
Answer:
A, C, and D
Explanation:
I just got it right.
The purpose of a flowchart is similar to the purpose of pseudocode.
True
False
Answer:
True
Explanation:
Pseudocode: In computer science, pseudocode is a plain language description of the steps in an algorithm or another system. Pseudocode often uses structural conventions of a normal programming language, but is intended for human reading rather than machine reading.
Flowchart: A flowchart is a type of diagram that represents a workflow or process. A flowchart can also be defined as a diagrammatic representation of an algorithm, a step-by-step approach to solving a task. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows.
They are both human-written descriptions of the process or algorithm of a task.
I hope this helpedThanks for your timeJuri DavisRectangular box formed when each column meet
Answer:
If this is a true or false I guess my answer is true?
Explanation:
In terms of their eligibility for legal protection, how do ideas differ from song lyrics?
Ideas can be copyrighted, while song lyrics can be trademarked.
Ideas can be copyrighted, while song lyrics cannot be copyrighted or trademarked.
Ideas can be trademarked, while song lyrics can be copyrighted.
Ideas cannot be copyrighted or trademarked, while song lyrics can be copyrighted.
Answer:
D
Explanation:
Answer:
D. Ideas cannot be copyrighted or trademarked, while song lyrics can be copyrighted.
Copyright protection applies to original works that are fixed in a tangible form, such as being written down or recorded. This means that song lyrics are eligible for copyright protection because they are fixed in a tangible form, like sheet music or a recording. However, ideas by themselves cannot be copyrighted or trademarked because they are not fixed in a tangible form, they are not considered a creative work. Copyright applies to the expression of an idea, not the idea itself. Patents may provide protection to some ideas, but only if they are new, useful and non-obvious.