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 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 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 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 WANS
In: Computer Science
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
//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
1
Alpha
2
Beta
3
Gamma
In: Computer Science
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 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
In: Computer Science
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
In: Computer Science
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.
| 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:
Submission Instructions:
In: Computer Science
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 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