Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

CSP Unit #6 Test Questions and answers with rated content 2023

Note
-
Vendu
-
Pages
2
Grade
A+
Publié le
24-01-2023
Écrit en
2022/2023

1. Which of the following is true of algorithms? C. Every algorithm can be constructed using combinations of sequencing, selection, and iteration 2. The following algorithm is followed by a person every morning when they get up from bed to go to school. Which concept does this algorithm BEST demonstrate? A. Sequencing 00:02 01:14 3. Which of these algorithms will move the robot along the same path as the algorithm below? D. 4. A town government is designing a new bus system and are deciding where to put the different bus stops. they want to pick the collection of locations that minimizes the distance that anyone needs to walk in order to get to at least one bus stop. What term best defines the kind of problem? B. An optimization problem 5. The algorithm below is used to find the largest element in a list of numbers. By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how? B. Line 04 becomes "IF (num < target)" 6. Which of the following algorithms is the same as the flowchart shown below? B. 7. The graph shows the efficiencies of two different algorithms that solve the same problem. Which of the following is most efficient? D. The algorithms have different efficiencies depending on the input size 8. A school is creating class schedules for its students. The students submit their requested courses and then a program will be designed to find the optimal schedule for all students. The school has determined that finding the absolute best schedule cannot be solved in a reasonable time. Instead, they have decided to use a simpler algorithm that produces a good but non-optimal schedule in a more reasonable amount of time. Which principle does this decision best demonstrate? B. Heuristics can be used to solve some problems for which no reasonable algorithm exists 9. Which of the following algorithmic efficiencies would be considered LEAST efficient? D. Exponential 10. Which of the following best describes the existence of undecidable problems? D. An undecidable problem is a problem for which no algorithm can be constructed that always produces a correct output 11. A group of students writes their names and unique student ID numbers on sheets of paper. The sheets are then randomly placed in a stack. Their teacher is looking to see if a specific ID number is included in the stack. Which of the following best describes whether their teacher should use a linear or a binary search? B. The teacher could use either type of search though the binary search is likely to be faster 12. A computer is performing a binary search on the sorted list of 7 numbers below. What is the maximum number of iterations needed to find the item? B. 3 00:02 01:14 13. Which of the following is a benefit of parallel and distributed computing? C. Parallel computing scales more effectively than sequential computing 14. A software company is used to run an algorithm sequentially on one server. As more users start using their app, the company decided to rewrite the program to be parallel. It is now run on four separate servers instead of one. Thanks to the use of a parallel algorithm, the same process that used to take 40 minutes to run now only requires 20 minutes. The company is considering purchasing additional computers to decrease the time the program runs even further. Which of the following best describes the impacts of running the parallel algorithm on an even larger number of computers? C. The algorithm will likely require less time to run though the improvements in efficiency will not be as significant as before. 15. A sequential algorithm is broken into three stages. A parallel version of the algorithm completes the sorting stage in parallel leading to a new set of times. What is the speedup of the parallel solution? C. 2

Montrer plus Lire moins
Établissement
Csp
Cours
Csp








Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Csp
Cours
Csp

Infos sur le Document

Publié le
24 janvier 2023
Nombre de pages
2
Écrit en
2022/2023
Type
Examen
Contient
Questions et réponses

Sujets

  • selection
  • and iteration
$8.99
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien


Document également disponible en groupe

Thumbnail
Package deal
Bundle for csp
-
15 2023
$ 225.25 Plus d'infos

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
julianah420 Phoenix University
Voir profil
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
657
Membre depuis
2 année
Nombre de followers
324
Documents
33977
Dernière vente
2 jours de cela
NURSING,TESTBANKS,ASSIGNMENT,AQA AND ALL REVISION MATERIALS

On this page, you find all documents, package deals, and flashcards offered by seller julianah420

4.3

149 revues

5
101
4
20
3
8
2
5
1
15

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions