Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Ensayo

Programming Coursework

Puntuación
-
Vendido
-
Páginas
64
Grado
A
Subido en
17-04-2023
Escrito en
2017/2018

This programming coursework is designed to introduce students to the fundamentals of programming, including concepts such as variables, loops, conditionals, and functions. Throughout the course, students will develop their skills in Python, which is a popular programming language used in various fields, including data science, web development, and artificial intelligence. The coursework is structured to include a mix of theoretical and practical components. Students will attend lectures where they will learn about programming concepts and principles, and will also participate in lab sessions where they will practice writing code and solving programming problems. Assignments and projects will be assigned throughout the course to assess students' understanding and proficiency in programming. These assignments will range in complexity, from simple tasks such as writing a program to calculate the sum of two numbers to more complex tasks such as implementing an algorithm to solve a real-world problem.

Mostrar más Leer menos
Institución
Grado

Vista previa del contenido

Islington College




Programming
CC4001NI
Coursework 2

Submitted By: Submitted To:
Student Name: Ashutosh Chaurasia Mr. Subin Chitrakar
LondonMet ID: 17032168 Assistant Lecturer IT
Group: L1N2 Programming
Date:8/10/2018

,Table of Contents
INTODUCTION: .............................................................................................................. 1
Class Diagram: .............................................................................................................. 2
Method Description:.................................................................................................... 16
EquipmentRental ....................................................................................................... 16
Testing: ........................................................................................................................ 17
Test 1:........................................................................................................................ 17
Test 2:........................................................................................................................ 18
Test 3:........................................................................................................................ 21
Error Detection: ........................................................................................................... 22
Error 1:....................................................................................................................... 22
Error 2:....................................................................................................................... 23
Error 3:....................................................................................................................... 25
Conclusion: ................................................................................................................. 26
Appendix: ..................................................................................................................... 27
Appendix 1: ................................................................................................................ 27
Appendix 2: ................................................................................................................ 45

,List of Figures
Figure 1: Compiling and running java program using command prompt ....................... 17
Figure 2: Running of Java File EquipmentRental .......................................................... 18
Figure 3: Adding an Equipment To Rent ....................................................................... 19
Figure 4: Adding an Equipment To Sell ......................................................................... 19
Figure 5: Renting Of an Equipment ............................................................................... 20
Figure 6: Returning Of an Equipment ............................................................................ 20
Figure 7: Selling Of an Equipment ................................................................................ 21
Figure 8: Appearance of dialog box when wrong equipment number is added ............. 22
Figure 9: Appearance of Dialog when wrong Equipment number is entered in bot ....... 22
Figure 10: Error when wrong equipment number was entered...................................... 23
Figure 11: Correction of the error because of equipment number ................................. 23
Figure 12: Error when Bounds is Set wrong .................................................................. 24
Figure 13: Same bounds for both customer name and date of hire .............................. 24
Figure 14: Correction Of Setting Bounds....................................................................... 25
Figure 15: Correction Of Bounds for customer name and date of hire .......................... 25
Figure 16: Syntax error for clear button ......................................................................... 25
Figure 17: Correction for syntax error for clear button ................................................... 26



List of Tables

Table 1: EquipmentRental All Instance Variable ............................................................. 3
Table 2: EquipmentRental All Methods ........................................................................... 3
Table 3: Method Description Of EquipmentRental ........................................................ 16
Table 4: Test For Compiling and Running Java Using Command Prompt .................... 17
Table 5: Test for adding an equipment to rent and sell then renting equipment, returning
equipment and selling of equipment....................................................................... 18
Table 6: Displaying Of Different Dialog box When invalid Equipment Number is entered
............................................................................................................................... 21

, CS4001NI PROGRAMMING

INTODUCTION:

Java is one of the important programming language. With the help of this programming
language we can do various types of work like creating websites, applications, games,
etc. We can run java on different platforms like windows, Linux, Sun Solaris, etc.


This project is about creating Graphical User Interface GUI with Java for storing data
of Equipment in the EquipmentRental. This project was for vast learning of java. BlueJ
IDE was used to create this GUI program. We created a GUI program for Equipment
that can be rent and bought. Here we have used different text fields and labels with
different buttons. This project was new for us but slowly we learned how to create a
GUI using different text fields with working buttons that stores data given by user.




Ashutosh Chaurasia 1|Page

Escuela, estudio y materia

Institución
Estudio
Desconocido
Grado

Información del documento

Subido en
17 de abril de 2023
Número de páginas
64
Escrito en
2017/2018
Tipo
ENSAYO
Profesor(es)
Desconocido
Grado
A

Temas

$15.49
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
ayushmanthapa

Conoce al vendedor

Seller avatar
ayushmanthapa (self)
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
-
Miembro desde
2 año
Número de seguidores
0
Documentos
5
Última venta
-

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes