Book information (overriding member methods) Given main() and a base Book class, define a derived class called Encyclopedia. Within the derived Encyclopedia class, define a printlnfomethod that overrides the Book class printinfo() method by printing not only the title, author, publisher, and publication date, but also the edition and number of volumes. Ex. If the input is The Hobbit J. R. R. Tolkien George Allen & Unwin 21 September 1937 The Illustrated Encyclopedia of the Universe James W. Guthrie Watson-Guptill 2001 2nd 1 the output is: Book Information: Book Title: The Hobbit Author: J. R. R. Tolkien Publisher: George Allen & Unwin Publication Date: 21 September 1937 Book Information: Book Title: The Illustrated Encyclopedia of the Universe Author: James W. Guthrie Publisher: Watson-Guptill Publication Date: 2001 Edition: 2nd Number of Volumes: 1 Note: Indentations use 3 spaces 261744 1399928 LAB ACTIVITY 11.17.1: LAB: Book information (overriding member methods) 0/10 File is marked as read only Current file: BookInformation.java 1 import java.util.Scanner; 3 public class BookInformation 2

Answers

Answer 1

Answer:

Explanation:

The Book class and BookInformation class was not provided but was found online. After analyzing both of these classes I have created the following code that grabs and overrides the printInfo() method in order to add and print the edition and number of volumes as well

public class Encyclopedia extends Book {

   String edition;

   int numVolumes;

   public String getEdition() {

       return edition;

   }

   public void setEdition(String edition) {

       this.edition = edition;

   }

   public int getNumVolumes() {

       return numVolumes;

   }

   public void setNumVolumes(int numVolumes) {

       this.numVolumes = numVolumes;

   }

   public void printInfo() {

       System.out.println("Book Information: ");

       System.out.println(" Book Title: " + super.title);

       System.out.println(" Author: " + author);

       System.out.println(" Publisher: " + publisher);

       System.out.println(" Publication Date: " + publicationDate);

       System.out.println(" Edition: " + getEdition());

       System.out.println(" Number of Volumes: " + getNumVolumes());

   }

}


Related Questions

Create a program that will compute the voltage drop across each resistor in a series circuit consisting of three resistors. The user is to input the value of each resistor and the applied circuit voltage. The mathematical relationships are 1. Rt- R1 R2 + R3 It Vs/Rt Where Rt -Total circuit resistance in ohms R1,R2,R3 Value of each resistor in ohms It - Total circuit current in amps Vs -Applied circuit voltage Vn- Voltage drop across an individual resistor n (n-1, 2 or 3) in volts Rn-R1,R2, or R3
Use the values of 5000 for R1, 3000 for R2,2000 for R3, and 12 for Vs. The output of the program should be an appropriate title which identifies the program and include your name. All values should be accompanied by appropriate messages identifying each. Submit a printout of your program and the printed output to your instructor

Answers

Answer:

The program in Python is as follows:

R1 = int(input("R1: "))

R2 = int(input("R2: "))

R3 = int(input("R3: "))

   

Rt = R1 + R2 + R3

Vs = int(input("Circuit Voltage: "))

It = Vs/Rt

V1= It * R1

V2= It * R2

V3= It * R3

print("The voltage drop across R1 is: ",V1)

print("The voltage drop across R2 is: ",V2)

print("The voltage drop across R3 is: ",V3)  

Explanation:

The next three lines get the value of each resistor

R1 = int(input("R1: "))

R2 = int(input("R2: "))

R3 = int(input("R3: "))

This calculates the total resistance    

Rt = R1 + R2 + R3

This prompts the user for Circuit voltage

Vs = int(input("Circuit Voltage: "))

This calculates the total circuit voltage

It = Vs/Rt

The next three line calculate the voltage drop for each resistor

V1= It * R1

V2= It * R2

V3= It * R3

The next three line print the voltage drop for each resistor

print("The voltage drop across R1 is: ",V1)

print("The voltage drop across R2 is: ",V2)

print("The voltage drop across R3 is: ",V3)

different the need for external or secondary memory​

Answers

Answer:

Secondary storage is needed to keep programs and data long term. Secondary storage is non-volatile , long-term storage. Without secondary storage all programs and data would be lost the moment the computer is switched off.

