Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 Filling Program (50 points) 4.1 Python and Database (25 points) This program will do the following things 1. Let the user input the user

image text in transcribed
4 Filling Program (50 points) 4.1 Python and Database (25 points) This program will do the following things 1. Let the user input the user id and password 2. Use the input id and password to connect to a database called ecourses 3. Output the number of students whose grade is greater than 90 (hint: use the SQL command "select from grade where score>90) import MySQLdb id=input ('id ,) password-input ( 'password') try: print (result) except print (" Error") 4.2 Sockets (25 points) This program is for a server to create a connection with the client on port 5000 using a socket. Once the connection is created, this program will output the address of the client then quit. from ADDRESS-('localhost' ,5000) server-socket (AF INET,SOCKSTREAM) server.bind (.. server.listen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Public Finance And Public Policy

Authors: Jonathan Gruber

7th Edition

1319281109, 9781319281106

Students also viewed these Databases questions