subject

1. first, declare a variable named myarray and assign it to an empty array.2. great! now populate myarray with two strings. put your full name in the first string, and your skype handle in the second.3.next, declare a function named cutname. it should expect a parameter name.4. cutname should return an array by breaking up the input string into individual words. for example "douglas crockford" should be returned as ["douglas", "crockford"]5. declare a new variable named myinfo and assign it to an empty object literal.6. add the following three key-value pairs to myinfo: a. key: fullname value: the result of calling cutname on the name string within myarray. b. key: skype: value: the skype handle within myarray. c. key: github value: if you have a github handle, enter it here as a string. if not, set this to null instead.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:40
Adna sequence encoding a five-amino acid polypeptide is given below. …… …… locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
question
Computers and Technology, 21.06.2019 22:00
Your task this week is to write a very simple spam classifier in python. it will classify messages as either spam (unwanted) or ham (wanted). the program will have a set of spam_words, words that are known to appear in spam messages. that set is included in the template file spam.pypreview the document. you will also define a spam threshold which reflects the allowed percentage of spam words in the message. you'll compute a 'spam indicator', which is the ratio of spam words to the total number of unique words in the message. if the spam indicator exceeds the spam threshold, the message is classified as spam. otherwise it is classified as ham. we'll assume that the spam threshold is a constant and has a value of 0.10. your program will prompt the user for a message and then will print the corresponding spam indicator with two decimal digits and the corresponding classification (spam or ham). the program will be case insensitive. the spam words are detected whether they are in lower case or upper case or mixed case. each word, spam or not, is counted once (even if it appears multiple times in the message.) the program will remove punctuation from the message before identifying the words and computing the spam indicator. for example '! ' must be identified as the spam word 'now'.
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
You know the right answer?
1. first, declare a variable named myarray and assign it to an empty array.2. great! now populate m...
Questions
question
Mathematics, 24.02.2020 23:58
question
Mathematics, 24.02.2020 23:58
Questions on the website: 13722367