0% found this document useful (0 votes)
499 views15 pages

Lovely Professional University: Term Paper Reports ON CSE Topic

This document is a term paper report on a paper setter system created in C language. It discusses creating a software to generate test papers and question banks to help students prepare for exams and save time. The source code provided includes functions to create and open tests and question banks, as well as functions for users to attempt tests and view previous results. The system requirements and references used are also outlined.

Uploaded by

Roshan Ravi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
499 views15 pages

Lovely Professional University: Term Paper Reports ON CSE Topic

This document is a term paper report on a paper setter system created in C language. It discusses creating a software to generate test papers and question banks to help students prepare for exams and save time. The source code provided includes functions to create and open tests and question banks, as well as functions for users to attempt tests and view previous results. The system requirements and references used are also outlined.

Uploaded by

Roshan Ravi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Lovely Professional

University

TERM PAPER REPORTS


ON
CSE
TOPIC:-
PAPER
SETTER SYSTEM
Submitted TO:- Submitted by:-

MR.PARUL KHURANA ROSHAN


ROLL NO.:-RG6002A63

REG.NO.:- 11006648
ACKNOWLEDGEMENT
No work of significance can be claimed on a result of an
individual Efforts and same holds true further for this
project as well, for through it carries my name the energy
of many have contributed in no small measure in
completion of this project.
I am very thankful to my friend Tribhuvan and
our teachers “MR.Parul Khurana” who help me
to make this project.
INTRODUCTION TO C
LANGUAGE

C IS A PROGRAMMING LANGUAGE
DEVELOPED AT AT AND T’S BELL
LABORATRIES OF USA IN 1972.IT WAS
DESIGNED AND WRITTEN BY DENNIS
RITCHIE.IT IS A SENSITIVE AND REDUCES
THE GAP BETWEEN LOWER AND UPPER
CASE LETTERS SO MANY PROGRAMMERS
PREFFERED C TO OLDER LANGUAGES LIKE
FORTRAN OR PL/I,OR THE NEWER ONES
LIKE PASCAL AND APL

INTRODUCTION TO PAPER SETTER SYSTEM

As we all know that time is very precious and no one is


ready to waste his time .So we are designing a project
that will help to save the time of people in schools and
colleges. The project helps the students to intimate the
type of questions they can be asked. This software is
designed to enter the question as TEST PAPER OR
QUESTION BANK. The result of the test taken can be seen
easily. This software will help to save the time and also
make a student ready for taking exams .So we hope that
this software will help students new to system.
SYSTEM REQUIREMENTS

Operating System: Windows 2000/NT/Xp/Vista


RAM: 256 MB or more
HARD DISK 40 GB or more
Processor P3 or High
Compiler Standard C++ Compiler
SOURCE CODE:

//Paper Setter system

#include<stdio.h>

#include<conio.h>
void create_test();

void create_ques_bank();

// FRONT END ADMIN

void main()

label1:

printf(“ PRESS ‘ 1 ‘ TO CREATE TEST OR QUESTION BANK OR ‘ 2 ‘ TO OPEN AN EXISTING TEST OR QUESTION
BANK OR ‘ 0 ‘ TO EXIT.");

scanf("%d", &choice1);
switch (choice1)

case 1:

lable2:

printf("PRESS ' 1 ' TO CREATE TEST OR ' 2 ' TO CREATE QUESTION BANK OR ‘ 0 ‘ TO GO BACK
TO PREVIOUS OPTION.”);

scanf(“%d” ,&choice2);

switch (choice2)

case 1:

create_test(); // A FUNCTION TO CREATE TEST.

break;

case 2:

create_ques_bank(); // A FUNCTION TO CREATE QUESTION BANK.

break;

case 0:

goto label1;

}
default:

printf(“INVALID INPUT”);

printf(“PRESS ‘ 1 TO GO BACK TO PREVIOUS OPTION OR ‘ 0 ‘ TO EXIT.”);

scanf(“%d” ,&choice2);

switch (choice2)

case 1:

goto label2;

break;

case 0:

exit(1);

default:

printf(“INVALID INPUT…”);

printf(“EXITING….”);

exit(1);

}
case 2:

lable2:

printf("PRESS ' 1 ' TO OPEN TEST OR ' 2 ' TO OPEN QUESTION BANK OR ‘ 0 ‘ TO GO BACK TO
PREVIOUS OPTION.”);

scanf(“%d” ,&choice2);

switch (choice2)

case 1:

open_test(); // A FUNCTION TO OPEN TEST.

break;

case 2:

open_ques_bank(); // A FUNCTION TO OPEN QUESTION BANK.

break;

case 0:

goto label1;

default:
{

printf(“INVALID INPUT”);

printf(“PRESS ‘ 1 TO GO BACK TO PREVIOUS OPTION OR ‘ 0 ‘ TO EXIT.”);

scanf(“%d” ,&choice2);

switch (choice2)

case 1:

goto label2;

break;

case 0:

exit(1);

default:

printf(“INVALID INPUT…”);

printf(“EXITING….”);

exit(1);

}
case 0:

exit(1);

default :

printf(“INVALID INPUT…”);

printf(“EXITING….”);

exit(1);

// FRONT END USER

printf(“ PRESS ‘ 1 ‘ TO ATTEMPT TEST OR ‘ 2 ‘ TO VIEW PREVIOUS RESULT.");

scanf("%d", &choice1);

switch (choice1)

case 1:

user_test();

break;

case 2:

prev_result();

default :
{

printf(“INVALID INPUT…\nEXITING….”);

break;

void create_test()

int n1,i;

char ques[] [500];

printf(“Number of questions to be entered will be 10”);

label:

printf(“Press ‘1’ to enter MCQ’s and ‘2 ‘ to enter T/F questions”);

scanf(“%d”,&n1);

switch (n1)

case 1:

for(i=1;i<11;i++)

for(j=0;j<I;j++)

printf(“Enter MCquestion %d”,j+1);

gets(ques[i][j]);
}

break;

case 2:

for(i=1;i<11;i++)

for(j=0;j<I;j++)

printf(“\nEnter T/Fquestion %d”,j+1);

gets(quest[i][j]);

break;

default:

printf(“\nINVALID INPUT…”);

goto label;

}
void create_ques_bank()

int n1,i;

char ques[][500];

printf(“Enter the number of questions u want to enter.”);

label:

scanf(“%d”,&n1);

for(i=1;i<n1;i++)

for(j=0;j<I;j++)

printf(“Enter question %d”,j+1);

gets(ques[i][j]);

}
REFRENCES:

BOOKS: LET US C

ANSI C

ANSI C & TURBO C

COMPLETE REFRENCES

You might also like