Programming fundamental
Programming fundamental
Programming Fundamental
PROJECT REPORT
NAME: Fatima Ajmal
PROJECT NAME
INTRODUCTION;
A Student Management System (SMS), also known as a Student Information
System (SIS), is a software designed to record, analyze, and manage
information related to students in an educational setting. It integrates data about
students.
Code;
#include <iostream>
int main() {
int Records;
int rollNumbers[Records];
cout << "Enter details for Student " << i + 1 << ":\n";
cin >> names[i]; // Reading the name using the extraction operator
return 0;
Output;
Components Used
Arrays;
- Roll Numbers: An array of integers to store the roll numbers of the students.
Loops;
- For Loops: Used for iterating through each student record, prompting the user to input details.
User Input;
- cin: Used for taking input from the user, such as the number of student records, names, fathers'
names, addresses, emails, classes, and roll numbers.
Output;
Motive
The motive behind this program is to create a basic Student Information System that demonstrates
the use of arrays, loops, and user input in C++. It allows users to input information for a specified
number of student records and later displays the collected information.
Program Flow
1. The program starts by prompting the user to enter the number of student records they want to
manage.
2. Arrays are declared to store information for each aspect of a student's record: name, father's name,
address, email, class, and roll number.
3. For each student record, the program uses loops to collect information:
- The program prompts the user to enter details for each student, including their name, father's name,
address, email, class, and roll number.
4. After collecting information for all student records, the program uses another loop to display the
collected information for each student.
Conclusion
This C++ program provides a basic foundation for a Student Information System, illustrating
fundamental concepts such as arrays, loops, and user input. It can serve as a starting point for more
complex systems with additional features and functionalities.
-----------------------------------------------------------------------------------------------------------------------------------------