What are the two types of malicious code?

Answers

Answer 1

There are many different types of malicious code, but two common categories are viruses and worms. A virus is a type of malware that is designed to replicate itself and spread to other computers by attaching itself to a host program or file. A worm, on the other hand, is a standalone program that can replicate itself and spread to other computers without needing to attach itself to a host program or file. Other common types of malicious code include Trojans, ransomware, and spyware.


Related Questions

How many IP addresses does a class C network have?

Answers

Answer: 16,777,216

A class C network has 2^24 (16,777,216) IP addresses. This is because the first three octets (groups of 8 bits) in the IP address are reserved for the network address, and the final octet is used for the host address. Since there are 8 bits in an octet, this means that there are 2^8 (256) possible values for each octet. In a class C network, the first three octets are set to a specific value, so there are only 2^8 (256) possible values for the final octet, which corresponds to the host address. This means that a class C network has 256 x 256 x 256 = 16,777,216 possible IP addresses.

Which ports should be filtered out to protect a network from smb attacks?

Answers

Through defend against SMB attacks, a network should filter out ports 137 to 139 and 445. Network file sharing has always been possible with SMB.

What is the best way to guard against NetBIOS attacks?

You can stop the NetBIOS service from being misused in addition to turning it off by blocking TCP & UDP port 137 in your Windows firewall.

When a user enters privileged mode on a Cisco router, which prompt appears?

From User Exec Mode, we input the "Enable" command to enter Privileged Mode. If enabled, you will be prompted for a password by the router. Once we are in Privileged Mode, you will note that the prompt switches from ">" to a "#" to let you know that we are there.

To know more about SMB visit :-

https://brainly.com/question/14839707

#SPJ4

fossil fuels form in what type of environments? selected answer will be automatically saved. for keyboard navigation, press up/down arrow keys to select an answer. a oxygenated b aerobic c anaerobic d semi-aerobic

Answers

Fossil fuels form in this type of environments: C. anaerobic.

What is non-renewable resource?

In Science, a non-renewable resource can be defined as an energy source that generally takes a very long time to be created or an energy source whose creation happened a long time ago and isn't likely to happen again in the future.

Additionally, a non-renewable resource simply refers to an energy source that is both inexhaustible and irreplaceable such as the following:

UraniumCoalFossil fuelCrude oil (petroleum)

In conclusion, fossil fuels typically forms during the anaerobic decomposition of buried dead organisms, which comprises organic molecules that are created through photosynthesis.

Learn more about non-renewable resource here: https://brainly.com/question/26237167

#SPJ1

Subscripting always starts with ________.

Answers

it is an Arraysize-1 index that always starts at zero. If arrasize is 100, the range of the array's index or subscript is 0 to 99. Most languages, including C, C++, Java, C#, etc., adhere to this norm.

Using subscripts to provide table references is known as subscripting. A subscript is a positive integer whose value identifies the quantity of times a table element appears in the table.

Any qualifiers for the name of the table element are written after the subscripts, which are wrapped in parentheses. Such a reference must have an equivalent number of subscripts as there are dimensions in the table whose element is being referred. In other words, every OCCURS clause in the hierarchy that contains the data-name, including the data-name itself, must have a subscript.

When more than one subscript is necessary, they are expressed in the order of the data organization's increasingly less inclusive dimensions. Considering a multidimensional table as a collection of stacked

Learn more about Subscript here:

https://brainly.com/question/17327794

#SPJ4

In a computer catalog, the diagonal distance of a computer monitor screen is labeled as 21 inches. If the screen measures 14 inches in height, what is the width of the screen?.

Answers

In a computer catalog, the diagonal distance of a computer monitor screen is labeled as 21 inches. If the screen measures 14 inches in height, 245 in.  is the width of the screen .

How do I monitor and respond?

A monitor is a type of electronic visual computer display that consists of a screen, circuitry, and the housing for the equipment. Cathode ray tubes (CRT) were used in older computer monitors, which led to their size, weight, and inefficiency.

What purpose does a monitor serve?

Computer video output is displayed on a display monitor, which is an electronic gadget. From personal computers (PCs) and laptops to small handheld mobile devices, including cellphones and MP3 players, display displays are a common component in a variety of computer hardware.

Learn more about monitor

brainly.com/question/3799624

#SPJ4

Which term describes the trend toward a world that is more interconnected by technology, trade, and travel?social networkingfree tradesurplusglobalization.

Answers

Globalization is describes the trend toward a world that is more interconnected by technology, trade, and travel.

What is Globalization ?

The term "globalization" refers to the increasing interdependence of the world's economies, cultures, and inhabitants as a result of cross-border trade in commodities and services, technology, and flows of capital, labor, and information.

What, in your view, is globalization?

Globalization refers to the accelerated movement and exchange of things like people, money, commodities and services, technology, and cultural norms around the globe.

                    The promotion and expansion of interactions between various communities and places around the world is one of the implications of globalization.

Learn more about Globalization

brainly.com/question/15283031

#SPJ4

Numerical input file consists of a mixture of alphanumeric ascii characters and special binary formatting codes that are used in a word processor or spreadsheet

a. True
b. False

Answers

False, A word processor or spreadsheet's special binary formatting codes are mixed with alphanumeric ascii characters in a numerical input file.

What is spreadsheet?
A spreadsheet is a computer application used to organize and analyze data. It is a type of software program that allows users to create, store and manipulate data in a tabular form. Spreadsheets are typically organized in columns and rows, and can contain formulas, functions, charts and other features. Spreadsheets are useful for financial analysis, budgeting, data entry, and to track information. They can be used to create budgets, manage accounts, calculate taxes, and perform statistical analysis. Spreadsheets are also used to automate processes and make complex calculations. Spreadsheets are extremely flexible and are used in many different industries and applications. They are an important tool in modern businesses, providing a powerful way to manage and analyze data.

To learn more about spreadsheet
https://brainly.com/question/26919847
#SPJ1

Intranets are private corporate networks extended to authorized users outside the organization. O False O True

Answers

"Intranets are private corporate networks extended to authorized users outside the organization" is false.

What are the corporate networks extended?

Corporate networks vary from the group in that they retain formal relationships with one another through contracts (franchises, concessions, etc.) between both business units rather than through the use of financial linkages.

With an extended network, you are linked to another carrier's tower to receive service because your network does not contain any towers in that region.

Simply switch off Airplane Mode after a short period of time while keeping your smartphone in that mode.

"Intranets are private corporate networks extended to authorized users outside the organization" is false.

More about the corporate network extended link is given below.

https://brainly.com/question/14809186

#SPJ4

An algorithm is a guiding rule used to solve problems or make decisions.
true
false

Answers

Answer:

False

Explanation:

An algorithm is NOT a guiding rule used to solve problems or make decisions.

What is the effect that occurs when moving from one slide to another in a presentation

Answers

The effect that occurs when moving from one slide to another in a presentation is known as Slide transition. Thus, the correct option for this question is C.

What is a Slide presentation?

Slide presentation may be defined as a series of presentations of photographic slides, or images on a transparent base, placed in a projector and viewed sequentially on a screen.

A slide transition is a visual effect that occurs when you move from one slide to the next during a presentation. You can control the speed, add sound, and customize the look of transition effects.

Therefore a slide transition is an effect that occurs when moving from one slide to another in a presentation. Thus, the correct option for this question is C.

To learn more about Slide transition, refer to the link:

https://brainly.com/question/1481663

#SPJ1

Jerome wants something to happen when the user hovers over a div called recipes. Which line of CSS should be used?

A.
if hover #recipes{

B.
#recipes if hover{

C.
#recipes:on hover{

D.
#recipes:hover{

Answers

Since Jerome wants something to happen when the user hovers over a div called recipes. The  line of CSS that should be used is option D.

#recipes:hover{.

When is in line CSS appropriate?

To style a specific HTML element, use inline CSS. Selectors are not necessary for this CSS style; you only need to add the style property to each HTML tag.

Given the necessity to design each HTML tag separately, this CSS type is not really advised. If you simply utilize inline CSS, managing your website could become too challenging.

Therefore, You must include the style> tag in the head> section of your HTML document when using internal or embedded CSS.

Learn more about CSS from

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








1.) Which would fetch ID. Name and Salary fields from the customers table where salary is greater than 2000: SOL-SELECT ID, NAME, SALARY FROM CUSTOMERS WHERE SALARY> 2000

