LAB: Book information (overriding member functions)Given main() and a base Book class, define a derived class called Encyclopedia. Within the derived Encyclopedia class, define a PrintInfo() function that overrides the Book class' PrintInfo() function 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 HobbitJ. R. R. TolkienGeorge Allen & Unwin21 September 1937The Illustrated Encyclopedia of the UniverseJames W. GuthrieWatson-Guptill20012nd1the output is:Book Information:Book Title: The HobbitAuthor: J. R. R. TolkienPublisher: George Allen & UnwinPublication Date: 21 September 1937Book Information:Book Title: The Illustrated Encyclopedia of the UniverseAuthor: James W. GuthriePublisher: Watson-GuptillPublication Date: 2001Edition: 2ndNumber of Volumes: 1Note: Indentations use 3 spaces.LAB ACTIVITY9.15.1: LAB: Book information (overriding member functions)main.cpp#include "Book.h"#include "Encyclopedia.h"#include #include using namespace std;int main(int argc, char* argv[]) {Book myBook;Encyclopedia myEncyclopedia;string title, author, publisher, publicationDate;string eTitle, eAuthor, ePublisher, ePublicationDate, edition;int numVolumes;getline(cin, title);getline(cin, author);getline(cin, publisher);getline(cin, publicationDate);getline(cin, eTitle);getline(cin, eAuthor);getline(cin, ePublisher);getline(cin, ePublicationDate);getline(cin, edition);cin >> numVolumes;myBook.SetTitle(title);myBook.SetAuthor(author);myBook.SetPublisher(publisher);myBook.SetPublicationDate(publicationDate);myBook.PrintInfo();myEncyclopedia.SetTitle(eTitle);myEncyclopedia.SetAuthor(eAuthor);myEncyclopedia.SetPublisher(ePublisher);myEncyclopedia.SetPublicationDate(ePublicationDate);myEncyclopedia.SetEdition(edition);myEncyclopedia.SetNumVolumes(numVolumes);myEncyclopedia.PrintInfo();return 0;}Book.h#ifndef BOOKH#define BOOKH#include using namespace std;class Book {public:void SetTitle(string userTitle);string GetTitle();void SetAuthor(string userAuthor);string GetAuthor();void SetPublisher(string userPublisher);string GetPublisher();void SetPublicationDate(string userPublicationDate);string GetPublicationDate();void PrintInfo();protected:string title;string author;string publisher;string publicationDate;};#endifBook.cpp#include "Book.h"#include void Book::SetTitle(string userTitle) {title = userTitle;}string Book::GetTitle() {return title;}void Book::SetAuthor(string userAuthor) {author = userAuthor;}string Book::GetAuthor() {return author;}void Book::SetPublisher(string userPublisher) {publisher = userPublisher;}string Book::GetPublisher() {return publisher;}void Book::SetPublicationDate(string userPublicationDate) {publicationDate = userPublicationDate;}string Book::GetPublicationDate() {return publicationDate;}void Book::PrintInfo() {cout << "Book Information: " << endl;cout << " Book Title: " << title << endl;cout << " Author: " << author << endl;cout << " Publisher: " << publisher << endl;cout << " Publication Date: " << publicationDate << endl;}#ifndef ENCYCLOPEDIAH#define ENCYCLOPEDIAH#include "Book.h"Encyclopedia.hclass Encyclopedia : public Book {// TODO: Declare mutator functions -// SetEdition(), SetNumVolumes()// TODO: Declare accessor functions -// GetEdition(), GetNumVolumes()// TODO: Declare a PrintInfo() function that overrides// the PrintInfo in Book class// TODO: Declare private fields: edition, numVolumes};#endifEncyclopedia.cpp#include "Encyclopedia.h"#include // Define functions declared in Encyclopedia.h

Answers

Answer 1

void Encyclopedia::SetEdition(string userEdition) {edition = userEdition;}string Encyclopedia::GetEdition() {return edition;}void Encyclopedia::SetNumVolumes(int userNumVolumes) {numVolumes = userNumVolumes;}int Encyclopedia::GetNumVolumes() {return numVolumes;}void Encyclopedia::PrintInfo() {cout &lt;&lt; "Book Information: " &lt;&lt; endl;cout &lt;&lt; " Book Title: " &lt;&lt; title &lt;&lt; endl;cout &lt;&lt; " Author: " &lt;&lt; author &lt;&lt; endl;cout &lt;&lt; " Publisher: " &lt;&lt; publisher &lt;&lt; endl;cout &lt;&lt; " Publication Date: " &lt;&lt; publicationDate &lt;&lt; endl;cout &lt;&lt; " Edition: " &lt;&lt; edition &lt;&lt; endl;cout &lt;&lt; " Number of Volumes: " &lt;&lt; numVolumes &lt;&lt; endl;}

For more questions like Encyclopedia click the link below:

https://brainly.com/question/29632513

#SPJ4


Related Questions

imagine a designer finishes a client project and wants to write a case study. they draft a case study that highlights their sketches, wireframes, and polished designs. should they also include a description of the project and its goals?

Answers

Yes they can include a description of the project and its goals.  

What is project?

A project is described as a collection of tasks that must be completed in order to achieve a specific goal.  Projects can be managed by one person or one hundred, and they can be simple or complex.

Instead of focusing solely on the appearance of the design project's final result, the case study aims to contextualize it and demonstrate how it functions in a real-world setting. A community as a whole or a particular group of people may be the subject of a study.

Thus, yes they can include a description of the project and its goals.  

To learn more about project, refer to the link  below:

https://brainly.com/question/29564005

#SPJ1

aaron, a businessman, has a method of keeping track of accounts receivable by sorting them into groups of those that are 30, 60, 90, and over 90 days past due. aaron decides to sell long delinquent accounts to a collection agency. which of the following actions will the collection agency which buys the delinquent accounts from aaron do?

Answers

Aaron, a businessman, has a method of keeping track of accounts receivable by sorting them into groups of those that are 30, 60, 90, and over 90 days past due. Aaron's key in controlling receivables is to have them aged, by sorting them into groups. The act that is done by Aaron is called data collection.

Data collection refers to the process of gathering and measuring information such as aged, hobby, gender, etc. A kind of data can be divided into two categories: quantitative and qualitative.

Aaron, a businessman, has a method of keeping track of accounts receivable by sorting them into groups of those that are 30, 60, 90, and over 90 days past due. Aaron's key in controlling receivables is to have them _____, by sorting them into groups.

A. collected

B. aged

C. merged

D. written-off

Learn more about Data collection here, https://brainly.com/question/21605027

#SPJ4

Write a MATLAB function that accepts matrix A of size n x n and computes the LU decomposition of A with partial pivoting. The function call must be [L, U, P] = function(A). Please remember that you are not allowed to use any built in MATLAB functions to compute the LU decomposition. you are allowed to use functions like max. HINT: Test your code by creating a random matrix, computing the LU decomposition and checking the norm of P*A-L*U.

Answers

Create the row and column permutation matrices by computing the LU factorization of S using the sparse matrix syntax. lu(S) = [L,U,P,Q];

Compare the outcome of permuting the triangular factors L*U with that of permuting the rows and columns of S with P*S*Q. Create a matrix A = LU where L is the lower triangular matrix and U is the upper triangular matrix, with principal diagonal components equal to 1. This equation can be solved to obtain y1, y2, and y3. Equation is solved to provide X, x1, x2, and x3. Ax=bLUx=bUx=L1bx=U1(L1b), where x=U1(L1b) x = U 1 (L 1 b) is evaluated using back substitution after evaluating L1b L 1 b using forward substitution. Thus, two linear systems have been used in place of Ax=b A x = b.

Learn more about system here-

https://brainly.com/question/18825060

#SPJ4

true or false? a block cipher encrypts one byte (or bit) at a time, whereas a stream cipher encrypts an entire block of data at a time

Answers

A block cipher encrypts one byte (or bit) at a time, whereas a stream cipher encrypts an entire block of data at a time is true.

What is a block cipher?

Using a cryptographic key and algorithm, a block cipher encrypts data in blocks to create ciphertext. A stream cipher encrypts data one bit at a time, as opposed to the block cipher, which processes fixed-size blocks simultaneously.

Therefore, note that while stream ciphers change plaintext into ciphertext one byte at a time, block ciphers transform plaintext one block (64/128/256 bits) at a time. Block ciphers become slower as a result since a whole block must be gathered before the data can be encrypted or decrypted.

Learn more about block cipher from

https://brainly.com/question/29577420
#SPJ1

A large offshore oil platform needs to transmit signals between different devices on the platform with high reliability and low latency. However, they are unable to cover the platform with their existing Wi-Fi connections. What is the best solution for the platform in this scenario?

Answers

Using a stronger wifi connection is the most dependable approach to deliver signals between devices on the platform with high dependability and low latency.

employing a strong dual-band router as opposed to a single band router, if at all possible. Oceanic human activity is expanding, necessitating the availability of high-speed network access that is convenient, dependable, and affordable and is comparable to terrestrial Internet services. The vast differences between the terrestrial and oceanic environments prevent the seamless expansion of terrestrial Internet, and satellite services are still very expensive, particularly for regular users, with communication quality that is dependent on the weather and cannot cover underwater networks.

