With a dial-up connection, you can access the Internet at data transfer rates (DTR) of up to 56 Kbps using a regular phone line and an analog modem.
Dial-up access is it?refers to using a modem and the public telephone network to connect a device to a network. Dial-up access is essentially identical to a phone connection, with the exception that computer devices rather than people are the participants at both ends.
Dial networking: What is it?Dial-up networking is the collection of protocols and software used to link a computer to an online service, a distant computer, or an Internet service provider using an analog modem and POTS (plain old telephone system). The most popular kind of computer connection to the Internet is dial-up networking.
To know more about DTR visit:-
https://brainly.com/question/12914105
#SPJ4
In an earlier assignment you modeled an inheritance hierarchy for dog and cat pets. You can reuse the code for that hierarchy in this assignment. Write a program that prompts the user to enter data (name, weight, age) for several Dog and Cat objects and stores the objects in an array list. The program should display the attributes for each object in the list, and then calculate and display the average age of all pets in the list using a method as indicated below:
public static double calculateAverage( ArrayList list )
{
... provide missing code ...
}
previous code
chihuahua
public class Chihuahua extends Dog
{
public void bark()
{
System.out.println("Bow wow");
}
}
dog
public class Dog
{
private String name;
private double weight;
private int age;
public String getname(String n)
{
name = n;
return n;
}
public double getweight(double w)
{
weight = w;
return w;
}
public int getage(int a)
{
age = a;
return a;
}
public void bark()
{
}
}
import java.util.Scanner;
public class DogCatTest
{
public static void main( String [] args)
{
Scanner scan = new Scanner(System.in);
System.out.println("Enter name");
String name = scan.nextLine();
System.out.println("Enter weight");
double weight = scan.nextDouble();
System.out.println("Enter age");
int age = scan.nextInt();
Dog [] dogCollection = { new Chihuahua(), new GoldenRetriever()};
for( int i = 0; i < dogCollection.length; i++ )
dogCollection[ i ].getname(name);
System.out.println(name);
for( int i = 0; i < dogCollection.length; i++ )
dogCollection[ i ].getweight(weight);
System.out.println(weight);
for( int i = 0; i < dogCollection.length; i++ )
dogCollection[ i ].getage(age);
System.out.println(age);
for( int i = 0; i < dogCollection.length; i++ )
dogCollection[ i ].bark();
System.out.println("Enter name");
String cname = scan.nextLine();
System.out.println("Enter weight");
double cweight = scan.nextDouble();
System.out.println("Enter age");
int cage = scan.nextInt();
Cat1 [] catCollection = { new SiameseCat(), new SiberianCat() };
for( int i = 0; i < catCollection.length; i++ )
catCollection[ i ].getname(cname);
System.out.println(cname);
for( int i = 0; i < catCollection.length; i++ )
catCollection[ i ].getweight(cweight);
System.out.println(cweight);
for( int i = 0; i < catCollection.length; i++ )
catCollection[ i ].getage(cage);
System.out.println(cage);
for( int i = 0; i < catCollection.length; i++ )
catCollection[ i ].meow();
}
}
public class GoldenRetriever extends Dog
{
public void bark()
{
System.out.println("Bow wow");
}
}
public class SiameseCat extends Cat1
{
public void meow()
{
System.out.println("Meow");
}
}
public class SiberianCat extends Cat1
{
public void meow()
{
System.out.println("Meow");
}
}
public class Cat1
{
private String name;
private double weight;
private int age;
public String getname(String n)
{
name = n;
return n;
}
public double getweight(double w)
{
weight = w;
return w;
}
public int getage(int a)
{
age = a;
return a;
}
public void meow()
{
}
}
Java program that shows the use of inheritance hierarchy, the code reuses the attributes of the class objects.
Importance of applying inheritance:In this case of pets (dogs and cats), applying inheritance allows a much shorter and more structured code. Also, reusable since we can add classes of other pets such as birds, rabbits, etc., all of them also belonging to the Pet superclass.
Reserved words in a java code that enforces inheritance:extendsprotectedSuperHere is an example:
Java codeimport java. io.*;
import java.util.ArrayList;
import java.io.BufferedReader;
public class Main
{
// ArrayList of Pet objetspublic static ArrayList < Pets > arraypets = new ArrayList < Pets > ();
public static void main (String args[]) throws IOException
{
BufferedReader data =
new BufferedReader (new InputStreamReader (System. in));
//Define variablesString aws;
String str;
double w;
String n;
int a;
double average;
do
{
//Data entry System.out.println ("Pet species? ");System.out.println ("(1) Cat ");
System.out.println ("(2) Dog ");
aws = data.readLine ();
System.out.print ("Enter name: ");
n = data.readLine ();
System.out.print ("Enter weight: ");
str = data.readLine ();
w = Double.valueOf (str);
System.out.print ("Enter age: ");
str = data.readLine ();
a = Integer.valueOf (str);
if (aws.equals ("1"))
{
Cat cat = new Cat (n, w, a);
arraypets.add (cat);
average = cat.averageAges (a);
}
else
{
Dog dog = new Dog (n, w, a);
arraypets.add (dog);
average = dog.averageAges (a);
}
System.out.print ("Enter more data? (y/n)");
aws = data.readLine ();
aws = aws.toLowerCase ();
}
while (!aws.equals ("n"));
//Calculate average of pets ageaverage = average / arraypets.size ();
average = Math.round (average * 100.0) / 100.0;
// OutputSystem.out.println ("Attributes for each object in the list: ");
for (Pets arraypet:arraypets)
{
System.out.println (arraypet);
}
System.out.println ("Number of pets: " + arraypets.size ());
System.out.println ("Average age of all pets in the list: " + average);
}
}
class Pets
{
protected String Name;
protected double Weight;
protected int Age;
public Pets ()
{
}
public Pets (String name, double weight, int age)
{
this.Name = name;
this.Weight = weight;
this.Age = age;
}
//Returning values formatted by tostring methodpublic String toString ()
{
return "Nombre: " + this.Name + ", Peso: " + this.Weight + ", Edad: " +
this.Age;
}
public void CalculateAverage ()
{
}
}
class Dog extends Pets
{
public Dog ()
{
super ();
}
public Dog (String name, double weight, int age)
{
super (name, weight, age);
}
//Adding the ages of the pets double averageAges (double a){
a += a;
return a;
}
}
class Cat extends Pets
{
public Cat ()
{
super ();
}
public Cat (String name, double weight, int age)
{
super (name, weight, age);
}
//Adding the ages of the petsdouble averageAges (double a)
{
a += a;
return a;
}
}
To learn more about inheritance hierarchy in java see: https://brainly.com/question/15700365
#SPJ4
The process of sending print jobs from the print queue to the printer is called? a. spooling b. queuing c. redirecting d. printing.
Printing is the action of sending print jobs from the print queue to the printer.
Which of the following describes a print server's role?By establishing a network connection with the server, computers may interact with nearby printers. The print server guards printers from overloads. It manages the allocation of ’s due to devices and queues them in order to maintain orderly operation and avoid overloading printer hardware.
The message is produced using the print() method to a standard output device, such the screen. The message can be a phrase or any other object, and the object will be converted to a string before it is presented on the screen.
To know more about Print server's, refer:
brainly.com/question/29738751
#SPJ4
Above all else, what must be protected to maintain the security and benefit of an asymmetric cryptographic solution, especially if it is widely used for digital certificates
To retain the security and benefit of an asymmetric cryptographic solution, especially if it is widely applied to digital certificates, the private key must be maintained.
Which of the subsequent algorithms is used for asymmetric encryption?Modern computers encrypt and decrypt messages using the RSA method. An asymmetric cryptography algorithm is used.
Asymmetric public key cryptography employs a total of one, two, three, or four keys?Asymmetric cryptography, sometimes called public-key cryptography, is a method for encrypting and decrypting messages and safeguarding them from unwanted access or use. It uses a pair of linked keys, a public key and a private key.
To know more about cryptographic visit :-
https://brainly.com/question/3026658
#SPJ4
a(n) ______ machine enables you to install a second operating system on a computer.
A virtual machine (VM) is a type of compute resource that uses software rather than a real computer to run applications and run programs. A physical "host" machine hosts one or more virtual "guest" machines.
What advantages do virtual machines have?A firm can save time, money on management, and physical space by running numerous OS instances on a single piece of hardware because the software is distinct from the actual host computer.
What VM software is the most widely used?The top four virtualization-friendly programs are VMware Fusion, Parallels Desktop, Oracle VM Virtual Box, and VMware Workstation. Really great features are provided for free by Oracle VM Virtual Box. It is also compatible with Mac, Windows, and Linux.
To know more about virtual machine visit :-
https://brainly.com/question/30044516
#SPJ4
Which of the following is one of the primary advantages to using Active Directory to store DNS information
The primary advantages to using Active Directory to store DNS information is fault tolerance
Making it possible for domain client computers to locate a domain controller AND for domain controllers to locate one another in order to replicate changes to the Active Directory database is the major goal of DNS for Active Directory (AD).
Some recommendations to keep in mind when designing fault-tolerant systems for the canning department include:
1) To examine the software's dependability
2) To examine the system's redundancy structure for fault tolerance
3) To assess the use of reliability-oriented designs, programming approaches, and methods.
Four) Creating diverse
5) Resources and methods to be applied
6) The dependability of the software and hardware
Your question is incomplete ut most probably your full question was
Which of the following is one of the primary advantages to using Active Directory to store DNS information
a. fault tolerance b. zero configuration c. low maintenanced.
Learn more about dns at https://brainly.com/question/17163861
#SPJ4
give 4 example for echinodermis cnidarians poriferas platyhilminthes nematodes and annerids
Answer:
Among the largest and most important invertebrate phyla are Porifera (sponges), Cnidaria (jellyfish, corals, and sea anemones), Platyhelminthes (flatworms), Nematoda (roundworms), Mollusca (snails, bivalves, squids, and octopuses), Annelida (segmented worms), Arthropoda (horseshoe crabs, spiders, crabs, centipedes, ..
Which of these is an example of the integrity principle that can ensure your data is accurate and untampered with :
Options of the questions are Given Below.
A: Using Encapsulating Security Payload
B: Using MACs (Message Authentication Codes)
C: Keeping a symmetric key secret
D: Implementing flood guards
(A). Using Encapsulating Security Payload
(B). Using MACs (Message Authentication Codes)
What kind of situation poses a threat to integrity?A person using unauthorized access to a system to modify data in a file is an illustration of an integrity attack. Furthermore, the execution of unauthorized commands on a system could jeopardize the security of the entire system.
Which of these is a good illustration of how the confidentiality principle may protect your data?Data is rendered illegible by encryption to all but those with the necessary password or key. You can guard sensitive files from being read or used by anyone who are not authorized to do so by encrypting them (for instance, using file passwords).
Which of the following can compromise the accuracy of information and data?Human error, whether purposeful or inadvertent, can affect data integrity. Transfer mistakes, such as unwanted changes or data compromise, can happen when data is transferred from one device to another. bugs, malware/viruses, hacking, and other online dangers.
To know more about integrity visit:
https://brainly.com/question/14710912
#SPJ4
LANs, WANs, and MANs all provide users with an accessible and reliable network infrastructure. Which of the below are the most important network differentiating dimensions? Reliability and timing Confidentiality and performance Security and cost Cost and performance
Performance and price what features distinguish networks the most? Timing and dependability Performance and confidentiality Cost and safety Performance and price.
LAN MAN WAN: What is it?An office building, a school, or a home may have a local area network (LAN) that links a number of nearby computers. A state, province, or country, for example, can be covered by a wide area network (WAN).
Which four types of wireless communication networks are under the Metropolitan Area Network (MAN) umbrella?Performance and confidentiality Cost and safety Performance and price. There are four different types of wireless networks, each with a specific purpose: wireless local area networks, wireless metropolitan area networks, wireless personal area networks, and wireless wide area networks.
To know more about LANs visit :-
https://brainly.com/question/13247301
#SPJ4
Medicaid is known as the __________, since it is always billed after another plan has been billed, if other coverage exists.
Since Medicaid is always billed after another plan, if another kind of coverage is available, it is known as the dual-eligible Medi Medi beneficiaries.
What alternative names exist for Medicaid?They could go by other names, such as "Medical Assistance" or "Medi-Cal." Millions of Americans, including some low-income individuals, families with children, pregnant women, the elderly, and people with disabilities, have access to Medicaid, a joint federal and state program, which offers free or inexpensive health coverage.
In the past, what was a Medicaid?Medicare and Medicaid were both enacted into law in 1965 under the authority of Title XIX of the Social Security Act. Medicaid programs are set up to offer low-income people health insurance in every state, the District of Columbia, and the US territories.
To know more about Medicaid visit :-
https://brainly.com/question/17880152
#SPJ4
the unit implemented a quality improvement program to address cleint pain relife. which set of criteria is the best determinant that the goal has been met. quislet
An organization's healthcare results can be improved by implementing a QI program, which is a collection of targeted tasks intended to track, evaluate, and enhance the quality of processes.
What does a QIP mean for healthcare?Each and every Medicare Advantage Organization (MAO) is required to implement a Quality Improvement Project (QIP) and a Chronic Care Improvement Program (CCIP) as part of their mandatory Quality Improvement (QI) Program as outlined in 42 CFR 422.152. For every contract, MAOs are required to carry out a CCIP and QIP.
What are the six areas where quality may be improved?Safety, effectiveness, patient-centeredness, timeliness, efficiency, and equity are the six characteristics of quality in healthcare that Don Berwick identifies.
To know more about QI program visit :-
https://brainly.com/question/29555477
#SPJ4
Parker has an Android smartphone. Which type of processor is used in his mobile device?
a. x86
b. Intel Atom
c. ARM
d. None of these answers
Parker owns an Android phone. His mobile device has an ARM-type processor.
The definition of CPU clock rate?Every second, a large number of instructions (low-level computations like arithmetic) from various programs are processed by your CPU. The clock speed, expressed in GHz, reveals how many cycles your CPU performs per second (gigahertz).
How is RAM used?Random-access memory is referred to as RAM. Data is generally saved in your computer's RAM, or short-term memory, as the processor need it. Contrast this with long-term data stored on your hard disk, which is still accessible even after your computer has been switched off.
To know more about ARM visit :-
https://brainly.com/question/24117933
#SPJ1
- What is the function of these 3 types of application software
Word Processing
Spreadsheet
Database
A word processor is a computer application used to write and edit documents, arrange the text's layout, and preview the printed version on a computer screen.
What purpose does spreadsheet software serve?A spreadsheet is a piece of software that you can use to quickly execute mathematical operations on statistical data, add up many columns of numbers, or calculate averages and percentages.
What use does database software serve?Users of database software can centrally manage, store, access, and save data. Additionally, it makes it simple for users to control who has access to the database and what permissions they have, protecting the data.
To learn more about software visit:
brainly.com/question/985406
#SPJ1