In: Finance
In: Finance
QUESTION 20
Floating-point instruction names begin with the letter F to distinguish them from CPU instructions.
True
False
1 points
QUESTION 21
Which of the following exception conditions are recognized and detected by the floating point unit (FPU)?
| a. |
Inexact precision |
|
| b. |
Divide by zero |
|
| c. |
Numeric overflow |
|
| d. |
Numeric underflow |
1 points
QUESTION 22
How many operands can a floating-point instruction have?
| a. |
Can have zero operands. |
|
| b. |
Can have two operands. |
|
| c. |
Can have one immediate operand. |
|
| d. |
Must have at least one operand. |
1 points
QUESTION 23
What effect does initializing the floating point unit (FPU) have on the contents of the FPU control word.
| a. |
All floating-point exceptions are masked. |
|
| b. |
Nothing, the FPU control word is not changed at initialization. |
|
| c. |
Calculation precision is set to 80 bits. |
|
| d. |
Rounding is set to nearest even. |
1 points
QUESTION 24
How are unsigned comparisons performed by the floating point unit (FPU)?
| a. |
Integer subtraction is used. |
|
| b. |
A default value is used for the sign. |
|
| c. |
Never, floating-point values are implicitly signed. |
|
| d. |
Twos-complement is used in the comparison. |
1 points
QUESTION 25
Which of the following statements accurately describes floating point comparisons?
| a. |
They incur more runtime overhead than integer comparisons. |
|
| b. |
The extreme accuracy of floating-point numbers makes comparing for equality much easier. |
|
| c. |
Conditional jumps using the contents of the EFLAGS register are immediately available after a comparison. |
|
| d. |
They incur less runtime overhead than integer comparisons. |
1 points
QUESTION 26
What happens by default when you divide a floating-point number by zero?
| a. |
An exception is thrown and execution is transferred to the operating system. |
|
| b. |
A default value is assigned to the result and execution continues. |
|
| c. |
A default value is assigned to the result and en exception is thrown. |
|
| d. |
The processor tries to execute an appropriate exception handler. |
1 points
QUESTION 27
Which of the following statements are true regarding the x86 machine instruction format?
| a. |
The opcode overrides the deafult operand size. |
|
| b. |
A prefix byte is never optional. |
|
| c. |
An opcode is never optional. |
|
| d. |
Memory displacement bytes are optional. |
1 points
QUESTION 28
Use the following code snippet to identify the contents of ST(1)
after execution has completed:
.data
dblOne REAL8
123.45
dblTwo REAL8
3.1415
dblThree REAL8 234.56
dblFour REAL8 101.01
.code
fld dblTwo
fld dblFour
fld dblOne
fld dblThree
| a. |
3.1415 |
|
| b. |
101.01 |
|
| c. |
123.45 |
|
| d. |
234.56 |
1 points
QUESTION 29
Which of the following are fields in the FPU control word?
| a. |
Denormal operand exception mask |
|
| b. |
Overflow exception mask |
|
| c. |
Infinity control |
|
| d. |
Rounding control |
1 points
QUESTION 30
Which of the following statements accurately describes the exponent portion of a single precision floating-point number that uses the IEEE format?
| a. |
Stored as an 8-bit signed integer. |
|
| b. |
Values range from -126 to +127. |
|
| c. |
Stored as an 8-bit unsigned integer. |
|
| d. |
Stored with a positive bias of 127. |
In: Computer Science
1-
Feminism is the view that women are inherently equal to men and deserve equal rights and opportunities. The word "inherently" means _________________. (Power Point: Week One - Key Concepts; Dictonary.com)
Select one:
a. with a less critical perspective
b. a permanent quality that exists in a person or thing
c. from a patriarchal perspective
d. the opposite of innate
2-
________________ is the study of religious faith, practice, and experience; especially the study of God and of God's relation to the world.
(Power Point: Week One - Key Concepts)
Select one:
a. Gender
b. Theology
c. Feminism
d. Patriarchy
3-
_______________involve the assumption that a particular characteristic, such as race, gender, ethnicity, or sexual orientation, is the most important in the lives of group members. (Power Point: Week One - Key Concepts)
Select one:
a. Identity politics
b. Gendering
c. Females and femaleness
d. Classical civilization and modernity
4-
Catherine MacKinnon says that women are oppressed and exploited due to the __________________. (Power Point: Week One - Key Concepts)
*MacKinnon asserts that patriarchy, as a systemic oppressor, entitles men to womenâs bodies. Women are enslaved sexually through rape, marriage, sex work, and the beauty industry through a system of patriarchal commodification - turning women into objects that can be bought, sold, and discarded.
Select one:
a. social and political movement
b. social meaning of women 's bodies
c. the assumption
d. any system
5-
____________ is a word that means "man-hating." It is the dislike of, contempt for, or ingrained prejudice against males. (Power Point: Week ONe - Key Concepts)
Select one:
a. Feminism
b. Misanthropy
c. Patriarchy
d. Misandry
6-
Patriarchy is a social system in which males hold primary power, have more roles _____________ in political leadership.(Power Point: Week One - Key Concepts)
Select one:
a. not property
b. than women
c. moral authority
d. but no social privilege
7-
Gender is the state of being male or female. We typically use the word "gender" when referring to _____________ rather than biological ones. (Power Point: Week One - Key Concepts)
Select one:
a. biology
b. biological identity
c. equality
d. social and cultural differences
8-
___________ is the belief that females and males are each born with certain distinct traits. It's the belief that there are innate, essential differences between women and men. (Power Point: Week One - Key Concepts)
Select one:
a. Women's subordination
b. Subordination of peoples
c. Political and economic destiny
d. Gender essentialism
9-
The idea that we are equal but different can lead to _________________ if we forget that "equal" refers to the inherent worth of women and men.
(Power Point: Week One - Key Concepts; Inherent Worth by Rev. Dr. Mark Causey).
Select one:
a. adopting more feminine traits
b. conservatism
c. sharing caring and cooperation with females
d. discrimination
10-
People have interpreted religious beliefs in ways that say women are ______________. The sexist interpretations of religious doctrines have helped to create patriarchal systems that block womenâs full participation in society. (Power Points: Week One - Key Concepts; WomanSpirit Rising pages 1-5)
Select one:
a. superior to men
b. inferior to men
c. heads of the household
d. obedient to God
In: Psychology
In Python. The file âessay.txtâ attached to this assignment includes an essay. The essay includes a couple of sections that are separated by two consecutive newline characters (i.e. â\nâ) that are shown as empty lines between the sections if you open the file in a text editor like Notepad. Each section starts with a title followed by a couple of paragraphs; the title and the paragraphs are separated by a newline character. Each paragraph includes a couple of sentences that are ended with either a period or a question mark which is followed by a space character if the paragraph has more sentences. Explore the explained organization of the file by opening the file in Notepad before moving on to the programming part. Use this file to write a program that:
1. Displays the number of sections, paragraphs, lines, words, and characters (excluding the white-space and punctuation characters) included in this essay.
2. Lists all the distinct words included in the essay in a lexical order (i.e. alphabetical order regardless of the length of each word.)
3. Displays a sorted list of distinct words included in the essay including the number of occurrences of each word in the essay on the screen. The output list is a two-level sorted list that is first sorted by the length of the words and second all the words of a specific length are alphabetically sorted. A sample output of this step could be like:
Length Word Number of Occurrences
1 a 24
1 I 5
2 am 5
Hint: In order to access all the words of a specific length more efficiently, you may need to create a dictionary including the items in the format of âlength : listOfWordsâ where length is of the type of int that is used to retrieve a list including all the words of that length as the value. Assumptions and requirements
1. The file does not include any punctuation mark other than period, comma, or question mark.
2. There is either one space or a comma followed by a space between two consecutive words in a sentence.
3. There is no digit or apostrophe character included in the file.
4. This program is case-insensitive for the first letter of the words, however, a word that is all in uppercase is considered as a distinct word (i.e. it is an abbreviation). For example, the words âAirâ and âairâ are considered as the same word, however, the word âAIRâ is not the same as any of the two previous words.
Essay.txt
What is pollution? Environmental pollution occurs when pollutants contaminate the natural surroundings. Pollution disturbs the balance of our ecosystems, affect our normal lifestyles and gives rise to human illnesses and global warming. Pollution has reached its peak due to the development and modernization in our lives. With the development of science and technology, there has been a huge growth of human potentials. People have become prisoners of their own creations. We waste the bounties of our nature without a thought that our actions cause serious problems. We must deepen our knowledge of nature`s laws and broaden our understanding of the laws of the human behavior in order to deal with pollution problems. So, it is very important to know different types of pollutions, their effects and causes on humanity and the environment we live in. Types, causes, and effects of pollution Air pollution is one of the most dangerous forms of pollution. A biological, chemical, and physical alteration of the air occurs when smoke, dust, and any harmful gases enter into the atmosphere and make it difficult for all living beings to survive as the air becomes contaminated. Burning of fossil fuels, agriculture related activities, mining operations, exhaust from industries and factories, and household cleaning products entail air pollution. People release a huge amount of chemical substances in the air every day. The effects of air pollution are alarming. It causes global warming, acid rains, respiratory and heart problems, and eutrophication. A lot of wildlife species are forced to change their habitat in order to survive. Soil pollution occurs when the presence of pollutants, contaminants, and toxic chemicals in the soil is in high concentration that has negative effect on wildlife, plants, humans, and ground water. Industrial activity, waste disposal, agricultural activities, acid rain, and accidental oil spill are the main causes of soil pollution. This type of contamination influence health of humans, affects the growth of plants, decreases soil fertility, and changes the soil structure. Water pollution is able to lead our world on a path of destruction. Water is one of the greatest natural resources of the whole humanity. Nothing will be able to live without water. However, we do not appreciate this gift of nature and pollute it without thinking. The key causes of the water pollution are: industrial waste, mining activities, sewage and waste water, accidental oil leakage, marine dumping, chemical pesticides and fertilizers, burning of fossil fuels, animal waste, urban development, global warming, radioactive waste, and leakage from sewer lines. There is less water available for drinking, cooking, irrigating crops, and washing. Light pollution Light pollution occurs because of the prominent excess illumination in some areas. Artificial lights disrupt the world`s ecosystems. They have deadly effects on many creatures including mammals, plants, amphibians, insects, and birds. Every year many bird species die colliding with needlessly illuminated buildings. Moreover, artificial lights can lead baby sea turtles to their demise. Noise pollution takes place when noise and unpleasant sounds cause temporary disruption in the natural balance. It is usually caused by industrialization, social events, poor urban planning, household chores, transportation, and construction activities. Noise pollution leads to hearing problems, health issues, cardiovascular issues, sleeping disorders, and trouble communicating. Moreover, it affects wildlife a lot. Some animals may suffer from hearing loss while others become inefficient at hunting. It is very important to understand noise pollution in order to lower its impact on the environment. Radioactive pollution is the presence of radioactive substances in the environment. It is highly dangerous when it occurs. Radioactive contamination can be caused by breaches at nuclear power plants or improper transport of radioactive chemicals. Radioactive material should be handled with great care as radiation destroys cells in living organisms that can result in illness or even death. Solutions to pollution problems Environmental pollution has negatively affected the life of both animals and human-beings. The only way to control current environmental issues is to implement conservation methods and create sustainable development strategies. We should find some effective solutions in order to restore our ecological balance. First of all, we should make sustainable transportation choices. We should take advantage of public transportation, walk or ride bikes whenever possible, consolidate our trips, and consider purchasing an electric car. It is very important to make sustainable food choices. Choose local food whenever possible; buy organically grown vegetables and fruits or grow your own. People should conserve energy. Turn off electronics and lights when you are not in the room. Consider what small changes can lead to big energy savings. Use energy efficient devices. It is also essential to understand the concept of reduce, Reuse and Recycle. Try to buy used items whenever possible. Choose products with minimal packaging. Buy reusable items. Remember that almost everything that you purchase can be recycled. Conserve water as much as possible. Dispose of toxic waste properly. Do not use herbicides and pesticides. Use natural, environmentally friendly chemicals for your everyday chores. Conclusion Environmental pollution is one of the biggest problems caused by human activities that we should overcome to see a tomorrow and guarantee our descendants a healthy life. There are many environmental concerns for communities around the world to address. We should always remember that pollution problems affect us all so each of us has to do his or her best to help restore ecological balance to this beautiful place we call home. Learn about the major polluters in your area to protect the air and water where you live. Encourage people to stop pollution, tell them everything you know about this problem, and protest local polluters together. The masses should be educated on the danger of different types of pollution. People should know everything about all consequences of the environmental
In: Computer Science
In: Advanced Math
Please comments this C++ code and show screenshots of the outputs
main.cpp
#include<iostream>
#include<vector>
#include<string>
#include"BST.h"
#include"BST.cpp"
using namespace std;
std::vector<std::string> tokenize(char line[])
{
std::vector<std::string> tok;
std::string word = "";
for (int i = 0; i <
strlen(line); i++)
{
if (i ==
strlen(line) - 1)
{
word += line[i];
tok.push_back(word);
return tok;
}
else if (line[i]
== ' ')
{
tok.push_back(word);
word = "";
continue;
}
word +=
line[i];
}
return tok;
}
int main()
{
char line[100];
cout << "Enter a line: ";
cin.getline(line, sizeof(line));
vector<string> tokens = tokenize(line);
cout << "********** TOKENS **********" <<
endl;
for (auto token : tokens)
{
cout << token <<
endl;
}
cout << "****************************" <<
endl << endl;
BST<string> T1;
for (auto token : tokens)
T1.insert(token);
cout << "************ T1 ************"
<< endl;
T1.postOrder();
cout << "****************************" <<
endl;
cout << "T1 Leaf Nodes = " << T1.CLeaves()
<< endl;
cout << "T1 Height = " << T1.height()
<< endl;
cout << "****************************" <<
endl << endl;
BST<string> T2;
vector<string> T2x = T1.getPostOrder();
for (auto token : T2x)
T2.insert(token);
cout << "************ T2 ************"
<< endl;
T2.preOrder();
cout << "****************************" <<
endl;
cout << "T2 Leaf Nodes = " << T2.CLeaves()
<< endl;
cout << "T2 Height = " << T2.height()
<< endl;
cout << "****************************" <<
endl << endl;
BST<string> T3;
vector<string> T3x = T2.getPreOrder();
for (auto token : T3x)
T3.insert(token);
cout << "************ T3 ************"
<< endl;
T3.inOrder();
cout << "****************************" <<
endl;
cout << "T3 Leaf Nodes = " << T3.CLeaves()
<< endl;
cout << "T3 Height = " << T3.height()
<< endl;
cout << "****************************" <<
endl << endl;
return 0;
}
BST.CPP
#include "BST.h"
template <typename gen>
void BST<gen>::insert(gen x)
{
insert(root, x);
}
template <typename gen>
bool BST<gen>::remove(string value)
{
return remove(NULL, root, value);
}
template <typename gen>
void BST<gen>::preOrder()
{
preOrder(root);
}
template <typename gen>
void BST<gen>::postOrder()
{
postOrder(root);
}
template <typename gen>
void BST<gen>::inOrder()
{
inOrder(root);
}
template <typename gen>
vector<string> BST<gen>::getPreOrder()
{
vector<string> temp;
getPreOrder(root, temp);
return temp;
}
template <typename gen>
vector<string> BST<gen>::getPostOrder()
{
vector<string> temp;
getPostOrder(root, temp);
return temp;
}
template <typename gen>
vector<string> BST<gen>::getInOrder()
{
vector<string> temp;
getInOrder(root, temp);
return temp;
}
template <typename gen>
int BST<gen>::CLeaves()
{
int s = 0;
CLeaves(root, s);
return s;
}
template <typename gen>
int BST<gen>::height()
{
return HeightL(root);
}
template <typename gen>
void BST<gen>::DestroyRecursive(BNode<gen>* node)
{
if (node)
{
DestroyRecursive(node->LChild);
DestroyRecursive(node->RChild);
delete node;
}
}
template <typename gen>
BST<gen>::~BST()
{
DestroyRecursive(root);
root = nullptr;
}
template <typename gen>
void BST<gen>::insert(BNode<gen>*& t, gen x)
{
if (!t) { t = new BNode<gen>; t->data = x;
t->LChild = t->RChild = nullptr; }
else if (x < t->data)
insert(t->LChild, x);
else
insert(t->RChild, x);
}
template <typename gen>
void BST<gen>::preOrder(BNode<gen>* t) {
if (t) {
cout << t->data <<
"\n";
preOrder(t->LChild);
preOrder(t->RChild);
}
}
template <typename gen>
void BST<gen>::postOrder(BNode<gen>* t) {
if (t) {
postOrder(t->LChild);
postOrder(t->RChild);
cout << t->data <<
"\n";
}
}
template <typename gen>
void BST<gen>::inOrder(BNode<gen>* t) {
if (t) {
inOrder(t->LChild);
cout << t->data <<
"\n";
inOrder(t->RChild);
}
}
template <typename gen>
void BST<gen>::getPreOrder(BNode<gen>* t,
vector<string>& temp) {
if (t) {
temp.push_back(t->data);
getPreOrder(t->LChild,
temp);
getPreOrder(t->RChild,
temp);
}
}
template <typename gen>
void BST<gen>::getPostOrder(BNode<gen>* t,
vector<string>& temp) {
if (t) {
getPostOrder(t->LChild,
temp);
getPostOrder(t->RChild,
temp);
temp.push_back(t->data);
}
}
template <typename gen>
void BST<gen>::getInOrder(BNode<gen>* t,
vector<string>& temp) {
if (t) {
getInOrder(t->LChild,
temp);
temp.push_back(t->data);
getInOrder(t->RChild,
temp);
}
}
template <typename gen>
int BST<gen>::HeightL(BNode<gen>* P) {
if (P == NULL)
return 0;
else
{
/* compute the depth of each
subtree */
int lDepth =
HeightL(P->LChild);
int rDepth =
HeightL(P->RChild);
/* use the larger one */
if (lDepth > rDepth)
return(lDepth +
1);
else return(rDepth + 1);
}
}
template <typename gen>
void BST<gen>::CLeaves(BNode<gen>* P, int& s)
{
if (P) {
if (IsLeaf(P))
s++;
CLeaves(P->LChild, s);
CLeaves(P->RChild, s);
}
}
BST.h
#pragma once
#include<iostream>
#include<vector>
#include<Windows.h>
using namespace std;
template <typename gen>
struct BNode
{
gen data;
BNode<gen>* RChild;
BNode<gen>* LChild;
BNode()
{
RChild = nullptr;
LChild = nullptr;
}
};
template <class gen>
class BST
{
public:
BST()
{
root = nullptr;
}
void insert(gen x);
bool remove(string value);
void preOrder();
void postOrder();
void inOrder();
vector<string> getPreOrder();
vector<string> getPostOrder();
vector<string> getInOrder();
int CLeaves();
int height();
void DestroyRecursive(BNode<gen>* node);
~BST();
private:
BNode<gen>* root;
void insert(BNode<gen>*& t, gen x);
void preOrder(BNode<gen>* t);
void postOrder(BNode<gen>* t);
void inOrder(BNode<gen>* t);
void getPreOrder(BNode<gen>* t,
vector<string>& temp);
void getPostOrder(BNode<gen>* t,
vector<string>& temp);
void getInOrder(BNode<gen>* t,
vector<string>& temp);
int HeightL(BNode<gen>* P);
bool IsLeaf(BNode<gen>* P)
{
return (!(P->LChild) &&
!(P->RChild));
}
void CLeaves(BNode<gen>* P, int& s);
};
text.file
Enter a line: this is a line and it is with spaces and without
semicolons
********** TOKENS **********
this
is
a
line
and
it
is
with
spaces
and
without
semicolons
****************************
************ T1 ************
and
and
a
is
it
semicolons
spaces
line
is
without
with
this
****************************
T1 Leaf Nodes = 4
T1 Height = 5
****************************
************ T2 ************
and
a
and
is
it
is
semicolons
line
spaces
without
with
this
****************************
T2 Leaf Nodes = 4
T2 Height = 9
****************************
************ T3 ************
a
and
and
is
is
it
line
semicolons
spaces
this
with
without
****************************
T3 Leaf Nodes = 4
T3 Height = 9
****************************
In: Computer Science
10 points
QUESTION 9
True
False
10 points
QUESTION 10
|
The use of big data helps in marketing decision making because it keeps marketing information more âpureâ by eliminating other business units from the marketing decision-making process. |
||
|
Big data can help firms react to market conditions more quickly, leading to optimized pricing practices. |
||
|
Data science has helped simplify promotional decisions because it has shown that simple promotions reaching large audiences work the best. |
||
|
Real-time inventory management often helps marketers plan promotional campaigns that are more effective. |
||
|
Big data has been useful in determining what other companies a firm should merge with to be a more effective marketer. |
10 points
QUESTION 11
|
The firmâs efforts in creating and placing television and print advertising |
||
|
Creating content for and monitoring consumer actions on the firmâs social media platforms, such as Facebook and Twitter |
||
|
Efforts of the firm to capture consumers no matter where they are |
||
|
Ensuring that consumers can find the firm when they search for information on products and services |
||
|
Creating display advertising, finding websites on which to place such advertising, and ensuring that inquiries made from such advertising are responded to properly. |
10 points
QUESTION 12
|
Customers acquired through word-of-mouth avenues are worth twice as much as are those attracted through other channels. |
||
|
According to Intuit co-founder Scott Cook, âA brand is no longer what we tell the consumer it isâit is what consumers tell each other it is.â |
||
|
Social interactions contribute to the retention of existing customers. |
||
|
All of these factors correctly explain the importance of social media for marketers. |
||
|
McKinsey and Company estimates that between 20% and 50% of all purchases are driven primarily by word-of-mouth recommendations. |
In: Operations Management
) In the mid-1990s, Colgate-Palmolive developed a new toothpaste for the U.S. market, Colgate Total, with an antibacterial ingredient that was already being successfully sold overseas. At that time, the word antibacterial was not allowed for such products by the Food and Drug Administration (FDA). In response, the name âTotalâ was given to the product in the United States. The one word would convey that the toothpaste is the âtotalâ package of various benefits. Young & Rubicam developed several commercials illustrating Totalâs benefits and tested the commercials with focus groups. One commercial touting Totalâs long-lasting benefits was particularly successful. The product was launched in the United States in January of 1998 using commercials that were designed from the more successful ideas of the focus group tests. Suppose 32% of all people in the United States saw the Total commercials. Of those who saw the commercials, 40% purchased Total at least once in the first 10 months of its introduction. According to U.S. Census Bureau data, approximately 20% of all Americans were in the 45-64 age category. Suppose 24% of the consumers who purchased Total for the first time during the initial 10-month period were in the 45-64 age category. Within three months of the Total launch, Colgate-Palmolive grabbed the number one market share for toothpaste. Ten months later, 21% of all U.S. households had purchased Total for the first time. The commercials and the new product were considered a success. During the first 10 months of its introduction, 43% of those who initially tried Total purchased it again. a) What percentage of U.S. households purchased Total at least twice in the first 10 months of its release? b) Can you conclude the initial purchase of Total was independent of age? Use a quantitative argument to justify your answer. c) Calculate the probability that a randomly selected U.S. consumer is either in the 45-64 age category or purchased Total during the initial 10-month period. d) What is the probability that a randomly selected person purchased Total in the first 10 months given that the person is in the 45-64 age category? e) What percentage of people who did not see the commercials purchased Total at least once in the first 10 months of its introduction?
In: Economics
You are a songwriter, tired and upset because of all the lame easy rhymes that are in the most popular songs today. You decide to write a program that checks if two words rhyme. The program ignores and discards perfect rhymes such as rat and bat or glove and dove. The program returns a rhyme percentage based on the pronunciation of the words.
Because the program ignores perfect rhymes, words that rhyme perfectly will receive a score higher than a certain amount. If a pair of pronunciations receive a score of 75% or higher, it is considered a perfect rhyme. In such a case the program must return -1. However, if the pronunciations receive a score of 40% or lower, the rhyme is too weak to use and the program must return -999. Otherwise the program must return the rhyme (percentage) score.
A rhyme score is calculated by comparing the letters of each syllable of two words:
The rhyme score is then determined by the total score divided by the total number of letters in the largerpronunciation (excluding the underscores if any).
Write a function bRhymes() that accepts 2 pronunciations as strings and returns the rhyme percentage rounded to 1 decimal place, -1 if it is a perfect rhyme or -999 if the rhyme is too weak.
Code is already provided for the program which runs your function bRhymes().
Input Format
[PROGRAM INPUT]
Two lines each containing a string, such as ahi_dee_uhl_ahiz (in Line 1) and ree_uhl_ahiz (in Line 2). The first line for the pronunciation of the first word and the second line for the pronunciation of the second word. An example of the exact input would appear as:
ahi_dee_uhl_ahiz
ree_uhl_ahiz
.
[FUNCTION bRhymes() INPUT]
2 strings which represents rhyme pronunciations
Constraints
where w1 and w2 are pronunciations
Output Format
[PROGRAM OUTPUT]
A single float, such as 69.2 which represents the rhyme percentage rounded to 1 decimal place, -1 if it is a perfect rhyme or -999 if the rhyme is too weak. An example of the exact output would appear as:
69.2
In: Computer Science