Learn more about communication here-

https://brainly.com/question/18825060

#SPJ4

Jerry has a problem with a package he just received—two items from his order are missing. Who should he contact to resolve the problem?.

Answers

He should contact who he got the package from or the company that runs the business

write a recursive method that takes a string as a parameter. it returns a string composed of itself, and a mirror image of itself(reverse), separated by a hyphen. complete this function without the aid of a helper function and without the usage of the string classes reverse method.

Answers

You can use the code below to solve the question about recursive methods:

-------------------

CODE AREA

-------------------

#include <iostream>

using namespace std;

string mirrorString(string s){

if(s.length()==1)return s;

   string word=s.at(s.length()-1)+mirrorString(s.substr(0,s.length()-1));

   return word;

}

int main()

{

 

cout << mirrorString("rahul")<< endl;

cout << mirrorString("Kumar")<< endl;

cout << mirrorString("Chegg")<< endl;

cout << mirrorString("Kundra")<< endl;

  return 0;

}

-------------------

CODE AREA

-------------------

Learn more about recursive method: https://brainly.com/question/22237421

#SPJ4

The Output:

your company has embraced cloud-native microservices architectures. new applications must be dockerized and stored in a registry service offered by aws. the architecture should support dynamic port mapping and support multiple tasks from a single service on the same container instance. all services should run on the same ec2 instance.

Answers

The technology that might be suit with this company requirement is Application Load Balancer + ECS.  Load Balancer + ECS can be used to run on the same EC2 instance.

Dedicated Instances are Amazon EC2 instances that is running on a physical host reserved for the exclusive use of a single AWS account. Your Dedicated instances are physically isolated at the host hardware level from instances that belong to other AWS accounts. Dedicated Instances belonging to different AWS accounts are physically isolated at the hardware level, even if those accounts are linked to a single payer account. Dedicated Instances is that a Dedicated Host gives you additional visibility and control over how instances are deployed on a physical server, and you can consistently deploy your instances to the same physical server over time.

The complete question can be seen below:

Your company has embraced cloud-native microservices architectures. New applications must be dockerized and stored in a registry service offered by AWS. The architecture should support dynamic port mapping and support multiple tasks from a single service on the same container instance. All services should run on the same EC2 instance. Which technology will best fit your company requirements?

Learn more about dedicated instance at brainly.com/question/14302227

#SPJ4

The requires telephone companies to turn over customer information, including numbers called, without a court order if the FBI claims that the records are relevnt to a terrorism investigation. USA Patroit Act of 2001 Electronic Communications Privacy Act of 1986 Gramm-Leach-Bliley Act of 1999 Cable Act of 1992

Answers

USA Patriot Act

The USA Patriot Act requires telephone companies to turn over customer information, including numbers called, without a court order if the FBI claims that the records are relevnt to a terrorism investigation.

What is USA Patriot Act?

The USA PATRIOT Act is officially known as the "Uniting and Strengthening America by Providing Appropriate Tools Required to Intercept and Obstruct Terrorism (USA PATRIOT) Act of 2001."

The purpose of the USA PATRIOT Act is to deter and punish terrorist acts in the United States and around the world, to improve law enforcement investigative tools, and to achieve a variety of other goals, some of which are as follows:

To strengthen US efforts to prevent, detect, and prosecute international money laundering and terrorism financing;To subject foreign jurisdictions, foreign financial institutions, and classes of international transactions or types of accounts that are vulnerable to criminal abuse to additional scrutiny;To make it mandatory for all appropriate elements of the financial services industry to report potential money laundering;

To know more about how investigation works, visit: https://brainly.com/question/29766730

#SPJ4

Which of the following are used to compare performance and efficiency of algorithms?

Answers

Answer:

Security has nothing to do with how well an algorithm performs. Algorithms are just sets of instructions on how to do something. These steps can be really efficient or inefficient.

All of the others are correct

Function call with parameters Converting measurements. Define a function print_total_inches, with parameters num feet and num_inches that prints the total number of inches Note: There are 12 inches in a foot Sample output with inputs: 5 8 Total inches: 68 CHALLENGE

Answers

Below is the code for the function call with parameters converting measurements by defining a function print_total_inches, with parameters num feet and num_inches that prints the total number of inches.

Coding Part:

def print_total_inches(num_feet, num_inches):  

total_inches = num_feet * 12 + num_inches  

return total_inches  

num_feet = int(input()) num_inches = int(input()) print('Total inches:', calc_total_inches(num_feet, num_inches))

What is a Function call?

A function call is an expression that begins with the function name and ends with the function call operator (). If the function is defined to accept parameters, the values to be passed into the function are listed inside the function call operator's parentheses.

Any number of expressions separated by commas can be included in the argument list. It can also be left blank.

To know more about Function Call, visit: https://brainly.com/question/25741060

#SPJ4

example: after the successful deployment of the on-call scheduling system, your company approaches you with another new project. this time, the company would like to build a cloud that allows its employees to have virtual workstations for highly sensitive material. assuming that users will likely need to install new application, libraries, and other software, which type of cloud infrastructure is most appropriate for this application?

Answers

The type of cloud infrastructure that is most appropriate for this application is PaaS. The correct option is C.

What is PaaS?

Application or platform as a service Platform as a service, also known as platform-based service, is a type of cloud computing service that allows customers to provision, instantiate, run, and manage their own servers.

PaaS, or platform as a service, is a cloud-hosted platform that provides on-demand access to a complete, ready-to-use platform for developing, running, maintaining, and managing applications.

Software as a service, or SaaS, provides on-demand access to ready-to-use, cloud-hosted application software.

Because the company wants to build a cloud that will allow its employees to have virtual workstations for highly sensitive material.

Given that users will most likely need to install new applications, libraries, and other software, the best cloud infrastructure for this application is PaaS.

Thus, the correct option is C.

For more details regarding PaaS, visit:

https://brainly.com/question/20600180

#SPJ1

Your question seems incomplete, the missing options are:

a) DaaS

b) SaaS

c) PaaS

d) IaaS

servers range from very small to massive enterprise-level systems that serve hundreds of thousands of clients. (1 point)true false

Answers

Servers range from very small to massive enterprise-level systems that serve hundreds of thousands of clients. (True)

What is a server?

A computer program or apparatus is referred to as a server if it offers a service to another computer program and its user, also known as the client. The actual computer that a server program runs on is frequently referred to as a server in a data center. This device might serve as a dedicated server or serve other purposes.

A server program in the client/server programming model waits for and processes requests from client programs, which may be running on the same computer or on different computers. In a computer, a particular program may act as both a client and a server, receiving requests for services from other programs.

Learn more about servers

https://brainly.com/question/18001024

#SPJ4

T/F: Using the hosted software model implies that a small business firm needs to employ a full-time IT person to maintain key business applications.

Answers

Using the hosted software model implies that a small business firm needs to employ a full-time IT person to maintain key business applications is false.

What is the hosted model?

The model is one that is seen as an open solution that guarantees existing business investments can be used across a SaaS portfolio of applications while the customer's control environment and business infrastructure seamlessly integrate with our solution.

Note that Software that is entirely installed, hosted, and accessed from a distance is referred to as hosted software. Software that is hosted and managed by a third party vendor or the software manufacturer. Through the Internet, users can access it from anywhere in the world.

Therefore, one should not say that using the hosted software model implies that a small business company needs to hire a full-time IT professional to maintain critical business applications as it is incorrect.

Learn more about software model from

https://brainly.com/question/15836852
#SPJ1

Alma is building a list of review questions for a training that is to be held in her department. She is copying and pasting from one document to another and finds that the numbered bullets continue from question to question.

What should Alma to ensure that ensure that the answers to each question are individually numbered?

Turn off bullets and turn them back on
Select the first answer and click continue numbering
Disable numbered bullets
Select the first answer and click restart numbering

Answers

Alma should ensure to do Restart numbering.

What needs to be taken care of?

To ensure that the answers to each question are individually numbered, Alma should select the first answer and click the "Restart numbering" option. This will reset the numbering for the selected answer and all subsequent answers, so that each question will have its own set of numbered answers.

What is Reset numbering?

"Reset numbering" is an option in a word processing program that resets the numbering for a selected list or group of items. This is typically used when working with numbered lists, such as bullet points or outlines.

For example, if you have a list of numbered items and you want to start a new numbered list within the existing list, you can select the first item in the new list and click the "Reset numbering" option. This will reset the numbering for that item and all subsequent items in the new list, so that they are numbered independently of the items in the original list.

To Know More About Reset numbering, Check Out

https://brainly.com/question/13744941

#SPJ4

Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data:.

Answers

Below is the program which asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data the task mentioned in the question and is written in python.

Coding Part:

mylist = []

#initialize an empty list to hold the values

for n in range(1, 21):

#loop to request 20 inputs from user

n = int(input('Enter a value : '))

mylist.append(n)

#append each value to the list

print('lowest : ' , min(mylist))

print('highest : ' , max(mylist))

print('Total : ' , sum(mylist))

print('Average : ' , sum(mylist)/len(mylist))

#displays the required information

To know more about array, visit: https://brainly.com/question/24275089

#SPJ4

