Answer:
E-business
Explanation:
A cookie recipe calls for the following ingredients: • 1.5 cups of sugar • 1 cup of butter • 2.75 cups of flour The recipe produces 48 cookies with this amount of ingredients. Write a program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient needed for the specified number of cookies in the following format: You need 5 cups of sugar, 3 cups of butter, and 7 cups of flour.
The program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient is corresponds to the ingredients mentioned above.
Further explanationPython is a general-purpose programming language. We want to write a python program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient.
48 cookies = 1.5 cups of sugar + 1 cup of butter + 2.75 cups of flour, so:
def main():
cookies = float(input("How many cookies would you like to make?\n>"))
sugar = (1.5 * cookies) / 48.0
butter = cookies / 48
flour = (2.75 * cookies) / 48
print("To make ", cookies, " cookies, you will need:\n", \
format(sugar, '.2f'), " cups of sugar\n", \
format(butter, '.2f'), " cups of butter\n", \
format(flour, '.2f'), " cups of flour", sep='')
redoQuery()
def redoQuery():
yn = input("Would you like to check another batch size? (y/n)\n>")
if yn == 'y':
main()
elif yn =='n':
exit()
else:
print("Please enter only a lowercase \'y\' or lowercase \'n\'," \
"then press enter")
redoQuery()
main()
The run program is shown in the attachment below.
Learn more1. Learn more about python https://brainly.in/question/8049240
Answer details
Grade: 9
Subject: Computers and Technology
Chapter: programming with python
Keywords: python
What are the defenses to protect against these attacks?
How are CGI programs different from Servlets?
Both Java servlets and CGI are utilized for generating dynamic web statements that admit a user application, process it on the server side and deliver answers to the user.
Servlets maintain various abilities that are challenging or difficult to achieve with conventional CGI. These abilities incorporate speaking directly to the network server, sending data within various servlets, assembly tracking and maintaining of premature calculations.
Since servlets are composed in the Java programming dialect and develop a conventional API, so a servlet can be transferred from among web server. On the other hand, CGI programs may be principles subordinate, need to be recompiled or web server dependent.
What is the primary means by which attackers infect computers with these attacks? How do these attacks commonly occur?
how much should an organization consider moving into the cloud before full outsourcing starts making more business sense
Answer:
47
Explanation:
capital steez
ISDN stands for Internet Services Dynamic Network True/False
The answer is the second option "false." ISDN does not stand for Internet Services Dynamic Network it stands for Integrated Services Digital Network. ISDN is the international communication center for sending data, video, and voice over telephone wires.
Hope this helps.
Final answer:
ISDN stands for Integrated Services Digital Network. It is a set of communication standards that enables the transmission of voice, data, video, and other digital communication services over traditional telephone lines.
Explanation:
ISDN stands for Integrated Services Digital Network. It is a set of communication standards that enables the transmission of voice, data, video, and other digital communication services over traditional telephone lines. ISDN provides faster and more reliable internet connections compared to dial-up or analog connections.
ISDN utilizes digital signals and can carry multiple channels of data simultaneously. It offers a variety of services such as voice calls, video conferences, and data transfers. In contrast, dynamic networks are networks that can adapt and change their configuration dynamically based on various factors such as network traffic or device availability. The term 'Internet Services Dynamic Network' does not accurately represent the acronym 'ISDN.'
Write a JAVA program to generate the list of prime numbers between 100 and 1000 ?
First of all, we will need a function that checks if a number is prime or not:
boolean isPrime(int n){
for(int i=2; i<=math.sqrt(n); i++){
if(n % i == 0) return false;
}
return true;
}
Then, in the main program, we will call this function with all the desired inputs, and we will print the prime numbers:
for(int n=100; n<= 1000; n++){
if(isPrime(n)) print(n);
}
Which of the following is an encryption tool that allows users to encrypt files and folders by simply right-clicking a given object and setting a few options?
a. PowerShell
b. BitLocker
c. Encrypting File System (EFS)
d. Trusted PlatformModule (TPM)
Final answer:
The encryption tool that enables right-click encryption of files and folders is the Encrypting File System (EFS). It integrates with the Windows file system to protect sensitive data through encryption.
Explanation:
The encryption tool that allows users to encrypt files and folders by simply right-clicking a given object and setting a few options is the Encrypting File System (EFS). When you use EFS, which is a feature available in some versions of the Windows operating system, you can easily encrypt your files and folders to protect sensitive data.
EFS integrates with the file system to provide this seamless encryption process. Other options like BitLocker are used to encrypt entire drives, and PowerShell is a task automation framework, not specifically an encryption tool.
TPM is a hardware-based security feature to store cryptographic keys and does not directly allow users to encrypt files and folders by right-clicking.
how are natural numbers, whole numbers, integers, and rational numbers related
Connecting your computers or devices to the ________ immediately exposes them to attack.
A. Ethernet
B. Internet
C. network
D. virtual LAN (VLAN)
Explain why, with fast moving mobiles, speed is more dominant in characterizing the use mobility pattern than direction?
98 POINTS HELP ASAP PLEASE!!!!
You have been asked to create a program for an online store that sells their items in bundles of five. Select the appropriate code that would display how many bundles are available for sale.
A.print(5 // totalItems)
B.print(totalItems // 5)
C.print(totalItems(5) )
D.print(5(totalitems) )
Answer:
B. Print Totalltems // 5
Explanation:
Well, if you learn how to create bundles on Amazon, you can eliminate the competition, set your price, and offer customers a product they’ll absolutely love.
Which of the following statements is true of offshore outsourcing?a. Improved telecommunication systems have increased its attractiveness.b. The limited availability of the Internet has reduced its effectiveness.c. Reduced bandwidth has increased its efficiency to perform with low latency.d. The increased cost of communication has reduced its popularity.
The correct answer is A. Improved telecommunication systems have increased its attractiveness.
Explanation:
Offshore outsourcing occurs in companies when these transfer or delegate certain roles or responsibilities to other companies abroad. This business strategy is closely related to the use of information and communication technologies or telecommunication systems as it is through these, the main company can conduct its operations in a different region or country.
Due to the development of telecommunications, during the last years outsourcing has become quite popular as nowadays the multiple technologies allow companies to communicate with people all around the world, send documents and papers, create meetings, and other functions that are necessary for companies. Therefore, the statement that is true about offshore outsourcing is "Improved telecommunication systems have increased its attractiveness".
How does 802.11g differ from 802.11b and 802.11a?
Try this explanation:
802.11a - the 1st generation, frequency - 5 GHz, max. data speed is 54 Mbits/sec.
802.11b - the 2d generation, frequency - 2.4 GHz, max. data speed is 11 MBits/sec.
802.11n - the last generation, frequency are - 2.4 & 5 GHz, max. data speed is 150 MBits/sec. and 600 MBits/sec. Supports 802.11a and 802.11b standarts.
how is communication within healthcare different than communication within other industries ?
Answer:
It has to be more specific and easier to understand because of its importance.
Explanation:
Why using a faster computer doesn’t always solve large data processing problems.
Answer:
maybe it doesn't have enough space to store data
A collection of computers and other devices that are connected together to enable users to share hardware, software, and data, as well as to communicate electronically with each other is called ______
find the inverse function of f(x)= 1+squareroot of 1+2x
Answer:
Therefore the inverse function of [tex]f(x)=1+\sqrt{1+2x}[/tex] is [tex]\frac{x^2-2x}{2}[/tex]
Explanation:
We need to find the inverse of function [tex]f(x)=1+\sqrt{1+2x}[/tex]
Function Inverse definition :
[tex]\mathrm{If\:a\:function\:f\left(x\right)\:is\:mapping\:x\:to\:y,\:then\:the\:inverse\:functionof\:f\left(x\right)\:maps\:y\:back\:to\:x.}[/tex]
[tex]y=1+\sqrt{1+2x}[/tex][tex]\mathrm{Interchange\:the\:variables}\:x\:\mathrm{and}\:y[/tex]
[tex]x=1+\sqrt{1+2y}[/tex]
[tex]\mathrm{Solve}\:x=1+\sqrt{1+2y}\:\mathrm{for}\:y[/tex]
[tex]\mathrm{Subtract\:}1\mathrm{\:from\:both\:sides}[/tex]
[tex]1+\sqrt{1+2y}-1=x-1[/tex]
Simplify
[tex]\sqrt{1+2y}=x-1[/tex]
[tex]\mathrm{Square\:both\:sides}[/tex]
[tex]\left(\sqrt{1+2y}\right)^2=\left(x-1\right)^2[/tex]
[tex]\mathrm{Expand\:}\left(\sqrt{1+2y}\right)^2:\quad 1+2y[/tex]
[tex]\mathrm{Expand\:}\left(x-1\right)^2:\quad x^2-2x+1[/tex]
[tex]1+2y=x^2-2x+1[/tex]
[tex]\mathrm{Subtract\:}1\mathrm{\:from\:both\:sides}[/tex]
[tex]1+2y-1=x^2-2x+1-1[/tex]
[tex]\mathrm{Simplify}[/tex]
[tex]2y=x^2-2x[/tex]
[tex]\mathrm{Divide\:both\:sides\:by\:}2[/tex]
[tex]\frac{2y}{2}=\frac{x^2}{2}-\frac{2x}{2}[/tex]
[tex]\mathrm{Simplify}[/tex]
[tex]y=\frac{x^2-2x}{2}[/tex]
Therefore the inverse function of [tex]f(x)=1+\sqrt{1+2x}[/tex] is [tex]\frac{x^2-2x}{2}[/tex]
In order to "print" the data in an object, the class should override the _____ method.
String
toString
StringValue
Value
Answer:
toString is right Answer
Explanation:
If you want to represent any object as a string, toString() method comes into existence.
The toString() method returns the string representation of the object.
If you print any object, java compiler internally invokes the toString() method on the object. So overriding the toString() method, returns the desired output, it can be the state of an object etc. depends on your implementation.
What is Symmetric and Asymmetric DSL?
Answer:
Symmetric DSL is called “symmetrical”
Explanation:
What is the domain and range of the function f(x) = |x - 2| ??
Answer:
Domain is R, range is x≥0.
Explanation:
You can plug in any value for x to get an outcome for f, however, the outcome is always ≥0.
rocessor A has a CPI 1.2 and a clock rate of 1 GHz. Processor B has a CPI of 2.0 and a clock rate of 2 GHz. Processor C has a dock rate of 2.5 GHz (400 ps/cycle) and a CPI of 2.6. All three processors implement the same instruction set. Determine the time per instruction for each processor and write it in the correct spot. Which processor is faster? How many times faster is it than the slowest processor?
Explanation & answer:
To understand technical questions, it is necessary to understand all technical terms used.
Here,
CPI = cycles per instruction
clock rate = number of cycles the processor generates.
1 GHz = 1,000,000,000 cycles per second
= 1 nanosecond / cycle.
Processor A
CPI = 1.2 cycles per instruction
Frequency 1 GHz.
time per instruction,
Ta = (1.2 cycles/instr. )/ 1 GHz
= (1.2 cycles / instr. ) / (1 cycle / nanosecond)
= 1.2 nanoseconds / instruction
Processor B
CPI = 2.0 cycles per instruction
Frequency 2 GHz.
time per instruction,
Tb = (2.0 cycles/instr. )/ 2 GHz
= (2 cycles / instr. ) / (2 cycles / nanosecond)
= 1.0 nanosecond / instruction
Processor C
CPI = 2.6 cycles per instruction
Frequency 2.5 GHz.
time per instruction,
Tc = (2.6 cycles/instr. )/ 2.5 GHz
= (2.6 cycles / instr. ) / (2.5 cycles / nanosecond)
= 1.1 nanoseconds / instruction
The fastest is Tb = 1.0 nanosecond/instruction
The slowest is Ta = 1.2 nanoseconds/instruction
The ratio fastest/slowest = 1.2/1.0 = 1.2 times as fast
Note: cycles per instructions (CPI) are always in whole number cycles. CPI for different instructions may vary according to complexity of instruction. Decimal CPI usually indicates the value is a weighted mean of the set of instructions.
What is the difference between a service pack and a hotfix?
Answer:
i dont get it
Explanation:
i dont get it
Q10. The percentile rank allows the researcher to determine:
a. what percentage of individuals in the sample scored above the target individual.
b. the mean for the population based on the mean for the sample.
c. how far a target individual’s score is from the group mean.
d. what percentage of individuals in the sample scored below the target individual.
The correct answer is option (d), which states that the percentile rank indicates what percentage of individuals in the sample scored below the target individual.
Explanation:The percentile rank is a statistical measure that indicates the value below which a given percentage of observations in a group of observations falls. For example, to find the 90th percentile, you would identify the score k where 90 percent of the scores are the same as or below k, and 10 percent are above it. This means if you are at the 90th percentile in test scores, you scored better than 90 percent of the other test takers.
Interpreting percentiles is essential as it gives us information about the relative standing of an individual within a distribution. It is not a reflection of the actual score but instead a comparison with others' scores. Choice (d) is the correct answer to the question because the percentile rank tells us what percentage of individuals in the sample scored below the target individual.
Lisa granted the CREATE TABLE privilege WITH ADMIN OPTION to Sharon. Sharon granted the privilege to Bob. If Lisa’s privileges are revoked, who else will lose their privileges?
A. Only Bob
B. Only Sharon
C. Both Bob and Sharon
D. No one else will lose their privileges
Answer:
D
Explanation:
As it's not fair if they all lose there privileges
Assuming that your company uses the Class A network 100.0.0.0/8, with what subnet mask would you need to configure all computers on the network to divide this network 11 times to match the comany's 11 departments?
Answer:
Class A network 100.0.0.0/8, we need to divide it so that it can use 11 department, therefore 2^{4} = 16 maximum subnet. The subnet mask 255.240.0.0/12. The hosts per subnet are 2^20 = 1048574. The first 5 subnet range is attached with this question.
Explanation:
The IP address is 32 bits, The default subnet of class A is 255.0.0.0/8, but in this case we take 4 bits from host and add it to network bits so 8+4 = 12, that's why mask bit is 12.
8 bits + 8 bits + 8 bits + 8 bits
100 . 0 . 0 . 0
we take 4 bits from 2nd octet so that it can use in 11 departments, so the remaining 4 bits + 8 bits + 8 bits = 20 bits
2^{20} = 1048574 hosts in each subnet
2^ {4} = 16 subnet ( 0 to 15 range)
when we subtract 255-15 = 240 so that the subnet mask is 255.240.0.0 / 12
how is hardware different from sofware?
Answer:
Computer hardware is any physical device used in or with your machine, whereas software is a collection of code installed onto your computer's hard drive. For example, the computer monitor you are using to read this text and the mouse you are using to navigate this web page are computer hardware.
All software utilizes at least one hardware device to operate. For example, a video game, which is software, uses the computer processor (CPU), memory (RAM), hard drive, and video card to run. Word processing software uses the computer processor, memory, and hard drive to create and save documents.
Ethernet is a standard for a) LAN b) MAN c) WAN d) All of the above
Answer:
a) LAN
Explanation:
Ethernet is a standard for a IEEE or LAN.
Answer:all of the above
Explanation:
Discus the pros and cons of Internal cloud service and External cloud service for both Infrastructure as a service and Application as a service.
Answer:
Internal Cloud:
An Internal Cloud is also known as a Corporate Cloud. It's a cloud computing service model that is implemented within an organization's dedicated resources and infrastructure. It also apply virtualization mechanism, shared storage and network resources to facilitate full control of an organization's cloud environment.
External Cloud:
An external cloud is a cloud solution that exists outside of an organization's physical boundaries. It allows companies to rent software and delivered security over the web, integrated to the back-end system. The services delivering through cloud solution will match that to a private cloud, but all the physical resources are external to the organization.
The Pros and Cons of the cloud services:
On the up side:
1: Fast start-up:
Cloud computing allows you to test your business plan very quickly for little money. It has changed the game of entrepreneurs. On the launch day, you have the confidence that you scale the world.
2: Business agility:
Cloud computing changes the whole world pattern of agility at a much lower cost.
3: Faster product development:
It reduced the moving applications and data time (one cloud to another) drop from weeks to minutes.
On the down side:
1: Bandwidth could bust your budget:
The network cost would be so large that you might buy the cloud storage rather than paying someone else for it.
2: Limited control and flexibility:
Since the remote software is being used, it usually lacks the features of an application running locally.
3: Increased Vulnerability:
As we know that the cloud based solutions are exposed on the public internet and are a more vulnerable target for malicious users and hackers. Nothing on the internet is completely secure and even the biggest players suffers from serious attacks and security breaches.
Write the formal descriptions of the following sets: (a) The set containing the numbers 5, 9, and 27. (b) The set that contains all the natural numbers less than 2. (c) The set containing the empty string. (d) The set containing nothing at all.
Answer: a) [tex]=\left \{ 5,\,9,\,27 \right \}[/tex]
(b) [tex]\left \{ x\ : X\varepsilon\mathbb{N} \right \text{and}\ x<2\}= \left \{1 \right \}[/tex]
(c) [tex]\left \{\epsilon \right \}[/tex]
(d) [tex]\left \{\right \}=\phi[/tex]
Explanation:
The formal description of the given sets are as follows :-
a) The set containing the numbers 5, 9, and 27.
[tex]=\left \{ 5,\,9,\,27 \right \}[/tex]
(b) The set that contains all the natural numbers less than 2.
[tex]\left \{ x\ : X\varepsilon\mathbb{N} \right \text{and}\ x<2\}= \left \{1 \right \}[/tex]
(c) The set containing the empty string.
We know that in formal description, the empty string is denoted with [tex]\epsilon[/tex].
Thus, the required set : [tex]\left \{\epsilon \right \}[/tex]
(d) The set containing nothing at all.
[tex]\left \{ \right \}=\phi[/tex]