Professional Documents
Culture Documents
FOUNDATION OF COMPUTING
First and foremost I thank my teachers who have assigned me this term paper to
bring out my creative capabilities.
HARVINDER SINGH
TABLE OF CONTENTS
1. INTRODUCTION
2. PROPOSED SYSTEM
(i) DESCRIPTION
(ii) SYSTEM REQUIREMENTS
3. REQUIREMENTS ANALYSIS
4. SYSTEM DESIGN
5. SOURCE CODE
6. TESTING
7. FUTURE SCOPE OF PROJECT
INTRODUCTION
DESCRIPTION:
My software deals with the retrieval of records of the students of the college. It
requires the student to enter his school name, roll no. and degree and he is shown
his section number. I have used various decision statements like switch, if and else
and various functions. C language really proved to be very helpful in building of
my software as it is very user friendly and is structured language. It allows the
programmer to work in small modules called functions. Thus my software will
help in reducing the chaos in storing and retrieving student records in a college.
SYSTEM REQUIRENMENTS:
REQUIRENMENT ANALYSIS:
My system model is Lenovo Vista PC. The processor is Intel core 2 duo. With Intel
Core 2 Duo desktop processor, the PC experiences a revolutionary performance,
unbelievable system responsiveness, and energy-efficiency second to none. It gives
• Up to 6MB L2 cache
The RAM memory of my computer is 2 GB. Here goes the function of RAM:
All of the data is held on the Hard Disk Drive - even Windows is stored there.
When the computer is running, whenever it needs to open a program, file, or run a
process that it hasn't in a while, it accesses the Hard Drive and runs the process that
it's looking for through the processor. While it is processing, it may need to store
and access numbers. These numbers are stored in the RAM (Random Access
Memory). It completes processes by doing this routine over and over until the
computer is turned off. RAM does not hold any amount of data that we can access
- only the machine can. The breakdown of RAM is:
1 Gigabyte = 1024 Megabyte
1 Megabyte = 1024 Kilobytes
1 Kilobyte = 1024 Bytes
1 Byte = 8 bits
1 bit = 1 binary number (a 1 or a 0)
1. PRINTF function: - This function used for display the given data by the user
through the keyboard.
2. SCANF function:- This function used for input the data by the user.
3. IF & ELSE statement:- This function used for check the condition where the
condition is true, executed the body of true block and if the true condition is
false else body will be executed.
4. SWITCH statement:- It is used for generally for menu driven program, while
using this function user directly go to the case where the user want to go,
respected body will be executed.
SOURCE CODE:
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c,d,e,f,g;
printf("\n\n\n\a..............WELCOME TO LOVELY PROFESSIONAL
UNIVERSITY..................");
printf("\n.............................MENU.......................");
printf("\n\t [1]:LOVELY SCHOOL OF ENGINEERING.");
printf("\n\t [2]:LOVELY INSTITUTE OF MANAGEMENT.");
printf("\n\t [3]:LOVELY SCHOOL OF BUSINESS.");
printf("\n ENTER THE SCHOOL OF THE STUDENT:");
scanf("%d",&a);
switch(a)
{
case 1:{
printf("\n\n\a...............WELCOME TO LOVELY SCHOOL OF
ENGINEERING..................");
printf("\n...............................PROGRAMME...............................");
printf("\n\t [1]:B.TECH.");
printf("\n\t [2]:B.TECH-M.TECH.");
printf("\n\t [3]:B.TECH-MBA.");
printf("\n ENTER THE DEGREE OF THE STUDENT:");
scanf("%d",&b);
if(b==1)
{
printf("\n\n\a..................WELCOME TO B.TECH....................");
printf("\n..........................BRANCH...............................");
printf("\n\t [1]:INFORMATION TECHNOLOGY.");
printf("\n\t [2]:MECHANICAL.");
printf("\n\t [3]:ELECTRONICS AND COMMUNICATION.");
printf("\n\t [4]:COMPUTER SCIENCE.");
printf("\n ENTER THE TRADE OF THE STUDENT:");
scanf("%d",&c);
switch(c)
{
case 1:{printf("\n THERE ARE TOTAL SIX SECTION IN
THESE TRADE");
printf("\n THE LIST OF THE SECTION IS");
printf("\n 201,202,203,204,205,206");
printf("\n ENTER THE SECTION OF THE STUDENT");
scanf("%d",&d);
if(d==201||d==202||d==203)
{
printf("\n THE COURSE OF STUDENT OF THESE SECTION
ARE:");
printf("\n\t [1]:ENGINEERING MATHEMATICS");
printf("\n\t [2]:PHYSICS");
printf("\n\t [3]:COMMUNICATION SKILLS");
printf("\n\t [4]:ELECTRICAL SCIENCE");
printf("\n\t [5]:FOUNDATION OF COMPUTING");
}
if(d==204||d==205||d==206)
{
printf("\n THE COURSE OF STUDENT OF THESE SECTION
ARE:");
printf("\n\t [1]:PHYSICS");
printf("\n\t [2]:MANAGEMENT SCIENCE");
printf("\n\t [3]:FOUNDATION OF COMPUTING");
printf("\n\t [4]:ENGINEERING MATHEMATICS");
printf("\n\t [5]:WORKSHOP ON HARDWARE AND
NETWORKING");
}
if(d<201||d>206)
printf("\n\t TRADE IS NOT THE CORRECT ONE");
break;
}
case 2:{printf("\n THERE ARE TOTAL SIX SECTION IN
THESE TRADE");
printf("\n THE LIST OF THE SECTION IS");
printf("\n 207,208,209,210,211,212");
printf("\n ENTER THE SECTION OF THE STUDENT");
scanf("%d",&e);
if(e==207||e==208||e==209)
{
printf("\n THE COURSE OF STUDENT OF THESE SECTION
ARE:");
printf("\n\t [1]:ENGINEERING DRAWING");
printf("\n\t [2]:FOUNDATION OF COMPUTING");
printf("\n\t [3]:ENGINEERING MATHEMATICS");
printf("\n\t [4]:MECHANICS");
printf("\n\t [5]:WORKSHOP");
}
if(e==210||e==211||e==212)
{
break;
}
}
break;
}
case 2:{int l;
printf("\n\n\a.............. WELCOME TO LOVELY INSTITUTE OF
MANAGEMENT..........");
printf("\n\n..................PROGRAM......................\n");
printf("\n\t [1]MBA");
printf("\n\t [2]M-TECH");
printf("\n ENTER THE PROGRAM OF THE STUDENT");
scanf("%d",&l);
switch(l)
{
case 1:{int x;
My project is MENU DRIVEN for student record management. It will surely help
in reducing the chaos for management of records. It will reduce manual labour and
will be more machine oriented, thus will also help in reducing large piles of record
files in a college.
It will be very helpful for the university to get the information about any recently
passed out students. It will also be helpful for the students who want to know about
their section and roll number.