123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
GK Quiz

--------------------------------------------------------------------------------

Description : This is a very simple quiz with Ten questions in it and also is very eadsy to use. this is mainly made forextreme begginers in C++.

#include<iostream.h>
#include<conio.h>

void main()
{
clrscr();
int x,y,z;
x=y=z=0;
char ch1[100],ch2,ch3,ch4,ch5,ch6,ch7,ch8,ch9,ch10,ch11;
cout<<" Guest Enter Your Name<BR>;
cin>>ch1;
clrscr();
cout<<" Welcome "<<ch1<<".

Sobriquet is an unofficial title or
name given to someone or something.";
cout<<"
Enter answer in form of 'a','b' and'c'only.";
cout<<"

What is called as ' THE HOLY
LAND'?
a.Jerusalem
b.Mathura
c.Mecca<BR>;
cin>>ch2;
if(ch2=='a')
{
x=x+10;
cout<<"Good Job.
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE ROOF OF THE
WORLD'?
a.Nepal
b.Rome
c.Tibet<BR>;
cin>>ch2;
if(ch2=='c')
{
x=x+10;
cout<<"Good Job.
Your score is "<<x;

}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();

cout<<"

What is called as ' THE LAND OF RISING
SUN'?
a.Chicago
b.Japan
c.Tibet<BR>;
cin>>ch2;
if(ch2=='b')
{
x=x+10;
cout<<"Good Job.
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE GIFT OF
NILE'?
a.Chicago
b.Egypt
c.Africa<BR>;
cin>>ch2;
if(ch2=='b')
{
x=x+10;
cout<<"
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE LAND OF MIDNIGHT
SUN'?
a.Norway
b.Japan
c.Australia<BR>;
cin>>ch2;
if(ch2=='a')
{
x=x+10;
cout<<"
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE LAND OF
THUNDERBOLT'?
a.Bhutan
b.Canada
c.Arab<BR>;
cin>>ch2;
if(ch2=='a')
{
x=x+10;
cout<<"
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE WINDY
CITY?
a.Jerusalem
b.Japan
c.Chicago<BR>;
cin>>ch2;
if(ch2=='c')
{
x=x+10;
cout<<"
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE LAND OF WHITE
ELEPHANTS'?
a.Bangladesh
b.Thailand
c.India<BR>;
cin>>ch2;
if(ch2=='b')
{
x=x+10;
cout<<"
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE CITY OF SEVEN
HILLS'?
a.Rome
b.Nilgiri Hills
c.Tibet<BR>;
cin>>ch2;
if(ch2=='a')
{
x=x+10;
cout<<"
Your score is "<<x;


}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"

What is called as ' THE DARK
CONTIENENT'?
a.Asia
b.Australia
c.Africa<BR>;
cin>>ch2;
if(ch2=='c')
{
x=x+10;
cout<<"
Your score is "<<x;

}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
if(x==100)
cout<<"No cheating...... You have done this earlier also.";
if(x==90)
cout<<"You are extremely intelligent
Your Score is 90";
if(x==80)
cout<<"You are intelligent
Your Score is 80";
if(50==x||x==70||x==60)
cout<<"You are average
Your Score is "<<x<<"
Better luck next
time";
else if(x<=40)
cout<<"No use........ Not even 5 questions right";
getch();
}

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved copyright 123ENG