Questions
The Cisco’s layered switching includes three switching layers. What is the purpose of each layer? What...

The Cisco’s layered switching includes three switching layers. What is the purpose of each layer? What switches are typically used in each layer?

In: Computer Science

Create a new project called Lab05b. Keep the main file named main. Write a function readAndPrint,...

  • Create a new project called Lab05b. Keep the main file named main.
  • Write a function readAndPrint, and power with parameters noted below in the Functions.h file.

//Your Last Name

#ifndef FUNCTIONS_H

#define FUNCTIONS_H

#include <fstream>

#include <iostream>

#include <string>

using namespace std;

/*reads from a file

and prints every item to the screen*/

// file contains sets of

//int

//string

//Don't forget to use infile.ignore() between << and getline

//ifstream must be passed by reference

void readAndPrint(ifstream &infile);

//uses a for loop to return the base to the exponent

//e.g. 2^4 = 16

// this fuction should read data.txt file

long power(long base, long exponent);

#endif

  • You should place the function prototypes in a file called Functions.h The function prototype has a semi-colon at the end.
  • Then you should implement in a file called Functions.cpp
  • Finally, declare the infile, and call the readAndPrint function. Then look at the power of 2^3 and 10 ^ 4

  • Create a file named data.txt that has the following information.

1

Alpha

2

Beta

3

Gamma

  • Your functions.cpp AND your lastnamefirstLab05b.cpp should #include “Functions.h”.
  • Remember that you should not #include.cpp files!
  • Implementation detail 4: compile and run with:

In: Computer Science

I hope this question is simple. Please read the statement below and answer whether it is...

I hope this question is simple. Please read the statement below and answer whether it is True or False. Please add some explanation as to support the answer. Thank you.

The combination of convolutional layer and pooling layer achieves partial invariance to translations in a convolutional neural network.

(TRUE / FALSE)

In: Computer Science

Write a feasibility report evaluating the feasibility of two alternatives to the following situation. Explain your...

Write a feasibility report evaluating the feasibility of two alternatives to the following situation. Explain your criteria clearly, evaluate each alternative, and recommend the best course of action. Is it feasible for your school to offer free space for student web pages? Will content be monitored

In: Computer Science

Define the following time series components: ● Trend ● Seasonality ● Cyclic ● Random

Define the following time series components: ● Trend ● Seasonality ● Cyclic ● Random

In: Computer Science

As the Big Data ecosystem takes shape, there are four main groups of players within this...

As the Big Data ecosystem takes shape, there are four main groups of players within this interconnected web. List and explain those groups.

In: Computer Science

describe feathure,benefits,costs,and file size limit for Drop box cloud

describe feathure,benefits,costs,and file size limit for Drop box cloud

In: Computer Science

MUST BE PYTHON 3 Instructions: The following programming problem can be solved by a program that...

MUST BE PYTHON 3

Instructions: The following programming problem can be solved by a program that performs three basic tasks (Input Data, Process Data, Output Results) along with selection and repetition coding techniques.

Problem Statement

A finance company provides loans for motorcycles at different rates depending on how much the total loan amount is and how many payments will be made on the loan. Using the information in the table below, write a program that will calculate the monthly payment based on user inputs of loan amount and number of monthly payments. The user will NOT input the percentage rate, as this will be determined by the program code based on user input of loan amount and number of payments. The output will display the loan amount, the number of payments, monthly payments and the interest rate of the loan.

Problem Statement
Amount of Loan # of Payments Interest Rate Applied
$500 - $ 2,500 6-12 8%
13-36 10%
37-48 12%
$2,501 - $10,000 6-12 7%
13-36 8%
37-48 6%
$10,001 or above 6-12 5%
13-36 6%
37-48 7%


If the user enters data that is "out of bounds" (loan amount/number of payments below or above minimum/maximum in the table), display an error message explaining the situation to the user and ask for the loan amount or number of payments (whichever one was out of bounds) again. Message Example: "We do not finance loans below $500."

You MUST use Modular Programming techniques by using functions in your program. Your "main" module should not be very large.