You have created your narrative and visuals, so now it’s time to build a professional and appealing slideshow. You choose a theme that matches the tone of your presentation. Then, you create a title slide with a title, subtitle, and the date.
Next, you create the following slide about electric vehicle sales in 2015 compared to 2020:
After reviewing it, you decide to decrease the number of words on your slide. For what reasons will this make your slide more effective? Select all that apply.
Multiple Choice Question. Please Choose The Correct Options ✔
A
Slide text should be no more than 10 lines total
B
The text shouldn’t simply repeat the words you say
C
The font size is too small for your audience to read
D
Slide text should be fewer than 25 words total

Answers

B. The text should not simply repeat your words. If you're making a presentation in Microsoft PowerPoint, keep your explanation as simple as possible. To make your slide more effective, avoid repeating the same word.

What is MS Powerpoint?

Ms PowerPoint is an application that is used to create presentations. On April 20, 1987, Microsoft PowerPoint was released. Robert Gaskins and Dennis Austin created it. They are the work of Forethought, Inc., a software company. Ms paid about $14 million for PowerPoint three months after it debuted. With Microsoft PowerPoint, you can create presentations that include text, images, transitions, and animation.

To learn more about Microsoft PowerPoint, visit: brainly.com/question/10444759

#SPJ4

what is the name given to a process not associated with a terminal? a. child process b. parent process c. user process d. daemon proces

Answers

Answer:

d. daemon process

to provide additional storage space, you have added a second internal hard drive to your windows 10 system. for the past several weeks, you have created and changed many files stored on the new hard drive. one of the files on the new drive has become corrupted. you want to recover as much as you can by reverting to a previous version of that file. after viewing the file properties, you notice that no previous versions are available. which action must you take to ensure that you can revert files to previous versions on the new hard drive of your windows 10 computer?

Answers

For the new hard drive, enable System Restore. Navigate to Control Panel > System and Security > System > System Protection. Choose New Hard Drive, then click Configure and choose the option to Enable System Protection.

What is a hard drive?

A hard disc drive (HDD), often known as a hard disc, hard drive, or fixed disc, is an electro-mechanical digital storage device that keeps and retrieves digital data utilizing magnetic storage on one or more rigid, rapidly spinning platters coated with magnetic material. The discs are coupled with magnetic heads that read and write information to the platter surfaces. Such heads are typically arranged on a rotating actuator arms. Blocks of data can be stored and retrieved in any sequence because data is accessed arbitrarily.

To know more about Hard drive
https://brainly.com/question/10677358
#SPJ4

A company has its network compromised. As an expert professional, the organization has hired you to identify the probable cause of the attack and fix it Asa security professional, you have noticed the pattern of compromise is unlike anything previously seen. You are looking to find new information on vulnerabilities like the attack that occurred Which of the following actions would help achieve this objective? a. Checking the surface web b. Implementing TCP/IP protocol across the network c. Checking the green web d. Checking the dark web

Answers

By looking into known attack vectors and seeking to exploit weaknesses, hackers steal information, data, and money from people and organizations.

Phishing emails, malware, and unpatched vulnerabilities are the three main attack methods employed by hackers. When Internet Explorer, Chrome, and Safari detect reflected cross-site scripting (XSS) attacks, they prevent pages from loading by using the HTTP X-XSS-Protection response header. These include email security solutions, firewalls, anti-malware software, and intrusion detection and prevention tools. Because they make it so simple for someone with the backdoor's knowledge to gain unauthorized access to the affected computer system and any networks to which it is connected, hidden backdoors are a major software vulnerability.

Learn more about network here-

https://brainly.com/question/13992507

#SPJ4

write a program that reads a list of words. then, the program outputs those words and their frequencies (case insensitive). ex: if the input is: hey hi mark hi mark the output is: hey 1 hi 2 mark 2 hi 2 mark 2 hint: use lower() to set each word to lowercase before comparing.

Answers

Using the knowledge in computational language in python it is possible to write a code that reads a list of words. then, the program outputs those words and their frequencies.

Writting the code:

str=input("Enter a sentence: ")

#conver the string to lower case

str_cpy=str.lower()

words=str_cpy.split()

#dictionary to store the frequency

freq={}

for word in words:

   if word in freq:

       freq[word]=freq[word]+1

   else:

       freq[word]=1

#split the original string

original=str.split()

for i in range(len(original)):

   print("%s %d"%(original[i],freq[words[i]]))

Can arrays copyOf () be used to make a true copy of an array?

There are multiple ways to copy elements from one array in Java, like you can manually copy elements by using a loop, create a clone of the array, use Arrays. copyOf() method or System. arrayCopy() to start copying elements from one array to another in Java.

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

#SPJ1

The provision of one of the following social amenities is not impacted by technology. (A) Highways (B) Roads with potholes (C) Electricity for lighting (D) Asphalt roads with modern road signs​

