CIS016-1 Principles of Programming Assignment Sample 2023
The report explains about the Student Event Management System which will allow the Student to book, register or cancel the Events. And also the roles for others like administrators to perform their own task. Understudies ought to have the option to enlist for the framework with the goal that they can book or post occasions (given they have authorization to do as such). To enlist, they need to give their name and understudy ID. When enrolled they have to login to utilize the framework.
The accompanying on-screen characters/clients can utilize the framework. Understudies who need to take an interest in an occasion ought to have the option to book it. If there should be an occurrence of a fruitful booking, the framework needs to show a message that the occasion is reserved.
Understudies ought to likewise have the option to drop their booking and view their own appointments (with the alternative to choose and drop a booking from here. Occasion coordinators are enrolled understudies who can post occasions. When posting an occasion, they need to give the occasion subtleties represented previously. Occasion coordinators ought to likewise have the option to get their very own rundown occasions, drop occasions or change occasion subtleties like area and time.
In the event of occasion undoing all appointments related with an occasion need to consequently be dropped, as well. A manager can furnish an understudy with occasion association rights (basically making an understudy an occasion coordinator) or deny these rights. The manager can see all occasions and appointments(Lebanon, 2017). They can likewise drop occasions or appointments.
The thought is to make a GUI work area application to meet the necessities of this situation. A database (utilizing JDBC) or a record based capacity (utilizing document IO) should be made to store client data about directors, understudies and whether an understudy is additionally an occasion coordinator. The database needs to store occasion subtleties just as booking subtleties.
Analysis of Student Event Management System
The technical features used for Student Event management system is,
- Java Object Oriented Programming
- Try Catch System
- JFrame to design the Interface
- Md5 fro password encryption
Java Object Oriented Programming:
Procedural concept of computer program is linked in by combining systems or techniques that perform procedure on the information, while object-arranged programs computer programs is linked in with making objects that contain the two information and strategies. Article briefs a exact substance, for instance, a pencil, seats, tables, PC, watch, and others.
Article Programming is a procedure or global to design a program using class and items(Tekkanat,2017). Item situated programming is a worldview dependent on the idea of the objects, that will comprise information, as fields, regularly known as characteristics; and code, as techniques, frequently known as strategies. It additionally has certain techniques, for example, move, talk, etc.
The Object Oriented programming worldview assumes a significant job in human-PC interfaces. This has various segments that take true articles and do the activities on it, making the associations among user as well as the machines. These are the segments of it−
- It worldview portrays a genuine framework in which associations were across genuine items.
- This model application as the gathering of the relevant items which cooperate for one another.
- The substance is demonstrated as the classes which means a assortment of related certifiable articles.
- Programming begins with the idea of certifiable items and the class.
- An applications is separated into various bundles.
- The bundles are an assortment of class.
- The classes is an embodied gathering of comparable genuine items.
It provides programming advancement and track by providing a some ideas:
Article situated programming has a few favourable circumstances over procedural programming:
- OOPS is fast and simple to implement
- OOPS provides a reasonable structure to the projects
- OOPS helps with checking the code in the principle of Don’t Repeat Yourself , and keeps the codes simple to place up, adjust and examine
- OOPS keeps it easier to place full reuse application in low coding and short implementation time
Objects and Classes:
Classes and items are the two primary parts of article arranged programming. In this situated program strategy, all plan a programs utilizing articles and class. An item in this is the physical just as a coherent substance, while, a classes in the Java is a sensible element as it were. An element which has state and conduct is called as the item e.g., seat, bicycle, markers, pens, tables, vehicle, and so forth. It very well may be physical or consistent (unmistakable and immaterial).
The case of an impalpable item is the financial framework. An item in this language is the physical just as a legitimate substance, while, a class in this language is a sensible element as it were.
An element that has state and conduct is known as an article e.g., seat, bicycle, markers, pens, tables, vehicle, and so forth. It tends to be physical or sensible (unmistakable and immaterial). The case of an immaterial item is the financial framework. An article has three attributes:
- State: speaks to the information (estimation) of an item.
- Behaviors: speaks to the conduct (usefulness) of an item, for example, store, pull back, and so on.
- Identity: An item character is commonly actualized by means of a special ID. The estimation of the ID isn’t noticeable to the outside client. Be that as it may, it is utilized inside by the java virtual machine to recognize each item remarkably.
For Instance, Pencil is an item. Its name is Upsara; shading is grey, called as the state. This is utilized to compose, so composing is their conduct. The item is a case of the class. The class is a format or diagram from that items are made(Srinivasan,2016). In this way, an item is the result of a classes. Item factors:
Figure 1: Object Characteristics
- An object is the true element.
- Objects are the runtime element.
- An object is the element that has states and conduct.
- An object is the occurrence of a class.
A class is a gathering of items that have normal property. It is a layout or outline from that articles were made. This is a legitimate substance. This cannot be physical. The class in this programming can include:
- Nested classes as well as interface
The variable that is made in the classes yet out the strategy is called as an occurrence variables. An occasion variable does not have memory space at assemble duration. This gets storage at execution time when an item or occasion is made. This is the reason it is called as an example variables. Continuously advancement, we make class and utilize it from other class. This is a superior methodology from past one(Zaw, 2016). We should see a straightforward model, where we are having principle() strategy in another class. It has 3 different categories to instate objects in Java.
- By variable of reference
- By technique
- By the constructor
Instating an article implies putting away information into the item. How about we see a straightforward model where we will introduce the item through a reference variable. There are numerous approaches to make an article in the java. It is:
- By catchphrase
- By new Instance() strategy
- By strategy of clone()
- By serialization process
- The production line technique and so forth.
Syntax for Class:
Legacy in this language is a component wherein the item gains entire property and practice of the superior object. This is a significant part of OOPS Object Oriented programming framework. The reason behind this in Java is that we can make some classes which are dependent after current classes. At some point when we add from a existing class, we can use steps and parts of the superior class. Besides, we can add new strategies and field in the present class. Legacy tells to the IS-A partnership.
- The class is a gathering of articles that has regular property. This is a format or diagram from that items were made.
- Subclass is the class that acquires the different classes. This is additionally known an inferred classes, expanded classes, or youngster classes.
- Super class is from were a subclass acquires a highlights. This is likewise known a base class or the parent class.
- As the name indicates, reuse is an instrument that encourages us to reuse the field and strategies for the current class when we make another classes. We can utilize similar field and techniques previously characterized in the past class.
The broadens catchphrase seems that we are making other classes that receives from a existing class. The term of “expands” is to get the benefits. In the phrasing of the java, a classes that is acquired is known as a super class, and the class is called subclass(Juneau,2017).
Concealing the usage subtleties of the classes from client by an item’s techniques is called as information epitome. The object arranged concepts, it ties the coding and information and protects it from outside obstruction. Where the product elements connect with one another either in a solitary PC or in the system is called as an open interfaces.
The assistance in information privacy. Different items will modify the condition of the article in a communication by utilizing just some strategies which are presented to external world through an open interfaces. The class is the gathering of articles that have common techniques. It very well may be considered as the diagram utilizing which articles are made.
Classes being aloof don’t speak with one another however are utilized to launch protests that communicate with one another. Legacy as when all is said in done terms is the way toward securing properties. In this one article acquires the property of other item. The substance which have states as well as conduct is called as an article.
The Object will be characterized as the example of the class. The article comprises a location also occupies room in storage. Articles will convey without examine the subtleties of one another’s information or the samples. A main important concept is kind of text acknowledged and sort of reaction returned by the items. In the event that the assignment is acted in various manners, it is called as polymorphism. And for instance:
to persuade the client in an unexpected way, to implement something. In this, we utilize technique over-burdening and strategy superseding to accomplish polymorphism. Another model can be to talk something; for instance, a feline talks whimper, hound barks woof, and so on. A Coupling alludes to information or data or reliance of other class.
It emerges where class know about one another. In the event that the classes have the subtleties data of other class, there is solid coupling. And in this, all utilize private, ensured, as well as open modifiers in order to show the perceivability stage of the classes, technique, and others. We may utilize interface to the more fragile coupling on the grounds that there is no solid execution. Attachment alludes to the degree of a part which plays out a solitary all around characterized task.
A solitary very much characterized task is finished by an exceptionally durable strategy. The feebly strong technique will part the assignment into discrete parts. The java.io bundle is a profoundly durable bundle since it has input or output relevant class and interfaces. Be that as it may, the bundle is a pitifully strong bundle since it has irrelevant classes and interfaces. Affiliation speaks to a connection in-between the articles. And, 1 item will be related to one article or numerous articles.There are many relationships like one to one, many to one and one to many.
How about we comprehend the relationship with constant models. For instance, One nation can have one leader (balanced), and an executive can have numerous pastors (one to many). Additionally, numerous MP’s can have one PM (numerous to 1), numerous priests will have numerous divisions (numerous to others). Affiliation will be uni-directional or bi-directional.
Total is an approach to accomplish Associations. Collections speaks to relationships in which one article comprises different items as a piece of the states. It speaks to the powerless connection in-between object. This is additionally named as the has-a relationships in this programming. Like, legacy speaks to the i relationship. This is other approach to use object. The piece is likewise an approach to accomplish Associations. An arrangement speaks to the relationships where the article comprises different items as the piece of their states. It is a solid connection in-between the some object ,the reliant item.
Polymorphism in the Java is a technique by which we can use out a sort of activity in many manners. This is gotten from two Greek words: poly and transforms. “Poly” signifies many and “transforms” signifies structures. So this means numerous structures. There are 2 sorts of this in Java: runtime polymorphism. It can perform in java by strategy and technique abrogating. In the event that we over-burden the static technique in the Java, this is the case of incorporate runtime polymorphism.
Runtime Polymorphism in Java
This polymorphism or also called Dynamic Method Dispatch is a form wherein a type to an abrogated technique is fixed at runtime as to accumulate time. By this procedure, an abrogated technique is known through the references variable of a super class. The guarantee of the methods to be known based on the item being used to by the references variables.
The class that is proclaimed by the theoretical part is called as an abstract class in the Java. This can have conceptual and also some-theoretical strategies (strategy with the body). Deliberation is the process of the usage objects and using just support to the customer(Savitch,2017). Other way, it demonstrates like fundamental parts to the customer and puts inside subtleties, for example, sending text where we type the contents and receive the text. We do not have the tedious ideas regarding the inside about the text projections.
There are two different techniques to accomplish reflection in the java
The class which is proclaimed like theoretical is called as a abstract class. This can have conceptual and also non-unique techniques. This must be expanded and the technique actualized. This cannot be started up.
- An conceptual classes should be proclaimed by a theoretical catchphrase.
- It may have unique and some conceptual strategies.
- It cannot be started up.
- It may contain constructor as well as static types moreover.
- It may contain last methods that will drive the sub class not to modify the content of the strategy.
Exemplification in this is a form of wrapping coding and the data into a solitary unit, for example, the containers which is made of a some prescriptions. It can make a whole typified classes in this by keeping all the data individual from the classes private. Currently we can use setter and getter techniques to set and get the data in it. The Bean class is the of a completely exemplified classes(Bernard, 2017).
DBMS in short makes to the creation of using away and recovering clients data with extreme effectiveness from proper safety efforts. This instructional exercise clarifies the nuts and bolts of DBMS, for example, its engineering, information models, information blueprints, information freedom, E-R model, connection model, social database plan, and capacity and document structure and significantly more.
Customarily, data was sorted out in record groups. DBMS was other idea at that point, and the examination had done to cause it to acquire the insufficiencies in conventional style of data the executives. A cutting edge has the many factors.
- Real-world substance − A cutting edge of this is increasingly affordable and utilizes some elements to plan their designs. It uses the conducts and properties also. For instance, a database may use students as the elements and age as a trait.
- Relation-based tables − DBMS permits substance and relation across them to shape table. A customer can comprehend the designs of a database by taking a gander at the table name.
- Separation of information and application – The database framework is unique in relation to their data. The database is a functioning elements, though data is supposed to be isolated, on that the database performs and arrange. It likewise saves metadata, that is data about data, to its own procedure.
- Less repetition − It keeps the principles of standardization, that parts a connection by any of its properties is excess in values. Standardization is a numerically extra and logical procedure that lessens information excess.
- Consistence − This is where each connection in the database stays reliable. It exist strategies as well as methods, that can identify endeavour of the database in conflicting states. The DBMS can give more noteworthy consistency when used with many types of data using away application like records using frameworks.
- Query Languages − It is used with inquiry language, that makes it increasingly easier to use and manage information. A customer can use the same numbers of and as many separating choices as needed to recover a lot of data. Generally it was unrealistic where document handling frameworks was used(Bidve,2016).
Try Catch System
A strategy discovers a special case utilizing a mix of the attempt and catch catchphrases. An attempt/get is fixed around the coding that may produce a special case. A catch articulation includes pronouncing the sort of special case we are trying to get. In the time that a special case happens in secured code, the catch square (or hinders) that follows the attempt is checked. In the event that the sort of exemption that happened is saved in a catch, the special cases is passed to the square much as a contentions is passed into a technique parameters.
In the event that a technique doesn’t deal with a checked special case, the strategy must announce it utilizing the tosses watchword. The tosses watchword shows up toward the finish of a technique’s mark. You can toss a special case, either a recently launched one or an exemption that you just got, by utilizing the toss catchphrase. The tosses is utilized to delay the treatment of a checked special case and toss is utilized to summon an exemption unequivocally.
This is a broadly used cryptographic function, that produces a hash of 128 bit and will be mostly used for password encryption for the Student Event management system (Rajashekharaiah,2016).
It is a workspace which will allow the user to programming their code with many advanced features. By the help of this software, Student Event Management system is developed.
The Implementation of the Student Event Management was done using the above all concepts to get done of the system for the event registration. The screenshots for the implementation was given below,
The above is the login page for the student Event management system, which uses the technique called MD5 encryption for the process of cryptography. It will ask the student to enter their username and password to register or book the event. Students have some access like below,
- View events
- Book events
- Cancel booking
- View Booked Events
Event organizer also has the access to the login page as they also perform some tasks like booking events. The next up coming implementations are given below,
Thus the analysis taken place for the implementation of the Student Event Management System was briefed in the above sections and also the implemented screen shots were also provided. So the java OOPS concepts is the main concept which play major role in the Student Event management system.
Lebanon, G. and El-Geish, M., 2018. Learning Java. In Computing with Data (pp. 169-190). Springer, Cham.
Tekkanat, E. and Topaloglu, M., 2018. Developing java design patterns modeller with object-oriented programming. Global Journal of Computer Sciences: Theory and Research, 8(3), pp.132-135.
Srinivasan, M., Lee, Y. and Yang, J., 2016, April. Enhancing Object-Oriented Programming Comprehension using Optimized Sequence Diagram. In 2016 IEEE 29th International Conference on Software Engineering Education and Training (CSEET) (pp. 81-85). IEEE.
Zaw, K.K., Funabiki, N., Mon, E.E. and Kao, W.C., 2018, October. An informative test code approach for studying three object-oriented programming concepts by code writing problem in Java programming learning assistant system. In 2018 IEEE 7th Global Conference on Consumer Electronics (GCCE) (pp. 629-633). IEEE.
Gabaruk, J., Logofatu, D., Großkreutz, D. and Andersson, C., 2019, April. On Teaching Java and Object Oriented Programming by Using Children Board Games. In 2019 IEEE Global Engineering Education Conference (EDUCON) (pp. 601-606). IEEE.
Zaw, K.K., Zaw, W., Funabiki, N. and Kao, W.C., 2019. An Informative Test Code Approach in Code Writing Problem for Three Object-Oriented Programming Concepts in Java Programming Learning Assistant System. IAENG International Journal of Computer Science, 46(3).
Lin, C.C., Liu, Z.C., Chang, C.L. and Lin, Y.W., 2018. A Genetic Algorithm-Based Personalized Remedial Learning System for Learning Object-Oriented Concepts of Java. IEEE Transactions on Education, 62(4), pp.237-245.
Juneau, J., 2017. Object-Oriented Java. In Java 9 Recipes (pp. 99-136). Apress, Berkeley, CA.
Savitch, W., 2017. Java: An Introduction to Problem Solving and Programming Plus MyProgrammingLab with Pearson eText–Access Card Package. Pearson.
Cheon, Y., 2016. Are java programming best practices also best practices for android. Technical Report 16-76, Department of Computer Science, The University of Texas at El Paso, El Paso, TX.
Joyce, D.T. and Weems, C., 2016. Object-oriented data structures using Java. Jones & Bartlett Publishers.
Ribeiro, F., Saraiva, J. and Pardo, A., 2019, September. Java Stream Fusion: Adapting FP mechanisms for an OO setting. In Proceedings of the XXIII Brazilian Symposium on Programming Languages (pp. 30-37).
Sage, K., 2019. Procedural Programming Basics in Java. In Concise Guide to Object-Oriented Programming (pp. 11-35). Springer, Cham.
Bernard, S., 2017. 2: Java Programming Intermediate Concepts For The Fundamentals Of OO Programming (Volume 2).
Bidve, V.S. and Sarasu, P., 2016. Tool for measuring coupling in object-oriented java software. International Journal of Engineering and Technology, 8(2), pp.812-820.
Rajashekharaiah, K.M.M., Pawar, M., Patil, M.S., Kulenavar, N. and Joshi, G.H., 2016, December. Design Thinking Framework to Enhance Object Oriented Design and Problem Analysis Skill in Java Programming Laboratory: An Experience. In 2016 IEEE 4th International Conference on MOOCs, Innovation and Technology in Education (MITE) (pp. 200-205). IEEE.
Khatchadourian, R., Tang, Y. and Bagherzadeh, M., 2020. Safe automated refactoring for intelligent parallelization of Java 8 streams. Science of Computer Programming, p.102476.
Sulír, M., 2020, January. String Representations of Java Objects: An Empirical Study. In International Conference on Current Trends in Theory and Practice of Informatics (pp. 479-490). Springer, Cham.
Khatchadourian, R., Tang, Y., Bagherzadeh, M. and Ray, B., 2020, April. An Empirical Study on the Use and Misuse of Java 8 Streams. In International Conference on Fundamental Approaches to Software Engineering (pp. 97-118). Springer, Cham.
Sullivan, G.T. and Bachrach, J.R., Advanced Programming Language Technology for Reflective, Dynamic, Adaptive Software.
Bhatt, P., Taneja, H. and Taneja, K., 2020. SSCCJ: System for Source to Source Conversion from C++ to Java for Efficient Computing in IoT Era. In Proceedings of International Conference on IoT Inclusive Life (ICIIL 2019), NITTTR Chandigarh, India (pp. 393-400). Springer, Singapore.
Wang, G., Xiao, H., Wen, S. and Hong, H., 2020, January. Extracurricular Fragile Time-Driven Computer Programming Courses Teaching Designing Based on Mobile Internet and Big Data. In 2019 3rd International Conference on Education, Economics and Management Research (ICEEMR 2019) (pp. 261-264). Atlantis Press.
Prutzkow, A., 2020. Object-Oriented Programming Robot Refactoring and Its Effectiveness Estimation. In Proceedings of 14th International Conference on Electromechanics and Robotics “Zavalishin’s Readings” (pp. 549-562). Springer, Singapore.
Know more about UniqueSubmission’s other writing services: