You would like to create a practical program that will randomly select student names from a list for your instructor to be able to call on people. What are the steps for creating this program? Explain your answer in 3-5 sentences

Answers

Answer 1

To create a program that randomly selects student names from a list, begin by crafting the roster. Names can be manually typed or loaded from a saved document.

What is the next step?

Next, generate a random number that falls within the range of the listed students. This created value will coincide with the assigned index for selection.

To avoid repetitiveness until all names have been used, display the chosen name to your preference and remove it from the list. For this project any programming language could suffice, however, selecting an easily readable option like Python is highly recommended.

It readily enables loading information from files as well as generating appropriately guided random numbers.

Read more about programs here:

https://brainly.com/question/26134656

#SPJ1


Related Questions

The degree of a point in a triangulation is the number of edges incident to it. Give an example of a set of n points in the plane such that, no matter how the set is triangulated, there is always a point whose degree is n−1.

Answers

Answer:

squarepentagon

Explanation:

The vertices of a square is one such set of points. Either diagonal will bring the degree of the points involved to 3 = 4-1.

The vertices of a regular pentagon is another such set of points. After joining the points in a convex hull, any interior connection will create a triangle and a quadrilateral. The diagonal of the quadrilateral will bring the degree of at least one of the points to 4 = 5-1.

The phrase “I suppose” helps Roosevelt create which kind of tone?


suspicious
negative
proper
humble

Answers

The phrase “I suppose” helps Roosevelt create a humble kind of tone

for better understanding, lets understand what a humble tone means

Humble kind of tone is simply a kind of tone that is said to be not proud or arrogant, modest , usually the individual feels insignificance or inferiorityExample: In the presence of so many game developers, I felt very humble. It also mean for someone to be respectful e.g.  In my humble opinion your idea was wrong

From the above, we can therefore say that the answer The phrase “I suppose” helps Roosevelt create a humble kind of tone is correct

learn more about humble tone from:

https://brainly.com/question/16589885

Answer:

it's humble

Explanation:

what does project manager do?

Answers

project managers (PMs) are responsible for planning, organizing, and directing the completion of specific projects for an organization while ensuring these projects are on time, on budget, and within scope.

What are other ways you could use the shake or compass code blocks in physical computing projects?

Answers

Answer:there are different ways of quick navigation between files and functions. ... You should use the menu 'Remove file from project' instead of deleting files. ... A Makefile generation tool for Code::Blocks IDE by Mirai Computing

#include
#include
#include
#include
using namespace std;
class cypher_encryptor
{
string cypher;
public:
cypher_encryptor(string cypher)
{
this->cypher = cypher;
}
string encode(string original)
{
string result = original;
for (int i = 0; i < original.length(); i++)
{
if (original[i] == ' ') continue;
result[i] = cypher[original[i] - 'a'];
}
return result;
}
string decode(string secret)
{
string result = secret;
for (int i = 0; i < secret.length(); i++)
{
if (secret[i] == ' ') continue;
for (int j = 0; j <= 26; j++)
{
if (cypher[j] == secret[i])
{
result[i] = j + 'a';
}
}
}
return result;
}
};
class hacker
{
//Returns for each character the number of times it appears in the string
map* count_letters(string phrase)
{
// Your code starts here
// Your code ends here
}
//Returns for each count the characters that appears that number of times in the string
map>* by_counts(map counts)
{
// Your code starts here
// Your code ends here
}
public:
//Calculates the cypher using phrase as a reference and encoded
string get_cypher(string phrase, string encoded)
{
// Your code starts here
// Your code ends here
}
};
//After

Answers

Answer:

where are the answers

Explanation:

Using the drop-down menu, complete the following questions based on your knowledge of variables. is a value that can be used only from a block of code where it is declared. is a storage location for a value. is a value that can be called and used anywhere.​

Using the drop-down menu, complete the following questions based on your knowledge of variables. is a

Answers

Answer:

c a d

Explanation:

Answer:

It is

A

C

B

Explanation:

Got it right on edge

A ______ can hold a sequence of characters such as a name.

Answers

A string can hold a sequence of characters, such as a name.

What is a string?

A string is frequently implemented as an array data structure of bytes (or words) that records a sequence of elements, typically characters, using some character encoding. A string is typically thought of as a data type. Data types that are character strings are the most popular.

