0% found this document useful (0 votes)
39 views8 pages

Dbms Assignment - 1

The document describes the development of a student management system using Python and Tkinter. It includes: 1) A GUI with components like entry fields, buttons, and labels for inputting student data and performing actions like adding, searching, editing, deleting, and displaying records. 2) Event handling to respond to user interactions, such as adding a record when the "Add Student" button is clicked. 3) A logical GUI layout with input fields organized vertically and buttons placed below for easy access. 4) An intuitive interface layout with labels providing guidance and a structured presentation of components.

Uploaded by

appukhote002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views8 pages

Dbms Assignment - 1

The document describes the development of a student management system using Python and Tkinter. It includes: 1) A GUI with components like entry fields, buttons, and labels for inputting student data and performing actions like adding, searching, editing, deleting, and displaying records. 2) Event handling to respond to user interactions, such as adding a record when the "Add Student" button is clicked. 3) A logical GUI layout with input fields organized vertically and buttons placed below for easy access. 4) An intuitive interface layout with labels providing guidance and a structured presentation of components.

Uploaded by

appukhote002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

: SUDIPTO MISTRY

: 002110501141
: A3
: CSE
: 3rd Year 2nd Sem
Problem:1
Develop an application as follows. User will enter two numbers.
Provide button to add or to find the difference. Depending on the
option result will be shown in result box. Add a suitable title to the
screen. Whenever the form is loaded, also display current date in the
title bar.
--------------------------------------------------------------------------------------------
Software Used:
For developing the calculator application, Python programming language was
used along with the Tkinter library for creating the graphical user interface
(GUI).

GUI (Graphical User Interface):


The GUI provides a visual representation of the calculator with buttons for
numerical digits, arithmetic operations, and other functionalities like clearing
the display and calculating results.

Component Properties:
Buttons: Buttons represent various keys of the calculator, such as digits (0-9),
decimal point, arithmetic operators (+, -, *, /), and other functions (clear,
equal).
Display Field: A display field shows the current input and the result of
calculations.
Labels: Labels may be used to provide additional information or headings,
though they're not always necessary in a basic calculator GUI.

Event Handling Description:


Event handling is implemented to respond to user interactions with the
calculator buttons:
Clicking a digit button appends the corresponding digit to the display field.
Clicking an arithmetic operator button sets the current operation and prepares
the calculator for the next operand. Clicking the "Clear" button clears the
display field.
Clicking the "Equal" button evaluates the expression and displays the result.

GUI Layout:
The GUI layout is designed to resemble a traditional calculator, with buttons
arranged in a grid pattern. Common layout features include:
Numerical digit buttons arranged in a grid layout for easy access.
Arithmetic operator buttons grouped logically and positioned adjacent to the
display field.
Function buttons (clear, equal) placed strategically for user convenience.

Interface Layout:
The interface layout follows a familiar calculator design, with features such as:
A clear distinction between the display field and the input buttons.
Buttons organized into rows and columns, mimicking the layout of a physical
calculator.
Adequate spacing between buttons to prevent accidental clicks and improve
readability.
Overall, the GUI and interface layout aim to provide users with a familiar and
intuitive calculator experience, allowing them to perform basic arithmetic
operations efficiently.
Problem:2
Consider list of departments (dept code and name), list of students (roll, dept
code, name, address and phone) preloaded in array. Now develop an
application for the following. User may add/search/edit/delete/display all
student record. While adding, ensure roll must be unique, a list of dept name
to be shown from which user selects one and corresponding dept code to be
stored. On collecting the data user may choose. CANCEL/SAVE button to
decide course of action. For searching user provides roll. If it exists details are
shown else suitable message to be displayed. To delete user provides roll. If it
does not exist then suitable message is to be displayed. To edit also user
provides roll. If it exists user may be allowed to edit any field except roll. User
may select CANCEL/SAVE to decide course of action. To display all records, at a
time five records are to be shown. IT will also have PREV/NEXT button to
display previous set and next set respectively. When first set is displayed PREV
button must be disabled and at last set NEXT button must be disabled.

Software Used:
For the development of the Student Management System, Python
programming language was used along with the Tkinter library for creating the
graphical user interface (GUI).

GUI (Graphical User Interface):


The GUI provides an intuitive interface for users to interact with the Student
Management System. It consists of various components such as entry fields,
buttons, and labels to input student information and perform operations like
adding, searching, editing, deleting, and displaying student records.

Component Properties:
Entry Fields: Used for entering student information such as roll number, department code,
name, address, and phone number.

Buttons: Perform specific actions when clicked, such as adding, searching, editing, deleting,
or displaying student records.

Labels: Display text instructions or feedback messages to the user.

Event Handling Description:


Event handling is implemented to respond to user interactions with the GUI
components. For example:
Clicking the "Add Student" button triggers the addition of a new student
record to the system.
Clicking the "Search Student" button searches for a student record based on
the provided roll number.
Clicking the "Edit Student" button allows the user to modify the details of an
existing student record.
Clicking the "Delete Student" button removes a student record from the
system. Clicking the "Display All Students" button opens a new window
displaying all student records.

GUI Layout:
The GUI layout is designed to be user-friendly and intuitive, with components
organized logically to facilitate smooth interaction. The layout includes:
Entry fields for inputting student information.
Buttons for performing various operations.
Labels providing instructions and feedback messages
ADD STUDENT:

SEARCH STUDENT:

Display student details:


Interface Layout:
The interface layout follows a structured approach to ensure clarity and ease of
use:
Input fields are aligned vertically for a clean appearance.
Buttons are positioned below the input fields, making them easily accessible.
Labels are strategically placed to provide context and guidance to the user.
Overall, the GUI and interface layout are designed to enhance user experience
and streamline the management of student records within the system.

You might also like