7.24 Worked Example - Rosie's Road Co. - Full Program Required Skills Inventory • Construct a program with multiple methods • Declare a variable • Instantiate an object • Use Scanner nextInt or nextDouble method to collect user input Output to console with System.out.print, System.out.println, and System.out.printf • Call a method from inside the body of another method • Capture and store the values returned from a method call • Use math methods to construct an expression Problem Description and Given Info Rosie's Road Co. is a new local construction company. They are interested in bidding on new highway construction projects around the city. They've hired you to develop some software tools that they will use to help determine material needs and costs. Road development is not only the asphalt you see - water and power conduits must be installed at the same time, and we have to account for things like labor costs and how long it will take to develop a particular project. The city is very regular grid, with one 4-way intersection at each mile of road. When asking for a quote, the city sends out the number of linear miles of road, and how many total lanes (1 to 8). 1. The trucks hauling asphalt have a maximum capacity of 5 US tons (10,000 lbs) 2. The standard road lane is 12 feet wide. 3. Asphalt weighs 150 lbs per cubic foot 4. Asphalt costs $250 per ton 5. Power and water utilities are run under the road as part of all road projects 6. Power conduit is available only in 20 ft. lengths - each length costs $350 7. Water main pipe is available only in 15 ft. lengths - each length costs $280 8. There is one intersection for every mile of road 9. Stoplights cost $32,000 per light (look it up, that's real!) 10. Each intersection has two stoplights, plus one additional stoplight for each lane 11. Work days are 8-hour days 12. All workers are paid $24 per hour. 13. Crew members can complete an amount of work in a specified time according to the equation and table below: crew_members = (50 * miles_of_road * number_of_lanes) / days_to_complete Crew Members Miles Lanes Days to Complete 1 1 1 50 1 1 2 100 1 2 1 100 1 2 2 200 2 1 1 25 2. 1 2 50 2 2 1 50 2 2. 2 100 Part 5 - Full Program Design and construct a complete program for Rosie's Road Co. Use the methods that have already been created to compute the required values. Be sure to carefully review the code that you are give. This code already include several methods that should be very helpful in solving this problem. Your program should take as input from the user, the following in this order). 1. Length of road project in miles (double) 2. Number of lanes (int) 3. Depth of asphalt in inches (int) 4. Days to complete project (int) Your program should display a nicely formatted report with the following information - each on a separate line. 1. Amount of materials needed o Truckloads of Asphalt o Stoplights o Water pipes o Power pipes 2. Number of crew members needed 3. Total cost of: o Asphalt (U.S.tons) • Stoplights o Water pipes o Power pipes o Labor 4. Total cost of project Here is an example of what your program should look like when it runs: Enter Road Project Length in Miles : 2.75 Enter Number of Lanes : 3 Enter Depth of Asphalt in Inches : 12 Enter Days to Complete Project : 30 : == Amount of Materials Needed === Truckloads of Asphalt : 7841 Stoplights : 10 Water pipes : 968 Power pipes : 726 Crew members needed 14 === Cost of Materials Cost of Asphalt : $9801250.00 Cost of Stoplights : $320000.00 Cost of Water pipes : $271040.00 Cost of Power pipes : $ 254100.00 Cost of Labor : $80640.00 === Total cost of Project Total cost of project : $10727030.00 ====

Answers

Answer 1

Using the knowledge of computational language in JAVA it is possible to write a code that Use math methods to construct an expression Problem Description and Given Info Rosie's Road Co.

Writting the code:

#include<stdio.h>

int main()

{

def _operator_fallbacks(monomorphic_operator, fallback_operator):

   def forward(a, b):

       if isinstance(b, (int, Fraction)):

           return monomorphic_operator(a, b)

       elif isinstance(b, float):

           return fallback_operator(float(a), b)

       elif isinstance(b, complex):

           return fallback_operator(complex(a), b)

       else:

           return NotImplemented

   forward.__name__ = '__' + fallback_operator.__name__ + '__'

   forward.__doc__ = monomorphic_operator.__doc__

   def reverse(b, a):

       if isinstance(a, Rational):

           # Includes ints.

           return monomorphic_operator(a, b)

       elif isinstance(a, Real):

           return fallback_operator(float(a), float(b))

       elif isinstance(a, Complex):

           return fallback_operator(complex(a), complex(b))

       else:

power_pipes = (5280 * rlm)/ 20;

water_pipes = (5280 * rlm)/15;

crew_member = (50 * rlm * nl)/ days;

printf("=== Amounts of Materials Needed ====\n");

printf("TruckLoads of Asphalt: %d\n",no_truckloads);

printf("Spotlights: %d\n", sptlight);

printf("Water Pipes :%d\n", water_pipes);

printf("Power Pipes : %d\n", power_pipes);

printf("Crew members needed: %d\n", crew_member);

spotlight_cost = sptlight * 32000;

wp_rs = water_pipes* 280;

pp_rs = power_pipes *350;

cost_labor = crew_member * 24 * 8 * days;

cost_asphalt = no_truckloads * 5 * 250;

printf("\n=== Cost of Materials ===\n");

printf("Cost of Asphalt: $%f\n", cost_asphalt);

printf("Cost of Spotlights : $%f\n", spotlight_cost);

printf("Cost of Water Pipes : $%f\n",wp_rs);

printf("Cost of Power Pipes : $%f\n", pp_rs);

printf("Cost of Labor : $%f\n", cost_labor);

printf("=== Total Cost of Projects ===\n");

printf("Total cost of projects : $ %lf\n", total_cost_pr);

return 0;

}

See more about JAVA at brainly.com/question/29897053

#SPJ1

7.24 Worked Example - Rosie's Road Co. - Full Program Required Skills Inventory Construct A Program With

Related Questions

What are the features of desktop computer?

Answers

They utilize peripheral devices for interaction, such as a keyboard and mouse for input, and display devices like a monitor, projector, or television.