Any string of letters, numerals, punctuation, and other recognized characters can be stored in them. Mailing addresses, names, and descriptions are examples of common character strings.

Therefore, a string is capable of storing a group of characters, such as a name.

To learn more about string, refer to the link:

https://brainly.com/question/17091706

#SPJ9

The software used to provide visual support such as slide show during lectures

Answers

Answer:

microsoft powerpoint

Explanation:

What is the unit that a CPU’s performance is measured in? What does it mean? Give examples of two different types of CPU’s and in what computer system you are likely to find them in.

Answers

Answer:

The unit that a CPU's performance is measured in CPU's performance is dependent on its speed and clock rate. Both the speed and clock rate is measured in hertz or Hz. A core works on one task while another core works on a different task. So the more cores a CPU has, the faster and efficient the computer will be. Single Core CPUs; Single core CPUs are the oldest computer CPUs. These CPUs can only focus on one operation at a time so they were not very good at multi-tasking.

Hope this helped you!

Explanation:

Clock speed is one of your CPU’s key specifications.

The performance of your CPU has a major impact on the speed at which programs load. However, there are a few different ways to measure processor performance. Clock speed (also “clock rate” or “frequency”) is one of the most significant.

The higher clock speed means a faster CPU.

Find out more on Clock speed at:https://brainly.com/question/271859

In computer technology the term input means

Answers

Answer:

An input is data that a computer receives.

9- Which type of view is not present in MS
PowerPoint?
(A) Extreme animation
(B) Slide show
(C) Slide sorter
(D) Normal

Answers

Answer:

A.Extreme animation

hope it helpss

Who Uses Serverless Computing?

Who Uses Serverless Computing?

Answers

I could only put these nothing else.

Answer: Netflix, Coca-Cola, and Nordstrom.

Answer:

Companies Use Severless Computing

im trying to call the keys in a dictionary I have called "planet_dict". in order for them to be included in the for loop, the values of the keys have to be within a range of
273 <= x <= 373
I understand how to do this with certain values, but idk how to call them from a dictionary.

im trying to call the keys in a dictionary I have called "planet_dict". in order for them to be included

Answers

You can do something like this. My code iterates through the dictionary keys and then we use that key to get a value. We check if the value is between 273 and 373 and if it is, it's a water planet. My code is just a general idea of what to do. Instead of printing, you could add the key to a list and then print the contents of the list.

im trying to call the keys in a dictionary I have called "planet_dict". in order for them to be included

1. What is virtual memory?
The use of non-volatile storage, such as disk to store processes or data from physical memory
A part of physical memory that's used for virtualisation
Some part of physical memory that a process though it had been allocated in the past
O Future physical memory that a process could be allocated

Answers

Answer:

The use of non-volatile storage, such as disk to store processes or data from physical memory.

Explanation:

Virtual memory is used by operating systems in order to allow the execution of processes that are larger than the available physical memory by using disk space as an extension of the physical memory. Note that virtual memory is far slower than physical memory.

How is a struck-by rolling object defined?

Answers

Sorry I don’t know I just needed points to ask my question

Answer:

Struck by rolling object is commonly defined as Struck-By Rolling Object Hazard because it was caused by rolling objects or any objects that moves in circular motion that could cause an injury or accident.

Explanation:

What is your favorite photograph in the presentation? Why?

... I'm very confused about what presentation they're talking about. help

Answers

Answer:

is there a presentation in your lesson maybe?

Explanation:

The winning design is typically that which most closely meets the design
brief and which need not necessarily adhere to budget and timescale.
False
True​

Answers

when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answerAnswer:

when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answer

Explanation:

Imani needs to copy text from one document into another document. She needs the pasted text to retain its original appearance. When she pastes the text, she should use which of the following settings?

Keep Text Only

Use Destination Theme

Merge Formatting

Keep Source Formatting

Answers

Answer:

Keep Text Only

Explanation:

Because why would it be any of the other ones so it would be that

Imani must transfer text from one paper to another. She ought to preserve the formatting from the original content when she pastes it. Hence, option D is correct.

What is a Document?

A file produced by a software program is a computer document. Originally used to describe only word processing documents, the term "document" is now used to describe all saved files. Text, photos, music, video, and other sorts of data can all be found in documents.

An icon and a filename are used to identify documents. The filename gives the file a specific name, whereas the icon depicts the file type visually. The majority of filenames for documents also contain a file extension, which indicates the file type of the document. For instance, a Photoshop document might have a.PSD file extension, whereas a Microsoft Word document would have a.DOCX file extension.

To get more information about Document :

https://brainly.com/question/2901657

#SPJ6

Which of these measurements could be the measurement for a D sizing drawing
A.8 1/2 * 11in
B.11. * 17in
C. 14 * 20in
D. 20 * 26in

Answers

Out of the given options, the measurement that could be suitable for a D sizing drawing is option (D) 20 * 26 inches.

D sizing refers to a set of standardized paper sizes commonly used in architectural and engineering drawings. The D size paper measures 24 inches by 36 inches, or approximately 609.6 mm by 914.4 mm. While the exact dimensions may vary slightly, D sizing typically follows this general guideline.

Among the options provided, option D) 20 * 26 inches is the closest in size to the standard D size. While it is not an exact match, it is still within a reasonable range for D sizing drawings.

This measurement offers a similar aspect ratio and can accommodate the necessary information and details typically found in architectural and engineering drawings.

Options A) 8 1/2 * 11 inches, B) 11 * 17 inches, and C) 14 * 20 inches are not suitable for D sizing drawings. They are more commonly associated with letter-sized (A4) or tabloid-sized (A3) papers, which are smaller and may not provide enough space for detailed drawings or scale representation.

Therefore, option D) 20 * 26 inches is the most appropriate measurement for a D sizing drawing.

For more questions on D sizing drawing, click on:

https://brainly.com/question/31336003

#SPJ8

Identify four problems endemic to the traditional file environment

Answers

Explanation:

The four problems endemic to the traditional file environment are

Repetition in data: data discrepancy occurs because of duplicate data in the various files.Programs are data-dependent means changes in any programs require data changes also.Security is poor and lack of data availability.lack of compliance and data sharing and also unofficial access is not regulated.

Need comments added to the following java code:

public class Point {

private double x;

private double y;

private String type;

public void setXY(double xx, double yy) {
x = xx;
y = yy;
}

public double getY() {
return y;
}

public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

public double[] getDimensions() {
return new double[] { x, y };
}

public String toString() {
return "Point [" + x + ", " + y + "] is " + type;
}
}

Answers

Answer: Are there options for this?

Explanation:

Mrs. Toma is preparing a marksheet of Final term using Excel. She needs to 1
add a new subject title in the worksheet. Now, which component does she
need to add in her marksheet?

Answers

Answer:

a

Explanation:

In a multimedia presentation, when might voice-over be a better choice than placing the text on the screen?
when you have very little to say
when your audience is bored
when you have a lot to say
when you don’t want to write

Answers

Um, it is quite the battle between C and D, but knowing school they probably think D is lazy, so my final answer is C. Sorry if I'm wrong <3

In a multimedia presentation, the option that might be the voice-over  when you have a lot to say.

What is multimedia presentation?

A multimedia presentation is known to be a presentation where a person is said to often stand by themselves to present information via slides, video, etc.

In a multimedia presentation, the option that might be in the case of voice-over is when you have a lot to say as it is better to put it in a video format.

Learn more about multimedia from

https://brainly.com/question/24138353

#SPJ2

2 point) Express this problem formally with input and output conditions.2.(2 points) Describe a simple algorithm to compute the upper median. How manyoperations does it take asymptotically in the worst case?3.(7 points) Show how you can use the (upper) medians of the two lists to reduce thisproblem to its subproblems. State a precise self-reduction for your problem.4. (7 points) State a recursive algorithm that solves the problem based on your reduction.5.(2 point) State a tight asymptotic bound on the number of operations used by youralgorithm in the worst case.

Answers

Answer:

See attached images

2 point) Express this problem formally with input and output conditions.2.(2 points) Describe a simple
2 point) Express this problem formally with input and output conditions.2.(2 points) Describe a simple
2 point) Express this problem formally with input and output conditions.2.(2 points) Describe a simple

power point programm

Answers

huhhhhhhhyyyyhheyeydud