Answers

Answer:

(B) Roads with potholes

Explanation:

Roads with potholes are not impacted by technology. Highways, electricity for lighting and asphalt roads with modern road signs are impacted by technology.

a user is surfing the internet using a laptop at a public wifi cafe. what should be checked first when the user connects to the public network?

Answers

A user is surfing the Internet using a laptop from a public WiFi cafe. They should check if the laptop requires user authentication for file and media sharing first when the user connects to the public network.

What is public network?

Anybody, or the general public, can connect to a public network, which is a particular kind of network through which they can access other networks or the Internet. In contrast, access is restricted and governed by rules on a private network, where only a select group of people have access to it. Users must be cautious of potential security risks when accessing a public network because there are little to no restrictions.

Rather than referring to a topology or other technical concept, "public network" refers to a usage term. With the exception of the security, addressing, and authentication systems in place, there is no technical distinction between a private and public network in terms of hardware or infrastructure.

Learn more about public network

https://brainly.com/question/14759859

#SPJ4

With respect to iot security, what term is used to describe the digital and physical vulnerabilities of the iot hardware and software environment?.

Answers

The term used to describe the digital and physical vulnerabilities of the IoT hardware and software environment is "attack surface."

What term is used to describe the digital and physical vulnerabilities of the IoT hardware and software environment?

An attack surface is the totality of the different points of entry into a system that an adversary can use to gain access and control of the system. In the context of IoT security, the attack surface refers to the digital and physical vulnerabilities of the IoT hardware and software environment, such as:

Insecure authentication protocolsUnencrypted data transferUnsecured physical access points

By understanding the attack surface of an IoT system, organizations can identify and address potential security threats and vulnerabilities before they can be exploited.

Learn more about the IoT system: https://brainly.com/question/7973509

#SPJ4

You are a cyber forensic specialist, and you are asked to retrieve the password of an employee account suspected of being an imposter. As you are provided with the enterprise's strong password policy, which of the following methods will be the easiest for you to use when retrieving the password? a. Brute force attack b. Dictionary attackc. Hybrid attack d. Rule attack

Answers

The method that will be easiest for you to use when retrieving the password is a brute force attack. The correct option is a.

What is a brute force attack?

Using a predetermined set or list of widely used passwords or from a database leak, a brute attack is a technique for cracking someone's password or login credentials.

By utilizing a mix of a password devoid of dictionary words and several symbols and numbers with both uppercase and lowercase characters, we can guard against brute-force attacks.

This is the kind of hacking where an algorithm or machine repeatedly tries different password combinations and sequences until it finds the proper one.

Therefore, the correct option is a, Brute force attack.

To learn more about brute force attacks, refer to the link:

https://brainly.com/question/28119068

#SPJ1