2.) SQL SELECT ID, NAME, SALARY FROM CUSTOMERS WHERE NAME="Handik​

Answers

is it possible to give a more clearer image?

Which of the following commands can be used to display socket information out to the terminal screen?

a. ss
b. woolsocks
c. opensocks
d. sstat

Answers

You can use the ss commands to output socket information on the terminal screen.

Which of the above commands can be used to view or change the IP address of a network interface?

For each network interface on a Windows system, the ipconfig command provides the fundamental IP addressing details. Both the IP address and the subnet mask are included in this data.

In order to translate a domain name into an IP address, which of the following ports should be used?

Port 53 (UDP) (UDP) Accessing DNS servers requires using this port. For the client to be able to resolve public domain names, it must be open to your DNS server IP addresses. If you don't use DNS servers for domain name resolution, you can ignore this port requirement.

To know more abou terminal screen. visit :-

https://brainly.com/question/29306891

#SPJ4

which layer 1 troubleshooting issue can occur from not carefully ensuring compatibility with cable type and wavelength in use?

Answers

If the compatibility with the cable type and wavelength in use is not carefully checked, transmitter mismatch layer 1 troubleshooting issues may develop.

What are the initial three measures you take to resolve an Internet-related problem?

If you are having trouble with your internet signal, you should restart your modem and router right away. Do not omit this phase! Since it frequently resolves the issue, this is nearly always what tech support will advise you to try first.

What is the first and simplest action you can take to fix the majority of computer issues?

Check the cables frequently: An easy first step to take if you're experiencing issues with a particular piece of computer hardware, such your keyboard or monitor, is to make sure all linked cables are in good condition. They are suitably linked. Restart the computer: Restarting the computer is a solid option to attempt if all else fails.

To know more about layer troubleshooting visit:-

https://brainly.com/question/13041616

#SPJ4

Question:

Which Layer 1 troubleshooting issue can occur from not carefully ensuring compatibility with cable type and wavelength in use?

A) Transceiver mismatch

B) Crosstalk

C) dB loss

D) Opens and shorts

In a data warehouse that uses a dimensional design, a studentid column is found in which table?

Answers

A dimension table is a table in a data warehouse's star schema. A dimension table keeps the dimensions or qualities that define the items in a fact table. In data warehousing, a dimension is a group of references data about a quantifiable event.

What exactly do a fact table and a dimension table do?

A dimension table contains information on the various ways the fact table's data can be studied, while a fact table contains the data that will be evaluated.

An explanation of Type 2 dimension tables

Because it allows you to track historically important features, type 2 is the most popular sort of slowly changing dimension.

To know more about dimension table visit :-

https://brainly.com/question/13106855

#SPJ4

which of the following is not true about column-family nosql databases? o a. column family databases organize their data into column families. o b. each column can be part of multiple column families. o c. data for a specific column family is stored together on disk to optimize disk input/output operations. o d. columns are dynamically created upon insertion of new data.

Answers

Each column cannot be part of multiple column families in case of column-family nosql databases.

What do you mean by No-sql databases?

NoSQL databases, also referred as "not merely SQL," are non-tabular databases that store data in various ways from relational tables. Depending on their data model, NoSQL databases can be classified as several categories. The primary types include wide-column, graph, document, and key-value. With a lot of data and a lot of users, they scale well and offer customizable schemas.

There are distinct qualities seen in every NoSQL database. High-level characteristics of several NoSQL databases include:

Adaptable modelsHorizontal scalingThe data model allows for quick queries.Ease of use for developers

Four main categories of NoSQL databases have developed over time:

document databaseskey-value databaseswide-column storesgraph databases

To learn more about databases refer to:

https://brainly.com/question/518894

#SPJ1

which term describes a method that enables an administrator to limit access to a network based on the physical addresses of wireless nics?

Answers

Using a method called MAC address filtering, a network administrator can limit access to a network based on the physical addresses of wireless NICs.

What is MAC address filtering?

An administrator can restrict access to a network based on the physical addresses of wireless NICs using a technique known as MAC address filtering.

MAC filtering is typically located in the settings under Advanced Settings, Security, Access Control, or a section that is similar to these.

The precise location will depend on the router's brand.

There are two filtering options available for you to select from inside: Use a blacklist to block access to particular MAC addresses.

