Questions: 5 831

Answers by our Experts: 5 728

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Consider the given dataset for data visualization using Tree Maps. Use Squarify Library and plotly Library to plot treemaps.

Dataset: https://www.kaggle.com/mathurinache/popularprogramminglanguage [Note: plot from column 2010 – 2019]


  The Football Bowl Subdivision (FBS) level of the National Collegiate Athletic Association (NCAA) consists of over 100 schools. Most of these schools belong to one of several conferences, or collections of schools, that compete with each other on a regular basis in collegiate sports. Suppose the NCAA has commissioned a study that will propose the formation of conferences based on the similarities of the constituent schools. Therefore, the director has decided to travel to five schools and the graph is given to you in the following diagram where S is the goal school (state) and P is the initial school (state).


Implement to simulate this problem by Informed Search (A* search).

Here the paths to every school are not directed. The cost of every school’s path is mentioned on the path line in dark and the h(n) values are given on the side of nodes in blue.

For every iteration, you need to display

·        visited school list’s value at present

·        visited school state’s path

·        path length

·        estimated complete [h(n) plus real] path cost

Also provide your comments regarding whether

·        h(n) is acceptable and stable?

·        optimal path is found and why? If not then why not? Also, how would you put the h(n) values of the states to make it right.


Write a program to output the following quote

”computer science is no more about computers than astronomy is about telescopes”


Use the function written in the last lesson to calculate a student's GPA. Ask them how many classes they are taking, then ask them to enter the grades for


each class and if it is weighted.


Your program should then output the averaged GPA including the decimal


place.


Your main program must call the function.


Sample Run


HOw many classes are you taking? 7


Enter your Letter Grade: C

Is it weighted? (1 = yes) 1

Your GPA Score is: 3


Enter your Letter Grade: D

Is it weighted? (1 = yes) 0

Your GPA Score is: 1


Enter your Letter Grade: A

Is it weighted? (1 = yes) 1

Your GPA score is: 5


Enter your Letter Grade: B

Is it weighted? (1 = yes) 1

Your GPA Score is: 4


Enter your Letter Grade: C

Is it weighted? (1 = yes) 0

Your GPA Score is: 2


Your weighted GPA is a 3.0



i dont know how to code an animation for computer programming. In this assignment, you will use all of the graphics commands you have learned to create an animated scene. Your program should have a clear theme and tell a story. You may pick any school-appropriate theme that you like.

The program must include a minimum of:

  • 5 circles
  • 5 polygons
  • 5 line commands
  • 2 for loops
  • 1 global variable

Write a program to output the following quote by Edsger W. Dijkstra:

”computer Science is no more about computers

than astronomy is about telescopes”

-Edsger w. Dijkstra


Can you do this question in Python code that can be run in Onlinegdb Site?

You operate several BurgerStands distributed throughout town. Define a class named BurgerStand that has a member variable for the burger stand's id number and member variable for how many burgers that stand sold that day.

a)           create a constructor that allows user of the class to initialize values for id number and for how many burgers sold that day and a destructor

b)           create a function named justsold that show increments of the number of burgers the stand has sold by one. (This function will invoked each time the stand sells a burger so that you can track the total number of burgers sold by the stand. And returns the number of burgers sold.)

c)           create a function that calculate the total number of burgers sold by all stands.

d)           write in a data file, the list of burger stands and the total number of burgers sold by all stands.


What is the value of f(846) for the function below?

def f(x):
    d=0
    y=1
    while y <= x:
        d=d+1
        y=y*3
    return(d)

Consider the following function mys:

def mys(m):
    if m == 1:
        return(1)
    else:
        return(m*mys(m-1))

Which of the following is correct?


The function always terminates with mys(n) = factorial of n

 

The function always terminates with mys(n) = 1+2+...+n

 

The function terminates for non-negative n with mys(n) = factorial of n

 

The function terminates for positive n with mys(n) = factorial of n


   For what value of n would g(57,n) return 7?
def g(m,n):
    res = 0
    while m >= n:
        res = res+1
        m = m-n
    return(res)  
    





LATEST TUTORIALS
APPROVED BY CLIENTS