Tuesday, December 16, 2014

Random Quiz Maker in C Language (Course Project)

It is a project that we have shown in our CSE115 C programming course of North South University.

You can find the project slides HERE

Questions.txt file should be placed in the project folder directory.

Source Code:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include<graphics.h>
#include<conio.h>
#include<dos.h>
int main()
{
    system("COLOR AC");
    printf("\n\n\t\t\t***************************");
    printf("\n\t\t\t**** Random Quiz Maker ****");
    printf("\n\t\t\t***************************");
    printf("\n\n\t\t\t***************************");
    printf("\n\n\t\tWelcome to the random quiz maker program.");
    printf("\n\t\tPlease be patient during the process.\n");
    printf("\n\n\t\t\t**** Random Quiz Maker ****\n");
    printf("\n\tPlease input your answer by inserting character value of the number:");
    printf("\n\n\t\t\t**** Random Quiz Maker ****\n");
    printf("\n");
    int i,j,random_question[20],k,flag,random;
    double exam_score=0, final_score;
    char students_answer;
    struct exam
    {

Hi ! I'm Raad. And this my personal blog. Welcome to my blog.