Write a PYTHON program to find the path with the largest sum. Tree can be in N level and draw the binary tree and accept a perfect and imperfect binary tree as an option from the user.
I need a code like this but I need to print a tree and try: B=tree in that tree is undefined
def Rnode():
height=int(input("Enter the level of Binary tree:"))
p=int(input("Perfect=1,imperfect=0:"))
try:
B=tree(height,is_perfect=p)
B=list(B)[0]
print(B)
findMaxSumPath(B)
except:
print("level of Binary value between 0-9")
https://www.assignmentexpert.com/homework-answers/programming-and-computer-science/python/question-239854#
Write a pseudo code for a program which will accept two numbers from the keyboard and calculate the sum and product displaying the answer on the monitor screen
A sphere is a perfectly round geometrical object that is three dimensional, with every point on its surface equidistant from its center. Many commonly-used objects such as balls or globes are spheres. If you want to calculate the volume of a sphere, you just have to find its radius and plug it into a simple formula, V = ⁴⁄₃πr³.Write a JavaScript script that will calculate the volume of a sphere, the volume should be fixed to 4 Decimal places.
Write an application that displays a series of at least five Student IF numbers ( that you have stored in an array ) and asks the user to enter a numeric test score for the student. Create a ScoreException class, and throw a ScoreException for the class if the user does not enter a valid score (less than or equal to 100). Catch the ScoreException , display an appropriate message, and then store a 0 for the student's score. At the end of the application , display all the student IDs and scores. Save the files as ScoreException.java and Test Score.java.
Specify the characteristics of the following popular WLAN transmission methods: a) 802.11 a b) 802.11 b c) 802.11 g d) 802.11 n e) 802.11 ac