nicoaspra commited on
Commit
c842089
·
1 Parent(s): fb18846

add cnc questions

Browse files
Files changed (2) hide show
  1. app.py +14 -16
  2. questions.tex +1603 -22
app.py CHANGED
@@ -47,13 +47,15 @@ def get_current_question(state):
47
  return "Game Over! Please press 'Restart' to play again.", []
48
 
49
  def process_answer(user_answer, state):
50
- # If game already finished
 
 
51
  if state["finished"]:
52
  return (
53
  "Game Over! Please press 'Restart' to play again.",
54
  state,
55
- gr.update(choices=[], value=None),
56
- "### Game Over!",
57
  str(state["score"]),
58
  )
59
 
@@ -70,20 +72,19 @@ def process_answer(user_answer, state):
70
  state["index"] += 1
71
 
72
  # If no more questions
73
- if state["index"] == len(state["questions"]):
74
  state["finished"] = True
75
- feedback += f" 🎉 Game Over! Your final score is {state['score']}/{len(state['questions'])}."
76
  return (
77
  feedback,
78
  state,
79
- gr.update(choices=[], value=None),
80
- "### Game Over!",
81
  str(state["score"]),
82
  )
83
 
84
  # Otherwise show next question
85
  new_question, new_options = get_current_question(state)
86
- # wrap question in markdown header so it looks nice
87
  return (
88
  feedback,
89
  state,
@@ -131,15 +132,15 @@ with gr.Blocks() as demo:
131
 
132
  state = gr.State()
133
 
134
- # use Markdown so question auto-sizes
135
- question_md = gr.Markdown("## Question will appear here")
136
 
137
  options_buttons = gr.Radio(
138
  choices=[],
139
  label=" ",
140
- interactive=True,
141
- elem_classes=["vertical-radio"],
142
  show_label=False,
 
 
143
  )
144
 
145
  with gr.Row():
@@ -149,21 +150,18 @@ with gr.Blocks() as demo:
149
  feedback_box = gr.Textbox(label="Feedback", interactive=False)
150
  score_box = gr.Textbox(label="Score", value="0", interactive=False)
151
 
152
- # Submit button logic
153
  submit_btn.click(
154
  process_answer,
155
  inputs=[options_buttons, state],
156
  outputs=[feedback_box, state, options_buttons, question_md, score_box],
157
  )
158
 
159
- # Restart button logic
160
  reset_btn.click(
161
  reset_game,
162
  inputs=[],
163
  outputs=[state, question_md, options_buttons, feedback_box, score_box],
164
  )
165
 
166
- # On load, populate first question
167
  demo.load(
168
  load_game,
169
  inputs=None,
@@ -174,5 +172,5 @@ demo.launch()
174
 
175
 
176
 
177
- # cd 251104_trivia_game/
178
  # python app.py
 
47
  return "Game Over! Please press 'Restart' to play again.", []
48
 
49
  def process_answer(user_answer, state):
50
+ total = len(state["questions"])
51
+
52
+ # If game already finished and user clicks again
53
  if state["finished"]:
54
  return (
55
  "Game Over! Please press 'Restart' to play again.",
56
  state,
57
+ gr.update(choices=["Quiz finished"], value="Quiz finished"),
58
+ f"### 🎉 Game Over!\n**Final Score:** {state['score']}/{total}",
59
  str(state["score"]),
60
  )
61
 
 
72
  state["index"] += 1
73
 
74
  # If no more questions
75
+ if state["index"] == total:
76
  state["finished"] = True
77
+ feedback += f" 🎉 Game Over! Your final score is {state['score']}/{total}."
78
  return (
79
  feedback,
80
  state,
81
+ gr.update(choices=["Quiz finished"], value="Quiz finished"),
82
+ f"### 🎉 Game Over!\n**Final Score:** {state['score']}/{total}",
83
  str(state["score"]),
84
  )
85
 
86
  # Otherwise show next question
87
  new_question, new_options = get_current_question(state)
 
88
  return (
89
  feedback,
90
  state,
 
132
 
133
  state = gr.State()
134
 
135
+ # question shown as markdown so it can be multiline
136
+ question_md = gr.Markdown("### Question will appear here")
137
 
138
  options_buttons = gr.Radio(
139
  choices=[],
140
  label=" ",
 
 
141
  show_label=False,
142
+ interactive=True,
143
+ elem_classes=["vertical-radio"]
144
  )
145
 
146
  with gr.Row():
 
150
  feedback_box = gr.Textbox(label="Feedback", interactive=False)
151
  score_box = gr.Textbox(label="Score", value="0", interactive=False)
152
 
 
153
  submit_btn.click(
154
  process_answer,
155
  inputs=[options_buttons, state],
156
  outputs=[feedback_box, state, options_buttons, question_md, score_box],
157
  )
158
 
 
159
  reset_btn.click(
160
  reset_game,
161
  inputs=[],
162
  outputs=[state, question_md, options_buttons, feedback_box, score_box],
163
  )
164
 
 
165
  demo.load(
166
  load_game,
167
  inputs=None,
 
172
 
173
 
174
 
175
+ # cd 251104_CNC_code_review/
176
  # python app.py
questions.tex CHANGED
@@ -1,27 +1,1608 @@
1
  \begin{questions}
2
 
3
  \question
4
- What is claimed to be the overall advantage of criterion-referred interpretation?
5
- \choice {An individual's score is compared with the set mastery level}
6
- {An individual's score is compared with that of his peers.}
7
- {An individual's score is compared with the average scores.}
8
- {An individual's score does not to be compared with any measure.}
9
- {a}
10
-
11
- \question
12
- Which is an element of norm-referenced grading?
13
- \choice {The student's past performance.}
14
- {An absolute standard}
15
- {The performance of the group}
16
- {What constitutes a perfect score}
17
- {c}
18
-
19
- \question
20
- Which characteristic of good test will pupils be assured of when a teacher constructs a table of specifications for test construction purposes?
21
- \choice {Authenticity}
22
- {Reliability}
23
- {Construct Validity}
24
- {Content Validity}
25
- {d}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  \end{questions}
 
1
  \begin{questions}
2
 
3
  \question
4
+ Which G-code is used for rapid positioning?
5
+ \choice {G01}
6
+ {G90}
7
+ {G00}
8
+ {G43}
9
+ {c}
10
+
11
+ \question
12
+ What is the function of G01?
13
+ \choice {Linear interpolation using feed rate}
14
+ {Return to reference point}
15
+ {Cutter compensation right}
16
+ {Drill cycle}
17
+ {a}
18
+
19
+ \question
20
+ Which G-code commands circular interpolation clockwise (CW)?
21
+ \choice {G03}
22
+ {G00}
23
+ {G02}
24
+ {G41}
25
+ {c}
26
+
27
+ \question
28
+ Which G-code performs circular interpolation CCW?
29
+ \choice {G03}
30
+ {G17}
31
+ {G64}
32
+ {G02}
33
+ {a}
34
+
35
+ \question
36
+ What does G04 do?
37
+ \choice {Dwell}
38
+ {Exact stop}
39
+ {Reset scale factors}
40
+ {Mirror image cancel}
41
+ {a}
42
+
43
+ \question
44
+ Which G-code forces an exact stop at the end of the move?
45
+ \choice {G09}
46
+ {G04}
47
+ {G41}
48
+ {G82}
49
+ {a}
50
+
51
+ \question
52
+ What is the function of G10?
53
+ \choice {Data setting}
54
+ {Drill cycle}
55
+ {Cutter comp left}
56
+ {Return to reference}
57
+ {a}
58
+
59
+ \question
60
+ G17 selects which CNC machining plane?
61
+ \choice {X–Y plane}
62
+ {Z–X plane}
63
+ {Z–Y plane}
64
+ {Machine coordinate plane}
65
+ {a}
66
+
67
+ \question
68
+ G18 selects which plane?
69
+ \choice {X–Y plane}
70
+ {Z–X plane}
71
+ {Z–Y plane}
72
+ {Local coordinate plane}
73
+ {b}
74
+
75
+ \question
76
+ G19 selects which plane?
77
+ \choice {Z–Y plane}
78
+ {X–Y plane}
79
+ {Z–X plane}
80
+ {Drill plane}
81
+ {a}
82
+
83
+ \question
84
+ Which G-code specifies imperial (inch) units?
85
+ \choice {G21}
86
+ {G20}
87
+ {G17}
88
+ {G55}
89
+ {b}
90
+
91
+ \question
92
+ Which G-code specifies metric units?
93
+ \choice {G20}
94
+ {G21}
95
+ {G43}
96
+ {G98}
97
+ {b}
98
+
99
+ \question
100
+ What does G22 activate?
101
+ \choice {Stored stroke limit setting}
102
+ {Stroke limit cancel}
103
+ {Probe skip}
104
+ {Circular interpolation CCW}
105
+ {a}
106
+
107
+ \question
108
+ What does G23 do?
109
+ \choice {Stored stroke limit cancel}
110
+ {Stored stroke limit set}
111
+ {Reference check}
112
+ {Mirror image}
113
+ {a}
114
+
115
+ \question
116
+ Which G-code performs a reference point return check?
117
+ \choice {G27}
118
+ {G29}
119
+ {G81}
120
+ {G61}
121
+ {a}
122
+
123
+ \question
124
+ Which G-code returns the machine to its reference point?
125
+ \choice {G31}
126
+ {G30}
127
+ {G28}
128
+ {G04}
129
+ {c}
130
+
131
+ \question
132
+ G29 performs:
133
+ \choice {Return from reference point}
134
+ {Return to reference point}
135
+ {Macro call}
136
+ {Plane select}
137
+ {a}
138
+
139
+ \question
140
+ Which G-code returns the tool to a 2nd, 3rd or 4th reference point?
141
+ \choice {G28}
142
+ {G30}
143
+ {G27}
144
+ {G17}
145
+ {b}
146
+
147
+ \question
148
+ G30.1 performs:
149
+ \choice {Floating reference point return}
150
+ {Tool length cancel}
151
+ {Probe skip}
152
+ {Mirror image}
153
+ {a}
154
+
155
+ \question
156
+ Which G-code activates the probe skip function?
157
+ \choice {G40}
158
+ {G31}
159
+ {G42}
160
+ {G62}
161
+ {b}
162
+
163
+ \question
164
+ Which G-code cancels cutter compensation?
165
+ \choice {G40}
166
+ {G41}
167
+ {G42}
168
+ {G49}
169
+ {a}
170
+
171
+ \question
172
+ G41 commands:
173
+ \choice {Cutter comp left}
174
+ {Cutter comp right}
175
+ {Cancel comp}
176
+ {Tool length increase}
177
+ {a}
178
+
179
+ \question
180
+ G42 commands:
181
+ \choice {Cutter comp right}
182
+ {Cutter comp left}
183
+ {Cancel comp}
184
+ {Mirror on}
185
+ {a}
186
+
187
+ \question
188
+ G43 applies:
189
+ \choice {Tool length compensation +}
190
+ {Tool length compensation –}
191
+ {Cancel tool comp}
192
+ {Plane select}
193
+ {a}
194
+
195
+ \question
196
+ G44 applies:
197
+ \choice {Tool length compensation –}
198
+ {Tool length compensation +}
199
+ {Mirror on}
200
+ {Machine coordinate}
201
+ {a}
202
+
203
+ \question
204
+ Which G-code increases tool position offset?
205
+ \choice {G47}
206
+ {G45}
207
+ {G46}
208
+ {G48}
209
+ {b}
210
+
211
+ \question
212
+ G46 performs:
213
+ \choice {Tool position offset decrease}
214
+ {Offset increase}
215
+ {Tool length cancel}
216
+ {Exact stop}
217
+ {a}
218
+
219
+ \question
220
+ G47 performs:
221
+ \choice {Tool position offset double increase}
222
+ {Offset decrease}
223
+ {Offset increase}
224
+ {Return home}
225
+ {a}
226
+
227
+ \question
228
+ G48 performs:
229
+ \choice {Tool position offset double decrease}
230
+ {Offset increase}
231
+ {Reset scale}
232
+ {Dwell}
233
+ {a}
234
+
235
+ \question
236
+ What does G49 do?
237
+ \choice {Cancel tool length compensation}
238
+ {Apply tool comp +}
239
+ {Return reference}
240
+ {Mirror on}
241
+ {a}
242
+
243
+ \question
244
+ Which G-code resets scale factors to 1.0?
245
+ \choice {G50}
246
+ {G51}
247
+ {G92}
248
+ {G72}
249
+ {a}
250
+
251
+ \question
252
+ Which G-code sets axis input scale factors?
253
+ \choice {G51}
254
+ {G50}
255
+ {G17}
256
+ {G99}
257
+ {a}
258
+
259
+ \question
260
+ G50.1 performs:
261
+ \choice {Programmable mirror image cancel}
262
+ {Programmable mirror image}
263
+ {Tool length comp}
264
+ {Dwell}
265
+ {a}
266
+
267
+ \question
268
+ G51.1 performs:
269
+ \choice {Programmable mirror image}
270
+ {Mirror cancel}
271
+ {Offset increase}
272
+ {Cutter comp left}
273
+ {a}
274
+
275
+ \question
276
+ What does G52 do?
277
+ \choice {Local coordinate system setting}
278
+ {Machine coordinate system}
279
+ {WCS 1}
280
+ {Absolute mode}
281
+ {a}
282
+
283
+ \question
284
+ Which G-code activates machine coordinate system?
285
+ \choice {G53}
286
+ {G52}
287
+ {G54}
288
+ {G59}
289
+ {a}
290
+
291
+ \question
292
+ Which G-code activates WCS 1?
293
+ \choice {G54}
294
+ {G53}
295
+ {G55}
296
+ {G92}
297
+ {a}
298
+
299
+ \question
300
+ Which G-code activates WCS 2?
301
+ \choice {G55}
302
+ {G57}
303
+ {G58}
304
+ {G59}
305
+ {a}
306
+
307
+ \question
308
+ Which G-code activates WCS 3?
309
+ \choice {G56}
310
+ {G58}
311
+ {G59}
312
+ {G92.1}
313
+ {a}
314
+
315
+ \question
316
+ Which G-code activates WCS 4?
317
+ \choice {G57}
318
+ {G58}
319
+ {G56}
320
+ {G40}
321
+ {a}
322
+
323
+ \question
324
+ Which G-code activates WCS 5?
325
+ \choice {G58}
326
+ {G59}
327
+ {G54}
328
+ {G57}
329
+ {a}
330
+
331
+ \question
332
+ Which G-code activates WCS 6?
333
+ \choice {G59}
334
+ {G55}
335
+ {G58}
336
+ {G45}
337
+ {a}
338
+
339
+ \question
340
+ G60 performs:
341
+ \choice {Single direction positioning}
342
+ {Exact stop}
343
+ {Cutting mode}
344
+ {Macro cancel}
345
+ {a}
346
+
347
+ \question
348
+ G61 performs:
349
+ \choice {Exact stop mode}
350
+ {Continuous cutting mode}
351
+ {Machine coordinates}
352
+ {Local coordinates}
353
+ {a}
354
+
355
+ \question
356
+ What does G62 do?
357
+ \choice {Automatic corner override}
358
+ {Exact stop}
359
+ {Incremental mode}
360
+ {Return home}
361
+ {a}
362
+
363
+ \question
364
+ G63 activates:
365
+ \choice {Tapping mode}
366
+ {Cutting mode}
367
+ {Probe skip}
368
+ {Mirror image}
369
+ {a}
370
+
371
+ \question
372
+ G64 activates:
373
+ \choice {Cutting mode (continuous)}
374
+ {Exact stop mode}
375
+ {Single direction}
376
+ {Work coordinate}
377
+ {a}
378
+
379
+ \question
380
+ Which G-code calls a macro?
381
+ \choice {G65}
382
+ {G66}
383
+ {G67}
384
+ {G69}
385
+ {a}
386
+
387
+ \question
388
+ Which G-code performs macro modal call?
389
+ \choice {G65}
390
+ {G66}
391
+ {G67}
392
+ {G04}
393
+ {b}
394
+
395
+ \question
396
+ What does G67 do?
397
+ \choice {Macro modal call cancel}
398
+ {Macro modal call}
399
+ {Macro call}
400
+ {Probe function}
401
+ {a}
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+ \question
414
+ What does G68 do?
415
+ \choice {Coordinate rotation}
416
+ {Mirror image}
417
+ {Probe skip}
418
+ {Return reference}
419
+ {a}
420
+
421
+ \question
422
+ What does G69 do?
423
+ \choice {Coordinate rotation cancel}
424
+ {Coordinate rotation}
425
+ {Tool length cancel}
426
+ {WCS select}
427
+ {a}
428
+
429
+ \question
430
+ G72.1 is used for:
431
+ \choice {Rotation copy}
432
+ {Parallel copy}
433
+ {Macro modal call}
434
+ {Offset increase}
435
+ {a}
436
+
437
+ \question
438
+ G72.2 is used for:
439
+ \choice {Parallel copy}
440
+ {Rotation copy}
441
+ {Dwell}
442
+ {Cutting mode}
443
+ {a}
444
+
445
+ \question
446
+ G73 performs:
447
+ \choice {Pattern repeating cycle}
448
+ {Face grooving}
449
+ {Rigid tapping}
450
+ {Backboring}
451
+ {a}
452
+
453
+ \question
454
+ G74 (mill) performs:
455
+ \choice {Left-hand tapping}
456
+ {Fine boring}
457
+ {Drill cycle}
458
+ {Cutter comp left}
459
+ {a}
460
+
461
+ \question
462
+ G74 (lathe) performs:
463
+ \choice {Face grooving cycle}
464
+ {Left-hand tapping}
465
+ {Parallel copy}
466
+ {Exact stop}
467
+ {a}
468
+
469
+ \question
470
+ G76 performs:
471
+ \choice {Fine boring cycle}
472
+ {Face grooving}
473
+ {Tapping}
474
+ {Macro call}
475
+ {a}
476
+
477
+ \question
478
+ G80 does what?
479
+ \choice {Cancel cycles}
480
+ {Drill cycle}
481
+ {Boring cycle}
482
+ {Exact stop mode}
483
+ {a}
484
+
485
+ \question
486
+ G81 commands:
487
+ \choice {Drill cycle}
488
+ {Drill with dwell}
489
+ {Peck drilling}
490
+ {Tapping cycle}
491
+ {a}
492
+
493
+ \question
494
+ G82 performs:
495
+ \choice {Drill cycle with dwell}
496
+ {Drill cycle without dwell}
497
+ {Backboring}
498
+ {Exact stop}
499
+ {a}
500
+
501
+ \question
502
+ G83 performs:
503
+ \choice {Peck drilling cycle}
504
+ {Rigid tapping}
505
+ {Boring with dwell}
506
+ {Return from reference}
507
+ {a}
508
+
509
+ \question
510
+ G84 performs:
511
+ \choice {Tapping cycle}
512
+ {Backboring}
513
+ {Boring cycle}
514
+ {Macro modal call}
515
+ {a}
516
+
517
+ \question
518
+ G84.2 is:
519
+ \choice {Rigid tapping cycle}
520
+ {Rigid counter tapping}
521
+ {Drill cycle}
522
+ {Peck cycle}
523
+ {a}
524
+
525
+ \question
526
+ G84.3 is:
527
+ \choice {Rigid counter tapping cycle}
528
+ {Rigid tapping}
529
+ {Boring cycle}
530
+ {Macro cancel}
531
+ {a}
532
+
533
+ \question
534
+ G85 performs:
535
+ \choice {Boring cycle}
536
+ {Backboring}
537
+ {Fine boring}
538
+ {Rigid tapping}
539
+ {a}
540
+
541
+ \question
542
+ G86 performs:
543
+ \choice {Boring cycle (spindle stop, rapid out)}
544
+ {Boring with dwell}
545
+ {Manual return boring}
546
+ {Pattern repeat}
547
+ {a}
548
+
549
+ \question
550
+ G87 performs:
551
+ \choice {Backboring cycle}
552
+ {Rigid tapping}
553
+ {Face grooving}
554
+ {Tool offset increase}
555
+ {a}
556
+
557
+ \question
558
+ G88 performs:
559
+ \choice {Boring cycle (manual return)}
560
+ {Boring with dwell}
561
+ {Backboring}
562
+ {Dwell cycle}
563
+ {a}
564
+
565
+ \question
566
+ G89 performs:
567
+ \choice {Boring cycle with dwell}
568
+ {Peck cycle}
569
+ {Drill cycle}
570
+ {Macro call}
571
+ {a}
572
+
573
+ \question
574
+ G90 activates:
575
+ \choice {Absolute programming mode}
576
+ {Incremental mode}
577
+ {Machine coordinates}
578
+ {Mirror image}
579
+ {a}
580
+
581
+ \question
582
+ G91 activates:
583
+ \choice {Incremental programming}
584
+ {Absolute programming}
585
+ {Machine coordinates}
586
+ {Local offsets}
587
+ {a}
588
+
589
+ \question
590
+ G92 performs:
591
+ \choice {Alteration of work-coordinate system}
592
+ {Machine coordinate select}
593
+ {Mirror cancel}
594
+ {Cycle cancel}
595
+ {a}
596
+
597
+ \question
598
+ G92.1 performs:
599
+ \choice {Work coordinate preset}
600
+ {WCS alteration}
601
+ {Mirror on}
602
+ {Cutter comp right}
603
+ {a}
604
+
605
+ \question
606
+ G98 commands:
607
+ \choice {Canned cycle initial point return}
608
+ {Canned cycle R-point return}
609
+ {Metric mode}
610
+ {Mirror cancel}
611
+ {a}
612
+
613
+ \question
614
+ G99 commands:
615
+ \choice {Canned cycle reference point return}
616
+ {Initial point return}
617
+ {Metric mode}
618
+ {Rapid travel}
619
+ {a}
620
+
621
+ \question
622
+ Which G-code ends a drilling cycle and returns to initial point?
623
+ \choice {G98}
624
+ {G99}
625
+ {G88}
626
+ {G28}
627
+ {a}
628
+
629
+ \question
630
+ Which G-code returns to the R-point in cycle?
631
+ \choice {G99}
632
+ {G98}
633
+ {G80}
634
+ {G76}
635
+ {a}
636
+
637
+ \question
638
+ Which G-code pair controls absolute vs incremental mode?
639
+ \choice {G90 / G91}
640
+ {G98 / G99}
641
+ {G40 / G41}
642
+ {G50 / G51}
643
+ {a}
644
+
645
+ \question
646
+ Which G-code pair controls inch/mm units?
647
+ \choice {G20 / G21}
648
+ {G17 / G18}
649
+ {G41 / G42}
650
+ {G90 / G91}
651
+ {a}
652
+
653
+ \question
654
+ Circular interpolation CW and CCW are:
655
+ \choice {G02 / G03}
656
+ {G17 / G19}
657
+ {G50 / G51}
658
+ {G80 / G89}
659
+ {a}
660
+
661
+ \question
662
+ Which G-code group controls plane selection?
663
+ \choice {G17–G19}
664
+ {G20–G21}
665
+ {G40–G42}
666
+ {G90–G92}
667
+ {a}
668
+
669
+ \question
670
+ Which G-code controls local coordinate system?
671
+ \choice {G52}
672
+ {G53}
673
+ {G54}
674
+ {G92}
675
+ {a}
676
+
677
+ \question
678
+ Which G-code activates machine coordinates?
679
+ \choice {G53}
680
+ {G54}
681
+ {G52}
682
+ {G69}
683
+ {a}
684
+
685
+ \question
686
+ Which G-code group activates WCS 1–6?
687
+ \choice {G54–G59}
688
+ {G20–G21}
689
+ {G41–G42}
690
+ {G80–G89}
691
+ {a}
692
+
693
+ \question
694
+ Which G-code increases tool offset?
695
+ \choice {G45}
696
+ {G46}
697
+ {G48}
698
+ {G43}
699
+ {a}
700
+
701
+ \question
702
+ Which G-code decreases tool offset?
703
+ \choice {G46}
704
+ {G45}
705
+ {G47}
706
+ {G48}
707
+ {a}
708
+
709
+ \question
710
+ Which G-code doubles the increase of tool offset?
711
+ \choice {G47}
712
+ {G45}
713
+ {G46}
714
+ {G48}
715
+ {a}
716
+
717
+ \question
718
+ Which G-code doubles the decrease of tool offset?
719
+ \choice {G48}
720
+ {G45}
721
+ {G46}
722
+ {G47}
723
+ {a}
724
+
725
+ \question
726
+ Which G-code applies tool length compensation +?
727
+ \choice {G43}
728
+ {G44}
729
+ {G49}
730
+ {G40}
731
+ {a}
732
+
733
+ \question
734
+ Which G-code applies tool length compensation –?
735
+ \choice {G44}
736
+ {G43}
737
+ {G40}
738
+ {G52}
739
+ {a}
740
+
741
+ \question
742
+ Which G-code cancels tool length compensation?
743
+ \choice {G49}
744
+ {G43}
745
+ {G44}
746
+ {G48}
747
+ {a}
748
+
749
+ \question
750
+ Which G-code resets mirror mode?
751
+ \choice {G50.1}
752
+ {G51.1}
753
+ {G69}
754
+ {G40}
755
+ {a}
756
+
757
+ \question
758
+ Which G-code enables mirror mode?
759
+ \choice {G51.1}
760
+ {G50.1}
761
+ {G68}
762
+ {G48}
763
+ {a}
764
+
765
+ \question
766
+ What is the primary plane for milling?
767
+ \choice {G17 – X-Y plane}
768
+ {G18 – Z-X plane}
769
+ {G19 – Z-Y plane}
770
+ {G72.1 – Rotation copy}
771
+ {a}
772
+
773
+ \question
774
+ Which plane is used for vertical arc cuts (Y-Z)?
775
+ \choice {G19}
776
+ {G17}
777
+ {G18}
778
+ {G64}
779
+ {a}
780
+
781
+ \question
782
+ Which plane is used for X-Z arc moves?
783
+ \choice {G18}
784
+ {G17}
785
+ {G19}
786
+ {G51}
787
+ {a}
788
+
789
+ \question
790
+ Which mode produces continuous cutting without exact stops?
791
+ \choice {G64}
792
+ {G61}
793
+ {G60}
794
+ {G48}
795
+ {a}
796
+
797
+ \question
798
+ Which mode forces exact stops at every block?
799
+ \choice {G61}
800
+ {G64}
801
+ {G60}
802
+ {G92.1}
803
+ {a}
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+ \question
819
+ What does G80 do?
820
+ \choice {Cancel cycles}
821
+ {Cutter comp left}
822
+ {Machine coordinate}
823
+ {Local coordinate}
824
+ {a}
825
+
826
+ \question
827
+ G81 is which type of cycle?
828
+ \choice {Drill cycle}
829
+ {Peck drilling}
830
+ {Tapping cycle}
831
+ {Boring cycle}
832
+ {a}
833
+
834
+ \question
835
+ G82 performs:
836
+ \choice {Drill cycle with dwell}
837
+ {Normal drilling}
838
+ {Rigid tapping}
839
+ {Backboring}
840
+ {a}
841
+
842
+ \question
843
+ Which G-code performs peck drilling?
844
+ \choice {G83}
845
+ {G82}
846
+ {G86}
847
+ {G88}
848
+ {a}
849
+
850
+ \question
851
+ G84 performs what cycle?
852
+ \choice {Tapping cycle}
853
+ {Boring cycle}
854
+ {Peck drilling}
855
+ {Backboring}
856
+ {a}
857
+
858
+ \question
859
+ G84.2 performs:
860
+ \choice {Rigid tapping cycle}
861
+ {Tapping cycle}
862
+ {Boring cycle}
863
+ {Face grooving}
864
+ {a}
865
+
866
+ \question
867
+ G84.3 performs:
868
+ \choice {Rigid counter tapping cycle}
869
+ {Rigid tapping cycle}
870
+ {Peck drilling}
871
+ {Fine boring}
872
+ {a}
873
+
874
+ \question
875
+ What is G85?
876
+ \choice {Boring cycle}
877
+ {Drill with dwell}
878
+ {Backboring}
879
+ {Manual return bore}
880
+ {a}
881
+
882
+ \question
883
+ What does G86 do?
884
+ \choice {Boring (spindle stop, rapid out)}
885
+ {Boring with dwell}
886
+ {Tapping}
887
+ {Counter tapping}
888
+ {a}
889
+
890
+ \question
891
+ What does G87 perform?
892
+ \choice {Backboring cycle}
893
+ {Fine boring}
894
+ {Peck drilling}
895
+ {Dwell bore}
896
+ {a}
897
+
898
+ \question
899
+ G88 performs:
900
+ \choice {Boring cycle (manual return)}
901
+ {Boring cycle with dwell}
902
+ {Drilling}
903
+ {Rigid tapping}
904
+ {a}
905
+
906
+ \question
907
+ G89 performs:
908
+ \choice {Boring cycle with dwell}
909
+ {Boring rapid out}
910
+ {Backboring}
911
+ {Tapping}
912
+ {a}
913
+
914
+ \question
915
+ G90 activates:
916
+ \choice {Absolute programming}
917
+ {Incremental mode}
918
+ {Machine coordinate mode}
919
+ {Mirror image}
920
+ {a}
921
+
922
+ \question
923
+ G91 activates:
924
+ \choice {Incremental programming}
925
+ {Absolute programming}
926
+ {Machine coordinates}
927
+ {Tool length comp}
928
+ {a}
929
+
930
+ \question
931
+ G92 performs:
932
+ \choice {Alteration of work coordinate system}
933
+ {Absolute mode}
934
+ {Metric units}
935
+ {Cancel offsets}
936
+ {a}
937
+
938
+ \question
939
+ G92.1 performs:
940
+ \choice {Work coordinate preset}
941
+ {Incremental setting}
942
+ {Tool comp cancel}
943
+ {Rotation cancel}
944
+ {a}
945
+
946
+ \question
947
+ Which G-code commands a canned cycle initial point return?
948
+ \choice {G98}
949
+ {G99}
950
+ {G92}
951
+ {G90}
952
+ {a}
953
+
954
+ \question
955
+ Which G-code commands a canned cycle reference point return?
956
+ \choice {G99}
957
+ {G98}
958
+ {G54}
959
+ {G52}
960
+ {a}
961
+
962
+ \question
963
+ Which of the following is G80?
964
+ \choice {Cancel cycles}
965
+ {Metric units}
966
+ {Cutter comp left}
967
+ {Peck drilling}
968
+ {a}
969
+
970
+ \question
971
+ Which of the following is G81?
972
+ \choice {Drill cycle}
973
+ {Tapping cycle}
974
+ {Local coordinate}
975
+ {Machine coordinate}
976
+ {a}
977
+
978
+ \question
979
+ Which G-code corresponds to “Drill with dwell”?
980
+ \choice {G82}
981
+ {G81}
982
+ {G83}
983
+ {G89}
984
+ {a}
985
+
986
+ \question
987
+ Which G-code corresponds to “Peck drilling”?
988
+ \choice {G83}
989
+ {G82}
990
+ {G89}
991
+ {G84}
992
+ {a}
993
+
994
+ \question
995
+ Identify the tapping cycle:
996
+ \choice {G84}
997
+ {G89}
998
+ {G80}
999
+ {G72}
1000
+ {a}
1001
+
1002
+ \question
1003
+ Rigid tapping is:
1004
+ \choice {G84.2}
1005
+ {G84}
1006
+ {G88}
1007
+ {G81}
1008
+ {a}
1009
+
1010
+ \question
1011
+ Rigid counter tapping is:
1012
+ \choice {G84.3}
1013
+ {G84.2}
1014
+ {G86}
1015
+ {G82}
1016
+ {a}
1017
+
1018
+ \question
1019
+ Which G-code is “Boring cycle”?
1020
+ \choice {G85}
1021
+ {G88}
1022
+ {G87}
1023
+ {G86}
1024
+ {a}
1025
+
1026
+ \question
1027
+ Which G-code is “Boring with spindle stop, rapid out”?
1028
+ \choice {G86}
1029
+ {G85}
1030
+ {G89}
1031
+ {G88}
1032
+ {a}
1033
+
1034
+ \question
1035
+ Which one is backboring?
1036
+ \choice {G87}
1037
+ {G88}
1038
+ {G82}
1039
+ {G61}
1040
+ {a}
1041
+
1042
+ \question
1043
+ Which bore cycle uses manual return?
1044
+ \choice {G88}
1045
+ {G87}
1046
+ {G89}
1047
+ {G83}
1048
+ {a}
1049
+
1050
+ \question
1051
+ Which boring cycle includes a dwell?
1052
+ \choice {G89}
1053
+ {G86}
1054
+ {G85}
1055
+ {G90}
1056
+ {a}
1057
+
1058
+ \question
1059
+ Which G-code activates absolute programming?
1060
+ \choice {G90}
1061
+ {G91}
1062
+ {G92}
1063
+ {G98}
1064
+ {a}
1065
+
1066
+ \question
1067
+ Which G-code activates incremental programming?
1068
+ \choice {G91}
1069
+ {G90}
1070
+ {G54}
1071
+ {G62}
1072
+ {a}
1073
+
1074
+ \question
1075
+ Which G-code alters the work coordinate system?
1076
+ \choice {G92}
1077
+ {G92.1}
1078
+ {G59}
1079
+ {G43}
1080
+ {a}
1081
+
1082
+ \question
1083
+ Which G-code performs “Work coordinate preset”?
1084
+ \choice {G92.1}
1085
+ {G98}
1086
+ {G61}
1087
+ {G59}
1088
+ {a}
1089
+
1090
+ \question
1091
+ Identify the G-code for initial point return:
1092
+ \choice {G98}
1093
+ {G99}
1094
+ {G92}
1095
+ {G80}
1096
+ {a}
1097
+
1098
+ \question
1099
+ Identify the G-code for reference point return:
1100
+ \choice {G99}
1101
+ {G98}
1102
+ {G92.1}
1103
+ {G52}
1104
+ {a}
1105
+
1106
+ \question
1107
+ Which is the boring cycle with dwell?
1108
+ \choice {G89}
1109
+ {G85}
1110
+ {G87}
1111
+ {G82}
1112
+ {a}
1113
+
1114
+ \question
1115
+ Which is the standard tapping cycle?
1116
+ \choice {G84}
1117
+ {G83}
1118
+ {G81}
1119
+ {G86}
1120
+ {a}
1121
+
1122
+ \question
1123
+ Which is peck drilling?
1124
+ \choice {G83}
1125
+ {G82}
1126
+ {G81}
1127
+ {G88}
1128
+ {a}
1129
+
1130
+ \question
1131
+ Which cycle has manual return?
1132
+ \choice {G88}
1133
+ {G86}
1134
+ {G89}
1135
+ {G87}
1136
+ {a}
1137
+
1138
+ \question
1139
+ Which G-code is used for backboring?
1140
+ \choice {G87}
1141
+ {G88}
1142
+ {G89}
1143
+ {G85}
1144
+ {a}
1145
+
1146
+ \question
1147
+ Which G-code stops spindle then rapid-out?
1148
+ \choice {G86}
1149
+ {G85}
1150
+ {G88}
1151
+ {G90}
1152
+ {a}
1153
+
1154
+ \question
1155
+ Which is the simple boring cycle?
1156
+ \choice {G85}
1157
+ {G86}
1158
+ {G87}
1159
+ {G89}
1160
+ {a}
1161
+
1162
+ \question
1163
+ Which represents absolute mode?
1164
+ \choice {G90}
1165
+ {G91}
1166
+ {G92}
1167
+ {G92.1}
1168
+ {a}
1169
+
1170
+ \question
1171
+ Which represents incremental mode?
1172
+ \choice {G91}
1173
+ {G90}
1174
+ {G52}
1175
+ {G59}
1176
+ {a}
1177
+
1178
+ \question
1179
+ Which G-code presets work coordinates?
1180
+ \choice {G92.1}
1181
+ {G92}
1182
+ {G98}
1183
+ {G80}
1184
+ {a}
1185
+
1186
+ \question
1187
+ Which G-code returns to initial point in canned cycles?
1188
+ \choice {G98}
1189
+ {G99}
1190
+ {G92}
1191
+ {G91}
1192
+ {a}
1193
+
1194
+ \question
1195
+ Which G-code returns to reference point in canned cycles?
1196
+ \choice {G99}
1197
+ {G98}
1198
+ {G92}
1199
+ {G93}
1200
+ {a}
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+ \question
1209
+ Which G-code activates absolute programming?
1210
+ \choice {G91}
1211
+ {G98}
1212
+ {G92}
1213
+ {G90}
1214
+ {d}
1215
+
1216
+ \question
1217
+ Which G-code activates incremental programming?
1218
+ \choice {G91}
1219
+ {G54}
1220
+ {G20}
1221
+ {G17}
1222
+ {a}
1223
+
1224
+ \question
1225
+ What does G92 do?
1226
+ \choice {Work coordinate preset}
1227
+ {Mirror cancel}
1228
+ {Spindle CW}
1229
+ {Reference return}
1230
+ {a}
1231
+
1232
+ \question
1233
+ What does G92.1 do?
1234
+ \choice {Cancel work coordinate preset}
1235
+ {Apply WCS 2}
1236
+ {Turn coolant on}
1237
+ {Enable tapping mode}
1238
+ {a}
1239
+
1240
+ \question
1241
+ Which G-code returns to canned cycle initial point?
1242
+ \choice {G99}
1243
+ {G98}
1244
+ {G80}
1245
+ {G02}
1246
+ {b}
1247
+
1248
+ \question
1249
+ Which G-code returns to canned cycle reference point?
1250
+ \choice {G98}
1251
+ {G99}
1252
+ {G83}
1253
+ {G31}
1254
+ {b}
1255
+
1256
+ \question
1257
+ Which M-code stops the program?
1258
+ \choice {M0}
1259
+ {M30}
1260
+ {M6}
1261
+ {M9}
1262
+ {a}
1263
+
1264
+ \question
1265
+ Which M-code is an optional stop?
1266
+ \choice {M1}
1267
+ {M3}
1268
+ {M5}
1269
+ {M8}
1270
+ {a}
1271
+
1272
+ \question
1273
+ Which M-code ends the program?
1274
+ \choice {M0}
1275
+ {M19}
1276
+ {M2}
1277
+ {M11}
1278
+ {c}
1279
+
1280
+ \question
1281
+ Which M-code starts the spindle clockwise?
1282
+ \choice {M4}
1283
+ {M5}
1284
+ {M3}
1285
+ {M9}
1286
+ {c}
1287
+
1288
+ \question
1289
+ Which M-code starts the spindle counterclockwise?
1290
+ \choice {M5}
1291
+ {M3}
1292
+ {M4}
1293
+ {M30}
1294
+ {c}
1295
+
1296
+ \question
1297
+ Which M-code stops the spindle?
1298
+ \choice {M3}
1299
+ {M9}
1300
+ {M5}
1301
+ {M2}
1302
+ {c}
1303
+
1304
+ \question
1305
+ Which M-code commands an automatic tool change?
1306
+ \choice {M6}
1307
+ {M19}
1308
+ {M3}
1309
+ {M13}
1310
+ {a}
1311
+
1312
+ \question
1313
+ Which M-code turns on mist coolant?
1314
+ \choice {M30}
1315
+ {M9}
1316
+ {M4}
1317
+ {M7}
1318
+ {d}
1319
+
1320
+ \question
1321
+ Which M-code turns on flood coolant?
1322
+ \choice {M7}
1323
+ {M8}
1324
+ {M9}
1325
+ {M11}
1326
+ {b}
1327
+
1328
+ \question
1329
+ Which M-code turns off all coolant?
1330
+ \choice {M7}
1331
+ {M30}
1332
+ {M9}
1333
+ {M1}
1334
+ {c}
1335
+
1336
+ \question
1337
+ Which M-code clamps the 4th axis?
1338
+ \choice {M11}
1339
+ {M10}
1340
+ {M12}
1341
+ {M6}
1342
+ {b}
1343
+
1344
+ \question
1345
+ Which M-code unclamps the 4th axis?
1346
+ \choice {M10}
1347
+ {M11}
1348
+ {M19}
1349
+ {M5}
1350
+ {b}
1351
+
1352
+ \question
1353
+ Which M-code clamps the 5th axis?
1354
+ \choice {M10}
1355
+ {M13}
1356
+ {M12}
1357
+ {M7}
1358
+ {c}
1359
+
1360
+ \question
1361
+ Which M-code unclamps the 5th axis?
1362
+ \choice {M12}
1363
+ {M6}
1364
+ {M13}
1365
+ {M8}
1366
+ {c}
1367
+
1368
+ \question
1369
+ Which M-code orients the spindle?
1370
+ \choice {M19}
1371
+ {M5}
1372
+ {M1}
1373
+ {M9}
1374
+ {a}
1375
+
1376
+ \question
1377
+ Which M-code ends the program and rewinds?
1378
+ \choice {M30}
1379
+ {M2}
1380
+ {M1}
1381
+ {M0}
1382
+ {a}
1383
+
1384
+ \question
1385
+ Which plane is required for circular interpolation in milling by default?
1386
+ \choice {G19}
1387
+ {G18}
1388
+ {G17}
1389
+ {G92}
1390
+ {c}
1391
+
1392
+ \question
1393
+ In milling, what does G17 define?
1394
+ \choice {X–Y plane}
1395
+ {Z–Y plane}
1396
+ {Z–X plane}
1397
+ {Probe plane}
1398
+ {a}
1399
+
1400
+ \question
1401
+ A command: G18 G02 indicates an arc in which plane?
1402
+ \choice {X–Y}
1403
+ {Z–X}
1404
+ {Z–Y}
1405
+ {Machine plane}
1406
+ {b}
1407
+
1408
+ \question
1409
+ What does G19 G03 command?
1410
+ \choice {CW arc in ZX plane}
1411
+ {CCW arc in ZY plane}
1412
+ {Rapid motion}
1413
+ {Return to WCS}
1414
+ {b}
1415
+
1416
+ \question
1417
+ Which G-code defines inch input?
1418
+ \choice {G21}
1419
+ {G20}
1420
+ {G92}
1421
+ {G69}
1422
+ {b}
1423
+
1424
+ \question
1425
+ Which G-code defines metric input?
1426
+ \choice {G20}
1427
+ {G21}
1428
+ {G54}
1429
+ {G61}
1430
+ {b}
1431
+
1432
+ \question
1433
+ What is the default plane for drilling cycles?
1434
+ \choice {G17}
1435
+ {G18}
1436
+ {G19}
1437
+ {G68}
1438
+ {a}
1439
+
1440
+ \question
1441
+ What does G90 indicate?
1442
+ \choice {Incremental mode}
1443
+ {Absolute mode}
1444
+ {Local coordinates}
1445
+ {Machine coordinates}
1446
+ {b}
1447
+
1448
+ \question
1449
+ What does G91 indicate?
1450
+ \choice {Local coordinates}
1451
+ {Absolute mode}
1452
+ {Incremental mode}
1453
+ {Mirror mode}
1454
+ {c}
1455
+
1456
+ \question
1457
+ Which G-code sets a temporary local origin?
1458
+ \choice {G52}
1459
+ {G53}
1460
+ {G92}
1461
+ {G72}
1462
+ {a}
1463
+
1464
+ \question
1465
+ Which G-code selects machine coordinate mode?
1466
+ \choice {G52}
1467
+ {G53}
1468
+ {G92}
1469
+ {G59}
1470
+ {b}
1471
+
1472
+ \question
1473
+ Which coordinate system is selected by G54?
1474
+ \choice {WCS 2}
1475
+ {WCS 1}
1476
+ {Local coordinates}
1477
+ {Machine coordinates}
1478
+ {b}
1479
+
1480
+ \question
1481
+ Which coordinate system is selected by G55?
1482
+ \choice {WCS 3}
1483
+ {WCS 2}
1484
+ {Machine coordinates}
1485
+ {WCS 1}
1486
+ {b}
1487
+
1488
+ \question
1489
+ Which coordinate system is selected by G56?
1490
+ \choice {WCS 3}
1491
+ {WCS 4}
1492
+ {WCS 5}
1493
+ {WCS 6}
1494
+ {a}
1495
+
1496
+ \question
1497
+ Which coordinate system is selected by G57?
1498
+ \choice {WCS 4}
1499
+ {WCS 5}
1500
+ {WCS 3}
1501
+ {WCS 1}
1502
+ {a}
1503
+
1504
+ \question
1505
+ Which coordinate system is selected by G58?
1506
+ \choice {WCS 5}
1507
+ {WCS 4}
1508
+ {WCS 6}
1509
+ {WCS 1}
1510
+ {a}
1511
+
1512
+ \question
1513
+ Which coordinate system is selected by G59?
1514
+ \choice {WCS 6}
1515
+ {WCS 5}
1516
+ {WCS 3}
1517
+ {WCS 1}
1518
+ {a}
1519
+
1520
+ \question
1521
+ A move: G00 X50 Y25 means:
1522
+ \choice {Rapid positioning}
1523
+ {Linear interpolation}
1524
+ {CW arc}
1525
+ {Tool change}
1526
+ {a}
1527
+
1528
+ \question
1529
+ A move: G01 X10 Y10 F120 means:
1530
+ \choice {Rapid travel}
1531
+ {Feed linear cut}
1532
+ {Drill cycle}
1533
+ {Tapping}
1534
+ {b}
1535
+
1536
+ \question
1537
+ G02 I5 J0 indicates:
1538
+ \choice {CW arc}
1539
+ {CCW arc}
1540
+ {Return home}
1541
+ {Probe skip}
1542
+ {a}
1543
+
1544
+ \question
1545
+ G03 I-5 J0 indicates:
1546
+ \choice {CW arc}
1547
+ {CCW arc}
1548
+ {Rapid motion}
1549
+ {Machine coordinate}
1550
+ {b}
1551
+
1552
+ \question
1553
+ Which G-code ensures continuous cutting mode?
1554
+ \choice {G61}
1555
+ {G60}
1556
+ {G64}
1557
+ {G30}
1558
+ {c}
1559
+
1560
+ \question
1561
+ Which G-code ensures exact stop mode?
1562
+ \choice {G61}
1563
+ {G64}
1564
+ {G57}
1565
+ {G09}
1566
+ {a}
1567
+
1568
+ \question
1569
+ Which G-code rotates the coordinate system?
1570
+ \choice {G69}
1571
+ {G68}
1572
+ {G62}
1573
+ {G92}
1574
+ {b}
1575
+
1576
+ \question
1577
+ Which G-code cancels coordinate rotation?
1578
+ \choice {G68}
1579
+ {G69}
1580
+ {G99}
1581
+ {G52}
1582
+ {b}
1583
+
1584
+ \question
1585
+ G90 G01 X50 means:
1586
+ \choice {Move to +50 incrementally}
1587
+ {Move absolute to X50}
1588
+ {Move machine zero}
1589
+ {Move to WCS2}
1590
+ {b}
1591
+
1592
+ \question
1593
+ G91 G01 X50 means:
1594
+ \choice {Move 50 units from current position}
1595
+ {Move to absolute X50}
1596
+ {Select incremental plane}
1597
+ {Drill cycle}
1598
+ {a}
1599
+
1600
+ \question
1601
+ G17 G02 command indicates:
1602
+ \choice {CW arc in XY plane}
1603
+ {CCW arc in ZX plane}
1604
+ {CW arc in ZY plane}
1605
+ {Incremental drilling}
1606
+ {a}
1607
 
1608
  \end{questions}