Any set of logic-gate types that can realize any logic function is called a complete set of logic gates. For example, 2-input AND gates, 2- input OR gates, and inverters are a complete set, because any logic function can be expressed as a sum of products of variables and their complements, and AND and OR gates with any number of inputs can be made from 2-input gates. Do 2-input NAND gates form a complete set of logic gates? Prove your answer.

Answers

Answer:

Explanation:

We can use the following method to solve the given problem.

The two input NAND gate logic expression is Y=(A*B)'

we can be able to make us of this function by using complete set AND, OR and NOT

we take one AND gate and one NOT gate

we are going to put the inputs to the AND gate it will give us the output = A*B

we collect the output from the AND and we put this as the input to the NOT gate

then we will get the output as = (A*B)' which is needed


the key feature of jacquard -punch card​

Answers

Explanation:

The Jacquard Loom is controlled by a chain of multiple cards punched with holes that determine which cords of the fabric warp should be raised for each pass of the shuttle. The ability to store and automatically reproduce complex operations found wide application in textile manufacturing.

Create a list of 5 characters from your favorite game. Ask the user to enter their favorite character's name. If it is not present in the list tell the user that This character is not present in my list of favorites and ask the user whether they would like to add it. If the user says Yes, show them the list and ask at which position they would like to add it. Add the character's name at the respective position. If they would not like to add it then print Thank You for telling me your favorite character. If the name already exists then display a message saying Yay, one of our favorite character match.

this is a python question. So copy-paste your answer directly from the python app.
If you give me a good answer, you'll get 100 points :)

Answers

Answer:

# List of favorite characters

favorite_characters = ['Mario', 'Link', 'Donkey Kong', 'Samus', 'Yoshi']

# Ask user to enter their favorite character

fav_character = input("Enter your favorite character: ")

# Check if character is present in list

if fav_character in favorite_characters:

   print("Yay, one of our favorite characters match.")

else:

   add_char = input("This character is not present in my list of favorites. Would you like to add it? (Yes/No): ")

   if add_char.lower() == 'yes':

       print(favorite_characters)

       position = int(input("At which position would you like to add it? "))

       favorite_characters.insert(position-1, fav_character)

       print(f"{fav_character} added at position {position}.\nNew list of favorite characters: {favorite_characters}")

   else:

       print("Thank you for telling me your favorite character.")

clicker game creating in code.org (PLEASE HELP FAST!!!)

clicker game creating in code.org (PLEASE HELP FAST!!!)

Answers

Use code.org's visual programming tools to create a clicker game by adding buttons, score tracking, and event handlers.

To create a clicker game in code.org, you can use the visual programming tools available.

Follow these steps:

1) Start by designing the game interface.

Add buttons, labels, and any other elements you want to display.

2) Create a variable to track the score or points in your game.

Initialize it to 0.

3) Add an event handler to the button's click event.

When the button is clicked, increment the score variable by a specific amount.

4) Update the score display to reflect the updated score value.

5) Consider adding a timer or level system to make the game more challenging.

6) Add sound effects or animations to enhance the user experience.

7) Test and debug your game to ensure it functions as intended.

8) Share and enjoy your clicker game with others.

For more such questions on Visual programming:

https://brainly.com/question/29362725

#SPJ11

The letters G, H, T, Y, B, and N are what type of keys?

Home row keys
Lower row keys
Reach keys
Upper row keys

Answers

Answer: lower row keys

Explanation: I took the test

Other Questions
The energy, E, of a hydrogen atom with its electron in the nth shell of a hydrogen atom is given by E=-C/n^2 where n=1,2,3... and C is positive. If an electron goes from the n=2 shell to the n=3 shell, what happens? This illustration depicts the martyrdom of William Tyndale in 1536. Tyndale, a Protestant, wrote a number of books and essays criticizing Henry VIII's divorce. Charged with heresy, Tyndale was strangled to death at the stake and then burned. Based on this event, which is the MOST logical conclusion we can make about Henry VIII? What is the difference between a group and a row on the periodic table? If A is in the fourth quadrant and cos A = 5/13 , find the value of (13 sin A +5secA)/(3tanA+6 cosecA) Which of the following is used to correct unemployment? 1) increase in government purchases O2) increase in the discount rate 3) increase in bank required reserve ratio. 4) increase in income taxes Find f(-3) if f(x) = -2x - 8A. -14B. 2C. 12D. -1 solve for x : 3 ( x + 1 ) = 2 ( x - 1 ) PLEASE HELP!!! Amusement Park: Coffee and Crime Directions: Answer the following problems showing as much work as you can. As you are drawing up the plans to build a coffee shop in your amusement park, a co-worker comes to you with a concern. He heard a news report that indicated that a coffee shop would bring more crime into the amusement park. To support this claim, your co-worker presented the following data and scatterplot (with the least squares line shown) for 8 counties in the state:CountyShopsCrimesA94000B12700C0500D64200E156800F5020800G52800H2415400The scatterplot shows the positive linear relationship between Shops (the number of coffee shops of this particular chain in the county) and Crimes (the number of annual property crimes for the county). In other words, counties with more of these coffee shops tend to have more property crimes annually.Does the relationship between Shops and Crimes appear to be linear? Would you consider the relationship between Shops and Crimes to be strong, moderate, or weak?Compute the correlation coefficient. Does the value of the correlation coefficient support your choice in part (a)? Explain.The equation of the least-squares line for these data is: Predicted Crimes = 1434 + 415.7(Shops). Based on this line, what is the estimated number of additional annual property crimes for a given county that has 3 more coffee shops than another county?Do these data support the claim that building a coffee shop will necessarily cause an increase in property crimes? What other variables might explain the positive relationship between the number of coffee shops for this coffee shop chain and the number of annual property crimes for these counties?If the following two counties were added to the data set, would you still consider using a line to model the relationship? If not, what other types (forms) of model would you consider?CountyShopsCrimesI2536900J2724100 Jasmine wants to move out of her parent's home and live on her own. She is thinking of renting a 2 bedroom apartment for $880 per month. Jasmine's annual gross earnings are $60 000 and her total deductions are 27% of gross earnings. What is the best decision that Jasmine can make based on the net 25% rule that we discussed in class? Avery has two books and a lunch box in his backpack Each book weighs 7/8 pound. The total weight in his backpack it 2 2/3 pounds. How much does Avery's lunch box weigh? monocytes are a type of white blood cell that can differentiate into what two cells? [choose 2] Raul is choosing from two plans at his gym. He can either pay a set pricefor each visit, or he can buy a membership, which would have a lowerprice per visit in addition to a membership fee. Which model could beused to determine which plan would be less expensive based on thenumber of visits he makes? PLEASE HELP THIS IS DUE TODAY I WILL GIVE THE BRAINLIEST IF IT IS CORRECT IF IT IS SPAM I WILL REPORT YOU AND BAN YOU IMMEDIATELY! if a problem has only less-than-or-equal to constraints with positive coefficients for the variables, rounding down will always provide a feasible integer solution. T/F It takes Jada 20 minutes to walk to school. It takes Andre 80% as long to walk to school. How long does it take Andre to walk to school?6th grade math (20 points) (1 point) Evaluate the integral by interpreting it in terms of areas: 6 [ 1 Se |3x - 3| dx =(1 point) Evaluate the integral by interpreting it in terms of areas: [ (5 + 49 2) dz(1 po PLEASEEE HURRYWhich statement gives key details that help distinguish between the characters of Momma and Mrs. Flowers?Angelou compares the two womens homes to show that Momma is poor and Mrs. Flowers is wealthy.Angelou makes the point that Momma is highly religious but Mrs. Flowers is not at all religious.Angelou describes Momma as uneducated and plainspoken and Mrs. Flowers as aristocratic and graceful.Angelou describes Momma as baking plain meat pies and Mrs. Flowers as baking special cookies. 26-foot ladder leans against a building so that its foot moves away from the building at the rate of 3ft/sec. When the foot of the ladder is 10 feet from the building, the top is moving down at the rate of r ft/sec where r is? An object is moving at a speed of 6 feet per day. Express this speed in miles per year. Round your answer to the nearest hundredth. What direction does energy transfer to the direction of a light wave QUESTION 4: IMPACT OF UNEMPLOYMENT AND POSSIBLE SOLUTIONS4.1 Summarise the impact of unemployment using the following headings:a) Personal impactb) Social impactc) Financial impact