The pseudocode from the Coding Log is given below.
What is the pseudocode about?# Intro
Print "Welcome to the adventure game!"
Ask for player name and store it in a variable
Print "Hello [player name], let's start the game!"
# Part 1
Print "You find yourself in a dark room with two doors. Do you go through door 1 or door 2?"
Use input() function to get player's choice and store it in a variable
Use a while loop to ensure the player's input is valid (either "1" or "2")
If player chose door 1, print "You find a treasure chest full of gold. Congratulations, you win!"
If player chose door 2, print "You fall into a pit and lose the game. Better luck next time!"
# Part 2
Print "You come across a fork in the road. Do you go left or right?"
Use input() function to get player's choice and store it in a variable
Use a while loop to ensure the player's input is valid (either "left" or "right")
If player chose left, print "You find a magical sword. You win!"
If player chose right, print "You encounter a troll and lose the game. Better luck next time!"
# Part 3
Print "You reach a river with a boat. Do you cross the river or follow the riverbank?"
Use input() function to get player's choice and store it in a variable
Use a while loop to ensure the player's input is valid (either "cross" or "follow")
If player chose cross, print "You safely cross the river and win the game! Congratulations!"
If player chose follow, print "You follow the river and eventually reach a waterfall. You lose the game. Better luck next time!"
Learn more about pseudocode on:
https://brainly.com/question/24953880
#SPJ1
2. On a trip from Alphaville to Betaville, you can take two main routes. Route 1, which goes through Gammatown, is 50 kilometers [km] long; however, you can only drive an average speed of 36 miles per hour [mph]. Route 2 travels along the freeway, at an average speed of 50 mph, but it is 65 km long. How long does it take to complete each route? State the time for each route in minutes [min].
Convert to SI units, calculate, convert from base SI units to the desired units. Route 1: 52 minutes, Route 2: 48 minutes.
What is SI unit?SI unit is an international system of measurements that are used universally in technical and scientific research to avoid the confusion with the units. Having a standard unit system is important because it helps the entire world to understand the measurements in one set of unit systems. There are several SI units used in physics that are used to express the different quantities.
The quantities can be classified into two groups i.e. base units and derived units.
Learn more about SI, here:
https://brainly.com/question/12750330
#SPJ1
A Health Informatics worker would most likely work
Answer:
Health informatics careers combine concepts and practices from healthcare, computer science, and information science. Professionals in this field can work as computer systems managers, health informationists, and clinical analysts. They can also pursue careers in higher education and applied research.
Use SOLVEM steps for the following problem.
Suppose that the earth is a smooth sphere and you could wrap a 25,000 mile band snugly around it. If you lengthen the band by 6 feet, what would be the largest animal that can fit under the new band (assuming the band is equally above the earth's surface)?
a) an amoeba
b) a 3 inch diameter snake
c) a 1 foot high opossum
d) a 1.5 foot high alligator
e) a 5 foot 11 inch tall person
Note: make sure you keep your units consistent! Circumference = Pi * Diameter
5280 feet in a mile, Pi ~ 3.14159
radius = Diameter/2
Show your work!
Answer:
C = So the largest animal that can fit under the new band is a 1 foot high opossum, which is smaller than the maximum height of 12,072,001 feet + 6 inches.
Explanation:
C = Pi * D = Pi * 25,000 miles
Converting this to feet, we get:
C = Pi * 25,000 miles * 5280 feet/mile = Pi * 132,000,000 feet
Adding 6 feet to the length of the band gives us:
C' = C + 6 feet = Pi * 132,000,000 feet + 6 feet
The new circumference is still the same distance from the center of the Earth as the original circumference, so we can use the formula for the circumference of a circle to find the radius of the circle that the band now forms:
C' = Pi * 2 * r
Solving for r, we get:
r = C' / (2 * Pi) = (Pi * 132,000,000 feet + 6 feet) / (2 * Pi)
Simplifying this expression, we get:
r = 66,000,003 feet / 2 = 33,000,001.5 feet
Now we can find the largest animal that can fit under the band by finding the maximum height of an animal that can fit under a circle with this radius.
Maximum height = r - radius = 33,000,001.5 feet - 20,928,000 feet = 12,072,001.5 feet
Converting this to feet and inches, we get:
Maximum height = 12,072,001.5 feet = 12,072,001 feet + 0.5 feet
= 12,072,001 feet + 6 inches
Answer:
c) a 1 foot high opossum
Explanation:
SOLVEM Steps:
S = State the problem
O = Organize the information
L = Label the variables
V = Verify the problem
E = Establish a strategy
M = Manipulate the variables
S: Suppose that the earth is a smooth sphere and you could wrap a 25,000 mile band snugly around it. If you lengthen the band by 6 feet, what would be the largest animal that can fit under the new band (assuming the band is equally above the earth's surface)?
O:
Original circumference = 25,000 miles
Additional length = 6 feet
L:
Let's label the radius of the earth as r, and the height of the animal as h.
V:
The problem seems to be well-formed and makes sense.
E:
We can use the original circumference of the earth to find its radius, and then calculate the new circumference by adding the extra 6 feet to the length of the band. Then we can solve for the maximum height of the animal that can fit under the new band.
M:
Convert the original circumference to feet:
C = 25,000 * 5280 feet/mile = 132,000,000 feet
Calculate the original radius of the earth:
C = 2πr
r = C / (2π) = 132,000,000 / (2 * 3.14159) = 21,008470.23 feet
Calculate the new circumference:
C_new = C + 6 feet = 132,000,006 feet
Calculate the new diameter and radius:
d_new = C_new / π = 42,016,942.38 feet
r_new = d_new / 2 = 21,008,471.19 feet
Calculate the maximum height of the animal:
h = r_new - r = 21,008,471.19 - 21,008470.23 feet=0.96 feet
If answer is 0.96 feet, the largest animal that can fit under the new band (assuming the band is equally above the earth's surface) would be a 1 foot high opossum (option c).
A spring balances pulls on a 0.5m bar with 10 N
The tension in the rope and the spring balance reading are the same. 5N of tension is present on both sides. As a result, the spring balance reads 5N.
What does the term "spring balance" mean?A simple and affordable way to determine mass is by using spring balances. The mass is suspended from the end of a spring, and the spring's deflection as a result of the mass's downward gravitational pull is measured in relation to a scale.
What applications does a spring balance have?A spring balance calculates an object's weight by comparing the force of gravity to the force of an extended spring. The scale can be used to calculate weight and mass by recalibrating it. Some spring balances have gramme or kilogram marks and are used to determine an object's mass.
To know more about spring balance visit:-
https://brainly.com/question/13257367
#SPJ1