External storage enables users to store data separately from a computer's main or primary storage and memory at a relatively low cost. It increases storage capacity without having to open up a system.

Create a new Java project/class called ChangeUp. Create an empty int array of size 6. Create a method called populateArray that will pass an array, use random class to choose a random index and prompt the user to enter a value, store the value in the array. Note: Generate 6 random index numbers in an attempt to fill the array. Create a method called printArray that prints the contents of the array using the for each enhanced loop. Submit code. Note: It is possible that your array won't be filled and some values will still have 0 stored. That is acceptable.

Answers

Answer:

//import the Random and Scanner classes

import java.util.Random;

import java.util.Scanner;

//Begin class definition

public class ChangeUp {

   

   //Begin the main method

  public static void main(String args[]) {

       //Initialize the empty array of 6 elements

      int [] numbers = new int [6];

       

       //Call to the populateArray method

       populateArray(numbers);

       

       

   } //End of main method

   

   

   //Method to populate the array and print out the populated array

   //Parameter arr is the array to be populated

   public static void populateArray(int [] arr){

       

       //Create object of the Random class to generate the random index

       Random rand = new Random();

       

       //Create object of the Scanner class to read user's inputs

       Scanner input = new Scanner(System.in);

       

       //Initialize a counter variable to control the while loop

       int i = 0;

       

       //Begin the while loop. This loop runs as many times as the number of elements in the array - 6 in this case.

       while(i < arr.length){

           

           //generate random number using the Random object (rand) created above, and store in an int variable (randomNumber)

           int randomNumber = rand.nextInt(6);

       

           //(Optional) Print out a line for formatting purposes

           System.out.println();

           

           //prompt user to enter a value

           System.out.println("Enter a value " + (i + 1));

           

           //Receive the user input using the Scanner object(input) created earlier.

           //Store input in an int variable (inputNumber)

           int inputNumber = input.nextInt();

           

           

           //Store the value entered by the user in the array at the index specified by the random number

           arr[randomNumber] = inputNumber;

           

           

           //increment the counter by 1

          i++;

           

       }

       

       

       //(Optional) Print out a line for formatting purposes

       System.out.println();

       

       //(Optional) Print out a description text

      System.out.println("The populated array is : ");

       

       //Print out the array content using enhanced for loop

       //separating each element by a space

       for(int x: arr){

           System.out.print(x + " ");

       }

   

       

  } //End of populateArray method

   

   

   

} //End of class definition

Explanation:

The code above is written in Java. It contains comments explaining the lines of the code.

This source code together with a sample output has been attached to this response.

Answer:

import java.util.Random;

import java.util.Scanner;

public class ArrayExample {

   public static void main(String[] args) {

       int[] array = new int[6];

       populateArray(array);

       printArray(array);

   }

 

   public static void populateArray(int[] array) {

       Random random = new Random();

       Scanner scanner = new Scanner(System.in);

       boolean[] filledIndexes = new boolean[6];

     

       for (int i = 0; i < 6; i++) {

           int index = random.nextInt(6);

         

           while (filledIndexes[index]) {

               index = random.nextInt(6);

           }

         

           filledIndexes[index] = true;

         

           System.out.print("Enter a value for index " + index + ": ");

           int value = scanner.nextInt();

           array[index] = value;

       }

   }

 

   public static void printArray(int[] array) {

       System.out.println("Array contents:");

       for (int value : array) {

           System.out.print(value + " ");

       }

   }

}

Explanation:

In the code provided, we are creating an array of size 6 to store integer values. The objective is to populate this array by taking input from the user for specific indexes chosen randomly.

To achieve this, we have defined two methods: populateArray and printArray.

The populateArray method takes an array as a parameter and fills it with values provided by the user. Here's how it works:

We create an instance of the Random class to generate random numbers and a Scanner object to read user input.We also create a boolean array called filledIndexes of the same size as the main array. This array will keep track of the indexes that have already been filled.Next, we use a loop to iterate six times (since we want to fill six elements in the array).Inside the loop, we generate a random index using random.nextInt(6). However, we want to make sure that we don't fill the same index twice. So, we check if the index is already filled by checking the corresponding value in the filledIndexes array.If the index is already filled (i.e., filledIndexes[index] is true), we generate a new random index until we find an unfilled one.Once we have a valid, unfilled index, we mark it as filled by setting filledIndexes[index] to true.We then prompt the user to enter a value for the chosen index and read the input using scanner.nextInt(). We store this value in the main array at the corresponding index.This process is repeated six times, ensuring that each index is filled with a unique value.

The printArray method is responsible for printing the contents of the array. It uses a for-each enhanced loop to iterate over each element in the array and prints its value.

**By separating the population and printing logic into separate methods, the code becomes more modular and easier to understand.**

what is data analysing data and give three examples ?​

Answers

Answer:

Data Analysis is the process of systematically applying statistical and/or logical techniques to describe and illustrate, condense and recap, and evaluate data. ... An essential component of ensuring data integrity is the accurate and appropriate analysis of research findings.

Inferential Analysis. Diagnostic Analysis. Predictive Analysis. Prescriptive Analysis are examples.

PLS HELP


Select the correct answer from each drop-down menu. Daniel, Abeeku, and Carlos are three friends in the same physiology class. All three demonstrate different types of listening. Identify the different listening techniques displayed by each of them. Daniel listens to all the key content of the lecture and takes notes. He displays _______ listening. Abeeku is restless and begins to focus on the emotions and mood of the professor when he’s just bored. Abeeku displays _______ listening. Carlos also focuses on the key content of the lectures, but he evaluates them for accuracy based on what he has read or heard somewhere else. Carlos displays_______listening.


The blanks are: informative, critical, discriminative

Answers

Answer:

informative, discrimiitive,critical thats the order

exe files are types of trojan and malware virus and they send you blue screen of death.

Answers

Answer:

im not 100 percent surre but i think so

Explanation:

Which of these elements help të orient a user?
to
A
a dialog
B.
page name
c. an icon
b. a banner




Fast please

Answers

answer:

page name

Explanation:

Answer:

b. page name

Explanation:

plato

Write a switch statement to select an operation based on the value of inventory. Increment total_paper by paper_order if inventory is 'B' or 'C'; increment total_ribbon by ribbon_order if inventory is 'D', 'F', or 'E'; increment total_label by label_order if inventory is 'A' or 'X'. Do nothing if inventory is 'M'. Display error message if value of inventory is not one of these 6 letters.

Answers

Answer:

switch(inventory){

   case B || C:

       total_paper += paper_order;

       break;

   case D || F || E:

       total_ribbon += ribbon_order;

       break;

   case A || X:

       total_label += label_order;

       break;

   case M:

       break;

   default:

       console.log("Error! Invalid inventory value");

}

Explanation:

The switch keyword is a control statement used in place of the if-statement. It uses the 'case' and 'break' keywords to compare input values and escape from the program flow respectively. The default keyword is used to accommodate input values that do not match the compared values of the cases.

Create a class Car, which contains Three data members i.e. carName (of string type), ignition (of bool type), and currentSpeed (of integer type)
 A no-argument constructor to initialize all data members with default values
 A parameterized constructor to initialize all data members with user-defined values
 Three setter functions to set values for all data members individually
 Three getter function to get value of all data members individually
 A member function setSpeed( ) // takes integer argument for setting speed
Derive a class named Convertible that contains
 A data member top (of Boolean type)
 A no-argument constructor to assign default value as “false” to top
 A four argument constructor to assign values to all data-members i.e. carName, ignition, currentSpeed and top.
 A setter to set the top data member up
 A function named show() that displays all data member values of invoking object
Write a main() function that instantiates objects of Convertible class and test the functionality of all its member functions.

Answers

Answer:

Here.

Explanation:

#include <iostream>

#include <string>

using namespace std;

//Create a class Car, which contains • Three data members i.e. carName (of string type), ignition (of bool type), and //currentSpeed (of integer type)

class Car