A MAC address filter gives the illusion of security but offers no true protection.

Therefore, it ought to be regarded as dangerous.

Use WPA2 to restrict access to certain devices if necessary.

Therefore, using a method called MAC address filtering, a network administrator can limit access to a network based on the physical addresses of wireless NICs.

Know more about MAC address filtering here:

https://brainly.com/question/14527362

#SPJ4

can you use the existing memory modules to upgrade to the maximum amount of supported memory? explain your answer:

Answers

Answer:

It is generally possible to upgrade the amount of memory (also known as RAM) in a computer by installing additional memory modules. However, the maximum amount of memory that a computer can support is determined by the motherboard, which is the main circuit board in a computer that houses the processor, memory, and other components.

To determine whether you can use the existing memory modules to upgrade to the maximum amount of supported memory, you will need to check the specifications of your motherboard to see what the maximum amount of memory is that it can support. You can usually find this information in the documentation for your motherboard or by looking up the specifications online.

Once you know the maximum amount of memory that your motherboard can support, you can compare this to the total amount of memory that you currently have installed. If the total amount of memory you have installed is less than the maximum amount of memory that your motherboard can support, you can add additional memory modules to increase the total amount of memory.

It is important to note that you will need to use memory modules that are compatible with your motherboard. This usually means using memory modules with the same type of memory (such as DDR3 or DDR4) and the same physical form factor (such as DIMM or SO-DIMM). You should also make sure that the memory modules you are using are compatible with your processor and operating system.

Manual analysis of logs is preferred, as it is more likely to identify abnormal activity

a. True
b. False

Answers

False manual log analysis is favored since it is more likely to spot unusual activities.

Does the system have access to this user's identify for security purposes?

A security principal or security group can be identified specifically using a security identifier. Security principals can represent any entity that the operating system is capable of authenticating, including user accounts, computer accounts, and processes that are active within the security context of these accounts.

Which of the following does not constitute a good way to create a strong password?

A term that is preceded or followed by a single number, or a single word, should be avoided. Hackers will try to guess your password using word lists and passwords that are frequently used.

To know more about log analysis visit :-

https://brainly.com/question/29843087

#SPJ4

a computer typically connects to a router via a...

Answers

Usually, a network interface card is used to link a computer to a router. A separate LAN card is not required today because the majority of modern PCs have NIC cards integrated into the motherboard.

A computer's NIC offers a dedicated, constant connection to a network. It implements the physical layer hardware needed to communicate with a data link layer standard, such as Ethernet or Wi-Fi. Each card functions as a device and has the capacity to organize, transmit, and control the flow of data throughout the network. NICs are directly linked to the motherboard of your computer, either near the USB ports on the back or on the back of the computer (for external network expansion cards) (for onboard NICs). These cards are still extensively used for desktop PCs that lack a motherboard-integrated Ethernet port. Together with other networking devices, NICs are used to establish a connection to a network. Utilizing NICs, only other devices can be connected to. You need a router in order to connect to the internet. Routers are what connect a local network to the internet.

Learn more about network interface card here

https://brainly.com/question/20689912

#SPJ4

challenge program:

Create a class called MathTrick in the newly created project folder.
Complete the static methods in the starter code.
Utilize Math.random() and any other methods from the Math class as needed.
Utilize .substring() where appropriate.
Each method should return a value of the correct data type.
Call the completed static methods in the main method to complete a program that does the following:
Generate a random 3-digit number so that the first and third digits differ by more than one.
Now reverse the digits to form a second number.
Subtract the smaller number from the larger one.
Now reverse the digits in the answer you got in step c and add it to that number (String methods must be used to solve).
Multiply by one million.
Subtract 733,361,573.
Hint: since replaceLtr is expecting a String, you should use String.valueOf(number) to create a String variable from the integer variable before step g.
Then, replace each of the digits in your answer, with the letter it corresponds to using the following table:
0 --> Y
1 --> M
2 --> P
3 --> L
4 --> R
5 --> O
6 --> F
7 --> A
8 --> I
9 --> B
Now reverse the letters in the string to read your message backward.
Open the StarterCode407.java(shown below) file to begin your program.
Notice that these instructions double as pseudocode and including pseudocode in a program provides documentation.



