consider the following combination of hill and vigen`ere ciphers: the key consists of three 2×2 matrices, m1, m2, m3. the plaintext letters are represented as integers mod 26. the first two are encrypted by m1, the next two by m2, the 5th and 6th by m3. this is repeated cyclically, as in the vigen`ere cipher. explain how to do a chosen plaintext attack on this system. assume that you know that three 2 × 2 matrices are being used. state explicitly what plaintexts you would use and how you would use the outputs.

Answers

Answer 1

There is, however, a nuance that needs careful consideration. Usually, our definitions require libraries that employ intrinsic randomness.

The calling program can determine which libraries are utilized thanks to Kerckhoffs' principle, which in this case refers to how a library will select randomization (i.e., from which distribution). It doesn't necessarily follow that the enemy will be aware of the outcome of the libraries' choice of randomness (i.e., the values of all internal variables in the library). It's the distinction between being aware that you will pick a card at random from a deck (i.e., the uniform distribution on a set of 52 items) and being able to read your mind and determine the precise card you picked. This nuance can be seen in our definitions in the ways listed below.

Learn more about Library here-

https://brainly.com/question/14006268

#SPJ4


Related Questions

listen to exam instructions consider the following ipv6 address: fd01:0001:0001:005::7/64 drag the component parts of this address on the left to the corresponding descriptions on the right. not all descriptions on the right have corresponding components on the left. drag drop global routing prefix subnet id interface id prefix length global id unique local unicast prefix

Answers

The corresponding components on the left are:

Global Routing Prefix:

Subnet ID - FD01:0001:0001:005

Interface ID-  ::7

Prefix Length - /64

Global ID - 01:0001:0001

Unique Local Unicast Prefi - FD

What is IPv6 used for?

Since we've used up the 4.3 billion IPv4-created TCP/IP address identifiers, IPv6's main purpose is to enable the creation of additional. This is one of the primary factors making IPv6 such a significant advancement for the Internet of Things (IoT).

Therefore, an IPv6 address is made up of eight fields, each of which is 16 bits long and is delimited by the use of a colon. In contrast to IPv4 addresses, which use the dotted-decimal syntax, each field must include a hexadecimal value.

Learn more about Ipv6 address from

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

changes in processing requirements for future is systems have led to new categories of dbms. all of the following are new dbms categories except . answer unselected nosql dbms unselected in-memory dbms unselected newsql dbms unselected output-memory dbms

Answers

Output-memory DBMS is the new categories of dbms that leads to changes in processing requirements for future is systems.

Software programs called database management systems (DBMS) are used to store, retrieve, and query data. Users can add, read, edit, and delete data from databases using a database management system (DBMS), which acts as an interface between an end-user and the database. DBMSs control the data, the database engine, and the database structure, enabling users and other applications to extract or modify the data. It also contributes to concurrency, uniform data management practices, and data security. The normalization technique, used in database schema design, allows DBMS to optimize the arrangement of data by dividing large tables into smaller ones when any of their properties have redundant values. In comparison to conventional file systems, DBMS are more flexible and have a more sophisticated backup system.

Learn more about DBMS here:

https://brainly.com/question/14004953

#SPJ4

you are running macos mojave and you want to begin working with various other oss such as windows server and linux. you only have one computer and you need to keep using macos while working with the other oss. what can you install on macos that will help achieve this goal? a. esxi server b. vmware fusion c. vmware workstation d. hyper-v for macos

Answers

You wish to start collaborating with various other operating systems, such as linux and windows server, while using macOS Mojave. You only have one computer, thus you have to continue using Mac OS X while utilizing the other OS. VMware Fusion must be set up.

A macOS update installation issue could happen for a variety of different causes. Ideally, the error message was clear in describing the issue. You'll be able to focus your troubleshooting efforts accordingly.

You can get caught in a loop where the installer keeps opening every time you restart your computer if your macOS installation couldn't be finished. Before attempting to fix the issue, use these fast steps to get out of the loop and safeguard your data.

learn more about VMware Fusion

https://brainly.com/question/4682288

#SPJ4

Think of all the activities you do in a day that involve electrical energy. Use this sheet to make a list of 5-8 activities. Describe how electrical energy is used in each case. When you are done, consider which ones you might be able to do without to save electricity. Activity Description of how electrical energy is used

Answers

Some everyday activities that involve electricity can be:

TelevisionCellphoneComputerAir conditioningHair dryerHow is electrical energy used in daily activities?

Let's go into more detail about the use of electricity in each case identified in the list above. The TV, for example, works by converting electrical energy into sound and light energy, in addition to thermal energy as some components of the device are heated.

Cell phone batteries use chemical energy that is transformed into electrical energy to recharge the devices. In the computer, there is a transformer that converts the electrical energy and distributes it to the components of the machine.

The air conditioner also works as a transformer that uses the ambient air temperature and transforms it into cold air using refrigerant gas. In the hair dryer, there is a conductor that transforms electrical energy into heat.

Therefore, electrical energy is present in the lives of individuals in daily activities, being essential for work, health and human well-being.

Find out more about electrical energy here:

https://brainly.com/question/60890

#SPJ1

. The lightness or brightness of a color is the _______.

Answers

Answer: Value

Explanation:

Value is your answer

The it network that allows for the movement of organizational information within that company is known as the organizational structure. True or false?.

Answers

The IT network that allows for the movement of organizational information within that company is known as the organizational structure: False.

What is an organizational structure?

An organizational structure simply refers to a strategic process that is typically used for the division of a business organization (company or firm) into multiple functional units, in order to successfully achieve its short-term and long-term goals.

The dimensions of an organizational structure.

Generally speaking, an organizational structure comprises three (3) main dimensions and these include the following;

The vertical dimensionThe horizontal dimensionIntegrating mechanisms

In Computer technology, an intranet simply refers to an information technology (IT) network that enables the effective and efficient movement of organizational information within a business organization (company or firm).

Read more on organizational structure here: brainly.com/question/7437866

#SPJ1

write a program that reads a file called 'test.txt' and prints out the contents on the screen after removing all spaces and newlines. punctuations will be preserved. for example, if 'test.txt' contains: this is a test file, for chapter 06. this a new line in the file! then, your program's output will show:

Answers

A program that reads a file called 'test.txt' and prints out the contents on the screen after removing all spaces and newlines. punctuations will be preserved.

A computer follows a collection of instructions called a program to carry out a certain task. The size of a computer program affects the likelihood that an error may occur.

# Read lines as a list

fh = open("transfer-out/" + file, "r")

lines = fh.readlines()

fh.close()

# Weed out blank lines with filter

lines = filter(lambda x: not x.isspace(), lines)

# Write "transfer-out/"+file+".txt", "w"

fh = open("transfer-out/"+file, "w")

#fh.write("".join(lines))

# should also work instead of joining the list:

fh.writelines(lines)

fh.close()

Learn more about Program here-

https://brainly.com/question/3224396

#SPJ4

What company owns the browser?

Answers

The question is clearly asking about a browser but does not specify which. Given that a fuller question is unavailable, here are a few ideas about the most popular internet browsers.

Which companies own what Internet Browsers?

The following are some of the most popular browsers and the companies that own them.

Opera - This is owned by Brick Capital Eqity Fund LLC Partnership

Chrome - Go. ogle

Edge - Microsoft Corporation

A web browser allows you to navigate the internet. It gathers data from various sections of the internet and presents it on your desktop or mobile device. The data is conveyed via the Hypertext Transfer Protocol, which specifies how text, pictures, and video are delivered over the internet.

Learn more about Internet Browsers:
https://brainly.com/question/22650550
#SPJ1

personal professionalism is only important when you have a full-time job.

true or false?

Answers

Answer: True

Explanation: just cuz

According to the internet is watching you video case, what approach could be used with big data to give teachers an early warning that a student needs help with their studies?.

Answers

According to big data teachers should utilize Data to Identify Students at Risk, close the learning gap by using data, utilize data to forecast student performance on year-end objectives, utilize data to encourage success in later grade levels.

Data analytics is the process of gathering and analyzing data in order to discover insights that can be put to use to improve organizational effectiveness and business results. In the field of education, this might include everything from streamlining the enrollment procedure to enhancing academic results and the entire student experience. Effective educators who work with at-risk pupils use quiet, calm management techniques, quietly urge students to behave appropriately, and model self-control in front of the class.

Learn more about Analytics here-

https://brainly.com/question/28191959

#SPJ4

Sharon works in the entertainment industry and is a game creator. Which of the following types of specialized software would she MOST LIKELY use?

A.
computer-aided manufacturing

B.
3D printing

C.
computer-aided design

D.
3D animation

Answers

The type of specialized software that she would probably use is 3D animation. The correct option is D.

What is 3D animation?

Computer animation is the process of creating animations digitally. Computer-generated imagery is a broader term that includes both static and dynamic images, whereas computer animation only refers to moving images.

As previously stated, animation is not something that can be learned overnight. It's one of the most difficult aspects of a 3D pipeline. It will take a lot of trial and error, as well as some frustration.

Though 3D animation has primarily been used in the production of video games, films, and television shows, its applications have expanded in tandem with its popularity.

Thus, the correct option is D.

For more details regarding 3D animation, visit:

https://brainly.com/question/12037761

#SPJ1

given the schema item(itemid, name, category, price) itemsale(transid, itemid, qty) transaction(transid, custid, date) customer(custid, name, street-addr, city) where primary keys are underlined, write the following queries in sql: a. find the name and price of the most expensive item (if more than one item is the most expensive, print them all).

Answers

Given the schema item(itemid, name, category, price) itemsale(transid, itemid, qty) transaction(tran_sid, custid, date) customer(custid, name, street-addr, city), to find the name and price of the most expensive item (if more than one item is the most expensive, print them all) is given below:

The SQL Code

SET  p 1 : = ( SELECT MAX ( price ) FROM items);

SELECT * FROM items WHERE price =  p 1 ;

Using variables, p1 stores the maximum price from the table items and then uses the variable p1 in the following query to return all records which have that maximum price without limiting the number of records as you desired.

Other ways of getting the same result are given below:

2. SELECT * FROM items

WHERE itemID IN (

  SELECT itemID FROM items

  WHERE price IN (

     SELECT MAX(price) FROM  items

  )

);  

3. SELECT * FROM items

WHERE price IN (

  SELECT MAX ( price ) FROM items

) ;

Read more about SQL here:

https://brainly.com/question/27851066

#SPJ1

you work as the it administrator for a small startup company. lily's computer has two internal hard drives and runs windows 11. she is concerned that she may accidently delete a personal file or that her primary hard disk may fail at some future time, causing her to lose her personal files.

Answers

Answer: People makes mistakes, but there is a chance if she is deleting something she might delete a personal file on accident

with top5 as (select top 5 vendorid, avg(invoicetotal) as avginvoice from invoices group by vendorid order by avginvoice desc) select invoices.vendorid, max(invoices.invoicetotal) as largestinvoice from invoices join top5 on invoices.vendorid

Answers

The EXISTS operation determines how many rows a subquery has returned. The result is true and a row is added to the result table if the subquery returns one or more rows; otherwise, the result is false and no rows are added to the result table.

Compare two or more columns if you want to. We must utilize logical operators to create a compound WHERE clause. We can merge duplicate WHERE conditions into a single WHERE clause by using multiple-column subqueries. To eliminate every record from a table and release the space it occupies, use the SQL TRUNCATE command. An invoice is a detailed list that shows exactly what goods or services we sent our clients.

