Ask a New Question
Search
Questions and answers by
alexander hamilton
Questions (10)
Question
Which of these are the costs associated with finding a desired solution to a problem?(1 point) Responses efficiency
3 answers
43 views
Question
Given the code for the recursive algorithm that sums the sequence of numbers from one to one hundred: def sum(n): if n <
7 answers
32 views
Why is it preferable to use a linear search when searching smaller datasets?(1 point)
Responses A linear search is easy to
11 answers
34 views
Which of the following are the linear data structures?(1 point)
Responses arrays, lists, stack, and queues arrays, lists, stack,
11 answers
57 views
Given △TRS≅△VXW , which of the following corresponding pairs is correct?(1 point)
Responses ∠T≅∠W angle upper T
5 answers
28 views
If ∠X≅∠L, ∠P≅∠M, ∠A≅∠K, PA¯¯¯¯¯¯¯¯≅MK¯¯¯¯¯¯¯¯¯¯, AX¯¯¯¯¯¯¯¯≅KL¯¯¯¯¯¯¯¯,
3 answers
15 views
Use the paragraph to answer the question.
World War II began when Germany invaded Poland. It ended with the United States’
9 answers
29 views
Use the passage to answer the question.
The most popular motion pictures of all time include: Avatar Avengers: Endgame Titanic
7 answers
23 views
Which of the following algorithms will run in constant time?(1 point)
Responses traversing an array traversing an array accessing
5 answers
59 views
Which of the following Big O notations is appropriate for the complexity of a search algorithm?(1 point)
Responses O(n) upper O
3 answers
28 views
Answers (27)
what is the answer?
Question Students are discussing variations of algorithms to find Fibonacci numbers, like fib(6). What is the best possible time complexity that they can get for this algorithm?(1 point) Responses O(n) upper O left parenthesis n right parenthesis O(1)
Question Suppose you are examining a set of raw medical data that includes the side effects of a specific drug. You are interested in finding out which side effects occur the most often. What would be an appropriate algorithm to find this data?(1 point)
Question What is the output of the greatest common divisor function gcd(27,12) ? gcd(x,y)={x,gcd(y,x%y),y=0y>0 where x%y is remainder division or modulo (1 point) Responses 12 12 1 1 3 3 27 27 Skip to navigation
For the recursive factorial function output shown below, which lines of output would reflect the backward phase? 1 factorial(3) 2 3 * factorial(2) 3 3 * 2 * factorial(1) 4 3 * 2 * 1 5 3 * 2 6 6 (1 point) Responses 4,5,6 4,5,6 1,4 1,4 1,2,3,4,5,6
Suppose you are writing a program that requires you take different paths depending on the response to a prompt. The prompt has more than two acceptable responses. Which of the following structures would be most appropriate? (1 point) Responses if…then
Which of the following best describes cryptanalysis?(1 point) Responses Cryptanalysis is the statistical analysis of codes, ciphers, or encrypted text with the intent of decrypting encoded messages. Cryptanalysis is the statistical analysis of codes,
Two students are discussing the best algorithm to use to see if a specific element is in a sorted data set. Which classic algorithm should they choose?(1 point) Responses linear search linear search binary search binary search hashing hashing quicksort
In creating a model for a data abstraction for the concept of a pen, what would be the most appropriate attributes?(1 point) Responses gel and color gel and color ballpoint and red ballpoint and red type and color type and color type and black
Which of the following is a true statement?(1 point) Responses The efficiency of an algorithm measures the amount of resources it needs. The efficiency of an algorithm measures the amount of resources it needs. There are no ways to measure space complexity
Determine the time and space complexities of a linear search.(1 point) Responses time complexity: O(n) space complexity: O(n) time complexity: upper O left parenthesis n right parenthesis space complexity: upper O left parenthesis n right parenthesis time
The programming team knows they need to create a program that will use a linear data structure to complete large amounts of data manipulation very quickly. Which data structure is most appropriate?(1 point) Responses array list array list maps maps linked
Which of the following stores only one type of data in a specific location and must contain some value, meaning it cannot be null?(1 point) Responses operator operator primitive data structure primitive data structure float float expression
Which of these is a collection of data values and the categorization of the relationships among them, making it an efficient way of organizing and sorting data within the computer?(1 point) Responses data structure data structure data type data type stack
To prove the triangles are congruent, which of the following rigid motions would map △PBK to △LQA ? (1 point) Responses translation along the vector so that point B maps to point Q translation along the vector so that point upper B maps to point upper
What term precisely describes triangles that can be mapped onto one another through a sequence of rigid motions?(1 point) Responses congruent congruent equal equal identical identical similar similar
Given △TRS≅△VXW , which of the following corresponding pairs is correct?(1 point) Responses ∠T≅∠W angle upper T congruent to angle upper W ST¯¯¯¯¯¯¯≅WV¯¯¯¯¯¯¯¯¯ Modifying above upper S upper T with bar congruent to Modifying
By writing a concluding statement, what is the writer trying to achieve?(1 point) Responses They want to show how the various points in the text connect to each other. They want to show how the various points in the text connect to each other. They want to
When writing a concluding statement for an essay, which question should a writer ask themselves?(1 point) Responses Did I refrain from challenging the reader to take a certain action? Did I refrain from challenging the reader to take a certain action? How
What should a writer avoid when writing a concluding statement?(1 point) Responses They should avoid suggesting further possibilities or a larger meaning. They should avoid suggesting further possibilities or a larger meaning. They should avoid giving a
What is the purpose of a concluding statement in an informational or explanatory text?(1 point) Responses to educate the reader about the subject of the text. to educate the reader about the subject of the text. to summarize all of the main points made in
How can you maintain a formal style? Select the two correct answers.(1 point) Responses Use more complex syntax. Use more complex syntax. Include examples of slang. Include examples of slang. Use more advanced vocabulary. Use more advanced vocabulary.
What sentence features the best example of precise language?(1 point) Responses A lot of birds made the tropical forest their home. A lot of birds made the tropical forest their home. Dozens of toucans nested in the tropical forest. Dozens of toucans
Use the passage to answer the question. Which is the most effective way to separate the two sections at the blank line? (1 point) Responses by using bullets to reorganize the first section by using bullets to reorganize the first section by inserting a
Which of these matches keys to values and stores and stores them?(1 point) Responses hash table hash table unsorted array unsorted array simple data structure simple data structure efficiency
What is the evaluation of an algorithm’s performance and efficiency known as?(1 point) Responses asymptomatic analysis asymptomatic analysis basic operations basic operations solution costs solution costs hash table
so whats the answer