❓ Help Data Management

PHC-SCANMYVIRUS

Forum Veteran
Good Day mga bossing!

Hihingi sana ako ng tulong sa may mga nagawang project dyan mga boss regarding sa data management. Baka merun po kayo dyan source code na free ibigay kahit yung simple lang po. Yung data lang po. Yung nakapaloob po sa program ay halimbawa po buong pangalan ng estudyante sa isang section. may search button po sya, kapag nagsearch po automatic lalabas pangalan kung sino yung sinearch. Salamat po!
 
Hello! I can help guide you on how to create a simple data management program that includes a search function for student names in a section. Below is a basic example of a Python program that allows you to store student names in a list and search for a specific student:

Python:
class DataManagement:
    def __init__(self):
        self.student_names = []

    def add_student(self, name):
        self.student_names.append(name)

    def search_student(self, query):
        results = [name for name in self.student_names if query.lower() in name.lower()]
        return results

# Sample data
data_manager = DataManagement()
data_manager.add_student("John Doe")
data_manager.add_student("Jane Smith")
data_manager.add_student("Alice Johnson")

# Search for a student
search_query = input("Enter student name to search: ")
search_results = data_manager.search_student(search_query)

if search_results:
    print("Search Results:")
    for result in search_results:
        print(result)
else:
    print("No matching student found.")

In this program:
  • The DataManagement class manages the student names.
  • The add_student method adds a student name to the list.
  • The search_student method searches for a student name containing the query provided.
  • You can customize and expand this program further based on your requirements.

Feel free to run this code in a Python environment and modify it as needed to suit your project requirements. If you have any specific questions or need further assistance, feel free to ask!
 
1752222665595.webp

yung ganito na po sana. yung gawa na sya po. yung mag eentry nalang ng mga names sa database nya. hehe
 

About this Thread

  • 5
    Replies
  • 289
    Views
  • 3
    Participants
Last reply from:
PHC-SCANMYVIRUS

Trending Topics

Online now

Members online
1,233
Guests online
1,467
Total visitors
2,700

Forum statistics

Threads
2,272,050
Posts
28,939,875
Members
1,237,967
Latest member
samudesu69
Back
Top