Learn more about subquery here-

https://brainly.com/question/14079843

#SPJ4

What is the electronic defacing of an existing website? multiple choice byod cybervandalism cyberbulling cookie

Answers

The electronic defacing of an existing website page is referred to as cyber vandalism. Cyber Vandalism is the act of stealing data from another person's computer or corrupting all previously saved data on that person's machines via delivering viruses.

On your computer or mobile device, adware is software that shows unsolicited (and occasionally obtrusive) pop-up advertisements. A pharming attack seeks to divert traffic from a legitimate website to a false website that is controlled by the attacker, usually with the intention of gathering sensitive data from victims or placing malware on their computers. People can simply employ cyber vandalism tactics to damage your computer from afar and change or utilize a crucial database for their own purposes. This is an unethical tactic that mostly targets businesses and government institutions.

Learn more about Cyber vandalism here-

https://brainly.com/question/8969166

#SPJ4

Explain employment opportunities in the networking field 

Answers

These are some possible opportunities I don’t know how you want it explaining though Network and Computer Systems Administrator. ...
Computer and Information Systems Manager. ...
Computer Network Architect. ...
Computer Systems Analyst. ...
Computer Network Support Specialist.

in order to identify the transmissions that belong to each vlan, a switch will add a tag to ethernet frames that identifies the port through which they arrive at the switch.

Answers

True, In order to identify the transmissions that belong to each vlan, a switch will add a tag to ethernet frames that identifies the port through which they arrive at the switch.

Here's the complete question:

In order to identify the transmissions that belong to each VLAN, a switch will add a tag to Ethernet frames that identifies the VLAN through which they arrive at the switch.

True or False?

The method of identifying packets or transmission that belongs to each VLAN or travelling through links is known as Frame Tagging or VLAN Tagging. This method was developed by CISCO.

Learn more on Frame Tagging from:

https://brainly.com/question/14137985?referrer=searchResults

#SPJ4

Morgan’s computer is having trouble writing and retrieving programs from the hard drive. Because of the malfunction in disk operations, what type of software is MOST LIKELY NOT working correctly?

A.
utility program

B.
operating system

C.
application software

D.
communication program

Answers

The software that is most likely not working is operating system. The correct option is B.

What is operating system?

The most important software that runs on a computer is the operating system. It manages the memory and processes of the computer, as well as all of its software and hardware.

It also allows individuals to communicate with the computer as if they do not understand its language.

The operating system (OS) controls all of the computer's software and hardware. It manages files, memory, and processes, handles input and output, and controls peripheral devices such as disk drives and printers.

As Morgan is not able to write and retrieve programs from hard drive, it can be possible that operating system is not working.

Thus, the correct option is B.

For more details regarding operating system, visit:

https://brainly.com/question/6689423

#SPJ1

just send a packet (any type) to the destination, with its time-to-live (ttl) field set to 1 first. this packet will be dropped by the first router, which will send us an icmp error message, telling us that the time-to-live has exceeded. that is how we get the ip address of the first router. we then increase our ttl field to 2, send out another packet, and get the ip address of the second router. we will repeat this procedure until our packet finally reach the destination.

Answers

The  sniff-and-then-spoof software will be implemented by combining the sniffing and spoofing techniques. On the same LAN, you require two VMs. You ping an IP X from VM A.

Packet Sniffing and Spoofing techniques  OverviewPacket Sniffing and Spoofing techniques Both packet sniffing and spoofing are crucial ideas in network security because they pose serious risks to network communication. It is crucial to comprehend these two risks in order to comprehend networking security measures. There are numerous packet sniffing and spoofing programs available, including Wireshark, Tcpdump, Netwox, and Scapy. Attackers and security professionals both frequently utilize some of these tools. While being able to utilize these tools is crucial for students in a network security course, understanding how they operate—specifically, how packet sniffing and spoofing are implemented in software—is even more crucial. The two goals of this lab are to become proficient with the tools and comprehend the technology that support them.

Learn more about spoofing techniques here:

https://brainly.com/question/15203764

#SPJ4

to display the function arguments dialog box, click the tab, click the button in the function library group, and then click if at the drop-down list.

Answers

Click the Formulas tab, select the Logical button under the Function Library group, and then select it from the drop-down list to open the Function Arguments dialog box.

Displayed is the Function Arguments dialog box. Depending on the quantity and kind of parameters needed for the selected function, this dialog will direct you through entering the arguments. The function is placed directly into the Rules Editor when one of the functions does not require parameters. Information supplied into a function can be referred to as either an argument or a parameter. From the perspective of a function: A parameter is a variable that is specified in the function definition between parentheses. When a function is called, a value is passed as an argument. Python supports default values for function parameters. By utilizing the assignment operator, we can provide an argument a default value.

Learn more about Function here:

https://brainly.com/question/17448971

#SPJ4

arry wants to upgrade to windows 10. he will use his computer both at home and at work and will need to connect to his company's wi-fi peer-to-peer network to share files over the network. which version of windows 10 would you recommend to larry? a. windows 10 home b. windows 10 pro c. windows 10 education d. windows 10 enterprise

Answers

Since Larry wants to upgrade to windows 10. the version of windows 10 would you recommend to Larry is option  a. windows 10 home

Is Windows 10 Home good software?

The Home edition of Windows 10 will be adequate for the vast majority of consumers. There is no advantage to upgrading to Pro if you only use your PC for gaming. Even for power users, the Pro version's added features mainly emphasize business and security.

Note that Windows 10's Home edition is $120, while the Pro edition is $200. It will immediately activate your current Windows installation because this is a digital purchase. There is no requirement that you buy a physical license.

Therefore, the security of Windows 10 is the primary distinction between Windows 10 Home and Windows 10 Pro. When it comes to wi-fi peer-to-peer network and securing your information, Windows 10 home is a safer option.

Learn more about windows 10 from

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

a rule of thumb in printing says that the area of the typed page should be half the area of the paper page. if the paper page is in by ​in, what should the length of the typed page be if the width is ​in?

Answers

The typed page is 2.5 by 2.5 inches. For objects with two or more dimensions, area is calculated. The area of one-dimensional objects is not calculable.

Any non-negative real integer can represent an area. Integrals are frequently applied while assessing area. It is well known that the product of a rectangle's dimensions determines its area. Let the paper page's area and the typed page's area be AT and AP, respectively. If the typed page is x characters long, we get AT=x5 and AP=46.

The answer to the query is AT=1/2AP.

So, ascertain x's value.

AT=12AP\s

x⋅5=12⋅4⋅6 \s

x=12/5 \

s=2*2/5

The typed page is therefore 2*2/5 inches by 5 inches.

Learn more about Area here-

https://brainly.com/question/27683633

#SPJ4

e a function called isshortsweather. it should accept a single number argument, which we will call temperature(but you can name it whatever you want, of course). if temperature is greater than or equal to 75, return true. otherwise, return false

Answers

function isShortsWeather(temperature) {

   if (temperature < 75); {

       return false;

   }

   if (temperature >= 75) {

       return true;

   }

}

console.log(isShortsWeather(80)) //true

console.log(isShortsWeather(48)) //false

console.log(isShortsWeather(75)) //true

A function in Python is a collection of connected statements that work together to complete a given goal. Our program is divided into manageable, modular pieces with the aid of functions. Functions help our program stay orderly and manageable as it gets bigger and bigger. Additionally, it prevents repetition and makes the code adaptable. The Python interpreter has predefined the built-in functions for Python. 68 built-in Python functions are available. Depending on the needs of the user, these functions carry out a specific purpose and can be utilized in any software. In general, there are two categories of functions: User-defined functions are those that the user defines to carry out a particular task. Built-in functions: In Python, they are already defined functions.

Learn more about Function here:

https://brainly.com/question/17448971

#SPJ4

part b: enhancing the chatbot in the part we want to make alterations to the getresponse method of the magpie class to be able to respond to some other words if they happen to appear in what the user inputs.

Answers

The Web Response instance is returned by the Get Response method, which sends a request to a web site.

Get Response completes the request and returns any responses if the request was already started by a call to Get Request Stream. The Web Response is accessible synchronously through the Get Response function.

import java.util.Random;

import java.util.Scanner;

public class ChatBot

{

private int responseCount = 0;

public String getResponse(String value)

{

   String X = longestWord(value);

   this.responseCount++;

   if (responseCount == 10)

   {

       return "Sorry, but our time is up. I can't talk with you any longer.";

   }

   if (value.contains("you"))

   {

       return "I'm not important. Let's talk about you instead.";

   }

else if (X.length() <= 3)

   {

       return "Maybe we should move on. Is there anything else you would like to talk about?";

   }

   else if (X.length() == 4)

   {

       return "Tell me more about " + X;

   }

else if (X.length() == 5)

   {

       return "Why do you think " + X + " is important?";

   }

   else if (X.length() <=9)

   {

   return "Now we are getting somewhere. How does " + X + " affect you the most?";

   }

   return getRandomResponse();

}

public String longestWord(String value){

   Scanner input = new Scanner (value);

   String longest = new String();

   longest = "";

   while (input.hasNext())

   {

       String temp = input.next();

       if(temp.length() > longest.length())

       {

           longest = temp;

       }

   }

   return longest;

}

private String get Random Response()

{

String [] responses = {"OMG", "LOL", "You don't say", "Really?", "I See"};

return responses [(int)(Math.random() * responses.length)];

}

Learn more about response here-

https://brainly.com/question/14967011

#SPJ4

what dose the space bare look like???

Answers

The space bar key is one that is seen on a computer keyboard or on a typewriter and it look like a long ruler. It is often called a horizontal bar seen on the lowermost row.

What does the spacebar look like?

The spacebar, also referred to as the space key or space, is a long, horizontal key on the bottom border of a keyboard. On the keyboard, it is often the biggest and longest key.

Note that it is seen as a blank, space, spacebar, or say it is a space key. The space bar key is one that is found at the lowest row, as well as on horizontal bar-shaped key on a typewriter or alphanumeric keyboard. It is substantially one that broader than all other keys.

Learn more about space bar key from

https://brainly.com/question/23126526

#SPJ1

A​ ________ is software that enables an organization to centralize​ data, manage them​ efficiently, and provide access to the stored data by application programs.

Answers

Answer:

Database

Explanation:

-

Hope that helps

How are classified the network classes?, and write and IP number valid in each network class.

Answers

The network classes are classified into A, B and C and each one has a different number of characters for the IP number.

What are class A networks?

Class A networks are a type of network that is characterized by using the first 8 bits (characters) of the IP address as the network part and the remaining 24 bits as the host part.

What are class B networks?

Class B networks are a type of network that is characterized by using the first 16 bits as the network part and the remaining 16 bits as the host part.

What are class C networks?

Class C networks are a type of network that is characterized by using the first 24 bits (characters) as part of the network and the remaining 8 bits as part of the host.

Examples of network classes:Class A: 1.1.1.1Class B: 128.1.1.1Class C: 192.1.11.

Learn more about IP number in: https://brainly.com/question/20377104

#SPJ1

46.5% complete question a hacker is trying to gain remote access to a company computer by trying brute force password attacks using a few common passwords in conjunction with multiple usernames. what specific type of password attack is the hacker most likely performing?

Answers

The specific type of password attack is the hacker most likely performing  Because brute force assaults are one of the most popular and straightforward ways for hackers to access accounts, they are widely used.

A possible birthday password The owner or boss will almost certainly use the same password, so there is an 80% chance that the hacker will use that password if they obtain the worker information. If they obtain your information, they could view your passwords and attempt to hack the company computer. This is because if the workers all share the same password because the company computer requires a common password, the hacker could simply use that password.

Learn more about Password here-

https://brainly.com/question/14580131

#SPJ4

this mechanism encompasses the components and policies necessary to control and track user identities and access privileges for it resources, environments, and systems.

Answers

The identity and access management (IAM) mechanism includes all of the elements and rules required to manage and keep track of user identities and access rights for IT resources, environments, and systems.

The discipline of controlling access to corporate resources in order to safeguard systems and data is known as identity management and access control. It can assist in confirming your users' identities prior to allowing them the appropriate level of access to workplace systems and information as a crucial part of your security architecture. User identities and access rights are defined and managed by an identity and access management (IAM) system. Customers (customer identity management) and employees are IAM users (employee identity management).

Learn more about management here-

https://brainly.com/question/14523862

#SPJ4

write a driver program (lists.cpp) that defines an integer list and a string list. after creating the two lists, use the input from intdata.dat and strdata.dat files to insert data into the linked lists. these files have one data item per line. insert the data items to their respective list objects. display the lists.

Answers

linked_list.h

#include<stdlib.h>

using namespace std;

class IntNode

{

  public:

      int data;

      IntNode *next;

  public:

      IntNode(int d)

      {

          data=d;

          next=NULL;

      }

}

class StrNode

{

  public:

      string data;

      StrNode *next;

  public:

      StrNode(string str)

      {

          data=str;

          next=NULL;

      }

};

class IntLL

{

  public:

      IntNode *head;

  public:

      IntLL()

      {

          head=NULL;

      }

      void insert(int data)

      {

          IntNode *node=new IntNode(data);

          node->next=head;

          head=node;

      }

      int getTotal()

      {

          int count=0;

          for(IntNode *node=head;node;node=node->next)

          {

              count++;

          }

          return count;

      }

      void search(int data)

      {

          for(IntNode *node=head;node;node=node->next)

          {

              if(node->data==data)

              {

                  cout << data << " was found in the list" << endl;

                  return;

              }

          }

          cout << data << " was NOT found in the list" << endl;

      }

};

class StrLL

{

  public:

      StrNode *head;

  public:

      StrLL()

      {

          head=NULL;

      }

      void insert(string data)

      {

          StrNode *node=new StrNode(data);

          node->next=head;

          head=node;

      }

      int getTotal()

      {

          int count=0;

          for(StrNode *node=head;node;node=node->next)

          {

              count++;

          }

          return count;

      }

      void search(string data)

      {

          for(StrNode *node=head;node;node=node->next)

          {

              if(node->data==data)

              {

                  cout << data << " was found in the list" << endl;

                  return;

              }

          }

          cout << data << " was NOT found in the list" << endl;

      }

};

mainList.cpp

#include<iostream>

#include<fstream>

#include"linked_list.h"

using namespace std;

void add_int_items(IntLL &intLL)

{

   ifstream myfile("intData.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          intLL.insert(stoi(line));

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

void add_str_items(StrLL &strLL)

{

   ifstream myfile("strData.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          strLL.insert(line);

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

void intSearch(IntLL &intLL)

{

  ifstream myfile("intSearch.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          intLL.search(stoi(line));

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

void strSearch(StrLL &strLL)

{

  ifstream myfile("strSearch.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          strLL.search(line);

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

int main()

{

  IntLL intLL;

  add_int_items(intLL);

  cout << "Total integer items in list: " << intLL.getTotal() << endl;

  intSearch(intLL);

  cout << endl;

  StrLL strLL;

  add_str_items(strLL);

  cout << "Total string items in list: " << strLL.getTotal() << endl;

  strSearch(strLL);  

  return 0;

}

I written in c language

C is a procedural programming language with a static framework that supports lexical variable scoping, recursion, and structured programming. Constructs in the C programming language translate nicely to common hardware instructions. Programs that were formerly written in assembly language have long used it. C is a machine-independent programming language that is primarily used to build various applications and operating systems like Windows, as well as more complex programs like the Oracle database, Git, Python interpreter, and games. It is regarded as a programming foundation when learning any other programming language. Examples of such applications include operating systems and other application software for computer architectures, including supercomputers, PLCs, and embedded systems.

Learn more about c language here:

https://brainly.com/question/7344518

#SPJ4

Other Questions
The value of 18C7 is the same as the value of 18Cn, where n = ? Kirov plays an important part in the rise of Stalin. Who was responsible for Kirov's death? Why was Kirov killed? How was his death used by Stalin to gain total power? A plant root is an example of . Read the prompt, then type the answer in the box. In literature, tone is the way an author expresses his or her attitude about a subject. The author's tone also provides clues about the author's viewpoint or position on a subject or situation. What is the author's tone in "Homesick"? How does the author's word choice set the tone and convey a viewpoint? Use evidence from the text to support your response. Which type of Internet services uses wires similar to telephones?A.Cable.B.Fiber-optic.C.DSL.D.Satellite. I need help please it would help me a lot thank u Which values are in the solution set to this inequality? 3 x 4 < 9 and x 6 3 x = 4 x = 11 x = 18 x = 12 x = 15 Can someone help me?? I really need the help and I would appreciate it! Thank you so much in advance! :) y= -1/2 x - 5 write in slope intercept form. Flattened stacked space were replaced by mathematically correct images with dimension and _______PLEASE HELP A retail company is studying the number of employees, based on job classification, such as employee, manager, and senior manager. Which of the following displays could be used to represent the data, and why?O Bar chart; because job classification is categoricalO Box plot; because job classification is categoricalO Circle graph; because job classification is numericalO Histogram, because job classification is numerical Vocab answers? Need ASAP!! Giving Branniest. Give two examples of ways that ecosystems can change over time. write your answers in a complete sentence. one way that ecosystems can change over time is Why were chartered companies important to British imperialism in India? A. They convinced France and Germany to join Great Britain'sinvasion of India. B. They defeated the Mughal Empire and took control of India'sgovernment.C. They helped the British maintain and preserve traditional Indianculture. D. They won support among poor Indians by promising them equaltreatment. Complete the process of solving the equation.Fill in the missing term on each line. Simplify any fractions.5(y + 1) = 5y + 1 =Divide both sides by 5Subtract 1 from both sides The graph of the function f(x) = x - 3x - 4 is shown below. Choose the best description ofthe roots.&50OTwo real roots and one non-real roots.O Four real roots and no non-real roots.O Two real roots and no non-real roots.O Two real roots and two non-real roots.5 A way to test the tensile strength of a wire is to place a mass at the end of it and spin the mass with uniform circular motion. The speed at which the wire breaks is a measure of its strength. The maximum frequency of rotation before a certain wire breaks is 35.5 Hz. The wire is 50.5 cm long and has a mass of 0.656 kg. (a) Determine the speed with which the mass moves. (b) Calculate the centripetal force acting on the wire Discrimination Hurts Everyone Essay Element 115 was first created in Russia in 2003, but the International Union of Pure and Applied Chemistry didnt announce it as a new element until it was created again in Germany in 2013. Suggest why the IUPAC requires an independent confirmation of the discovery of an element. a second order reaction has a rate constant of 0.0796 m-1s-1 at 1010 k and a rate constant of 0.0910 m-1s-1 at 1210 k. calculate the activation energy for the reaction in kj/mol. r Graph each equation by using the x and y intercepts Question 2: 5x-2y=7