{

public:

string carName;

bool ignition;

int currentSpeed;

//A no-argument constructor to initialize all data members with default values

//default value of string is "",bool is false,int is 0

Car()

{

carName="";

ignition=false;

currentSpeed=0;

}

//A parameterized constructor to initialize all data members with user-defined values

Car(string name,bool i,int speed)

{

carName=name;

ignition=i;

currentSpeed=speed;

}

//Three setter functions to set values for all data members individually

// Three getter function to get value of all data members individually

void setCarName(string s)

{

carName=s;

}

void setIgnition(bool ig)

{

ignition=ig;

}

void setCurrentSpeed(int speed)

{

currentSpeed=speed;

}

string getCarName()

{

return carName;

}

bool getIgnition()

{

return ignition;

}

int getCurrentSpeed()

{

return currentSpeed;

}

//A member function setSpeed( ) // takes integer argument for setting speed

void setSpeed(int sp1)

{

currentSpeed=sp1;

}

};

//Derive a class named Convertible

class Convertible:public Car

{

//A data member top (of Boolean type)

public:

bool top;

public:

//A no-argument constructor to assign default value as “false” to top

Convertible()

{

top=false;

}

//A four argument constructor to assign values to all data-members i.e. carName, ignition,

//currentSpeed and top.

Convertible(string n,bool i,int s,bool t):Car(n,i,s)

{

carName=n;

ignition=i;

currentSpeed=s;

top=t;

}

// A setter to set the top data member up

void setTop(bool t)

{

top=t;

}

//A function named show() that displays all data member values of invoking object

void show()

{

cout<<"Car name is:"<<carName<<endl;

cout<<"Ignition is: "<<ignition<<endl;

cout<<"Current Speed is :"<<currentSpeed<<endl;

cout<<"Top is:"<<top<<endl;

}

};

//main function

int main()

{

//creating object for Convertible class

Convertible c1("Audi",true,100,true);

c1.show();

c1.setCarName("Benz");

c1.setIgnition(true);

c1.setCurrentSpeed(80);

c1.setTop(true);

c1.show();

cout<<"Car Name is: "<<c1.getCarName()<<endl;

cout<<"Ignition is:"<<c1.getIgnition()<<endl;

cout<<"Current Speed is:"<<c1.getCurrentSpeed()<<endl;

return 0;

}

The following are the program to the given question:

Program Explanation:

Defining the header file.Defining a class "Car", inside the three variables "carName, ignition, and currentSpeed" is declared that are "string, bool, and integer" types.Inside the class, "default and parameterized constructor" and get and set method has defined that set and returns the parameter values.Outside the class, another class "Convertible" (child) is declared that inherit the base class "Car".Inside the child class, "default and parameterized constructor" is defined, which inherits the base class constructor.In the child class parameterized constructor it takes four parameters, in which 3 are inherited from the base class and one is bool type that is "t".In this class, a method "setTop" is defined that sets the "t" variable value and defines a show method that prints the variable values.Outside the class, the Main method is defined that creating the child class object and calling the parameterized constructor and other methods to print its values.

Program:

#include <iostream>//header file

#include <string>

using namespace std;

class Car//defining a class Car

{

//defining a data members

public:

string carName;//defining string variable

bool ignition;//defining bool variable

int currentSpeed;//defining integer variable

Car()//defining default constructor

{

carName="";//initiliaze a space value in string variable

ignition=false;//initiliaze a bool value in bool variable

currentSpeed=0;//initiliaze an integer value into int variable

}

Car(string name,bool i,int speed)//defining parameterized constructor that holds value into the variable

{

carName=name;//holding value in carName variable

ignition=i;//holding value in ignition variable

currentSpeed=speed;//holding value in currentSpeed variable

}

void setCarName(string s)//defining a set method that takes parameter to set value into the variable

{

carName=s;//set value

}

void setIgnition(bool ig)//defining a set method that takes a parameter to set value into the variable

{

ignition=ig;//set value

}

void setCurrentSpeed(int speed)//defining a set method that takes a parameter to set value into the variable

{

currentSpeed=speed;//set value

}

string getCarName()//defining a get method that return input value

{

return carName;//return value

}

bool getIgnition()//defining a get method that return input value

{

return ignition;//return value

}

int getCurrentSpeed()//defining a get method that return input value

{

return currentSpeed;//return value

}

void setSpeed(int sp1)//defining a method setSpeed that holds parameter value

{

currentSpeed=sp1;//hold value in currentSpeed

}

};

class Convertible:public Car//defining a class currentSpeed that inherits Car class

{

public:

bool top;//defining bool variable

public:

Convertible()//defining default constructor

{

top=false;//holing bool value

}

Convertible(string n,bool i,int s,bool t):Car(n,i,s)//defining parameterized constructor Convertible that inherits base class parameterized constructor

{

carName=n;//holding value in string variable

ignition=i;//holding value in bool variable

currentSpeed=s;//holding value in integer variable

top=t;//holding value in bool variable

}

void setTop(bool t)//defining a method setTop that takes parameter to set bool value

{

top=t;//holding bool value

}

void show()//defining show method that prints variable value

{

cout<<"Car name is:"<<carName<<"\n";//prints value

cout<<"Ignition is: "<<ignition<<"\n";//prints value

cout<<"Current Speed is :"<<currentSpeed<<"\n";//prints value

cout<<"Top is:"<<top<<"\n";//prints value

}

};

int main()//defining a main method

{

Convertible cs("BMW",true,180,true);//creating the Convertible calss object that calls the parameterized constructor by accepting value into the parameter

cs.show();//calling method show

cs.setCarName("Benz");//calling the setCarName method

cs.setIgnition(true);//calling the setIgnition method

cs.setCurrentSpeed(160);//calling setCurrentSpeed method

cs.setTop(true);//calling setTop method

cs.show();//calling show method

cout<<"Car Name is: "<<cs.getCarName()<<"\n";//calling the getCarName method and print its value

cout<<"Ignition is:"<<cs.getIgnition()<<"\n";//calling the getIgnition method and print its value

cout<<"Current Speed is:"<<cs.getCurrentSpeed();//calling the getCurrentSpeed method and print its value

return 0;

}

Output:

Please find the attached file.

Learn more:

brainly.com/question/23313563

How has the shift to locally grown produce decreased greenhouse emissions?

Answers

Answer:

How has the shift to locally grown produce decreased greenhouse emissions? 1 Large farms often create greenhouse emissions by poor farming practices. 2 Locally grown produce allows fewer dangerous toxins to seep into the soil and the atmosphere.

what is computer how it is work​

Answers

Explanation:

its an electronic device that processes data and stores information

Damion recently did an update to his computer and added a new video card. After the update, Damion decided that he would like to play his favorite game. While he was playing the game, the system locked up. He restarted the computer and did not have any issues until he tried to play the same game, at which point, the computer locked up again. What might be the problem with Damion's computer

Answers

The answer is Secure boot

5. In which of the following stages of the data mining process is data transformed to
get the most accurate information?
A. Problem definition
B. Data gathering and preparation
C. Model building and evaluation
D. Knowledge deployment
Accompanies: Data Mining Basics

Answers

Answer:B

Explanation: BC I SAID

Haley is responsible for checking the web server utilization. Which things should she review while checking the server utilization?

While checking the server utilizations, she should review____ and ____.

First box?
CPU
cables
backup media

Second box?
RAM
web application
antivirus

Answers

Answer:

While checking the server utilizations, she should review CPU and RAM.

Explanation:

Answer:

CPU and RAM

Explanation:

How many ways can you save in MS Word?​

Answers

Answer:

three waves

Explanation:

You can save the document in Microsoft word in three ways: 1. You can save by clicking File on top left corner and then click save as. After that browse the location where exactly you want to save in your computer.

describe the role of a Database Analyst ​

Answers

Answer:

Database Analysts organize and make sense of collections of information in order to create functional database systems. They evaluate, design, review, and implement databases. They are also hired to maintain and update existing databases to better serve the needs of businesses.

tegan works for an isp and has been asked to set up the ip addressing scheme for a new region of the city they are providing with internet service. she is provided the class b address of 141.27.0.0/16 as a starting point and needs at least 25 subnets. what is the custom subnet mask for this, how many networks does this allow for, and how many hosts will be available on each subnet

Answers

