Answer:
The expression on line 9 required 2 brackets
Explanation:
Given
The attached code
Required
Why syntax error.
The error points to line 10, but the error is actually from line 9
To get an integer input, the syntax is:
variable-name = int(input("Prompt"))
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
By comparing the syntax to the actual code on line 9, only 1 of the brackets is closed.
This, in Python 3 is a sytax error
Answer: it needs two brackets
Explanation: got it right on edgen
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!!
How do you access the
internet in your school and at home?
What is output by the code below?
print("Comp Sci")
print("Rocks")
Answer:
If this is python the output will be:
Comp Sci
Rocks
Explanation:
When you print something it will output that line. However, when you print something in python it automatically skips a line. For instance you told print Comp Sci. And then you asked python to print Rocks. Python will output those two things on two separate lines. Thus proving the answer is:
Comp Sci
Rocks
hope this helps!
A cell is the intersection of a row and a column, identified by a letter and number.
True or false
Answer: True
hello how are you
Answer: True hope it helps
Can someone tell me how to hit on a link on Brainly to see the answer
x = 0
while x < 4:
print(x)
x += 1
Make it a for loop
Answer: Here you go :)
Explanation:
x = 0
for n in range(4):
print(x)
3.Choose the correct container for sugar
A:bag of sugar
B:Can of sugar
Answer:
bag of sugarrrrrrrrrrr
Answer:
The answer is A. bag of sugar
Consider the following code:
x = "apple"
y = x
z = "banana"
print(x + " " + y + "\n" + 2)
Answer:
apple apple
banana
Explanation:
Given - Consider the following code:
x = "apple"
y = x
z = "banana"
To find - print(x + " " + y + "\n" + z)
It will print -
apple apple
banana
First will apple followed by '' '' that is space then y which is equal to x that is apple then followed by ''\n'' new line then banana.
So, The answer would be
apple apple
banana
Notation used -
'' '' represents space between two values
''\n'' represents new line
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.
define file in context of computer programming
Which of the following statements represents a scientific bias?
Clean all containers to remove residue from the previous steps.
Use data from the previous steps because they show better results.
Make sure to follow every step in the procedure.
The scale needs to be calibrated to ensure accuracy.
Answer: Use data from the previous steps because they show better results
Explanation:
A scientific bias occurs when there's a deviation between the observations of a researcher and the accurate representation of data and results.
In this case, the use of data from the previous steps because they show better results will bring about a data bias as it'll lead to inaccuracies of the data being represented.
Given the following class code: public class RecurseSample { public static void main(String[] args) { System.out.println(recurse(3)); } public static int recurse(int n) { int total = 0; if (n == 0) { return 0; } else { total = 3 + recurse(n - 1); } return total; } } What values will be printed when this code is executed?
Answer:
The output of the given code is "9".
Explanation:
In this question, a class "RecurseSample" inside the class a "recurse" method is declared that holds that holds an integer variable as the parameter, and inside the method a total variable is declared and uses a conditional statement to check the n variable value that is equal to 0 if it is true it will return 0. In the else block it call the method and add value in the total variable, and returns its value. In the main method, the print method is used that prints the above method values.
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.
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
.
.
.
What is a conflict?
Contentment
Disagreement
Harmony
Peace-keeping
Answer:
conflict is a Disagreement
Which step comes last?
Gather data from the user.
Process the data.
Check for accuracy.
Output the result.
Answer: Process the data
Explanation: i took the test
Answer:
The answer is Check for accuracy
Explanation:
A video streaming website uses 32-bit integers to count the number of times each video is played. in anticipation of some videos being played more times than can be represented with 32 bits, the website is planning to change to 64-bit integers for the counter. which of the following best describes the result of using 64-bit integers instead of 32-bit integers? a. 2 times as many values can be represented. 32 times as many values can be represented. 2^32 times as many values can be represented. 32^2 times as many values can be represented. I know the answer is 2^32 but can someone explain it to me?
Answer:
2³² times as many values that can be represented
Explanation:
A 64 bit register can hold 2⁶⁴ different values, while a 32 bit register can hold 2³² different addresses
Therefore, a 64 bit can represent 2⁶⁴ ÷ 2³² = 2³² times as many values as can be represented by 32-bit
Therefore, the 64 bit can represent 2³² times as many values that can be represented by a 32 bit integer
Which of the following would have the largest text on a web page?
Answer:
style=text-align: right
Explanation:
text-align is a CSS property having 5 types of values. Each of values define below.
left - Aligns content to left.
right - Aligns content to right.
center - Centers the content.
justify - Depends on the width of the content, it will align itself to both left and right
inherit - It specifies the the value of text-align should be taken from parent element.
Explanation:
lol
In two to three sentences, describe some techniques you could use to save time when working with a spreadsheet.
Answer: Everything is neatly organized on a spreadsheet so that you can access information faster. You can use features like shortcuts and auto-fill for you to save time.
Explanation:
Is brainly allowed because you don't Really learn from this..?
Explanation:
I don't know it's some time good and some times bad
Answer:
i bet ur like that one kid who tells the teacher that she forgot to collect the homework even tho u aint even do it
True or False
Explanation:
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);
}
Help!!!!!!
please
Who will give the answer I'll mark him/her as brainlist..
The concept of a logo with a constantly changing persona is contrary to the widely held belief that trademarks and visual identifiers should be absolutely fixed and used in a consistent manner. The _____________ logo changed the face, the idea, and the speed of graphic design; it played a major role in redefining visual identity in the electronic age. This logo anticipated the kinetic world of motion graphics soon to explode as cable television, video games, and computer graphics expanded the variety and range of kinetic graphic messages.
Answer:
Music Television (MTV).
Explanation:
The concept of a logo with a constantly changing persona is contrary to the widely held belief that trademarks and visual identifiers should be absolutely fixed and used in a consistent manner. The Music Television (MTV) logo changed the face, the idea, and the speed of graphic design; it played a major role in redefining visual identity in the electronic age. This logo anticipated the kinetic world of motion graphics soon to explode as cable television, video games, and computer graphics expanded the variety and range of kinetic graphic messages.
Music Television (MTV) is a 24-hour music cable channel that had its first live transmission in 1981.
If we increase the height of the pendulum, we will increase the potential energy in the system. What effect would this have on kinetic energy?
Kinetic energy will decrease by the same amount.
Kinetic energy will increase by the same amount.
Kinetic energy will not change.
Kinetic energy will increase by half the potential energy.
Answer:
yo I need points so I'm answering this sorry
Answer:
your kinetic energy will increase by the same amount
Explanation:
think of a yoyo or any weighted object on the end of a string imagine swinging it in a circle and putting your finger in it so it wraps around your finger the object spins faster as the string shortens
I hope this helped
you must regularly do this on your computer to prevent a virus from infecting it
Answer; Install Anti-Virus/Malware Software. ...
Keep Your Anti-Virus Software Up to Date. ...
Run Regularly Scheduled Scans with Your Anti-Virus Software. ...
Keep Your Operating System Current. ...
Secure Your Network. ...
Think Before You Click.
Explanation:
i took the test
Answer:
Clean out unneeded folders, scan your pc with an anti virus, use a vpn, and download from trusted websites
Explanation:
while
norma
mean
cinta
to the user
a.) Define the term microcomputers.
Explanation:
Microcomputers are computers designed around a microprocessor, smaller than a minicomputers or a mainframes.
Hope it will help :)❤
What is the pencil tool in photoshop
Answer:
I think its to draw on the photo.
Explanation:
Answer:
draw
Explanation:
it opens the drawing menu
1 pts Question 5 Which of the following calculations would evaluate to 12? (36) + 2/2, 3* ((6+2)/2), 3* 6+2/2, (306+ 2)/2
Answer:
Could you seperate them if they are different answers? I'm lost, sorry!
Explanation:
Which software helps you upload content for live streaming
OA OnlineStream
OB. Firewire
OC. PPLive
OD. Blogger
Answer:
a online stream i ting please mark brainilest
Explanation:
write 3 things that can't be done without technology. write your opinion?
Answer: Call a theater to get movie times, Use a phone book to find a company to do work around your house, and Park your used car on the street with a sign that says it’s for sale.
Explanation: my opinion is that it's fine to do each of those things without technology. Because technology is supposed to help the limited capacity of the human brain and improve things that make every day life quicker, easier, leaves more time to do something else.
Answer:
1) Filming, depending on the camera it is still technology that everyone uses on a daily bases with no hesitation for use.
2) Vehicles, I'm not sure if they are a type of technology but for this case lets just say they are. With vehicles we can get to places much faster then walking or taking a carriage.
3)Records, in this case music. Without records or anything of the sort we wouldn't exactly be able to listen to our favorite music at all times.