subject

You are the head of a division of a big silicon valley company and have assigned one of your engineers, jim, the job of devising an algorithm to sort through an english text of n words and convert it into an esperanto document. jim comes up with an algorithm which takes 2n2+2n bit operations to handle an input text with n words. suppose the computers in your business can handle one bit operation every nanosecond (1 nanosecond =10โˆ’9 seconds).how many nanoseconds would it take jim's algorithm to convert a text with 10 words on these computers? equation editorequation editorhow many days would it take jim's algorithm to convert a text with 50 words on these computers? ( do not round your answers for webwork.) equation editorequation editor(recall a million is 106, a billion is 109 and a trillion is 1012.)for an input text of 100 words, the statement that best describes the performance of jim's algorithm is: a. his algorithm would take between 40 thousand and 40 million years to run. b. his algorithm would take between 40 and 400 years to run. c. his algorithm would take between 40 billion and 40 trillion years to run. d. his algorithm would take between 4 and 40 years to run. e. his algorithm would take more than 40 trillion years to run. f. his algorithm would take between 4000 and 40,000 years to run. g. his algorithm would take between 40 million and 40 billion years to run.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
Consider the following function main: int main() { int alpha[20]; int beta[20]; int matrix[10][4]; . . } a. write the definition of the function inputarray that prompts the user to input 20 numbers and stores the numbers into alpha. b. write the definition of the function doublearray that initializes the elements of beta to two times the corresponding elements in alpha. make sure that you prevent the function from modifying the elements of alpha. c. write the definition of the function copyalphabeta that stores alpha into the first five rows of matrix and beta into the last five rows of matrix. make sure that you prevent the function from modifying the elements of alpha and beta. d. write the definition of the function printarray that prints any onedimensional array of type int. print 15 elements per line. e. write a c11 program that tests the function main and the functions discussed in parts a through d. (add additional functions, such as printing a two-dimensional array, as needed.)
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
You know the right answer?
You are the head of a division of a big silicon valley company and have assigned one of your enginee...
Questions
question
English, 06.01.2020 16:31
Questions on the website: 13722359