Answer:
no
Explanation:
Which of these is a programming best practice?
Use general variable names such as V1 and V2.
Use lots of comments in the code.
Make lines of code as long as possible.
If you need to repeat a function, paste a copy of it each time you need it.
Answer:
B
Explanation:
You should question C. That looks like a very poor practice, but sometimes it can't be helped. Try and make short lines
D also looks questionable. You'll wind up with pages and pages of code. A better practice is to create subroutines (functions and procedures in the language I use) and then learn how to pass parameters.
A is not a good idea either because if you look at the code a month later, chances are you won't know the difference between v1 and v2.
The best answer is B. But how many programmers do it?
Answer:
B. use lots of comments in the code
Explanation:
It is important to reflect on feedback.
A. True
B. False
Answer:
YES ITS IS!!
Explanation:
Effective feedback assists the learner to reflect on their learning and their learning strategies so they can make adjustments to make better progress in their learning.
Design a TestScores class that has fields to hold three test scores. The class should have a constructor, accessor and mutator methods for the test score fields, and a method that returns the average of the test scores. Demonstrate the class by writing a separate program that creates an instance of the class. The program should ask the user to enter three test scores, which are stored in the TestScores object. Then the program should display the average of the scores, as reported by the TestScores object.
Answer:
Answered below
Explanation:
class TestScores {
double test1;
double test2;
double test 3;
public TestScores (double test1, double test2, double teat3){
this.test1= test1;
this.test2 = test2;
this.test3 = teat3;}
//mutator
public setTest1(double test1){
this.test1 = test1;
}
//accessor
public double getTest1(){
return test 1;
}
//Write same accessors and mutators for test2 and test3
public double getTestAverage(){
double sum = test1+test2+test3;
return sum / 3;
}
}
class TestRun{
public static void main (String [] args){
TestScores scores = new TestScores(50.5, 40.0, 80.7)
int average = scores.getTestAverage();
System.out.print(average);
}
PLEASE HELP ASAPP!!
What is an online presence.
This is for my cyber foundation, so i guess computers and technology is similar.
Answer:
Online presence management is the process of presenting and drawing traffic to a personal or professional brand online.
Explanation:
materials used in front office
Answer:
A Telephone, Printer, Computers, Security Monitor
Brainliest for correct answer :)
a. X = A NOR B
b. X= NOT (A OR B)
c. X = A OR B
Which of the following statements is valid?SELECT InvoiceNumber, VendorNameFROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorIDWHERE InvoiceTotal = MAX(InvoiceTotal)SELECT InvoiceNumber, VendorNameFROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorIDWHERE InvoiceTotal = (SELECT MAX(InvoiceTotal))SELECT InvoiceNumber, VendorNameFROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorIDWHERE InvoiceTotal IN (SELECT MAX(InvoiceTotal) FROM Invoices)All of the above
Correct Answer:
c.
SELECT InvoiceNumber, VendorName
FROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorID
WHERE InvoiceTotal IN (SELECT MAX(InvoiceTotal) FROM Invoices)
Explanation:
All options only differ on the WHERE clause:
a: WHERE InvoiceTotal = MAX(InvoiceTotal)
Fails because aggregate functions (like MAX, COUNT, etc) have to be used on the SELECT clause.
b: WHERE InvoiceTotal = (SELECT MAX(InvoiceTotal))
Fails because the SELECT clause is incomplete.
c: WHERE InvoiceTotal IN (SELECT MAX(InvoiceTotal) FROM Invoices)
This one is correct, and returns the InvoiceNumber and VendorName register with the largest value on the InvoiceTotal field.
Website managers use____ every day.
Answer:
technology
Explanation:
Answer:
uses a coena for his computer association
A testing lab wishes to test two experimental brans of outdoor pain long each wiil last befor fading . The testing lab makes six gallon s of each paint to test. The resultare Shown to see how
Answer:
The answer is "[tex]\bold{Brand \ A \ (35, 350, 18.7) \ \ Brand \ B \ (35, 50, 7.07)}[/tex]"
Explanation:
Calculating the mean for brand A:
[tex]\to \bar{X_{A}}=\frac{10+60+50+30+40+20}{6} =\frac{210}{6}=35[/tex]
Calculating the Variance for brand A:
[tex]\sigma_{A}^{2}=\frac{\left ( 10-35 \right )^{2}+\left ( 60-35 \right )^{2}+\left ( 50-35 \right )^{2}+\left ( 30-35 \right )^{2}+\left ( 40-35 \right )^{2}+\left ( 20-35 \right )^{2}}{5} \\\\[/tex]
[tex]=\frac{\left ( -25 \right )^{2}+\left ( 25 \right )^{2}+\left ( 15\right )^{2}+\left ( -5 \right )^{2}+\left ( 5 \right )^{2}+\left ( 15 \right )^{2}}{5} \\\\ =\frac{625+ 625+225+25+25+225}{5} \\\\ =\frac{1750}{50}\\\\=350[/tex]
Calculating the Standard deviation:
[tex]\sigma _{A}=\sqrt{\sigma _{A}^{2}}=18.7[/tex]
Calculating the Mean for brand B:
[tex]\bar{X_{B}}=\frac{35+45+30+35+40+25}{6}=\frac{210}{6}=35[/tex]
Calculating the Variance for brand B:
[tex]\sigma_{B} ^{2}=\frac{\left ( 35-35 \right )^{2}+\left ( 45-35 \right )^{2}+\left ( 30-35 \right )^{2}+\left ( 35-35 \right )^{2}+\left ( 40-35 \right )^{2}+\left ( 25-35 \right )^{2}}{5}[/tex]
[tex]=\frac{\left ( 0 \right )^{2}+\left ( 10 \right )^{2}+\left ( -5 \right )^{2}+\left (0 \right )^{2}+\left ( 5 \right )^{2}+\left ( -10 \right )^{2}}{5}\\\\=\frac{0+100+25+0+25+100}{5}\\\\=\frac{100+25+25+100}{5}\\\\=\frac{250}{5}\\\\=50[/tex]
Calculating the Standard deviation:
[tex]\sigma _{B}=\sqrt{\sigma _{B}^{2}}=7.07[/tex]
Which tag is responsible for changing the text located in the tab of a web browser or when bookmarking a web site?
A.
B.
C.
D.
Answer:
d
Explanation:
If your query is 'michael kors women's handbags' and the Product Ad shows 'Womens Burlington handbags', What should be your rating? A) Bad B) Fair C) Good D) Excellent
who wants to trade ro^lox accounts
I need help please and thank you
Answer:
Explanation: For "BEST way to handle the situation," try Option 1, because it would possibly help them or make the Technical Support Representative do less work.
For "WORST way to handle the situation," Option 4 would be the best because you're basically just hanging up on the person.
According to the narrator of "EPIC 2015, in 2015, "news" is:
A. fed to a monitor in all homes and is required to be on at all times.
B. provided by hard-working journalists who are committed to truth.
C. reorganized and combined with other information for individuals.
D. created by apathetic journalists who care little how true a story is.
Answer:
D created by apathetic journalists who care little how true a story is.
Explanation:
D
Based on the narrator of "EPIC 2015, in 2015, "news" is reorganized and combined with other information for individuals.
What is a reorganization?The term reorganization connote a vital and disruptive way that is used to restore a troubled business or any other thing to ensure its usefulness. It can be through the act of shutting or through the act of replacement, etc.
Conclusively, using the narrator point of view as written in "EPIC 2015, in 2015, "news" as said to have been reorganized and there was a combination of news with other information for people.
Learn more about narrator from
https://brainly.com/question/1934766
What is wrong with the following recursive sum method? The method is supposed to sum up the values between 1 and x (for instance, sum(5) should be 5 + 4 + 3 + 2 + 1 = 15). public int sum(int x) { if (x == 0) return 0; else return sum(x – 1) + x; } Group of answer choices the base case should return 1 instead of 0 the recursive case should return sum(x – 1) + 1; instead of sum(x – 1) + x; the recursive case should return sum(x) + 1; the method should return a boolean instead of an int the base case condition should be (x <= 0) instead of (x = = 0)
Answer:
The base case condition should be (x <= 0) instead of (x = = 0)
Explanation:
The given recursive function works fine for positive number. However, it returns an error when the value passed to the function is negative.
To prevent this, the base case should be x <= 0.
This will allow the program returns 0 if a negative number or 0 is passed to the function.
Hence, the changes to be made is to replace the base case with x <= 0
Guys pls help me!!!!!!!!
Answer:
Rocky The Mountain Lion
Explanation:
The most generously compensated mascot in the pro athletics industry is the NBA's Rocky, as indicated by Sapling. The Denver Nuggets mascot makes more than 10 times the normal compensation for an elite athletics group mascot with a compensation of $625,000. Rocky was accepted into the Mascot Hall of Fame in Whiting, Indiana, in 2006.
What is the author's purpose for writing this article? A to persuade readers to consider a career in aerospace engineering and at NASA B to caution readers about the difficulties that aerospace engineers encounter C to highlight the experiences of Tiera Fletcher growing up and as an aerospace engineer D to promote Tiera Fletcher's book and her nonprofit organization, Rocket With The Fletchers
Answer:
C to highlight the experiences of Tiera Fletcher growing up and as an aerospace engineer
Explanation:
Dream Jobs: Rocket Designer, a Newsela article by Rebecca Wilkins was written with the intent of informing the readers of how Tiera Fletcher developed a love for mathematics at an early age and further developed a desire to be a Space Engineer which she succeeded at. She highlighted the different steps she took before she realized her goal. Some of these steps included working as an intern in several space establishments and performing research.
Today, she is very successful in her career and hopes that young ones can pursue a career in any STEM careers of their choice.
Answer:
c on newsella
Explanation:
The first form of the rocket is believed have been developed in _?
China
Germany
Greece
Poland
i will mark u brainliest mf
Answer:
Greece
Explanation:
It is believed that the reaction principle, the physical law of rocket motion, was first demonstrated about 360 B.C. by a Greek named Archytas. Far from demonstrating the reaction principle in a weapon, Archytas simply filled a hollow clay pigeon with water. He then suspended the clay pigeon by string over a fire. The heating of the water produced steam, and the clay pigeon could move under its own power as steam escaped through strategically placed holes. Archytas could hardly have imagined that the same basic principle would one day carry men to the Moon.
Help!!!!!!
please
Who will give the answer I'll mark him/her as brainlist..
1.Menciona tres factores o variables que consideras influirán en el oscurecimiento del alimento cortado o pelado expuesto a la intemperie
La respuesta correcta para esta pregunta abierta es la siguiente.
A pesar de que no se incluyen opciones o incisos para responder a la pregunta, podemos comentar lo siguiente.
Los tres factores o variables que considero influyen en el oscurecimiento del alimento cortado o pelado expuesto a la intemperie son los siguientes.
1.- La exposición al elemento "oxígeno" cuando están a la intemperie.
2.- La temperatura del medio ambiente que afecta directamente al alimento.
3.- Los minerales y los metales que constituyen al alimento cuando tienen contacto con el medio ambiente.
En estos momentos, las sustancias que componen al alimento comienzan a tener reacciones químicas y se empiezan a oxidar cuando permanecen abiertas a temperaturas ambiente.
Es por eso que los expertos recomiendan que una vez abierta la comida -la fruta, la verdura- tiene que refrigerarse lo más pronto posible para poderse conservar un poco más de tiempo.
HELP MY TABLET KEEPS ON REBOOTING I TRIED TO FACTORY RESET BUT IT KEEPS ON REBOOTING
Answer: try to restart It
Explanation:Random reboots can happen because of problems with the firmware, but can also be due to some app you installed that is making the system unstable, or perhaps some bad bit of data that is in the system cache. A corrupt SD card can also cause problems.
Answer: it most likely a thrid party app that is causing this
Explanation: Random restart problems are sometimes caused by a bad third party app. To check if that's the case here, try running your tablet on safe mode and observe. If it works normally and won't restart on safe mode for some time, that can mean that an app is causing the trouble.Mar 6, 2021
Can someone tell me how to hit on a link on Brainly to see the answer
Sharon wants to include her name on each slide in her science presentation. Where in the Header and Footer dialog box would she type her name?
Answer:
She will type her name in the Footer
Explanation:
To answer this question, I will assume Sharon is using the Microsoft Office PowerPoint package to handle her presentation.
In PowerPoint, the footer helps users to add names or any other details on every slide.
To do this:
Go to INSERT in the menu barThen, go to Text menuSelect Header & Footer to open the boxCheck the Footer optionEnter the text in the provided text box(This is where Sharon will enter her name)Lastly, click Apply to All to effect the changesWhich of the following tasks can you perform using a word processor?
insert a bulleted list in a document
check a document for spelling errors
edit a video for inclusion in a document
create an outline of sections to be included in a document
set a password to restrict access to a document
Answer:
check a document for spelling errors
Explanation:
With a word processor, you can easily edit and make changes to a document, move text around in a document, add images, change fonts, check for spelling errors
Distinguish between bit and byte?
By its simplest definition, a bit is just a smaller unit of information than a byte. ... There are eight bits in one byte of information. Alternately, and more commonly in modern connotations, bits (and their successively larger relatives, such as kilobits, megabits and gigabits) are used to measure rates of data transfer.
Can someone help me with solving this program using coding?
Answer:
Explanation:
The following program is written in Python and holds all of the powers and amounts in a dictionary called inventory which can be changed, or the values can be increased like any dictionary. The data is then called and outputed to the user as an Inventory like the one shown in the picture.
def Inventory():
inventory = {'Mushroom': 5, 'Super Bell': 5, 'Boomerang': 5, 'Fire Flower': 5}
print("Mario's Inventory")
print("Power Amount")
for x in inventory.keys():
spaces = ''
for y in range(20 - len(x)):
spaces += " "
print(x + spaces + str(inventory.get(x)))
Inventory()
What is "public static grossPay()" an example of?
A) Method()
B) Literal()
C) Private()
D) Order()
Answer:
A) Method()
Explanation:
This is an example of a Java method header. It has the visibility modifier called public which makes it visible to other classes. It is a static method which means it can be only be called through the Class's name because an object instance of it cannot be created. It is named grossPay and has no parameters and does not return any type.
What is the purpose of the website directory provided by the website host?
A. to look up user account information
B. to provide help and training for new customers
C. to store all of a website’s content files
D. to archive website usage logs
Answer:
mabye A
Explana
.
.
.
In the Business world people are often measured by their???
A- soft skills
B- hobbies
C- iq
D- technical skills
Answer:
D
Explanation:
You need skills to succeed!!
What is the difference between motion transmission and motion transformation?
Answer:
When the parts move in the same direction, it is rotational motion, and this is called motion transmission. When there is a change in the type the motion from rotation (circular or round and round) to translation (up/down), this is called motion transformation.
Explanation:
Answer:
When we convert a movement of one type into another of the same type (that is, linear in linear or circular in circular) we speak of transmission of movement. When, on the other hand, we convert it into another of another type (that is, linear in circular or circular in linear), we speak of transformation of movements.
Explanation: