Answer:
The program in Python is as follows:
mylist = []
nword= "y"
while(nword== "y"):
word = input(": ")
mylist.append(word)
nword = input("New word: y/n: ")
for item in mylist:
freq = mylist.count(item)
print(item, freq)
Explanation:
This creates an empty list
mylist = []
This is used to let the user input more word or stop input
nword = "y"
The following iteration lets the program read words from the user
while(nword == "y"):
This gets the user input
word = input(": ")
This appends the inputted word into the list
mylist.append(word)
This prompts if the user wants to input more word or not
nword = input("New word: y/n: ")
This iterates through the list
for item in mylist:
This gets the frequency of each word in the list
freq = mylist.count(item)
This prints the word and the frequency
print(item, freq)
Answer:
Deliberate
Explanation:
Plagiarizing means when some one copy the content of any topic from the sources i.e website, solutions manual, friend manual. And if some one check the solutions and find it that it was copied from somewhere the same we termed as plagiarizing.
In the given situation, if someone copying the content from someone else document so it would be called as deliberate plagiarizing
And if someone did not have any idea about it so we called accidental plagiarizing
Answer:
By using a cloud based reputation services capable of providing patented attributes for use by commercial mobile security products.
Explanation:
By using such reputation services, the reputation services is shielded from being open to users and must have access restriction thereby ensuring that users do not experience poor service. Also, it is important to base security decisions on the objectives to be fulfilled by the security. It is also necessary for these protection to come with network and host hardening alongside the necessary management security capabilities to ensure smooth user experience.
Answer:
// program in C++.
// headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// Variable
int num;
cout << "Enter a number between 1 and 10: ";
// read input
cin >> num;
// validate input number
while(num<1||num>10)
{
// if input is wrong then print error message
cout<<"Wrong input!!Enter again:";
// read again
cin>>num;
}
// print output
cout << "The Roman numeral for "<<num<<" is:";
// switch
switch (num)
{
case 1:
// if input is 1
cout<<"I"<<endl;
// exit the switch
break;
case 2:
// if input is 2
cout<<"II"<<endl;
// exit the switch
break;
case 3:
// if input is 3
cout<<"III"<<endl;
// exit the switch
break;
case 4:
// if input is 4
cout<<"IV"<<endl;
// exit the switch
break;
case 5:
// if input is 5
cout<<"V"<<endl;
// exit the switch
break;
case 6:
// if input is 6
cout<<"VI"<<endl;
// exit the switch
break;
case 7:
// if input is 7
cout<<"VII"<<endl;
// exit the switch
break;
case 8:
// if input is 8
cout<<"VIII"<<endl;
// exit the switch
break;
case 9:
// if input is 9
cout<<"IX"<<endl;
// exit the switch
break;
case 10:
// if input is 10
cout<<"X"<<endl;
// exit the switch
break;
// default
default:
break;
}
return 0;
}
Explanation:
Read a number from usr and assign it to variable "num". If the input number is less than 1 or greater than 10 then ask again to enter a number until user enter a number between 1-10 only.Then with the help of switch() function print the equivalent Roman number.
Output:
Enter a number between 1 and 10: -5
Wrong input!!Enter again:12
Wrong input!!Enter again:6
The Roman numeral for 6 is:VI
Answer:
Scripts for businesses are always followed exactly.
Explanation:
A computer script is a list of commands that are executed by a certain program or scripting engine. Scripts may be used to automate processes on a local computer.