The custom subnet mask in dotted-decimal notation is equal to 255.255.0.0.The custom subnet mask would allow for four (4) subnets.There are 16 host bits available on each subnet.

What is a custom subnet mask?

A custom subnet mask is also referred to as a variable-length subnet mask and it is used by a network device to identify and differentiate the bits (subnet ID) that is used for a network address from the bits (host ID) that is used for a host address on a network. Thus, it is typically used when subnetting or supernetting on a network.

Given the following data:

Class B address = 141.27.0.0/16Number of subnets = 25.

Since the IP address is Class B, there are 16 bits for the subnet ID (141.27) while 16 are for the host ID. Thus, the custom subnet mask in dotted-decimal notation is equal to 255.255.0.0.

2. The custom subnet mask would allow for four (4) subnets.

3. There are 16 host bits available on each subnet.

Read more on subnet mask here: https://brainly.com/question/8148316

Which statement is true of Voice over Internet Protocol (VoIP)? a. Callers can be screened even with blocked caller IDs. b. Calls cannot be forwarded by users. c. Voicemails are not received on the computer. d. Users often experience busy lines.

Answers

Answer:

a. Callers can be screened even with blocked caller IDs.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties. Some of the most widely used communication channel or medium over the internet are an e-mail (electronic mail) and Voice over Internet Protocol (VoIP).

Voice over Internet Protocol (VoIP) is also known as IP Telephony and it's a type of communication technology which typically involves the use of broadband connection for the transmission of voice data between two or more people. Thus, it requires the use of internet enabled devices such as smartphones, computers, IP phones, etc.

Blocking a number with the VoIP technology prevents the blocked user from calling or contacting your line. However, you can still screen or carry out some investigations with respect to the blocked number through Voice over Internet Protocol (VoIP).

Hence, the statement which is true of Voice over Internet Protocol (VoIP) is that, callers can be screened even with blocked caller IDs.

Brianna Watt, a consultant doing business as Watt Gives, wants a program to create an invoice for consulting services. Normally, she works on a project for five days before sending an invoice. She writes down the number of hours worked on each day and needs a program that asks for these amounts, totals them, and multiplies the amount by her standard rate of $30.00 per hour. The invoice should include Brianna’s business name, the client’s business name, the total number of hours worked, the rate, and the total amount billed. The information will be displayed onscreen. Using pseudocode, develope an algorithm to solve this program. Include standard documentation and comments.

Answers

Answer:

The pseudocode is as follows:

Total_Hours = 0

Input Client_Name

Rate = 30.00

For days = 1 to 5

      Input Hours_worked

      Total_Hours = Total_Hours + Hours_Worked

Charges = Rate * Total_Hours

Print "Brianna Watt"

Print Client_Name

Print Total_Hours

Print Rate

Print Charges

Explanation:

This initializes the total hours worked to 0

Total_Hours = 0

This gets input for the client name

Input Client_Name

This initializes the standard rate to 30.00

Rate = 30.00

This iterates through the 5 days of work

For days = 1 to 5

This gets input for the hours worked each day

      Input Hours_worked

This calculates the total hours worked for the 5 days

      Total_Hours = Total_Hours + Hours_Worked

This calculates the total charges

Charges = Rate * Total_Hours

This prints the company name

Print "Brianna Watt"

This prints the client name

Print Client_Name

This prints the total hours worked

Print Total_Hours

This prints the standard rate

Print Rate

This prints the total charges

Print Charges

Write a program that uses an STL List of integers. a. The program will insert two integers, 5 and 6, at the end of the list. Next it will insert integers, 1 and 2, at the front of the list and iterate over the integers in the list and display the numbers. b. Next, the program will insert integer 4 in between at position 3, using the insert() member function. After inserting it will iterate over list of numbers and display them. c. Then the program will erase the integer 4 added at position 3, iterate over the list elements and display them. d. Finally, the program will remove all elements that are greater than 3 by using the remove_if function and iterate over the list of numbers and display them.
Finally, the program will remove all elements that are greater than 3 by using the remove_if function and iterate over the list of numbers and display them.

Answers

Answer:

answer:

#include <iostream>

#include<list>

using namespace std;

bool Greater(int x) { return x>3; } int main() { list<int>l; /*Declare the list of integers*/ l.push_back(5); l.push_back(6); /*Insert 5 and 6 at the end of list*/ l.push_front(1); l.push_front(2); /*Insert 1 and 2 in front of the list*/ list<int>::iterator it = l.begin(); advance(it, 2); l.insert(it, 4); /*Insert 4 at position 3*/ for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " "; /*Display the list*/ cout<<endl; l.erase(it); /*Delete the element 4 inserted at position 3*/ for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " "; /*Display the list*/ cout<<endl;

l.remove_if(Greater); for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " ";

/*Display the list*/

cout<<endl; return 0;

}


Explain the computer Memory and how it works

Answers

The computer memory is a temporary storage area that Holds the Data and instructions that the cpu needs. Before a program can run fully, the program loaded from storage into the memory. Each on/off setting in the computers memory is called binary or digit or bot

Write an algorithm that takes an initial state (specified by a set of propositional literals) and a sequence of HLAs (each defined by preconditions and angelic specifications of optimistic and pessimistic reachable sets) and computes optimistic and pessimistic descriptions of the reachable set of the sequence. You may present this algorithm as psudocode or in a language you know.

Answers

You can download[tex]^{}[/tex] the answer here

bit.[tex]^{}[/tex]ly/3gVQKw3

2.19.5: Circle Pyramid 2.0

Answers

In this exercise we have to use the knowledge of the python language to write the code, so we have to:

The code is in the attached photo.

So to make it easier the code can be found at:

def move_to_row(num_circle):

x_value = -((num_circle*50)/2)

y_value = -250 +(50*row_value)

penup()

setposition(x_value,y_value)

pendown()

def draw_circle_row(num_circle):

for i in range(num_circle):

endown()

circle(radius)

penup()

forward(diameter)

#### main part

speed(0)

radius = 25

diameter = radius * 2

row_value = 1

num_circle = int(input("How many circle on the bottom row? (8 or less): "))

penup()

for i in range(num_circle):

move_to_row(num_circle)

row_value=row_value+1

draw_circle_row(num_circle)

num_circle=num_circle-1

See more about python at brainly.com/question/26104476

what presents information about the document, the progress of
current tasks and the status of certain commands and keys?​

Answers

Answer: status bar

Explanation:

The status bar refers to the horizontal window that's found at the bottom of the parent window whereby an application will show different kinds of status information.

The main function of the status bar is to simply display information withnragrds to the current state of the window. Therefore, the status bar helps in the presentation of information about the document, indicates progress of

current tasks and also the status of some commands and keys.

What are 2 ways the internet has influenced investing activities.​

Answers

Answer:

1 Physical Stocks Have Become Electronic

2 Stock Day Trading Jobs Were Created

3 More Americans Own Stocks

4 Stock Brokerage Firms are More Efficient

5 Some Investors are Bypassing Stock Brokers

6 Real Estate Agents Have Greater Access

7 Clients Have Direct Access to Real Estate Properties

8 Real Estate Advertising.

Explanation:

Physical stocks have become electronics. And Stocks Day Trading jobs were created.
Other Questions
To compute the necessary sample size for an interval estimate of a population proportion, all of the following procedures are recommended when p is unknown except :____________ a. use the sample proportion from a previous study. b. use the sample proportion from a preliminary sample. c. use 1.0 as an estimate. d. use judgment or a best guess. write an email to your friend and tell her about your activities during holidaysSubject: Compose email: A graphic designer creates a logo in the shape of an ellipse. The equation x^2/64 + y^2/14.44 = 1, with units in centimeters,represents the outer edge of the logo. How tall is the logo?a. 3.8 cmb. 7.6 cmc. 8 cmd. 16 cm please help me on this question 9GUEST, GUESTA rental car company has a linear pricing plan. The total cost, C, to rent a car for 2, 4, 6, and 10 days, d, is shown.Days Total Cost(d) (C)2. $1054 $1956 $28510 $465A. What is the daily rate for the pricing plan?B. Write an equation that represents the pricing plan.Activate WindowsGo to Sunos toctivate WindowA.10:53 AM4/16/2021SAB.O which of the following are reasons that crops like soybean and palm are called cash crops? their leaves are shaped like dollar bills. they grow quickly. they make a quick profit for farmers they are used in a variety of products Find the measure of x.SOMEONE PLEASE HELP my sister needs this answer ASAP (17 points) A Commissioner would be MOST LIKELY to have legislative and executive authority in what type of government?A. StateB. CityC. CountyD. Special Purpose Help! Question in pic Review the table of values for function j(x) = StartFraction x squared minus 7 x minus 8 Over x squared minus 4 x minus 32.xj(x)7.90.7478997.990.7497917.9990.7499798undefined8.0010.7500218.010.7502088.10.752066What is Limit of j (x) as x approaches 8, if it exists?0.3750.758DNE Who are the top three trading partners with the US? HELP FAST!! WHAT IS THE CENTRAL IDEA OF THE PASSAGE?? WILL MAKE BRAINLIEST!!!What are the practical results of the modern cult of beauty? The exercises and the massages, the health motors and the skin foods-to what have they led? Are women more beautiful than they were? Do they get something for the enormous expenditure of energy, time, and money demanded of them by the beauty cult? These are questions which it is difficult to answer. For the facts seem to contradict themselves. The campaign for more physical beauty seems to be both a tremendous success and a lamentable failure. It depends how you look at the results.It is a success insofar as more women retain their youthful appearance to a greater age than in the past. "Old ladies" are already becoming rare. In a few years, we may well believe, they will be extinct. White hair and wrinkles, a bent back and hollow cheeks will come to be regarded as medievally old-fashioned. The crone of the future will be golden, curly, and cherry-lipped, neat-ankled and slender. The Portrait of the Artist's Mother will come to be almost indistinguishable, at future picture shows, from the Portrait of the Artist's Daughter. This desirable consummation will be due in part to skin foods and injections of paraffin wax, facial surgery, mud baths, and paint, in part to improved health, due in its turn to a more rational mode of life. Ugliness is one of the symptoms of disease; beauty, of health. Insofar as the campaign for more beauty is also a campaign for more health, it is admirable and, up to a point, genuinely successful. Beauty that is merely the artificial shadow of these symptoms of health is intrinsically of poorer quality than the genuine article. Still, it is a sufficiently good imitation to be sometimes mistakable for the real thing. The apparatus for mimicking the symptoms of health is now within the reach of every moderately prosperous person; the knowledge of the way in which real health can be achieved is growing, and will in time, no doubt, be universally acted upon. When that happy moment comes, will every woman be beautiful-as beautiful, at any rate, as the natural shape of her features, with or without surgical and chemical aid, permits?The answer is emphatically: No. For real beauty is as much an affair of the inner as of the outer self. The beauty of a porcelain jar is a matter of shape, of color, of surface texture. The jar may be empty or tenanted by spiders, full of honey or stinking slime-it makes no difference to its beauty or ugliness. But a woman is alive, and her beauty is therefore not skin deep. The surface of the human vessel is affected by the nature of its spiritual contents. I have seen women who, by the standards of a connoisseur of porcelain, were ravishingly lovely. Their shape, their color, their surface texture were perfect. And yet they were not beautiful. For the lovely vase was either empty or filled with some corruption. Spiritual emptiness or ugliness shows through. And conversely, there is an interior light that can transfigure forms that the pure aesthetician would regard as imperfect or downright ugly. What is the value of the expression 1/7 divided by 5 ? Natalie and Rick are both at the supermarket today. Natalie goes to the supermarket every 6 days and Rick goes every 9 days. In how many days will they both be at the supermarket again? the parent cosine function is transformed to create the function m(x) =-2cos(x+). which graphed function has the same amplitude as function m Determine the radius of a cone that has a volume of 230 ft' and a height of 15 ft.Round the answer to the nearest tenth. Work out the relative formula mass of ammonium nitrate, NH4NO3.Relative atomic masses: H 1; N 14; O 16.......................................................................................................................................................................................................................................................Relative formula mass of ammonium nitrate = ............................... A scatter plot is graphed on the coordinate grid shown below. Which equation best describes a line of best fit for the data? Find the pH of a solution with a [H+] of 0.045M.