I uploaded my code to the turnin spot on canvas.
Blog
You must complete this without talking or chatting or emaili…
You must complete this without talking or chatting or emailing or contacting or asking for help from other people. You may not use AI tools. You may use your books, labs, or resources on your computer etc. You may not use online resources (unless you are using your book or look up the slides). Everything you do must be on your computer’s screen (so no phones). Programming Midterm 100 points. Create two random numbers between 1 and 9. Determine if they are close, that is, within 5 points of each other. (4 and 9 would be considered close as they are exactly 5 points away from each other.) Ask the user to enter in a name. Use the numbers and to create a “tag”. The tag will be the last letter of the name and both numbers. (i.e., bob and 8 and 1 (as input and randoms) will yield b_8_1 as the tag.) If the numbers were close, make the “tag” with the two numbers summed together (instead of separate – see example). (i.e., bob and 7 and 2 will yield b_9) Next, ask the user to enter a word and two numbers. The first number is a place and the second number is an amount. Check if the tag is the same as the a part of the word. The part of the word you are to use is the word that starts at the first number and is of the second number length. Example: if the word was aaab_1_1aaa and the user enters in 3 and 5 The 3 means the part of the word starting at index 3 5 the means 5 letters. (Note: You may assume the user will not enter in input that will crash the program). If the part of the word was not the tag, be sure to print it to the screen! Example 1: Numbers are: 8 1Please enter a name: >> bobTag is: b_8_1Please enter a word:>> aaab_1_1aaaPlease enter two numbers>> 3 5Tag is not the same. Word was: b_1_1 Example 2: Numbers are: 3 8Numbers are closePlease enter a name: >> bobTag is: b_11Please enter a word:>> jackb_11aaaPlease enter two numbers>> 4 4Tag is the same
Please sign into https://myap.collegeboard.org/loginLinks…
Please sign into https://myap.collegeboard.org/loginLinks to an external site. to access your resources. You can also log in at: https://apcentral.collegeboard.org/ Please complete the Module 5 Net Ionic/Reaction Quiz while being proctored by Honorlock; All questions are multiple choice. Once you have completed the quiz, please submit, “I have completed the quiz”. ***If you do not see the quiz, you may have to go to “Resources & Assignments” Then choose “Assigned Resources”
For this question, focus on the top graph in the image. The…
For this question, focus on the top graph in the image. The orange bars represent the five mass extinctions. Based on the graph below, what is the measurement of diversity when it reaches it’s peak following the fifth mass extinction ?
A group of 35 sunfish from an initial population of roughly…
A group of 35 sunfish from an initial population of roughly 6,500 sunfish move to a different region where they are entirely reproductively isolated from the original population. They are the only sunfish in the region to which they moved. In the population of 6,500 the three alleles for coloration are present in roughly equal proportions but only two of the alleles for coloration remain in the population of 35 after they’ve moved. Which of the following most accurately describes this scenario?
Male fireflies emit light patterns to attract female firefli…
Male fireflies emit light patterns to attract female fireflies for mating. A group of entomologists are studying the light patterns of closely related but distinct species of fireflies in Ohio. They are investigating what might happen when the ranges of these two species intersect. Which of the following outcomes might they see evidence for in their research?
How did the duplication of the Hox gene complex help facilit…
How did the duplication of the Hox gene complex help facilitate animal adaptive radiation of the Cambrian explosion?
The phylogenetic tree below depicts the relationship among a…
The phylogenetic tree below depicts the relationship among a group of mammals called ungulates and an outgroup. The name “ungulate” means “hoofed animal” as ungulates typically have hoofs on their feet and all descended from a common ancestor with hoofs. Use this information and the phylogenetic tree to answer the following three questions. The trait for hoofed feet is best represented by which letter? [Letter1]. The most recent common ancestor between camel and cow is represented by which letter? [Letter2]
The offspring (F1) of two pure-breeding flower lines, one re…
The offspring (F1) of two pure-breeding flower lines, one red and one white, were crossed, resulting in the following F2 generation: 17 plants with red flowers, 30 plants with pink flowers, and 15 plants with white flowers. This is an example of
Feather color in budgies is determined by two different gene…
Feather color in budgies is determined by two different genes, Y and B, one for pigment on the outside and one for the inside of the feather. YYBB, YyBB, or YYBb is green; yyBB or yyBb is blue; YYbb or Yybb is yellow; and yybb is white. A blue budgie is crossed with a white budgie. Which of the following results are NOT possible?