Uploaded by info.roanchales

Waleed Sajjad 26511 TBW assignment 3

advertisement
Name:
Waleed Sajjad
Sap Id
26511
Section:
4A
Subject:
Technical And Business
Writting
Assignment 3
Student Management System
Introduction:
This project is CPP based program. This program works by giving the roll number of a student,
student name, student marks. We have used different programming concepts to create this project.
The Different programming concepts that we have used are:
1. Programming Fundamentals:
The concepts of programming fundamentals that we have used were,
Control Structures.

Loops:
In computer programming, a loop is a sequence of instruction s that is continually
repeated until a certain condition is reached. Typically, a certain process is done, such as getting an
item of data and changing it, and then some condition is checked such as whether a counter has
reached a prescribed number.

Switches
In computer programming languages, a switch statement is a type of selection control
mechanism used to allow the value of a variable or expression to change the control flow ofprogram
execution via search and map.

If-Else Statements
If/Else - A common form of conditional statements in programming; tells the computer
that if the condition is true, do this. Else, if the condition is false, do another thing.
Functions.
Functions are "self-contained" modules of code that accomplish a specific task. Functions usually
"take in" data, process it, and "return" a result. Once a function is written, it can be used over and
over and over again. Functions can be "called" from the inside of other functions. We have used two
types of functions. Builtin functions & user-defined functions.

User-Defined:
User-defined functions are functions that you use to organize your code in the body of a policy. Once
you define a function, you can call it in the same way as the built-in action and parser functions.
Variables that are passed to a function are passed by reference, rather than by value.

Built-In functions
Such functions that are pre stored and or saved into the compiler memory and are used to preform
some specific tasks are called built-in functions. For example “cin & cout” etc.
Pointers.
A pointer is a variable that stores the memory address of an object. Pointers are used extensively in
both C and C++ for three main purposes: to allocate new objects on the heap, to pass functions to
other functions. to iterate over elements in arrays or other data structures.
1. OOP ( OBJECT ORIENTED PROGRAMMING)\
The concepts of OOP that we have used were,
Classes:
In object-oriented programming, a class is a blueprint for creating objects (a particular data structure),
providing initial values for state (member variables or attributes), and implementationsof behavior
(member functions or methods). The class is a blueprint that defines nature of a future object.
Composition.
Composition is one of the fundamental concepts in object-oriented programming. It describes a class
that references one or more objects of other classes in instance variables. This allows you to model a
has-a association between objects. You can find such relationships quite regularly in the real world.
2. DSA ( DATA STRUCTURE & ALGORITHM )
Linked List.
Singly Linked List: It is the simplest type of linked list in which every node contains some data
and a pointer to the next node of the same data type. The node contains a pointer to the next node
means that the node stores the address of the next node in the sequence.
Linear Search.
In computer science, a linear search or sequential search is a method for finding an element
within a list. It sequentially checks each element of the list until a match is found or the whole
list has been searched.
Project Specification
We have used functions in this project to make the project more efficient. Following are the
function that are used in this project.
 Insert Function (void_insert):
This function is used to insert new data into the list or record.
 Search Function (void_search):
This function is used to search book form the saved records at the time of exucation.
 Update Function (void_update):
This Function is used to update the record of the books inserted already.
 Delete Function (void_del):
This function is used to delete data of book that was inserted in the record.
 Show Function (void_show):
This function is used to display all the records that were entered and updated by the user.
 Count Function (void_count):
 This function is used to count all the records and show the total number of students enter.
Conclusion
Our project is only a humble venture to satisfy the needs in an Institution. Several userfriendly coding has also adopted. This package shall prove to be a powerful package
insatisfying all the requirements of the organization.
Download