home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
WWIV2.ZIP
/
IQ.C
< prev
next >
Wrap
Text File
|
1993-06-12
|
18KB
|
691 lines
#include "vars.h"
void calciq(right)
{
int iq;
if (right<6) iq=1;
if ((right>5) && (right<10)) iq=2;
if ((right>9) && (right<14)) iq=3;
if ((right>13) && (right<18)) iq=4;
if ((right>17) && (right<22)) iq=5;
if ((right>21) && (right<26)) iq=6;
if ((right>25) && (right<30)) iq=7;
if ((right>29) && (right<34)) iq=8;
if ((right>33) && (right<38)) iq=9;
if ((right>37) && (right<42)) iq=10;
if (right>41) iq=11;
nl();
pl("1On The Devil's Doorknob 1-11 scale of intelligence:");
npr(" 3You rate 1%d\r\n",iq);
nl();
if ((iq>0) && (iq<5)) pl("1You will have limited access.");
if ((iq>4) && (iq<8)) pl("2You will have moderate access.");
if ((iq>7) && (iq<11)) pl("3You will have access to most areas.");
if (iq>10) pl("5You will have access to every public area.");
}
void iqqst()
{
int right, wrong;
char ch;
right=0;
wrong=0;
nl();nl();
pl("117. 1Which of the following makes the best comparison7?");
pl(" 1YYZZZYZZY is to 221112112 as YYZZYZZY is to7:");
pl(" 1A7> 1221221122 B7> 122112122 C7> 122112112 D7> 1112212211 E7> 1212211212");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'C':
right++;
break;
case 'A':
case 'B':
case 'D':
case 'E':
wrong++;
break;
}
nl();nl();
pl("127. 1Which of the five is least like the other four7?");
pl(" 1A7> 1NICKEL B7> 1TIN C7> 1STEEL D7> 1IRON E7> 1COPPER");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'C':
right++;
break;
case 'A':
case 'B':
case 'D':
case 'E':
wrong++;
break;
}
nl();nl();
pl("137. 1Which of the five is least like the other four7?");
pl(" 1> = < + //");
pl(" 1A B C D E");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'D':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("147. 1Jerry recieved both the 15th highest and the 15th lowest mark in the class");
pl(" 1How many students are in the class7?");
pl(" 1A7> 115 B7> 129 C7> 125 D7> 130 E7> 132");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("157. 1Which of the five is least like the other four7?");
pl(" 1A7> 1DICTIONARY B7> 1BIOGRAPHY C7> 1ATLAS D7> 1ALMANAC E7> 1DIRECTORY");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("167. 1Which of the five is least like the other four7?");
pl(" 1A Z F N H");
outstr("7(>");
ch=onek("AZFNH");
switch(ch) {
case 'A':
right++;
break;
case 'Z':
case 'F':
case 'N':
case 'H':
wrong++;
break;
}
nl();nl();
pl("177. 1Which of the five makes the best comparison7?");
pl(" 1Foot is to hand as leg is to7:");
pl(" 1A7> 1ELBOW B7> 1PIANO C7> 1TOE D7> 1FINGER E7> 1ARM");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'E':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'D':
wrong++;
break;
}
nl();nl();
pl("187. 1If all Ferpies are Worgs and no Worgs are Sprikles, then no Sprikles");
pl(" 1are definately Ferpies7.");
pl(" 1This statement is7:");
pl("1A7> 1TRUE B7> 1FALSE C7> 1NEITHER");
outstr("7(>");
ch=onek("ABC");
switch(ch) {
case 'A':
right++;
break;
case 'B':
case 'C':
wrong++;
break;
}
nl();nl();
pl("197. 1Of the following numbers, which one is least like the others7?");
pl(" 11 3 5 7 11 13 15 17 19");
pl(" 1A B C D E F G H I");
outstr("7(>");
ch=onek("ABCDEFGHI");
switch(ch) {
case 'G':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'H':
case 'I':
wrong++;
break;
}
nl();nl();
pl("1107. 1Which of the five designs is least like the other four7?");
pl(" 1D G C P R");
outstr("7(>");
ch=onek("DGCPR");
switch(ch) {
case 'C':
right++;
break;
case 'D':
case 'G':
case 'P':
case 'R':
wrong++;
break;
}
nl();nl();
pl("1117. 1Terry is older than Mark and Sam is younger than Terry7.");
pl(" 1Which of the following statements is most accurate7?");
pl("1A7> 1Sam is older than Mark.");
pl("1B7> 1Sam is younger than Mark.");
pl("1C7> 1Sam is as old as Mark.");
pl("1D7> 1It is impossible to tell whether Sam or Mark is older.");
outstr("7(>");
ch=onek("ABCD");
switch(ch) {
case 'D':
right++;
break;
case 'A':
case 'B':
case 'C':
wrong++;
break;
}
nl();nl();
pl("1127. 1Which of the five makes the best comparison7?");
pl(" 1Leap is to peal as 8326 is to7:");
pl(" 1A7> 12368 B7> 16283 C7> 12683 D7> 16328 E7> 13628");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'D':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1137. 1Which of the five is least like the other four7?");
pl(" 1A7> 1PECK B7> 1OUNCE C7> 1PINT D7> 1CUP E7> 1QUART");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'A':
right++;
break;
case 'D':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("14. Three enemy messages were intercepted at communications headquarters.");
pl(" The code was broken and it was found that `Berok tenlis krux' means");
pl(" `Secret attack Wednesday' and `Baroom zax Tenlis' means `Secret plans");
pl(" included' and `Gradnor berok plil elan' means `Wednesday victory is ours.'");
pl(" What does `krux' mean?");
pl(" 1A7> 1SECRET B7> 1WEDNESDAY C7> 1NOTHING D7> 1ATTACK E7> 1PLANS");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'D':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("15. Which of the five makes the best comparison?");
pl(" Love is to hate as valor is to:");
pl(" 1A7> 1COURAGE B7> 1SECURITY C7> 1COWARDICE D7> 1ANGER E7> 1TERROR");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'C':
right++;
break;
case 'A':
case 'B':
case 'D':
case 'E':
wrong++;
break;
}
nl();nl();
pl("16. The price of an article was cut 50%% for a sale. By what percent");
pl(" must the item be increased to again sell at the original price?");
pl(" 1A7> 125 B7> 150 C7> 175 D7> 1100 E7> 1200");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'D':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("17. Which of the five is least like the other four?");
pl(" 1A7> 1SQUASH B7> 1PUMPKIN C7> 1TOMATO D7> 1CUCUMBER E7> 1CORN");
outstr("7(>");
ch=getche();
if ((ch=='e') || (ch=='E'))
right=right+1;
else
wrong++;
nl();nl();
pl("18. Which of the five makes the best comparison?");
pl(" Hole is to doughnut as pages are to:");
pl(" 1A7> 1STORY B7> 1WORDS C7> 1CONTENTS D7> 1INDEX E7> 1COVER");
outstr("7(>");
ch=getche();
if ((ch=='e') || (ch=='E'))
right=right+1;
else
wrong++;
nl();nl();
pl("19. Kim was sent to the store to get eleven large cans of fruit.");
pl(" Kim could carry only 2 cans at a time. How many trips to the");
pl(" store did Kim have to make?");
pl(" 1A7> 15 B7> 15½ C7> 16 D7> 16½ E7> 17");
outstr("7(>");
ch=getche();
if ((ch=='c') || (ch=='C'))
right=right+1;
else
wrong++;
nl();nl();
pl("20. If all Pleeps are Floops and all Floops are Leepies, then all");
pl(" Pleeps are Definately Leepies.");
pl(" This statement is definately:");
pl(" 1A7> 1TRUE B7> 1FALSE C7> 1NEITHER");
ch=getche();
if ((ch=='a') || (ch=='A'))
right=right+1;
else
wrong++;
nl();nl();
pl("21. Which of the five designs is least like the other four?");
pl(" X T P V L");
pl(" A B C D E");
outstr("7(>");
ch=getche();
if ((ch=='c') || (ch=='C'))
right=right+1;
else
wrong++;
nl();nl();
pl("22. Which of the five is least like the other four?");
pl(" 1A7> 1TOUCH B7> 1SEE C7> 1HEAR D7> 1EAT E7> 1SMELL");
outstr("7(>");
ch=getche();
if ((ch=='d') || (ch=='D'))
right=right+1;
else
wrong++;
nl();nl();
pl("23. Which of the five makes the best comparison?");
pl(" Daughter is to father as niece is to:");
pl(" 1A7> 1NEPHEW B7> 1COUSIN C7> 1UNCLE D7> 1MOTHER E7> 1BROTHER");
outstr("7(>");
ch=getche();
if ((ch=='c') || (ch=='C'))
right=right+1;
else
wrong++;
nl();nl();
pl("24. Which number does not belong in the following series?");
pl(" 4 5 8 10 11 16 19 32 36");
pl(" A B C D E F G H I");
outstr("7(>");
ch=getche();
if ((ch=='e') || (ch=='E'))
right=right+1;
else
wrong++;
nl();nl();
pl("25. Which of the five makes the best comparison?");
pl(" Bark is to tree as scales are to:");
pl(" 1A7> 1GILLS B7> 1ELEPHANT C7> 1BUTCHER D7> 1FISH E7> 1SKIN");
outstr("7(>");
ch=getche();
if ((ch=='d') || (ch=='D'))
right=right+1;
else
wrong++;
nl();nl();
pl("26. Which of the five is least like the other four?");
pl(" 1A7> 1TURKEY B>DUCK C7> 1CHICKEN D7> 1PHEASANT E7> 1GOOSE");
outstr("7(>");
ch=getche();
if ((ch=='d') || (ch=='D'))
right=right+1;
else
wrong++;
nl();nl();
pl("27. The secher vlooped quaply berak the kriggly lool. Then the secher");
pl(" _____________ flaxly down the kleek.");
pl(" Which word belongs in the space?");
pl(" 1A7> 1VLOOPED B7> 1QUAPLY C7> 1BERAK D7> 1LOOL E7> 1KRIGGLY");
outstr("7(>");
ch=getche();
if ((ch=='a') || (ch=='A'))
right=right+1;
else
wrong++;
nl();nl();
pl("28. If you rearrange the letters in `NAICH' you would have the");
pl(" name of a(n):");
pl(" 1A7> 1COUNTRY B7> 1OCEAN C7> 1STATE D7> 1CITY E7> 1ANIMAL");
outstr("7(>");
ch=getche();
if ((ch=='a') || (ch=='A'))
right=right+1;
else
wrong++;
nl();nl();
pl("29. Jack is 15 years old, three times as old as his sister. How old");
pl(" will Jack be when he is twice as old as his sister?");
pl(" 1A7> 118 B7> 120 C7> 124 D7> 126 E7> 130");
outstr("7(>");
ch=getche();
if ((ch=='b') || (ch=='B'))
right=right+1;
else
wrong++;
nl();nl();
pl("30. Slok are more zotful than mulk, but pringling flez are");
pl(" most ___________ of all.");
pl(" Which word belongs in the blank space?");
pl(" 1A7> 1SLOCK B7> 1ZOTFUL C7> 1MULK D7> 1PRINGLING E7> 1FLEZ");
outstr("7(>");
ch=getche();
if ((ch=='b') || (ch=='B'))
right=right+1;
else
wrong++;
nl();nl();
pl("31. Which of the five makes the best comparison?");
pl(" Pencil is to paper as eye is to:");
pl(" 1A7> 1GLASSES B7> 1EAR C7> 1BOOK D7> 1HAT E7> 1PAINTBRUSH");
outstr("7(>");
ch=getche();
if ((ch=='c') || (ch=='C'))
right=right+1;
else
wrong++;
nl();nl();
pl("32. If you rearrange the letters in `SHORE' you would have");
pl(" the name of a(n):");
pl(" 1A7> 1COUNTRY B7> 1OCEAN C7> 1STATE D7> 1CITY E7> 1ANIMAL");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'E':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'D':
wrong++;
break;
}
nl();nl();
pl("33. Which number does not belong in the following series?");
pl(" 1 3 5 7 9 11 12 13 15");
pl(" A B C D E F G H I");
outstr("7(>");
ch=onek("ABCDEFGHI");
switch(ch) {
case 'G':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'H':
case 'I':
wrong++;
break;
}
nl();nl();
pl("34. Which of the five makes the best comparison?");
pl(" Gas is to car as food is to:");
pl(" 1A7> 1MOUTH B7> 1STOMACH C7> 1ENERGY D7> 1BODY E7> 1TEETH");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'D':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("35. Which of the five is least like the other four?");
pl(" 1A7> 1CHICAGO B7> 1TOLEDO C7> 1DALLAS D7> 1BOSTON E7> 1CANTON");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'A':
right++;
break;
case 'D':
case 'B':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("36. If some Tripples are Tropples and all Bolars are Tropples,");
pl(" then some Tripples are definately Bolars.");
pl(" This statement is:");
pl(" 1A7> 1TRUE B7> 1FALSE C7> 1NEITHER");
outstr("7(>");
ch=onek("ABC");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'C':
wrong++;
break;
}
nl();nl();
pl("37. Which of the five makes the best comparison?");
pl(" Sack is to sad as turn is to:");
pl(" 1A7> 1TACK B7> 1UP C7> 1TURF D7> 1BURN E7> 1TOY");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1387. 1Which letter does not belong in the following series7?");
pl(" 1B E H K M N Q T");
outstr("7(>");
ch=onek("BEHKMNQT");
switch(ch) {
case 'M':
right++;
break;
case 'B':
case 'E':
case 'H':
case 'K':
case 'N':
case 'Q':
case 'T':
wrong++;
break;
}
nl();nl();
pl("1397. 1Which of the five makes the best comparison7?");
pl(" 1Pillow is to pillowcase as arm is to7:");
pl(" 1A7> 1BODY B7> 1SLEEVE C7> 1HAND D7> 1GLOVE E7> 1RING");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1407. 1Which of the five is least like the other four7?");
pl(" 1A7> 1CUP B7> 1HAT C7> 1PAPER BAG D7> 1DRINKING GLASS E7> 1WATER PITCHER");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1417. 1If all Truples are Glogs and some Glogs are Glips, then");
pl(" 1some Truples are definately Glips7.");
pl(" 1This statement is7:");
pl(" 1A7> 1TRUE B7> 1FALSE C7> 1NEITHER");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1427. 1If you rearrange the letters 'TALCATIN' you would have");
pl(" 1the name of a(n)7:");
pl(" 1A7> 1COUNTRY B7> 1OCEAN C7> 1STATE D7> 1CITY E7> 1ANIMAL");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'B':
right++;
break;
case 'A':
case 'D':
case 'C':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1437. 1Which of the five is least like the other four7?");
pl(" 1A7> 1ARTIST B7> 1GOLFER C7> 1NEWSCASTER D7> 1DANCER E7> 1MECHANIC");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'C':
right++;
break;
case 'A':
case 'B':
case 'D':
case 'E':
wrong++;
break;
}
nl();nl();
pl("1447. 1Which of the five is least like the other four7?");
pl(" 1A7> 1WATER B7> 1SUN C7> 1GASOLINE D7> 1WIND E7> 1CEMENT");
outstr("7(>");
ch=onek("ABCDE");
switch(ch) {
case 'E':
right++;
break;
case 'A':
case 'B':
case 'C':
case 'D':
wrong++;
break;
}
nl();nl();
npr("2%d 1right\r\n",right);
npr("2%d 1wrong\r\n",wrong);
calciq(right);
nl();
npr("5Press and key3....");
getche();
}