/**
* This Math trick and many more can be found at: http://www.pleacher.com/handley/puzzles/mtricks.html
*
*/

public class MathTrick {

// Step 1) Creates a random 3-digit number where the first and third digits differ by more than one
// Hint: use modulus for the last digit and divide by 100 for the first digit.
public static int getRandomNum()
{ int num = 0;
int firstDigit = 0;
int lastDigit = 0;

// complete the method

return num;
}

// Step 2 & 4) reverse the digits of a number
public static int reverseDigits (int num) {

// complete the method
}

// Step 7) replace characters in a string according to the chart
public static String replaceLtr(String str)
{
// complete the method
}

// Step 8) reverse the letters in a string
public static String reverseString(String str) {
// complete the method
}

public static void main(String[] args)
{
// 1. Generate a random 3-digit number so that the first and third digits differ by more than one.

// 2. Now reverse the digits to form a second number.

// 3. Subtract the smaller number from the larger one.

// 4. Now reverse the digits in the answer you got in step 3 and add it to that number.

// 5. Multiply by one million.

// 6. Subtract 733,361,573.

// 7. Then, replace each of the digits in your answer, with the letter it corresponds to using the table in the instructions.

// 8. Now reverse the letters in the string to read your message backward.

} // end main
} // end class

Answers

Here is the solution to the MathTrick program:

public class MathTrick {

 // Step 1) Creates a random 3-digit number where the first and third digits differ by more than one

 // Hint: use modulus for the last digit and divide by 100 for the first digit.

 public static int getRandomNum() {

   int num = 0;

   int firstDigit = 0;

   int lastDigit = 0;

   // complete the method

   firstDigit = (int)(Math.random() * 9) + 1; // generates a random number from 1 to 9

   lastDigit = (firstDigit + (int)(Math.random() * 3) + 2) % 10; // generates a random number from 2 to 4 more than firstDigit, and takes the modulus to ensure it is a single digit

   num = Integer.parseInt(String.valueOf(firstDigit) + "0" + String.valueOf(lastDigit)); // concatenates the first and last digits to form a 3-digit number

   return num;

 }

 // Step 2 & 4) reverse the digits of a number

 public static int reverseDigits (int num) {

   // complete the method

   String numStr = String.valueOf(num); // convert num to a string

   numStr = new StringBuilder(numStr).reverse().toString(); // reverse the string using a StringBuilder

   return Integer.parseInt(numStr); // convert the reversed string back to an integer and return it

 }

 // Step 7) replace characters in a string according to the chart

 public static String replaceLtr(String str) {

   // complete the method

   str = str.replace('0', 'Y');

   str = str.replace('1', 'M');

   str = str.replace('2', 'P');

   str = str.replace('3', 'L');

   str = str.replace('4', 'R');

   str = str.replace('5', 'O');

   str = str.replace('6', 'F');

   str = str.replace('7', 'A');

   str = str.replace('8', 'I');

   str = str.replace('9', 'B');

   return str;

 }

 // Step 8) reverse the letters in a string

 public static String reverseString(String str) {

   // complete the method

   return new StringBuilder(str).reverse().toString(); // reverse the string using a StringBuilder

 }