Simple and easy way please.
The purpose of this homework is for you to get practice applying many of the concepts you have learned in this class toward the creation of a routine that has great utility in any field of programming you might go into. The ability to parse a file is useful in all types of software. By practicing with this assignment, you are expanding your ability to solve real world problems using Computer Science. Proper completion of this homework demonstrates that you are ready for further, and more advanced, study of Computer Science and programming. Good Luck!
Steps:
Download the file "Homework10.java Download Homework10.java" (Don't forget to add your name to the comments section before submitting!)
Create a new project called "Homework10" and create a package called "Main." Use the drag and drop method to add the file mentioned above to the "Main" package. Also add the "EZFileWrite.java" and "EZFileRead.java" files from homework #8 to the "Main" package.
The first portion of the main method should NOT be modified. This is what I wrote to save the text file on to your hard drive in the proper place. Originally, I was going to have you download the text file and copy it to the proper class path but I chose this so you don't have to worry about class paths at this point (but you should learn in your own time if you want to develop software.)
Read the assignment specifications on the following pages and implement ALL of these into your program for full credit. You will only get the full 50 points if you complete everything listed without compiler errors, warnings, or runtime errors. Paying attention to details is a key skill needed in programming and Computer Science!
View lecture notes for relevant topics to refresh your understanding of arrays, file I/O, looping, and converting between one variable type and another. You are free to ask questions about the homework in class or during office hours. I will not tell you how to write the assignment but I can help with clarifying concepts that might help YOU write it.

Answers

A high level programming language is Java. The claim that "Bytecode is platform independent" is true. Second, neither the Java Virtual Machine (JVM) nor Just-In-Time (JIT) generate intermediate bytecodes or object codes.

Code in java

package Main;

import java.util.StringTokenizer;

public class Homework10 {

public static void main(String[] args) {

 EZFileWrite efw = new EZFileWrite("parse.txt");

 efw.writeLine("Shawshank Redemption*1994*Tim Robbins*2.36");

 efw.writeLine("The Godfather*1972*Al Pacino*2.92");

 efw.writeLine("Raging Bull*1980*Robert De Niro*2.15");

 efw.writeLine("Million Dollar Baby*2004*Hilary Swank*2.2");

 efw.writeLine("Straight Outta Compton*2015*Jason Mitchell*2.45");

 efw.saveFile();

// End of the test

// TODO: Create code to load the text file into memory, parse it, and meaningfully display the data.

// (To complete the assignment and receive full credit, follow the instructions in the handout.)

 EZFileRead efr = new EZFileRead("parse.txt");

 int efrLength = efr.getNumLines();

 String[] movies = new String[efrLength];

 int[] years = new int[efrLength];

 String[] stars = new String[efrLength];

 float[] runtimes = new float[efrLength];

 for (int index = 0; index < efrLength; ++index) {

  String raw = efr.getLine(index);

  StringTokenizer st = new StringTokenizer(raw, "*");

  movies[index] = st.nextToken();

  years[index] = Integer.parseInt(st.nextToken());

  stars[index] = st.nextToken();

  runtimes[index] = Float.parseFloat(st.nextToken());

 }

 printStringArrayWithHeader("MOVIES", movies);

 printIntArrayWithHeader("YEARS", years);

 printStringArrayWithHeader("STARS", stars);

 printFloatArrayWithHeader("RUNTIMES", runtimes);

}

private static void printStringArrayWithHeader(String headerName, String[] stringArray) {

 printHeaderName(headerName);

 for (int index = 0; index < stringArray.length; ++index) {

  System.out.println(stringArray[index]);

 }

}

private static void printIntArrayWithHeader(String headerName, int[] intArray) {

 printHeaderName(headerName);

 for (int index = 0; index < intArray.length; ++index) {

  System.out.println(intArray[index]);

 }

}

private static void printFloatArrayWithHeader(String headerName, float[] floatArray) {

 printHeaderName(headerName);

 for (int index = 0; index < floatArray.length; ++index) {

  System.out.println(floatArray[index]);

 }

}

private static void printHeaderName(String headerName) {

 System.out.println("-----" + headerName + "-----");

}

}

To know more about java, check out:

https://brainly.com/question/25458754

#SPJ1

You wrote a program to compare the portion of drivers who were on the phone. Which statements are true? Select 4 options. Responses It is important to test your program with a small enough set of data that you can know what the result should be. It is important to test your program with a small enough set of data that you can know what the result should be. A different set of observations might result in a larger portion of male drivers being on the phone. A different set of observations might result in a larger portion of male drivers being on the phone. Your program compared an equal number of male and female drivers. Your program compared an equal number of male and female drivers. You could modify the program to allow the user to enter the data. You could modify the program to allow the user to enter the data. Even when confident that the mathematical calculations are correct, you still need to be careful about how you interpret the results. Even when confident that the mathematical calculations are correct, you still need to be careful about how you interpret the results.

Answers

Whats the point TL;DR

which method would you use to get all the elements in a dictionary returned as a list of tuples? a. list b. items c. keys d. pop

Answers

The  method that a person use to get all the elements in a dictionary returned as a list of tuples is option b. items.

What do dictionary elements mean?

A substance that cannot be chemically divided into simpler components is referred to as an element. A vital part of something or a natural habitat is frequently referred to as an element. As a noun, element can be used in a variety of additional contexts. An element is anything that, in chemistry, cannot be further subdivided.

Therefore, the items() method returns a view object in the Python dictionary. The key-value pairs from the dictionary are present in the view object as tuples in a list. Any alterations made to the dictionary will be reflected in the view object; an example is shown below.

Learn more about dictionary from

https://brainly.com/question/18523388
#SPJ1

when using a computing algorithm to analyze large network diagrams, what are the four pieces of information needed for each activity?

Answers

The four pieces of information required for each activity are Activity, Network Diagram, Parameters, and Results.

Analysis – what is it?

The field of mathematics known as analysis is concerned with the study of continuous changes, and it encompasses the concepts of integration, specialization, measure, limits, analytic functions, and infinite series. The study of continuous real and complex-valued functions is done methodically. It describes one type of abstract logic theory as well as the field of study that calculus belongs to. Real analysis and analytic techniques, which focus on real-valued and complex-valued functions, respectively, are two major areas of analysis.

To know more about Analysis
https://brainly.com/question/890849
#SPJ4

an after-school care center allows children to browse the internet. they want to limit the websites that the children can access. which of the following network hosts would most likely provide this service?

Answers

Since an after-school care center allows children to browse the internet, the term that network hosts would most likely provide of this service is option  A: Proxy server

What exactly is a proxy server?

A system or router known as a proxy server acts as a gateway between users and the internet. Thus, it aids in preventing online attackers from accessing a private network.

Therefore, in the case above, A proxy server serves as a mediator between a computer and the internet because it has its own IP address. Your computer is aware of this address, and when you send a request over the internet, it is forwarded to the proxy. The proxy then receives the response from the web server and passes the page's data to your computer's browser, such as Chrome, Safari, Firefox, or Microsoft Edge.

Learn more about Proxy server from

https://brainly.com/question/28075045
#SPJ1

See full question below

An after-school care center allows children to browse the internet. They want to limit the websites that the children can access.

Which of the following network hosts would MOST likely provide this service?

Proxy server

Web server

DHCP server

Print server

Other Questions
2) the ancestors of land plants were aquatic algae. which of the following is not an evolutionary adaptation to life on land? a) c3 photosynthesis b) a waxy cuticle c) root hairs d) xylem and phloem e) guard cells 17. Write 2 numbers that are less than -1000? David Ricardo is the first great classical economist to detect, sharply, the line of demarcation between intranational and international trade, not on the basis of equal or absolute, but comparative differences between nations. O True O False looking to the symptom of running away from home overnight in the context of conduct disorder, the frequency according to diagnostic criteria must occur: previously referred to as color-blind casting, the casting of performers without considering their ethnicity, gender, transgender identity, or disability is now more inclusively called casting. A 1500-kg car moving at 25 m/s hits an initially uncompressed horizontal spring with spring constant of 2. 0 ? 106 n/m. What is the maximum compression of the spring? (neglect the mass of the spring. ). For a given labor demand curve, which of the following is not held constant?A. the production functionB. the price of the inputC. the productivity of laborD. the price of laborLabor is one of the main factors of production in Economics and is a vital component to any production function. Labor can be thought of as the necessary input required from humans in order to produce goods and services (e.g. assembly line workers). A 0,200-kg piece of lead at 100.0C is dropped into a calorimeter. The calorimeter is a copper can of mass5.00 x 102 kg and already contains 0.100 kg of water at 20.0C. Calculate the final temperature if the specific heats of water, lead, and copper are 4.20 x 103 J/kg.K, 1.30 x 102 J/kg.K, and 4.00 x 103 J/kg:K respectively. The metal i oberved to begin to melt when the temperature of it container i approximately 29C. The metal i mot likely Page 3.10 Assignment: Assignment 1: Review the Interview Transcripts TRANSCRIPT 1: MICHAELS INTERVIEW the mechanical advantage for a machine is defined as the output force divided by the input force. since the output force is typically greater than the input force, this value is normally greater than one. for an ideal machine, what would be another way of representing the mechanical advantage? the mechanical advantage for a machine is defined as the output force divided by the input force. since the output force is typically greater than the input force, this value is normally greater than one. for an ideal machine, what would be another way of representing the mechanical advantage? (output distance)/(input distance) when an economy is temporarily operating at an output that is beyond its full-employment rate, group of answer choices excess supply in resource markets will eventually lead to lower resource prices, which will decrease costs and direct the economy toward full employment. excess demand in resource markets will lead to higher resource prices, which will increase costs and direct the economy toward full employment. lower wages and prices will quickly restore full employment. only restrictive fiscal policy will direct the economy back to full employment. Assume Durango Co. has sales of $100,000 for the month of November. The company expects sales to grow 10% each month. Durango Co. collects 60% of sales in the month of sale and 40% in the month after sale. What should Durango Co. project for cash collections in December? a client has had several recent clinical visits for allergic contact dermatitis. the nurse explains to the client that allergy testing is indicated. which test will most likely be performed? light reflects off many objects. which characteristic of light behavior best helps explain this effect? lawrence corporation is considering the purchase of a new piece of equipment. when discounted at the cost of capital of 8%, the project has a net present value of $24,610. when discounted at rate of 11%, the project has a net present value of $(28,980). the internal rate of return of the project is: businesses often choose to personal property, especially equipment, where the business gets to use the property for a fixed time-period in exchange for monthly payments. what man art thou that thus bescreen'd in night so stumblest on my counsel? in quantitative studies, researchers make a formal statement about the expected relationship between two or more variables in a specified population. this formal statement is called a research: In a certain board game, players spin a spinner to determine how many spaces they advance. The odds in favor of advancing five spaces are 3/10. Find the probability of advancing five spaces. (b)Ravi has a box of candies with different flavors. He will randomly choose one piece of candy. The probability that he chooses a strawberry-flavored piece is 6/19. What are the odds against him choosing a strawberry-flavored piece?