Other Requirements:

  • Documentation: Incorporate programming style as described here: "Python Style Guide"
  • Test and debug your Program: Create sample input data, run the program, then check your answers with a calculator or Excel. If something did not match up, then fix your program.
  • Program must execute and produce correct output.
  • Read this page again to be sure you covered all requirements.
  • See the Programming Project Rubric for grading principles.
  • Your name and desired profession should be at the top of each output data file.
  • Column data should be neatly aligned.
  • Columns should have heading titles.
  • Loan payment formula suggested, located:   [http://financeformulas.net/Loan_Payment_Formula.html] . You may use other sources which are algebraically correct.

Submission Instructions:

  • Provide one enhancement, addition or improvement to the code. Provide comments to document this enhancement.
  • Save as filename: LastName_ProgProj_2.py.
  • Also, save a screenshot of a successful run for each program and save as: LastName_Chap_y_x.png. (y = chapter number, x = exercise number.)Upload files individually here. (Do not upload files unless they run successfully.)
  • Upload files here. (Do not upload files unless they run successfully.)

In: Computer Science

A vacation rental property management company must file a monthly sales tax report listing the total...

A vacation rental property management company must file a monthly sales tax report listing the total sales for the month and the amount of state and city sales tax collected. The state sales tax rate is 6 percent and the local city sales tax rate is 9 percent. Write a program (using functions) that asks the user to enter the total sales for the month. From this figure, the application should calculate and display the following:

The   amount of local city sales tax

The   amount of state sales tax

The   total sales tax (city plus state)

Please help

In: Computer Science

USING JAVA Almost sort the array using Merge Sort. Perform Merge Sort as usual except that...

USING JAVA

Almost sort the array using Merge Sort. Perform Merge Sort as usual except that during the final merge, it is not necessary to merge all n elements, but only the elements in positions 1 to k.

In: Computer Science

Express each of these statements using quantifiers. Then form the negation of the statement sothat no...

Express each of these statements using quantifiers. Then form the negation of the statement sothat no negation is to the left of a quantifier. Next, express the negation in simple English. In eachcase, identify the domain and specify the predicates.

•No one has lost more than one thousand dollars playing the lottery.

•There is a student in this class who has chatted with exactly one other student.

•No student in this class has sent e-mail to exactly two other students in this class.

• Some student has solved every exercise in this book.

•No student has solved at least one exercise in every section of this book.

In: Computer Science

Write a Java program to do the following: Specifics: Write an application that prompts a user...

Write a Java program to do the following:

Specifics:

Write an application that prompts a user for two integers and displays every integer between them. Display a message if there are no integers between the entered values.

Make sure the program works regardless of which entered value is larger. Save the file as InBetween.java.

Don’t forget to create the application/project  InBetweenTest.java Class that has the main method and an object to use the InBetween class.

In: Computer Science

1.Describe the problem at IFG as succinctly as you can. Use this description to identify the...

1.Describe the problem at IFG as succinctly as you can. Use this description to identify the main stakeholders. 2. IFG can’t afford the resources to identify, define, cleanse, and validate all of its data. On the other hand, building yet another data mart to address a specific problem worsens the data situation. Propose a solution that will enable IFG to leverage a key business problem/opportunity using their BI tools that does not aggravate their existing data predicament. Please provide 3-4 refernces and 800 words of answers for both questions. No plagiarism please.

In: Computer Science

c++ Redefine CDAccount from Display 10.1 so that it is a class rather than a structure....

c++

Redefine CDAccount from Display 10.1 so that it is a class rather than a structure. Use the same member variables as in Display 10.1 but make them private. Include member functions for each of the following: one to return the initial balance, one to return the balance at maturity, one to return the interest rate, and one to return the term. Include a constructor that sets all of the member variables to any specified values, as well as a default constructor. Embed your class definition in a test program.

10.1 display

#include <iostream>
3 using namespace std;
4 //Structure for a bank certificate of deposit:
5 struct CDAccount
6 {
7 double balance;
8 double interestRate;
9 int term; //months until maturity
10 };
11
12
13 void getData(CDAccount& theAccount);
14 //Postcondition: theAccount.balance and theAccount.interestRate
15 //have been given values that the user entered at the keyboard.
16
17
18 int main( )
19 {
20 CDAccount account;
21 getData(account);
22
23 double rateFraction, interest;
24 rateFraction = account.interestRate / 100.0;
25 interest = account.balance * rateFraction * (account.term / 12.0);
26 account.balance = account.balance + interest;
27
28 cout.setf(ios::fixed);
29 cout.setf(ios::showpoint);
30 cout.precision(2);
31 cout << "When your CD matures in "
32 << account.term << " months,\n"
33 << "it will have a balance of $"
34 << account.balance << endl;
35 return 0;
36 }
37
38 //Uses iostream:
39 void getData(CDAccount& theAccount)
40 {
41 cout << "Enter account balance: $";
42 cin >> theAccount.balance;
43 cout << "Enter account interest rate: ";
44 cin >> theAccount.interestRate;
45 cout << "Enter the number of months until maturity\n"
46 << "(must be 12 or fewer months): ";
47 cin >> theAccount.term;
48 }

In: Computer Science

Find the usage and the required counter measures to avoid effects of the below tool. A)....

Find the usage and the required counter measures to avoid effects of the below tool.

A). Metasploit

answer in approx 5 pages.

In: Computer Science