What is peripheral devices ?Devices connected to a computer outside or internally are referred to as peripheral devices. These tools are frequently used for data transport. Data entry and display of processed data are the two most frequent tasks performed by computers. Data can be received and displayed via a variety of devices. Peripherals or I/O devices are the terms used to describe the equipment utilised to carry out these tasks.Upon receiving a command from the CPU, peripherals either write data into the memory unit or read data from it. They are regarded as a component of the overall computer system. These devices can be categorised as electromechanical and electromagnetic devices since they need to convert signal values. Keyboards, mice, printers, scanners, and tape players are the most popular peripherals.

To learn more about  peripheral devices refer to

https://brainly.com/question/18994224

#SPJ4

Digital Dashboard Analytic Capabilities Drag the name of the digital dashboard analytical capabilities to match its definition Pivot Slice-and-Dice Consolidation Drill-Down The aggregation of data from simple roll-ups to complex groupings of interrelated information Enables users to view details, and details of details, of information The ability to look at information from different perspectives Rotates data to display alternative presentations of the data Reset

Answers

The digital dashboard analytic is the match on the terms are:

1. Pivot: rotates data to display alternative presentations of the data.

2. Consolidation: The aggregation of data from simple roll-ups to complex groupings of interrelated information.

3. Slice and dice: The ability to look at the data warehouse information from different perspectives.

4. Drill Down: enables users to view details of information.

What is Consolidation?

The word consolidate is derived from the Latin word consolidates, which meaning "to merge into one body." To consolidate, in whatever context, means to combine numerous objects into a singular, smaller number.

According to the dash board as the match on the appropriate as the term.

1. Pivot: flips data to display alternate data presentations.

2. Consolidation: The process of aggregating data from basic roll-ups to complicated groups of interconnected information.

3. Slice and slices: The capacity to examine data warehouse material from many angles.

4. Drill Down: allows consumers to view information specifics.

As a result, the significance of the consolidation, are the aforementioned.

Learn more about on consolidate, here:

https://brainly.com/question/15296526

#SPJ4

How do you write the ABC angle?

Answers

A triangle is represented by the letters ABC, the vertices, the middle letter, and the other two letters are located on the legs of the triangle.

What is the letter A's angle?

The letter A is made up of three line segments that encounter each other three times and create five angles that are less than 180 degrees. Two of these angle are obtuse, and three of them are acute.

The ABC formula is what?

You guessed it: The ABC formula is a formula used alone to solve quadratic problems. The quadratic equation's coefficients, which are expressed in standard form as an x 2 + b x + c = 0, are where the name "ABC" originates.

To know more about angle visit:-

https://brainly.com/question/20734346

#SPJ4


Why is the marginal cost curve the same basic shape, no matter the product?
At the profit-maximizing quantity, is the price of your product equal to, higher than, or lower than marginal cost? Explain.
Assume Qpm is 100 units. What is your total revenue?
Why would an already-successful business owner conduct a marginal cost analysis for their product?

Answers

Answer:

Explanation:

The marginal cost curve is the same basic shape, no matter the product, because it represents the cost of producing one additional unit of a product. In general, the marginal cost of producing additional units of a product tends to increase as the quantity produced increases. This is because as a business produces more of a product, it may need to hire additional workers, use more raw materials, or incur other additional costs.

At the profit-maximizing quantity, the price of a product is generally higher than the marginal cost. This is because, at the profit-maximizing quantity, the business is able to sell each unit of the product for a price that is higher than the cost of producing it. This allows the business to earn a profit on each unit sold.

Without more information, it is not possible to determine the total revenue for a product with a profit-maximizing quantity of 100 units. Total revenue is calculated by multiplying the price of the product by the quantity sold. To find the total revenue, you would need to know the price of the product as well as the quantity sold.

An already-successful business owner might conduct a marginal cost analysis for their product in order to determine the most profitable price for their product and to make decisions about how much of the product to produce. By analyzing the marginal cost of producing additional units of the product, the business owner can determine the optimal price and quantity to maximize profits. A marginal cost analysis can also help a business owner to identify opportunities to reduce costs and increase profits.

which statement is not correct? group of answer choices it is easy to implement k-means and identify unknown groups of data from complex data sets k-means and knn are two names for same algorithm k-means measure the euclidean distance between records in the training data set k-means lacks consistency

Answers

It is easy to implement k-means lacks consistency

What is euclidean distance?

Euclidean distance is a measure of the straight-line distance between two points in Euclidean space. It is the most widely used method of measuring distance between two points, and is the basis for many other types of distance metrics. Euclidean distance is calculated as the square root of the sum of the squared differences between a pair of points. For example, the Euclidean distance between points (x1,y1) and (x2,y2) is given by the formula: √(x2-x1)2 + (y2-y1)2. Euclidean distance can be calculated in any number of dimensions, and is particularly useful when dealing with multidimensional data. It is often used in machine learning and data mining applications to measure the similarity between data points.

To learn more about euclidean refer to:

https://brainly.com/question/28370661

#SPJ4

Arrays must be ________ at the time they are ________.

Answers

When declared, arrays need to be initialized. The C++ language forbids arrays with no elements.

When ought to you use arrays?

When it's necessary to use numerous variables of a single type, arrays are used. A sequence of identically typed objects can be used to define it. An array is used to hold a collection of data, and it is more helpful to conceive of an array as a collection of variables of the same type.

How does an array function?

A collection of identically typed objects arranged in a row or column of memory that can each be independently referred to using an index to a special identifier is known as an array.

To know more about arrays visit :-

https://brainly.com/question/13107940

#SPJ4

e distribution method for audio and video programs via the internet that lets users subscribe to a number of files or feeds is called a:

Answers

Consumers can subscribe to different files or feeds through the electronic distribution method known as podcasting, which distributes audio and video material over the internet.

