Questions
Write a report Approximately 1000 word report (800-1300 words excluding Conclusion) on ONE of the following...

Write a report Approximately 1000 word report (800-1300 words excluding Conclusion) on ONE of the following topics:

1. Quantum Cryptography

2. Quantum Computing and its impact on Cryptography

3. Zero-knowledge protocols (or proofs) in Signature Schemes

4. Secret Sharing (or splitting) in Cryptography

5. P vs. NP

It is VERY important that references are included (Note: Wikipedia is NOT acceptable)

Written Report for required format and marking criteria.

Note: Diagrams and / or images should be included. Any words associated with the diagrams should not be used in the 1000 word count for your report. (e.g. Diagram titles).

In: Computer Science

In java P4.6 Following Section 4.9 develop a program that reads text and displays the average...

In java P4.6 Following Section 4.9 develop a program that reads text and displays the average number of words in each sentence. Assume words are separated by spaces, and a sentence ends when a word ends in a period. Start small and just print the first word. Then print the first two words. Then print all words in the first sentence. Then print the number of words in the first sentence. Then print the number of words in the first two sentences. Then print the average number of words in the first two sentences. At this time, you should have gathered enough experience that you can complete the program.

In: Computer Science

In python, 1- Modify your mapper to count words after removing punctuation marks during mapping. Practice...

In python,

1- Modify your mapper to count words after removing punctuation marks during mapping.

Practice the given tasks in Jupyter notebook first before running them on AWS. If your program fails, check out stderr log file for information about the error.

import sys
sys.path.append('.')

for line in sys.stdin:
   line = line.strip() #trim spaces from beginning and end
   keys = line.split() #split line by space
   for key in keys:
       value = 1
       print ("%s\t%d" % (key,value)) #for each word generate 'word TAB 1' line

In: Computer Science

In python, Modify your mapper to count the number of occurrences of each character (including punctuation...

In python,

Modify your mapper to count the number of occurrences of each character (including punctuation marks) in the file.

Practice the given tasks in Jupyter notebook first before running them on AWS. If your program fails, check out stderr log file for information about the error.

import sys
sys.path.append('.')

for line in sys.stdin:
   line = line.strip() #trim spaces from beginning and end
   keys = line.split() #split line by space
   for key in keys:
       value = 1
       print ("%s\t%d" % (key,value)) #for each word generate 'word TAB 1' line

In: Computer Science

In terms of job loss, North Carolina is one of the states most adversely affected by...

In terms of job loss, North Carolina is one of the states most adversely affected by the United States-Mexico-Canada Agreement (USMCA). Assume hypothetically that North Carolina is considering a 25% tariff (tax) on all foreign-manufactured textiles and furniture items imported into the state. The tariff's purpose will be predominately protective in nature, designed to protect and advance textile and furniture manufacturers in North Carolina and to create jobs. In a 250- to 500-word (double spaced Word document) original paper, advise the lawmakers in North Carolina of the CONSTITUTIONALITY of such a tariff and what other alternative remedies are available, if any.

In: Operations Management

Develop code in a Scala Maven project to monitor a folder in HDFS in real time...

Develop code in a Scala Maven project to monitor a folder in HDFS in real time such that any new file in the folder will be processed .For each RDD in the stream, the following subtasks are performed concurrently: (a) Count the word frequency and save the output in HDFS. Note, for each word, make sure space (" "), comma (","), semicolon (";"), colon (":"), period ("."), apostrophe (“’”), quotation marks (“””), exclamation (“!”), question mark (“?”), and brackets ("[", “{”, “(”, “” ) are trimmed. (b) Filter out the short words (i.e., < 5 characters) and save the output in HDFS. (c) Count the co-occurrence of words in each RDD where the context is the same line; and save the output in HDFS.

In: Computer Science

Think of a product that you can recycle that you might want to be able to...

Think of a product that you can recycle that you might want to be able to deposit into aRecycling Machine, like maybe an empty soft drink can. Start by listing all the properties of that object that you can think of – try to come up with at least tengeneral properties of aRecyclableItemand write these down in your Assignment_Part_1_Microsoft Word document, provided for download in the assessment section of your Moodle shell. Next, use the process of abstraction to cut the number of properties back to only ‘key’ properties – write these down in the next section of your Word document. Take a look at the week 2 lecture slides if you need a reminder on how to go about this. Now, fill in the class diagram for your Item class in the Word document template provided. Your RecyclableItemclass does not have to have any methods (i.e. functions) associated with it to perform any actions other than a constructor which takes and set the key properties that you’ve identified. Next we’ll move on to RecyclingMachine class – think about what information the Recycling Machine has to keep track of to allow you to successfully deposit an item to be recycled. There will only really be three key properties that the RecyclingMachine cares about, and the RecyclingMachineclass should have the following five methods available: 1) A default constructor that takes no arguments and initialises a new object and its properties, 2) accept_product(), 3) select_product() 4) payout(anAmount) 5) print_receipt(). Fill in the class diagram for the RecyclingMachine class in the Word template, and that’s the first part completed!

In: Computer Science

How to combine these 2 main functions of c++ files in 1 main class? //SinglyLinkedList int...

How to combine these 2 main functions of c++ files in 1 main class?

//SinglyLinkedList

int main() {
SinglyLinkedList<std::string> list;
list.Add("Hello");
list.Print();
list.Add("Hi");
list.Print();
list.InsertAt("Bye",1);
list.Print();
list.Add("Akash");
list.Print();
if(list.isEmpty()){
cout<<"List is Empty "<<endl;
}
else{
cout<<"List is not empty"<<endl;
}
cout<<"Size = "<<list.Size()<<endl;
cout<<"Element at position 1 is "<<list.get(1)<<endl;
if(list.Contains("X")){
cout<<"List contains X"<<endl;
}
else{
cout<<"List does not contain X"<<endl;
}
cout<<"Position of the word Akash is "<<list.IndexOf("Akash")<<endl;
cout<<"Last Position of the word Akash is "<<list.LastOf("Akash")<<endl;
list.RemoveElement("Akash");
cout<<"After removing Akash from the list "<<endl;
list.Print();
return 0;
}

//DoublyLinkedList

int main() {
DoublyLinkedList<std::string> list;
list.Add("Hello");
list.Print();
list.Add("Hi");
list.Print();
list.InsertAt("Bye",1);
list.Print();
list.Add("Akash");
list.Print();
if(list.isEmpty()){
cout<<"List is Empty "<<endl;
}
else{
cout<<"List is not empty"<<endl;
}
cout<<"Size = "<<list.Size()<<endl;
cout<<"Element at position 1 is "<<list.get(1)<<endl;
if(list.Contains("X")){
cout<<"List contains X"<<endl;
}
else{
cout<<"List does not contain X"<<endl;
}
cout<<"Position of the word Akash is "<<list.IndexOf("Akash")<<endl;
cout<<"Last Position of the word Akash is "<<list.LastOf("Akash")<<endl;
list.RemoveElement("Akash");
cout<<"After removing Akash from the list "<<endl;
list.Print();
return 0;
}

In: Computer Science

Eighth edition Administrative office management An Introduction Zane K. Quible Ph.D. Mary Brown, the supervisor of...

Eighth edition Administrative office management An Introduction Zane K. Quible Ph.D.

Mary Brown, the supervisor of the word processing center in Delta Corporation in San Antonio, recently retired because of her age. During the years she had been supervisor, various managers felt that Brown should be dismissed because of her laxness in supervising the ten employees in the center. Because she reaching retirement age, however she was not dismissed. The employees were often late to work, took longer breaks that was permissible, took advantage of the corporation in terms of sick days, and so forth. Mary was repeatedly asked to be stricter in her supervisory efforts, but no noticeable changes were ever made. When the qualifications for the replacement for Mary brown were developed, the decision was made that the new supervisor should be more authoritarian and should require the employees in the word processing center to conform with existing company policy. The replacement, Annabell Jackson, was hired primarily because of her authoritarian characteristics. All of her former employers who were contacted regarding Jackson’s performance mentioned her authoritarian personality. Because of the laxness of brown and the hope that Jackson could improve the situation, she was offered the job. As the administrative office manager, you are aware that the first day Jackson is on the job will probably determine whether or not the employees in the word processing center will cooperate with her. Thus, you feel a necessity to discuss several things with her before her first day on the job.

What suggestions do you have to assure Jackson’s success as a supervisor in the word processing center?

In: Operations Management

You download two sets of posts from an online forum. Set One is a collection of...

You download two sets of posts from an online forum. Set One is a collection of posts by "pro-Hong Kong Protestors" (HKP) students. Set Two is a collection of posts by pro-Chinese Government (CG) students. (Let's say you get these two collections by searching for students who are members either of a pro-HKP group, or pro-CG group.) You compute the probabilities of different words they use, and focus on a set of six "key" words of interest, {"legal", "democracy", "violence", "legitimate", "calm", "foreign"}. You compute the "probability that, given that they use one of these five words, which word it is" (you could do this by counting up each of those words for the two sets, and dividing by the total number of those words in each set.) words: {"legal", "democracy", "violence", "legitimate", "calm", "foreign"}. pHKP = {0.2, 0.2, 0.3, 0.2, 0.05, 0.05} pCG = {0.1, 0.05, 0.3, 0.05, 0.1, 0.4}

The government tells you that they think about 10% of the posters on the mainland are pro-HKP, and they just want to have a conversation with these people about things.

You encounter a post. The poster uses the word "democracy" twice, the word "violence" once, and the word "foreign" once. Assuming that he is either pro-HKP, and follows the pHKP distribution, or pro-CG, and follows the pCG distribution...

Q: Given government priors, what is the probability that the poster is pro-HKP? (i.e., follows the pHKP distribution rather than the pCG distribution)

In: Math