home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 2: Collection B / 17Bit_Collection_B.iso / files / 1438.dms / in.adf / Quiz_Creator / cquiz < prev    next >
Encoding:
Text File  |  1978-09-12  |  3.4 KB  |  188 lines

  1. 'variable name rules
  2. 'variables
  3. -DATA TYPES
  4. Whole number(integer) variables?,6
  5. int,float,double,char,long,short
  6. Floating point numbers?,6
  7. float,int,double,char,long,short
  8. Doubly accurate floating point numbers?,6
  9. double,int,float,char,long,short
  10. Ascii values of characters?,6
  11. char,int,float,double,long,short
  12. Long integers?,6
  13. long,int,float,double,char,short
  14. Adjective to other types?,6
  15. short,int,float,double,char,long
  16. Adjective to other types?,6
  17. unsigned,int,float,double,char,long
  18. -TYPE CONVERSION
  19. char converts to ?,6
  20. int,short,float,double,char,long
  21. short converts to ?,6
  22. int,float,double,char,long,short
  23. float converts to ?,6
  24. double,short,int,float,char,long
  25. -ESCAPE SEQUENCES
  26. moves to next tab position?,6
  27. \t,\b,\r,\n,\\,\nn
  28. backspace?,6
  29. \b,\t,\r,\n,\\,\nn
  30. carriage return?,6
  31. \r,\t,\b,\n,\\,\nn
  32. carriage return and linefeed?,6
  33. \n,\t,\b,\r,\\,\nn
  34. inserts formfeed?,6
  35. \f,\t,\r,\n,\\,\nn
  36. prints backslash character?,6
  37. \\,\r,\n,\",\',\nn
  38. prints quotation mark?,6
  39. \",\r,\n,\\,\',\nn
  40. prints apostrophe mark?,6
  41. \',\r,\n,\\,\",\nn
  42. prints octal with value nn?,6
  43. \nn,\r,\n,\\,\",\'
  44. -FORMAT SPECIFICATION
  45. One character?,6
  46. %c,%d,%f,%o,%x,%u
  47. integer value?,6
  48. %d,%c,%f,%o,%x,%u
  49. string?,6
  50. %s,%c,%d,%o,%x,%u
  51. float and double number?,6
  52. %f,%c,%d,%o,%x,%u
  53. integer as octal number?,6
  54. %o,%c,%d,%f,%x,%u
  55. integer as hex number?,6
  56. %x,%c,%d,%f,%o,%u
  57. unsigned integer value?,6
  58. %u,%c,%d,%f,%o,%x
  59. float or double output?,6
  60. %e,%x,%u,%g,%h,%%
  61. shortest form of e% and f%?,6
  62. %g,%x,%u,%e,%h,%%
  63. short(scanf only)?,6
  64. %h,%x,%u,%e,%g,%%
  65. prints the %character?,6
  66. %%,%x,%u,%e,%g,%h
  67. '#define
  68. '#include
  69. -HEXADECIMAL
  70. -Find the hexadecimal equivalent
  71. 10?,6
  72. A,B,C,D,E,F
  73. 11?,6
  74. B,A,C,D,E,F
  75. 12?,6
  76. C,A,B,D,E,F
  77. 13?,6
  78. D,A,B,C,E,F
  79. 14?,6
  80. E,A,B,C,D,F
  81. 15?,6
  82. F,A,B,C,D,E
  83. '-ABBREVIATIONS
  84. 'Increment by 1?
  85. '*
  86. 'Decrement by 1?
  87. 'loops
  88. -OPERATORS
  89. Function?,6
  90. (),[],{},\\,//,<>
  91. Array?,6
  92. [],(),{},\\,//,<>
  93. Structure declaration?,6
  94. .,*,&,^,%,'
  95. Forced type conversion?,4
  96. cast,type,change,alter
  97. Content of?,6
  98. *,#,@,@@,&,&&
  99. Address of?,6
  100. &,@,a,aa,|,||
  101. Negative sign?,6
  102. -,/,\,_,=,ve
  103. Logical NOT?,6
  104. !,@,#,%,^,&
  105. Bitwise complement?,6
  106. ~,@,!,$,&,*
  107. Increment?,6
  108. ++,+,**,^,$,#
  109. Decrement?,6
  110. --,-,__,_,&,^
  111. Storage requirement?,4
  112. sizeof,mem,cast,extern
  113. Multiplication?,6
  114. *,/,%,+,-,++
  115. Division?,6
  116. /,*,%,-,--,\
  117. Remainder(modulo)?,6
  118. %,M,r,#,&,*
  119. Addition?,6
  120. +,++,*,**,a,=
  121. Subtraction?,6
  122. -,_,__,--,ve,&
  123. Shift to right?,6
  124. >,>=,>.,>-,|,/
  125. Shift to left?,6
  126. <,=<,-<,.<,\,|
  127. Less than?,6
  128. <,>=,>.,>-,|,/
  129. Greater than?,6
  130. >,=<,-<,.<,\,|
  131. Less than or equal to?,6
  132. <=,=<,-<,.<,\,|
  133. Greater than or equal?,6
  134. >=,>=,>.,>-,|,/
  135. Equal?,6
  136. ==,|,&&,||,?:,=
  137. Unequal?,6
  138. !=,^,|,&&,||,?:
  139. Bitwise XOR?,6
  140. ^,|,&&,||,?:,=
  141. Bitwise OR?,6
  142. |,^,&&,||,?:,=
  143. Logical AND?,6
  144. &&,^,|,||,?:,=
  145. Logical OR?,6
  146. ||,^,|,&&,?:,=
  147. Conditional evaluation?,6
  148. ?:,^,|,&&,||,=
  149. Assignment?,6
  150. =,^,|,&&,||,?:
  151. Abbreviated assignment?,6
  152. #=,^,|,&&,||,?:
  153. Assignment?,6
  154. =,^,|,&&,||,?:
  155. 'initialization
  156. 'declaration
  157. 'definition
  158. 'multiple assignment
  159. 'functions
  160. 'without return value
  161. 'arrays
  162. 'multi
  163. 'break
  164. 'continue
  165. 'switch/case
  166. 'address
  167. 'pointer
  168. 'auto
  169. 'static
  170. 'external
  171. 'register
  172. 'local
  173. -RESERVED WORDS
  174. Which one is not a reserved word?,6
  175. printf,auto,break,case,char,continue
  176. Which one is not a reserved word?,6
  177. scanf,default,do,double,else,entry
  178. Which one is not a reserved word?,6
  179. getchar,enum,extern,float,for,goto
  180. Which one is not a reserved word?,6
  181. main,if,int,long,register,while
  182. Which one is not a reserved word?,6
  183. define,return,short,sizeof,static,struct
  184. Which one is not a reserved word?,6
  185. include,switch,typedef,union,unsigned,void
  186.  
  187.  
  188.