What is Podcasting?

Podcasting is a form of electronic distribution for audio and video content over the internet that enables consumers to subscribe to various files or feeds.

The creation and delivery of audio files using RSS feed to users' computers are known as podcasting.

Users can then listen to these files on their smartphones or digital music and multimedia players like iPods by uploading them to streaming services.

In actuality, the word "podcast" is a combination of "iPod" and "broadcast."

Podcasting began as a largely independent means for individuals to spread their message and create a network of people who share their interests.

Therefore, consumers can subscribe to different files or feeds through the electronic distribution method known as podcasting, which distributes audio and video material over the internet.

Know more about Podcasting here:

https://brainly.com/question/26293535

#SPJ4

to complete this program successfully the program must be designed to collect the following inputs from the user: full name current age desired retirement age current level of retirement savings what is the total amount of retirements savings is needed at retirement python

Answers

print("Name: ", full name), print("Years to Retirement: ", retirement age - age), print("Remaining Savings Needed to Reach Retirement Goal: ", total savings - current savings") are some examples of print statements.

What are Python's fundamental concepts?Similar to the English language, Python has a straightforward syntax. Python features a syntax that makes it possible for programmers to write programs with less lines of code than with some other programming languages.Code written in Python can be executed immediately since it runs on an interpreter system. Prototyping can therefore be completed relatively quickly.The Python programming language was created by Guido van Rossum and is an interpreted, object-oriented, high-level language with dynamic semantics. In 1991, it first became available. The name "Python" is a play on the British comedy troupe Monty Python and is meant to be both simple and entertaining.Unlike actual programs, which are constrained by the syntax of a programming language, algorithms serve as prototypes for them.    

To learn more about Python refer to:

https://brainly.com/question/18521637

#SPJ4

Introduction to Project Based Learning (PBL)
Webquest Assignment
1 What does it mean to "fail forward?"
2 What two skills are employees in today's workplace expected to have?
3 How are Project Based Learning courses taught according to the course content?
4 Give two PBL examples.
5 (True or False) Every project will follow the same format.
6 What is the entry event and what is its purpose?
7 Give two examples of roles a student could play in a PBL project.
8 Why is the entry event an important part of the PBL process?
9 In exploring the Marketing Project Example Project entry event, answer any two of the following questions:
What role did you play in this project?
Who are you working for in this scenario?
What challenge are you assigned in this role?
What will you produce for this project to show what you’ve learned?
10 What types of questions does a student need to ask himself/herself when starting the PBL project?
11 What are need-to-know-questions?
12 Looking at the example Marketing Project Entry Event, answer one of the following two questions.
What’s one thing that you already know about GMS from the entry event document that will help you complete this project?
Can you think of something you will need to know (learn) to complete this project?
13 What is the driving question and where are the two places it can be found?
14 What are benchmarks and what are they used for in the PBL project?
15 In the example Marketing Project, what is the third benchmark?
16 Give two examples of final PBL projects.
17 How are PBL projects graded?
18 What are the three parts of the PBL Project Rubric?
19 Identify two success skills.
20 Why is sharing what you've learned such an important piece of the PBL process?
21 Why is the ability to analyze your work such an important piece of the PBL process?
22 What is Tallo and what are two things you can do with Tallo?
23 (True or False) There is a place for your parents/LC's to learn about PBL in the course content.

Answers

The answers to the Introduction to Project Based Learning (PBL) is given below

To "fail forward" means to learn from mistakes and use those lessons to move forward and improve in the future. It means to see failure as an opportunity to grow and improve, rather than as a roadblock.

What is the Project Based Learning about?

2. Employees in today's workplace are expected to have the skills of problem-solving and collaboration.

3. Project Based Learning (PBL) courses are typically taught by having students work on real-world projects that require them to apply their knowledge and skills to solve a problem or complete a task. The course content typically provides guidance and resources to help students complete the projects, but the students are responsible for managing their own learning and completing the projects independently.

4. Two examples of PBL projects might be designing a new app to help people track their fitness goals, or creating a marketing plan for a new product.

Question 5 is False. Every project will not follow the same format. PBL projects are flexible and allow students to design their own approaches to completing the project.

6. The entry event is the beginning of the PBL project, and it is designed to introduce the project challenge or problem that students will be working on. The purpose of the entry event is to engage students' curiosity and motivation, and to provide context and background information about the project.

7. In a PBL project, a student could play the role of a researcher, designer, developer, or project manager, among others.

8. The entry event is an important part of the PBL process because it sets the stage for the rest of the project and helps students understand what they will be working on and why it is important. It also helps students identify the knowledge and skills they will need to complete the project successfully.

11. Need-to-know-questions are questions that students need to answer in order to complete the PBL project successfully. These questions should be related to the project challenge or problem, and should be specific and focused.

13. The driving question is a central question that guides the PBL project and helps students focus their learning and problem-solving efforts. The driving question can be found in the entry event and in the project's final product or presentation.

14. Benchmarks are specific, measurable goals that students should aim to achieve as they work on the PBL project. They are used to track progress and ensure that students are on track to complete the project successfully.

16.. Examples of final PBL projects might include a prototype of a new product, a business plan, or a marketing campaign.

17.  PBL projects are typically graded based on the quality and completeness of the final product or presentation, as well as the student's effort and progress throughout the project.

18. The three parts of the PBL Project Rubric are content, process, and product. The content refers to the knowledge and skills that students demonstrate in the project, the process refers to the steps they took to complete the project, and the product refers to the final product or presentation.

19. Two success skills might be problem-solving and collaboration.

20. Sharing what you've learned is an important piece of the PBL process because it allows you to reflect on your learning and demonstrate your understanding to others. It also provides an opportunity for feedback and further learning.

21. The ability to analyze your work is an important piece of the PBL process because it helps you to reflect on your learning and understand what you have accomplished and what you still need to work on. By analyzing your work, you can identify your strengths and weaknesses, and make adjustments as needed to improve the quality of your final product or presentation.

22. Tallo is a career and educational platform that connects students with opportunities and resources related to their interests and goals. With Tallo, students can explore different career paths, find internships and job openings, connect with mentors, and access resources to help them plan for their future. Some examples of things that students can do with Tallo include creating a professional profile, applying for scholarships, and connecting with potential employers.

23. True. There may be a place in the course content for parents/LC's to learn about PBL, as they may be interested in supporting their child's learning and understanding the overall goals and approach of the course

Learn more about Project Based Learning from

https://brainly.com/question/19842887

#SPJ1

4. Identical Distribution 10 Complete the 13 An e-commerce company specializes in cards with sports figures on them. Each sport has different categories of cards. For instance, there might be more desirable cards with the most popular sports personalities, others with small pieces of a player's jersey attached and so on. They have a number of each category of card, and want to make some number of packets that contain equal numbers of any type of card. To do this, they will add more cards of each type until each can be divided equally among same number of packets. Determine the minimum number of additional cards needed to create a number of packets with equal type distribution 16 tnt cardPackets (vo 20 Example n=5 cardTypes = {4, 7, 5, 11, 15) In order to make 2 matching packets, the following numbers of additional cards of each type must be added: 10.1, 1, 1. 1. This sums to 4 additional cards. The numbers of cards would then be 14 8,6, 12, 16) and they can be divided evenly among 2 packets. If 3 packets are created an additional 2. 2 1. 1.0 cards are needed, sum = 6 items. This yields quantities (6, 9, 6, 12, 15). Any number of packets 2 2 can be created, but creating 2 packets requires the minimal number of additional cards. Function Description Complete the function cardPackets in the editor below. cardPackets has the following parameter(s): int cardTypes/n]: each cardTypes[i] represents the quantity of card type that is available Returns in the minimum number of additional cards to add Sample Case 0 Sample Input For Custom Testing STOIN Function cardTypes [] size n = 5 cardTypes = [3, 8, 7, 6, 4] 5 3 B 2 6 Sample Output 2 Explanation There are n= 5 types of cards in the amounts of card Types = 13.8, 7, 6, 4). In order to make 2 matching packets, the following numbers of additional cards of each type must be added: (1, 0, 1, 0, 0] which sums to 2 additional cards. The numbers of cards would then be 14, 8, 8, 6, 4, and they can be divided evenly among 2 packets. 3 packets are created, an additional [0, 1, 2, 0, 2 cards are needed, sum=5 items. This yields quantities E. 9.9.6.6] Any number of packets 2 2 can be created, but creating 2 packets requires te minimal number of additional cards.

Answers

The smallest size is 20 bytes (if there is no data), and the largest size you may produce with 16 bits is 65.535 bytes. Identification: Each fragmented packet will use the same 16-bit identification number to identify which IP packet it belongs to if the IP packet is broken up.

What packets requires minimal number of additional cards?

To recap, an Ethernet frame must be at least 64 bytes in size, with an 18-byte header and a 46-byte payload. Additionally, the frame size is limited to 1518 bytes, in which case the payload is 1500 bytes.

Therefore, The extra bytes are padded if the size of the frame would be less than the required 64 bytes due to the message being sent.

Learn more about packets here:

https://brainly.com/question/24097378

#SPJ4

write a class definition line and a one line docstring for the classdog. write an init method for the classdog that gives each dog its ownname andbreed.test this on a successful creation of adog object.

Answers

category Dog

A canine with a name and breed.

Defined as self, name, and breed:

self.name equals name

breed = self.breed

foreign dog

if "__main" and "__name" match:

dog = sugar

Dog

"Sugar" and "border collie"

print(sugar.name)

print(sugar.breed)

What is Classdog?

CLASS: The word class is used to define a class, which is a type of object that has methods and functions and describes what an object will be.

category Dog

# The class has a definition

Docstring, which is just a shortened version of documentation strings, offers a simple means of connecting Python modules, functions, classes, and methods with their corresponding documentation. That is, it reveals what they do.

It's stated by enclosing it in triple quotations.

A canine with a name and breed.

The method is then defined, and the class is given attributes (Name and Breed).

Defined as self, name, and breed:

self.name equals name

breed = self.breed

Next, we import the class: Make sure you save your source file with the name dog before proceeding.

We finally print out its characteristics.

foreign dog

if "__main" and "__name" match:

dog = sugar

Dog

"Sugar" and "border collie"

print(sugar.name)

print(sugar.breed)

To help you understand how the code functions, I've attached an image.

To Learn more About category Dog refer To:

https://brainly.com/question/5992870

#SPJ1

Why was DOCSIS important for the CATV industry?

a. it helped to standardize the industry
b. it allowed several large CATV corporations to operate as a regulated monopoly
c. it merged the CATV and telephone industries
d. all of the above

Answers

DOCSIS was crucial for the CATV sector since it contributed to industry standardisation.

A widely accepted telecommunications standard called DOCSIS (Data Across Cable Service Interface Specifications) permits high-bandwidth data transfer over pre-existing coaxial cable networks that were initially intended to transmit cable television programme signals (CATVS). The standard is currently in its third generation, and the market outlook is still favourable.

Cable networks started to lose ground over time as high-speed fiber-optic internet became more prevalent. But despite its strength, the well-established but much older technology survived the danger of competition. Coaxial cable technology needs the DOCSIS standard as a stepping stone in order to stay competitive and provide ever-faster Internet access without having to overcome Herculean challenges (and extremely costly)

Learn more about DOCSIS here:

https://brainly.com/question/13025469

#SPJ4

suppose that each stage requires 2.1 nanoseconds to complete its task. how many nanoseconds would be saved in completing 115 instructions with pipelining (how much faster would it be, in nanoseconds)? round your answer to the nearest integer nanosecond. hint: find the time it would take to complete the instructions without pipelining, then subtract the time it would take to complete the instructions with pipelining from this value.

Answers

The nearest integer nanosecond is:

Without pipelining, 115 instructions would take 243.5 nanoseconds. With pipelining, 115 instructions would take 120.5 nanoseconds. The difference is 123 nanoseconds, which is the amount of time saved with pipelining.

what is pipelining?

Pipelining is a technique used in software engineering and computer architecture to increase a system's performance by enabling numerous processes to run concurrently. Every process can be divided into smaller components using pipelining, and each component can then be processed in parallel, increasing the system's total speed. This is accomplished by running the identical set of commands in concurrent across several processor units. Each order to develop a system can be given a single instructions, which is then carried out and passed onto the following processing element when there are several processing elements. As a result, throughput increases since each instruction may be processed more quickly than if it needed to go via a single CPU.

To learn more about pipelining

https://brainly.com/question/10854404

#SPJ4

7.7 REQUIRED LAB 7C: Count Characters Overview Practice using string methods, indexing, and slicing. Objectives Use critical thinking skills to determine how to manipulate and format strings. Description Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase. NOTE: The input is entered all together on a single line as a single string. You need to figure out how to extract the character and the phrase. There are many ways to do this and no single "correct" way. Play around with different approaches; remember that zyBooks will retain your highest score so there is no harm in trying different things. Ex: If the input is: n Monday the output is: "n" appears this many times in "Monday": 1 Ex: If the input is: z Today is Monday

Answers

Below is an example of how you could implement this program in Java:

import java.util.Scanner;

public class Main {

 public static void main(String[] args) {

   // Read the input from the user

   Scanner scanner = new Scanner(System.in);

   System.out.print("Enter a character and a phrase: ");

   String input = scanner.nextLine();

   // Extract the character and phrase from the input

   char character = input.charAt(0);

   String phrase = input.substring(2);

   // Count the number of times the character appears in the phrase

   int count = 0;

   for (int i = 0; i < phrase.length(); i++) {

     if (phrase.charAt(i) == character) {

       count++;

     }

   }

   // Print the result

   System.out.printf("\"%c\" appears this many times in \"%s\": %d", character, phrase, count);

 }

}

What is the coding about?

This program reads a single line of input from the user, which contains both the character and the phrase.

Therefore, it counts the number of times the character appears in the phrase using a for loop, and finally prints the result using a formatted string.

Learn more about string methods from

https://brainly.com/question/25324400
#SPJ1

66 cloud kicks has the organization-wide sharing default set to private on the shoe object. the sales manager should be able to view a report containing shoe records for all of the sales reps on their team. which 3 items should the administrator configure to provide appropriate access to the report?

Answers

The administrator sets up folder access so that the report has the proper access. Role hierarchy for field level security.

How can I access security at the field level?

Open Object Manager from Setup, then in the Quick Find box, type the name of the object that contains the field. Click Fields & Relationships after selecting the object. Choose the field you want to change. To set field-level security, click Set. the field's access level must be specified. Publish your changes.

What are the various Salesforce tiers of data access?

Data Access Level in Salesforce (Object Level, field Level and Record Level) Level of Salesforce Data Access: In your organization's entire org, a particular item, a particular field, or a single record, you can manage which users have access to which data as an admin.

To know more about hierarchy visit :-

https://brainly.com/question/13050649

#SPJ4

penelope is teaching an introductory cybersecurity course and is trying to explain the terminology to students. what is the term for a person who uses tools to hack without understanding the underlying technology?

Answers

A script kiddie is a person who employs tools to hack without comprehending the underlying technology.

What is the name for someone who hacks without comprehending the underlying technology yet uses tools to do so?A script kiddie is a person who employs tools to hack without comprehending the underlying technology. Script kids are people who have no prior computer programming skills and access systems by using already-existing tools.Script children are typically driven more by curiosity or a desire to enter a network or system than by malice. Instead of coding their own code, they rely on pre-existing tools and scripts to complete the task for them.Security experts frequently view script kids as a nuisance because they can seriously harm a system. Despite lacking the technological know-how to make their own tools and scripts, they are nevertheless capable of doing harm.Script kids can execute denial-of-service attacks, exploit system flaws, obtain unauthorized access to systems, add malicious malware, and more.Because they lack the necessary technical knowledge and awareness of the underlying technology, script kids are not hackers in the usual sense. True hackers, on the other hand, are highly competent individuals who can control and take advantage of the underlying technology.

To learn more about script kiddie refer to:

https://brainly.com/question/28453360

#SPJ4

How many comparators are required for an m-way set associate cache to locatre a block that has n words

Answers

m comparators are required for an m-way set associate cache to locatre a block that has n words.

What exactly are comparators?

When two input voltages are compared, a comparator determines which is greater and outputs a binary signal.

              When the non-inverting (+) input exceeds the inverting (-) input, a high output is produced. The output becomes low if the inverting input exceeds the non-inverting.

Comparators belong to what class of circuit?

Two voltage values are compared by a voltage comparator circuit, and the results are output as an output.

                              One of two values is always the output (i.e., the output is digital). For illustration, let's say we have two A and B-labeled voltage comparator inputs.

Learn more about comparators

brainly.com/question/14908224

#SPJ4

select the correct answer from each drop-down menu. which type of storage disk and disk drive can you use in the given situation? amy wants to borrow an interesting movie from bruce so that she can watch it in her free time. amy can hand over a to bruce to copy the 900 mb file. bruce needs to have a drive to rerecord data on the used dvd.

Answers

This question is based on the scenario to select the storage media, storage disk and disk drive.

In the first scenario, Amy wants to borrow an interesting movie from Bruce so that she can watch it later. In this case, if the move is stored on a DVD disk, then she needs a disk drive to run the movie. Otherwise, if the movie is stored on usb storage, or external hard disk, then in this scenario she will use USB or External Hard Disk.

In the scenario, where Bruce needs to have drive to re-record data on the used DVD, then she needs a DVD writer to rewrite the movie on disk.

You can learn more about storage media at

https://brainly.com/question/24227720

#SPJ4

6.What connection type is known as "always on"?

Broadband



Ethernet



Plain Old Telephone System (POTS)



Internet



8.What connection type is known as "always on"?

Broadband



Ethernet



Plain Old Telephone System (POTS)



Internet

9.In which wireless configuration type do nodes communicate directly with each other, rather than with an access point?

Ad-hoc



Mesh network



2.4Ghz



802.11b

Answers

The connection type that known as "always on" is Plain Old Telephone System (POTS). The wireless configuration type do nodes communicate directly with each other is Ad-hoc.

POTS or Plain Old Telephone system is a traditional system for analog voice transmission phone system by using the physical copper wires. Because this using connection of physical copper wires, it be called as "always on" connection.

Ad-hoc is the wireless connection that formed spontaneously in LAN. Ad-hoc doesn't need access point such as router to communicate, since the computer in ad-hoc connection will communicate directly to each other.

Learn more about ad-hoc here:

brainly.com/question/29315237

#SPJ4

A dbms uses ________ to create a query.

Answers

You can make a database query using a query language, which allows a user and the database to exchange information.

The full form of DBMS is a database management system.

Database Management System is the collection of interrelated data and information or a set of programs that manage, control, and access the use of data. It collects the data and stores it in the database.

To create a new database use the SQL CREATE DATABASE statement gives you a new database.

The basic syntax is CREATE DATABASE statement is as follows −

CREATE DATABASE Database_Name;

Uses of DBMS:

1. For increasing productivity through real-time component data.

2. For Reducing the data redundancy and inconsistency.

3. For Enhancing the data integrity.

4. For Retrieving the data.

5. For Data Security.

6. For Data Indexing.

To know more about DBMS:

https://brainly.com/question/28813705

The DBMS uses SQL to create query.

What is DBMS?

The software that is used to manage the database is called a database management system. For instance: MySQL, Oracle, and other commercial databases are widely used in a variety of applications.

An interface for various operations, such as creating a database, storing data in it, updating data, and creating a table in the database, is provided by DBMS.

The database is secured and protected by it. It also preserves data consistency for multiple users.

Given What a DBMS uses to create Query,

A query can either be a request for data results from your database or for action on the data, or for both. A query can give you an answer to a simple question, perform calculations, combine data from different tables, add, change, or delete data from a database

DBMS uses SQL,

S-Q-L, or sometimes See-Quell, is how the structured query language is abbreviated as SQL.

The primary purpose of this database language is data maintenance in relational database management systems. It is a special tool that data professionals use to work with structured data, which is data stored in tables. Additionally, it is intended for RDSMS stream processing.

Accessing and modifying table rows and columns, as well as creating and manipulating the database, are simple tasks.

Therefore SQL is used by DBMS to create query.

Learn more about DBMS;

https://brainly.com/question/28813705

#SPJ12

question 4 if you want to point a domain name to a web server or use hostnames within your company, what network protocol can you use?

Answers

If we want to use hostnames inside of our company or point a domain name to a web server, we can do so using the DNS protocol.

What is DNS network protocol?

A hierarchical and distributed naming system for computers, services, and other resources on the Internet or in other Internet Protocol (IP) networks is called the Domain Name System (DNS).

It links different pieces of data to the domain names each of the linked entities has been given.

The most important function is the conversion of easily remembered domain names to the numerical IP addresses required for locating and identifying computer services and devices with the underlying network protocols.

Since 1985, the Domain Name System has played a crucial role in the operation of the Internet.

So, we can use the DNS protocol if we wish to point a domain name to a web server or use hostnames within our organization.

Therefore, if we want to use hostnames inside our company or point a domain name to a web server, we can do so using the DNS protocol.

Know more about DNS network protocol here:

https://brainly.com/question/28145453

#SPJ4

LabVIEW Vending Machine: Students will design a labview interface that represents vending machine operation. Requirements: - • GUI that takes money / sets the amount given to the machine (25 points) • GUI snack selector (20 points) o Hints: • Show available snacks (based on money entered) • Select multiple snacks? • Doesn't have to be snacks - Jul pods?? • GUI showing the snack out and change (20 points) • Clear and organized block diagram (20 points) • User friendly / organized front

Answers

To design a LabVIEW interface that represents the operation of a vending machine, you will need to use LabVIEW's graphical user interface (GUI) development tools to create a front panel that takes money, allows the user to select a snack, and displays the snack and change.

What is the labview interface about?

Below are some steps you can follow to complete the above project:

Start by creating a new LabVIEW project and adding a blank VI (virtual instrument).

On the front panel, add controls and indicators to take money and set the amount given to the machine. You can use a numeric control to allow the user to enter the amount of money they are giving the machine, and a numeric indicator to display the amount of money currently in the machine.

Next, add a control to allow the user to select a snack. You can use a list box control to show the available snacks, and allow the user to select one or more snacks. You may also want to include a button to add the selected snack(s) to the purchase.

On the front panel, add an indicator to show the snack that has been dispensed and the change. You can use a string indicator to display the snack name and a numeric indicator to show the change.

Lastly, To make your interface more user friendly, you may want to add additional controls and indicators, such as a display to show

Learn more about labview from

https://brainly.com/question/13441323
#SPJ1

the object-oriented language is used to develop apps for macos and ios. a. swift b. sql c. activex d. c

Answers

(C) Swift, an object-oriented programming language, is used to create programs for iOS and macOS.

What is Swift language?

Each OOP is designed for a certain OS and coding environment.

For instance, Java is utilized for cross-platform development, while C#, a Microsoft product, is primarily used for Windows programs and the Windows programming environment.

Swift is primarily used for the development of programming environments and apps for macOS and iOS.

Another object-oriented programming language is Swift. Additionally, it supports the idea of objects and classes, just like other oop languages.

A collection of information (variables) and operations constitutes an object (functions).

A class is an object's blueprint in a similar way.

Therefore, (C) swift, an object-oriented programming language, is used to create programs for iOS and macOS.

Know more about Swift language here:

https://brainly.com/question/9066127

#SPJ4

Correct question:
The object-oriented language _______ is used to develop apps for MacOS and iOS.

a. ActiveX

b. SQL

c. Swift

d. C#

What new Analytics tool needs to be invented and why? What personal needs do you have that would benefit from such a new tool?

Answers

The new Analytics tool that needs to be invented are given.

What is an analytic tool?

Analytical Tools refers to the tools that provide access to data for research and evaluation purposes, including but not limited to dashboards, a query builder, summaries of important student and employment outcomes, and a research library, which may include the P20W data set.

It might be challenging to choose which analytic tool to employ in the field of statistics because we have computers strong enough to do interactive calculations. Analytical software or tools are applications or gadgets created to carry out intricate statistical analysis. These technologies facilitate the organization, interpretation, and presentation of data collections. The analytical methods made available by the technologies include statistical modeling, regression analysis, and predictive analytics, to name a few. Numerous analytics solutions are available in the market nowadays. On the other hand, in order to increase efficiency in any use case or industry, new analytical tools must be developed. Making an advertisement is a prime example.

On the other side, it is necessary to develop new analytical tools to increase efficiency across use cases or sectors. It would be a great idea to create an analytical tool that serves as a voice command link program.

Given the growing reliance on new internal tools for data analysis and BI, as well as the increased requirement to access external data repositories, networks, and IoT devices, interconnectivity will be the key to establishing a cohesive data analytics engine for your organization.

It will be vital to create a plan for hiring people and to set aside money for strategic purchases far in advance if one wants to be competitive in the coming years. It will also be crucial to establish procedural strategies for maintaining clean data across all platforms.

Massive volumes of data should be expected by hospitals, but modern technologies like artificial intelligence and 5G connections will enable them to utilize both organized and unstructured data.

A Grand View Research analysis from March 2018 predicted that by 2025, the worldwide market for healthcare analytics will be valued close to $54 billion.

Therefore, the need to achieve the Triple Aim, as well as the rise of precision medicine and the trend toward digital health, data analytics has never been more important for healthcare provider companies.

To learn more about the analytics tool;

https://brainly.com/question/30037988

#SPJ4

write a complete program to do the following: the main program calls a method to read in (from an input file) a set of people's three-digit id numbers and their donations to a charity (hint: use parallel arrays). then the main program calls a method to sort the id numbers into descending order, being sure to carry along the corresponding donations. the main program then calls a method to print the sorted lists in tabular form, giving both id numbers and donations. here are the details: (a) the main program calls a method to read in the data from a file. the main program declars two arrays idnumbers and donations and pass these 2 array to the method to fill in. the file consists of sets of data, each of which contains a person's three-digit integer id number and a donation in dollars and cents. (e.g., 456 200.00 or 123 302.34). the file is read until end-of-file is reached. the method returns how many sets of data were read in. the main program calls the return value donorcount. (b) the main program calls a separate printing method passing the two original arrays idnumbers and donations as parameters. the method prints the original set of data in the form of a neat table and sends the output to an output file. when the arrays print, there should be an overall heading, plus headings for the columns of id numbers and donations. (c)then the main program sends the array of donation to a method which is going to find out the highest, and the lowest donation. this method opens the same file as in part (b) and writes how many donations are above, below, and exactly equal to the average. (d) then the main program sends the array of id numbers, the array of donations, and the size donorcount to a sorting method. this method sorts the id numbers into numerical order using a selectionsort. be sure to maintain the match-up of id numbers and donations. for example, 456 should always be associated with 200.00, no matter where 456 moves in numerical order; similarly, 123 should stay with 302.34. then the sorting method prints two highest donations, and two lowest donations. when the sorting method finishes and returns control to the main program, the main program calls the printing method to write the sorted table once again in the same output file as in part (b). your arrays should have room for up to 50 entries. to test the program, have a set of data with at least 15 to 20 values in each array. make sure that your original order in not close to numerical order for either array or that the two numerical orders are not close to each othe

Answers

Using the knowledge in computational language in python it is possible to write a code that he main program calls a method to read in (from an input file) a set of people's three-digit id numbers and their donations to a charity .

Writting the code:

import java.io.File;

import java.io.FileNotFoundException;

import java.util.Scanner;

public class SortUsingSelection {

public static void main(String[] args) throws FileNotFoundException {

//Declare 2 parrallel arrays

int[] IDs=new int[100];

double[] donations=new double[100];

//Call function to read data from file

int donationsCnt=readFile(IDs,donations);

//Display details

System.out.println("Print original details:");

printDonations(IDs,donations,donationsCnt);

//Sort ascending order of ID

sortAscending(IDs,donations,donationsCnt);

//Display

System.out.println("\nPrint after ascending order sort details:");

printDonations(IDs,donations,donationsCnt);

//Sort descending

sortDescending(IDs,donations,donationsCnt);

//Display details

System.out.println("\nPrint after descending order sort details:");

printDonations(IDs,donations,donationsCnt);

}

/*

* Method take 2 parallel arrays are input

* Read data from file and add into arrays

* Return count of data read

*/

public static int readFile(int[] IDS,double[] donations) throws FileNotFoundException {

Scanner sc=new Scanner(new File("input.txt"));

int cnt=0;

while(sc.hasNextLine()) {

String[] temp=sc.nextLine().split(" ");

IDS[cnt]=Integer.parseInt(temp[0]);

donations[cnt]=Double.parseDouble(temp[1]);

cnt++;

}

return cnt;

}

See more about JAVA at brainly.com/question/12974523

#SPJ1

a company using apache activemq is migrating to the cloud. which aws service can it use to easily set up and operate its message brokers in the cloud?

Answers

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud.

Cloud

Simply described, cloud computing is the supply of computer services over the Internet ("the cloud"), including servers, storage, databases, networking, software, analytics, and intelligence, to provide speedier innovation, flexible resources, and scale economies. You normally only pay for the cloud services that you actually use, which helps you reduce operational expenses, manage your infrastructure more effectively, and scale as your business requirements change.

Not every cloud is the same, and not everyone should use the same kind of cloud computing. The development of numerous models, varieties, and services has made it possible to provide the ideal solution for your requirements.

You must first choose the cloud computing architecture or type of cloud deployment that will be used to implement your cloud services. Cloud services can be set up in one of three ways: on a public cloud, a private cloud, or a hybrid cloud.

To know more about Cloud, Check out:

https://brainly.com/question/29737287

#SPJ4

Which of the following would be a reason a company would outsource their IT support?
A. To cut costs
B. For faster support
C. To keep a closer eye on data security
D. To have their own IT administrator

Answers

One of the reason why a company would outsource their IT support is A. to cut costs. When companies outsource their workforce, they pay much lower wages and often don't include benefits like health insurance and vacation pay.

What is IT support?

By definition, the notion of IT support is a person or team whose job is to implement and maintain information technology systems in a company. Some of the things that are included in the responsibility of IT support are the company's intra-connection system, which includes LAN, internet, databases, and so on. Apart from that, IT support is also responsible for matters relating to networks and technology, such as modems, computers, cables, and many more.

Learn more about IT Support https://brainly.com/question/27175321

#SPJ4

_________uses a series of bandpass filters to decompose the multiplexed signal into its constituent component signals.

Answers

Demultiplexer uses a series of bandpass filters to decompose the multiplexed signal into its constituent component signals..

Describe demultiplexer with an example?

De-Multiplexer is a combinational circuit that carries out the Multiplexer's opposite function. There is a single input, 'n' selection lines, and up to 2n outputs possible.

                Based on the values of the selection lines, the input will be connected to one of these outputs.

What exactly are a demultiplexer and a multiplexer?

Several input signals are combined into one output signal using a circuit known as a multiplexer. This signal combines multiple meanings. High-speed switching involving electronic components is carried out using these circuits.

                             A circuit that converts one input into numerous outputs is known as a demultiplexer.

Learn more about Demultiplexer

brainly.com/question/17512403

#SPJ4

The Monte Carlo method uses ___________ for computer simulations

Answers

The Monte Carlo method uses repeated random sampling for computer simulations.

What do you mean by Monte Carlo method?

The Monte Carlo Method, sometimes referred to as the Monte Carlo Simulation or a multiple probability simulation, is a statistical method for predicting the outcomes of an uncertain event.

It is possible to think of Monte Carlo methods as a group of computer approaches that rely heavily on random sampling in order to solve mathematical issues in a (often approximate) manner. Within this paradigm, integration and optimization are the two categories of statistical issues that are most frequently addressed.

Since their inception, Monte Carlo Simulations have evaluated how risk affects a variety of real-world situations, including artificial intelligence, stock markets, sales forecasting, project management, and pricing.

To learn more about statistical methods refer to:

https://brainly.com/question/14441578

#SPJ1

at what point are you responsible for following the terms in a software license agreement?

Answers

A software license is a legal document that outlines the user's and developer's rights to a particular piece of software. It outlines the software's capabilities as well as how it will be paid for.

What does the term "software license" mean?

A software license is a legal document that outlines the rights of both the software's creator and user. It outlines the software's usage restrictions and how to pay for it.

                        The most well-known examples in this group include the MIT License, the BSD License, and the Apache License.

Which software license is used the most frequently?

One of the most popular and open source licenses with a wide range of restrictions is the MIT License. As long as you include the original copyright and license notice in the copy of the software, you are permitted to do pretty much anything with it.

                       Additionally, it works with a variety of copyleft licenses, including the GPLs.

Learn more about software license

brainly.com/question/24288054

#SPJ4

Other Questions
What are the three C in credit? What is the list order of accuracy for the second derivative Mcq? Which excerpt is an example of situational irony in sake's the storyteller? T/F in general, the metabolic oxidation of protein in mammals is less efficient, in terms of energy conserved, than the metabolic oxidation of carbohydrate or fat. Solve the system(4x + 7y= 41(x-7y=-16 What does spf stand for, and what is the difference between a spf 15 and a spf 30 sunscreen? How to find the possibility? As part of the nitrogen cycle, animals acquire some amino acids by doing which of the following?answer choicesBreathing airEating plantsDrinking waterProducing waste Does the method for calculating credit scores seem fair to you? Why or why not? What is the importance of revenge in Macbeth? What makes a good neighbors? What do subject-matter experts do to support data-driven decision-making? _____happens when investors try to take advantage and profit from situationswhere two identical or nearly identical assets have different rates of return What is the main message of the Epic of Gilgamesh? How many magnesium atoms are in MgO? suppose the correlation between height and weight for adults is 0.40. what proportion (or percent) of the variability in weight can be explained by the relationship with height? group of answer choices 84% 16% 60% 40% What were slaves used for in Africa? A dbms uses ________ to create a query. Youre involved in the design of a new facility. It is important for people to move between work stations quickly. Based on the figure below, how many feet would a person need to walk to get from Work Station 1 to Work Station 3? In the 1970s, due to world events, there was a gasoline shortage in the united states. There were often long lines of cars waiting at gas stations. 1 if there were a million cars in line, bumper to bumper, with average length of 9. 65 feet, how long would that line be in miles? round your answer to the nearest mile.