 public static void main(String[] args) {

   // 1. Generate a random 3-digit number so that the first and third digits differ by more than one.

   int num1 = getRandomNum();

   // 2. Now reverse the digits to form a second number.

   int num2 = reverseDigits(num1);

   // 3. Subtract the smaller number from the larger one.

   int result = Math.max(num1, num2) - Math.min(num1, num2);

   // 4. Now reverse the digits in the answer you got in step 3 and add it to that number.

   result += reverseDigits(result);

   // 5. Multiply by one million.

   result *= 1000000;

   // 6. Subtract 733,361,573.

 

The MathTrick program is a program that generates a random 3-digit number where the first and third digits differ by more than one, then reverses the digits to form a second number. It then subtracts the smaller number from the larger one, reverses the digits in the answer and adds it to that number, multiplies the result by one million, and finally subtracts 733,361,573. It also includes methods to replace the digits in the final result with letters according to a given chart, and to reverse the letters in a string. The program is meant to demonstrate the use of various methods from the Math class and the String class in Java.

Learn more about code, here https://brainly.com/question/497311

#SPJ4

What is primary and secondary value chain activities?

Answers

The value chain's core functions include inbound logistics, operating outbound logistics, marketing and sales, and service.

What are the two types of value chain activities? Infrastructure management, human resource management, and purchasing are examples of secondary or support tasks. Inbound logistics, operation outbound logistics, marketing and sales, and service are among the value chain's key tasks.Infrastructure for the business, management of the human resources, and purchasing are considered secondary or support operations.The value chain's core functions include inbound logistics, operating outbound logistics, marketing and sales, and service. Inbound logistics, operations, outbound logistics, marketing and sales, and services are the five major (main) activities that produce increased earnings.Plan, Source, Make, Deliver, and Return are the five processes that make up the model's top level and are also referred to as its five supply chain management components.

To learn more about chain activities refer

https://brainly.com/question/24245161

#SPJ4

why is it important to contact customer support of your p2p app or service if you feel you have been scammed?

Answers

Criminals' accounts usually use stolen funds that the P2P payment service will eventually flag as a fraud.

What does licensing agreement mean?

An agreement between two parties (the licensor and licensee) known as a licensing agreement allows the licensee the right to utilize the brand name, trademark, copyrighted technology, or the capacity to create and sell items that the licensor owns.

What does a software license agreement serve?

With the aid of a software license agreement, a licensee can use software but not actually own it.

                      The rights to sell the program to others and to allow the licensee to use it on a single computer are retained by the software creator but are not granted to the licensee.

Learn more about P2P payment service

brainly.com/question/26922269

#SPJ4

describe three specific programming situations that require a posttest loop in c++?(just the do while code)

Answers

The  three specific programming situations that require a posttest loop in c++ are:

Repeating an action until a specific condition is met:Validating user input:Processing a list of items:

What is the coding about?

The specific programming situations examples  are said to be explained below

Repeating an action until a specific condition is met:

do {

 // code to be executed

} while (condition);

In this case, the code inside the loop will be executed repeatedly until the condition specified in the while statement becomes false.

Validating user input:

do {

 // code to prompt user for input and store it in a variable

 cout << "Enter a number between 1 and 10: ";

 cin >> input;

} while (input < 1 || input > 10);

Lastly, Processing a list of items:

do {

 // code to process the current item

 // update the loop variable and test for the end of the list

} while (current_item != end_of_list);

Learn more about programming from

https://brainly.com/question/23275071

#SPJ1

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

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

Bergamot Urgent Care Clinic

FORMATTING WORKBOOK TEXT AND DATA

GETTING STARTED

Open the file NP_EX19_2a_FirstLastName_1.xlsx, available for download

Save the file as NP_EX19_2a_FirstLastName_2.xlsx by changing the "1" to a "2".

If you do not see the .xlsx file extension in the Save As dialog box, do not type it. The program will add the file extension for you automatically.

With the file NP_EX19_2a_FirstLastName_2.xlsx still open, ensure that your first and last name is displayed in cell B6 of the Documentation sheet.

If cell B6 does not display your name, delete the file and download a new copy from the SAM website.

PROJECT STEPS

Jennifer Williams is the business manager at the Bergamot Urgent Care Clinic. Jennifer is adding formatting to the workbook she uses to track statistics on patient visits to make it easier to read and use. Change the theme of the workbook to Office.

Switch to the Visits worksheet and then format the headings. Merge and Center the range A1:H1.

Apply the Heading 1 style to the range A1:H1.

Merge and Center the range A2:H2.

Next, Jennifer needs to format the report dates. Change the background color of the range A4:B5 to Gray, Accent 3, Lighter 80% (7th column, 2nd row of the Theme Colors palette).

Format the range A4:A5 as bold.

Format the range B4:B5 to use a date format with a two-digit month, a two-digit day, and a two-digit year (e.g., 09/26/21).

She also wants to format the table headings. Format the range A7:H8 as italic.

Apply horizontal centering to the contents of each cell in the range A7:H8.

Change the background color of the range A7:H7 to Orange, Accent 2, Lighter 60% (6th column, 3rd row of the Theme Colors palette).

Change the background color of the ranges B8:D8 and F8:H8 to Orange, Accent 2, Lighter 40% (6th column, 4th row of the Theme Colors palette).

Merge and Center the range A7:A8 and then center the contents of the merged cell vertically.

Merge and Center the range E7:E8 and then center the contents of the merged cell vertically.

Merge and Center the range B7:D7 and then Merge and Center the range F7:H7.

Jennifer would like to spruce up the table data. Change the background color of the range A10:H10 to White, Background 1, Darker 5% (1st column, 2nd row of the Theme Colors palette) and then repeat for the range A12:H12.

In the range F9:H12, apply the Percentage number format with zero decimal places.

Use the Highlight Cells Rules conditional formatting to format cells in the range G9:G12 with a value less than 6% using Light Red Fill with Dark Red Text.

For the merged range A17:A23, rotate the cell contents to 0 degrees and then change the indent to 2.

Find and replace all instances of the text "Ins" with Insurance, not including any punctuation. (Hint: You should find and replace two instances.)

Finally, she needs to format the workbook for printing. Insert a page break to start a new page at row 14.

Set the margins to Narrow.

Set rows 1 and 2 as print titles.

Create a custom footer for the worksheet. In the left footer section, display the current page number using a Header and Footer element. In the center footer section, display the Sheet Name using a Header and Footer element.

Save your changes, close the workbook, and then exit Excel.

Answers

To change the header or footer, select Custom Header or Custom Footer. To add the header or footer information you desire in the Left, Center, or Right section, click the Left, Center, or Right section box, followed by any of the buttons.

What Sheet Name using a Header and Footer element?

Click Custom Header or Custom Footer in the Page Setup dialog box's Header/Footer tab. Select the Left section, Center section, or Right section boxes to determine where you want the page number to appear in the header or footer. In the chosen section, the placeholder &[Page] appears.

Therefore, Then select Header and Footer from the Insert menu. Depending on where you want the date or time to appear, click in the Left, Center, or Right areas of the Header or Footer.

Learn more about Header here:

https://brainly.com/question/29840345

#SPJ4


3. Read the following scenarios carefully. Select a suitable storage device for each
situation. Make sure to justify your choice by talking about the characteristics of your
chosen storage device such as Capacity, Speed, Portability, Durability and
Reliability.
(b) "A school is planning a new 30 desktop PC computer suite. The school has limited
funds available. The PCs will have a lot of different software installed as well as an
operating system and multiple students' profiles."

Answers

Answer:

use ssd

Explanation:

ssd is fast

if you have limited fund

then hard drive is good not for speed but for data capacity

calculate the information gain when splitting on a and b. which attribute would the decision tree induction algorithm choose?calculate the gain in the gini index when splitting on a and b. which attribute would the decision tree induction algorithm choose?entropy and the gini index are both monotonously increasing on the range [0, 0.5] and they are both monotonously decreasing on the range [0.5, 1]. is it

Answers

By deducting the gain ratio of the splitting from the index of both the parent node, it is possible to determine the increase in the gain coefficient when dividing on a and b.

What is algorithm?

An algorithm is a set of instructions or steps that are designed to solve a problem or accomplish a task. It is an effective way of performing a task that can be repeated, with the same results each time. Algorithms are commonly used in computer programming and can range from simple to complex. They can be used to solve simple tasks such as sorting a list, to complex tasks such as playing a game of chess. Algorithms are also used in everyday life, such as when a person follows a recipe or drives to a destination. Algorithms help to make tasks easier and more efficient by breaking them down into smaller, manageable steps.
The information gain when splitting on a and b can be calculated by subtracting the entropy or gini index of the split from the entropy or gini index of the parent node. The attribute with the highest information gain would be chosen by the decision tree induction algorithm. The gain in the gini index when splitting on a and b can be calculated by subtracting the gini index of the split from the gini index of the parent node. The attribute with the highest gain in the gini index would be chosen by the decision tree induction algorithm. Yes, entropy and the gini index are both monotonously increasing on the range [0, 0.5] and monotonously decreasing on the range [0.5, 1].

To learn more about algorithm.
https://brainly.com/question/24953880
#SPJ4

Who is responsible for applying CUI markings and dissemination instruction?
A. Authorized common access card (CAC) holder

B. Authorized NIPRnet (Non-classified Internet Protocol Router (IP) Network) system

C. Authorized system access administrator

D. Authorized holder of the information at the time of creation

Answers

Authorized holder of the information at the time of creation. is responsible for applying CUI markings and dissemination instruction

What is CUI?
A CUI (common user interface) is a user interface designed to provide a consistent way of interacting with a computer system, regardless of the underlying hardware or software technology. It is a graphical user interface (GUI) that provides a unified look and feel across all programs and devices, allowing users to easily access and use them. The CUI also simplifies the process of learning how to use a computer by providing a unified, intuitive way for users to interact with the system. The CUI can include windows, menus, buttons, icons, and other graphical elements that allow users to access and manipulate data.

To learn more about CUI
https://brainly.com/question/24847632
#SPJ1

What is the name of the protocol used to transfer files from computer to computer using a program like Filezilla or Winscp?

Answers

Answer:

FTP

Explanation:

FTP is used for file transfers between one system and another, and it has several common use cases, including the following: Backup. FTP can be used by backup services or individual users to backup data from one location to a secured backup server running FTP services.

Other Questions
Which policy would most likely decrease a city's gasoline use? Read the following sentence:Between the upcoming vacation, my sister's new baby, and my new project at work, I can barely sleep!Which attitude does the narrator most likely have, based on the sentence?A. He is excited about the new developments in his life.B. He is frustrated with too many responsibilities.C. He is nervous about failing in his obligations.D. He is nervous about the events in his life. The brown-colored bones in each animal help to connect their limbs to a specific joint in the torso, or middle of their body. What type of structure do these bones represent, and what is their significance in terms of evolutionary relationships? Darry has to explain to the doctors that Johnny's family doesn't care and the greasers are his family. Why does he do this? coDuring which stage of a product life cycle do you only need to inform customers about your product?During thestage of your product life cycle, you only need to inform customers about your product Compare the drops of wax that harden in hot water and Cold water. In parallelogram JKLM if LN=12 find LJ. The four main factors of production are land, or the physical space and natural resources, labor, or the workers, capital, or the money and equipment, and entrepreneurship, or the ideas and drive, which are used together to make a successful attempt at selling a product or service according to traditional economic ... What is the main body system affected from sickle cell anemia? Which of these eating disorders involves binging on largeamounts of food followed by purging in an attempt to avoidweight gain?O Anorexia nervosaO Bulimia nervosaO Obesity Help me with this please Can someone be nice enough and help me out with these questions:)Answer the questions1. For how many years has San Juan been the capital of Puerto Rico?2. On which of his voyages did Christopher Columbus land on Puerto Rico?3. Why did the Spaniards build El Morro?4. What are two things you'll see when you visit the cathedral? PLEASE HELP! SPANISH!Choose the correct answer to fill in the blanks.1. A Marco y Juan _____ los brazos.a. les duelenb. le duelec. les dueled. te duelen Which of the following statements describe the consequences of the British takeover of India in the nineteenth century? Check all that apply. They demolished the local textile industry. They governed by a combination of direct and indirect rule. They quickly allowed native Indians to join the highest levels of the colonial administration. They built highways and railways. They brought democracy to the subcontinent by 1892. They established a new school system to educate the children of the elite. Joseph is a college student at The University of Texas. He made good grades in high school and received a scholarship that pays for his school, housing and books. Joseph does not have a car, but still needs to pay for his own meals. He calculates that he needs to make at least $450 per month. He has a job working at the bookstore and gets paid $15 per hour. What is the minimum number of hours that Joseph must work per week to make $450 per month?A. 40 hoursB. 7.5 hoursC. 22.5 hours D. 11 hours who ever gets this will get a brainlest Which of the following situations represents a proportional relationship?F The amount of money in the piggy bank y, after x weeks. With an initial amount of$35 and saving $80 per week. The number of oranges y contained in x sacks if each sack has 45 oranges.H The values of x and y. The value of x = 18 when y = 2, then x = 36 when y = 3.I The weight a dog y, after x months if its initial weight is 5 pounds and gains 2pounds per month Find the value of the missing angle ``1805090 24-5Sorry i tried to put the 2 at the top edge of the 5 but i could not. NO LINKS OR WILL TELL MODERATORDescribe the differences between Herbert Hoover and Franklin Roosevelt. What was different about their presidencies and how they were viewed by the public?Will give brainliest :)