Questions
A host with IP address 202.11.35.91 is in a subnet that can contain at most 14...

A host with IP address 202.11.35.91 is in a subnet that can contain at most 14 hosts.

a. What is its subnet mask, in dotted-quad notation? [4]

b. What is the subnet's address? [4]

c. What is the last possible IP address in that subnet? [4]

10. For the following IP address and conditions, calculate the information listed below for the Network which contains this address: 173.70.34.3                Subnet Mask: 255.255.240.0

a.           Default Subnet Mask: [2]

b.           Subnet Address:            [3]

c.           First Usable Host Address:       [3]

d.           Last Usable Host Address:       [3]

e.           Broadcast Address:                    [3]

f.            Number of Usable Subnets:    [3]

g.           Number of Usable Hosts/Subnet: [3]

11.        Given the following IP address and conditions, calculate the information listed below for the 3rd

available subnet:          134.6.9.7           You need at least 30 subnets

a.           Subnet Mask: [3]

b.           Subnet Address (for 3rd subnet):        [4]

c.           First Usable Host Address:   [3]

d.           Last Usable Host Address:   [3]

e.           Broadcast Address:      [3]

f.            Number of Usable Subnets:    [3]

g.           Number of Usable Hosts/Subnet:   [3]

In: Computer Science

Translate this algorithm to code on C compare(char array[ ]) word = split(array, " "); //gets...

Translate this algorithm to code on C

compare(char array[ ])

word = split(array, " "); //gets the first word before the blank space

if word == Hello {

print("I am saying hello");

}else if (word == Bye)

print("I am saying goodbye");

}

Example---------------------

char array = "Hello Ana";

compare(array);

char array1 = "Bye Ana"

compare(array1);

result

"I am saying hello"

"I am saying goodbye"

In: Computer Science

Java homework question: Explain how class (static) variables and methods differ from their instance counterparts. Give...

Java homework question:

Explain how class (static) variables and methods differ from their instance counterparts. Give an example of a class that contains at least one class variable and at least one class method. Explain why using a class variable and method rather than an instance variable and method would be the correct choice in the example you select.

In: Computer Science

def DMStoDD(degree, minutes, seconds): dd = abs(degree) + abs(minutes)/60 + abs(seconds)/3600 if degree > 0: return...

def DMStoDD(degree, minutes, seconds):
         
        dd = abs(degree) + abs(minutes)/60 + abs(seconds)/3600

        if degree > 0:
                return dd
        else:
                return -dd

print(DMStoDD(-30, 30, 00))
In this script, add a main program that collects DD or DMS input from the user, then converts it to the other form and reports the converted value.
Directions: The main program needs to gather a string from the keyboard using input() and detect whether it is DD or DMS (Hint: use the split function). Then it must pass the proper DD or DMS values to the functions above to convert.

The DMS input is separated by comma and contains no space. The degree field could be negative to represent a negative value. (E.g. 43,4,23 or -43,4,23)

In: Computer Science

Discuss by no more than a paragraph the following terms: ATM VLANS Wireless Lans NATS Point-To-Point...

Discuss by no more than a paragraph the following terms:

ATM

VLANS

Wireless Lans

NATS

Point-To-Point WANS

In: Computer Science

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