Skip to content

Commit 9294bc2

Browse files
committed
add AI DB RA projects
1 parent d5d528d commit 9294bc2

File tree

144 files changed

+6050
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+6050
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,360 @@
1+
%%%%%%%%%%%%%%%%%%%%%%%%%% 专业的职业倾向 %%%%%%%%%%%%%%%%%%%%%%%%
2+
occ(i,philosophy).
3+
occ(i,economics).
4+
occ(i,history).
5+
occ(i,mathematics).
6+
occ(i,applied_math).
7+
occ(i,physics).
8+
occ(i,chemistry).
9+
occ(i,biology).
10+
occ(i,statistics).
11+
occ(a,philosophy).
12+
occ(a,economics).
13+
occ(a,education).
14+
occ(a,language_and_literature).
15+
occ(a,mathematics).
16+
occ(a,physics).
17+
occ(a,mechanics).
18+
occ(a,electronic).
19+
occ(a,energy).
20+
occ(s,sociology).
21+
occ(s,education).
22+
occ(s,journalism).
23+
occ(s,medicine).
24+
occ(e,political_science).
25+
occ(e,law).
26+
occ(r,medicine).
27+
occ(r,geology).
28+
occ(r,geographic_science).
29+
occ(r,mechanics).
30+
occ(r,electronic).
31+
occ(r,materials).
32+
occ(r,bio-engineering).
33+
occ(c,management).
34+
occ(c,applied_math).
35+
occ(c,biology).
36+
occ(c,astronomy).
37+
occ(c,geology).
38+
occ(c,geographic_science).
39+
occ(c,atmospheriic_science).
40+
occ(c,marine_science).
41+
occ(c,materials).
42+
occ(c,environment).
43+
occ(c,statistics).
44+
occ(c,energy).
45+
occ(c,bio-engineering).
46+
47+
48+
%%%%%%%%%%%%%%%%%%%%%%%%%% 专业的思维方式 %%%%%%%%%%%%%%%%%%%%%%%
49+
think(abstract,philosophy).
50+
think(abstract,economics).
51+
think(abstract,sociology).
52+
think(abstract,history).
53+
think(abstract,mathematics).
54+
think(abstract,applied_math).
55+
think(abstract,physics).
56+
think(abstract,chemistry).
57+
think(abstract,biology).
58+
think(abstract,astronomy).
59+
think(abstract,geology).
60+
think(abstract,geograpgic_science).
61+
think(abstract,atmospheriic_science).
62+
think(abstract,marine_science).
63+
think(abstract,electronic).
64+
think(abstract,mechanics).
65+
think(abstract,materials).
66+
think(abstract,environment).
67+
think(abstract,psychology).
68+
think(abstract,statistics).
69+
think(abstract,energy).
70+
think(image,political_science).
71+
think(image,law).
72+
think(image,education).
73+
think(image,journalism).
74+
think(image,language_and_literature).
75+
think(action,management).
76+
think(action,medicine).
77+
think(action,chemistry).
78+
think(action,biology).
79+
think(action,geology).
80+
think(action,mechanics).
81+
think(action,materials).
82+
think(action,statistics).
83+
think(action,energy).
84+
think(action,bio-engineering).
85+
86+
%%%%%%%%%%%%%%%%%%%%%%%%% 专业的就业预期 %%%%%%%%%%%%%%%%%%%%%%
87+
expect(1,medicine).
88+
expect(1,political_science).
89+
expect(1,management).
90+
expect(1,applied_math).
91+
expect(2,political_science).
92+
expect(2,astronomy).
93+
expect(2,psychology).
94+
expect(3,management).
95+
expect(3,philosophy).
96+
expect(3,journalism).
97+
expect(3,political_science).
98+
expect(4,language_and_literature).
99+
expect(4,history).
100+
expect(4,medicine).
101+
expect(4,management).
102+
expect(4,mathematics).
103+
expect(4,applied_math).
104+
expect(5,education).
105+
expect(6,philosophy).
106+
expect(6,economics).
107+
expect(6,sociology).
108+
expect(6,political_science).
109+
expect(6,law).
110+
expect(6,education).
111+
expect(6,history).
112+
expect(6,mathematics).
113+
expect(6,physics).
114+
expect(6,chemistry).
115+
expect(6,biology).
116+
expect(6,geographic_science).
117+
expect(6,atmospheriic_science).
118+
expect(6,marine_science).
119+
expect(7,philosophy).
120+
expect(7,sociology).
121+
expect(7,language_and_literature).
122+
expect(7,mathematics).
123+
expect(7,geology).
124+
expect(7,environment).
125+
expect(7,bio-engineering).
126+
expect(8,law).
127+
expect(8,language_and_literature).
128+
expect(8,history).
129+
expect(8,medicine).
130+
expect(8,mathematics).
131+
expect(8,applied_math).
132+
expect(8,physics).
133+
expect(8,chemistry).
134+
expect(8,biology).
135+
expect(8,astronomy).
136+
expect(8,geographic_science).
137+
expect(8,atmospheriic_science).
138+
expect(8,mechanics).
139+
expect(8,electronic).
140+
expect(8,materials).
141+
expect(8,statistics).
142+
expect(8,psychology).
143+
expect(8,energy).
144+
expect(8,bio-engineering).
145+
expect(9,economics).
146+
expect(9,education).
147+
expect(9,journalism).
148+
expect(9,medicine).
149+
expect(9,geology).
150+
expect(9,atmospheriic_science).
151+
expect(9,marine_science).
152+
expect(9,materials).
153+
expect(9,environment).
154+
expect(9,energy).
155+
156+
157+
%%%%%%%%%%%%%%%%%%%%%%%%%% Test1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
158+
%%test1 questions
159+
t2q(1):-write('Q1.Using wood to make somethings.\n').
160+
t2q(2):-write('Q2.Repair the maichine.\n').
161+
t2q(3):-write('Q3.Drive a car or motorcycle.\n').
162+
t2q(4):-write('Q4.Participate in the drama.\n').
163+
t2q(5):-write('Q5.Reading a novel or screenplay.\n').
164+
t2q(6):-write('Q6.Practice a musical instrument or participate in the band\n').
165+
t2q(7):-write('Q7.Read the scientific and technical books and magazines\n').
166+
t2q(8):-write('Q8.Study the special problems of your own choosing.\n').
167+
t2q(9):-write('Q9.Solve formulas or mathematical games.\n').
168+
t2q(10):-write('Q10.To participate in a particular social group or club events.\n').
169+
t2q(11):-write('Q11.Attended the party.\n').
170+
t2q(12):-write('Q12.Participate in the forum or debate.\n').
171+
t2q(13):-write('Q13.Talk about politics.\n').
172+
t2q(14):-write('Q14.Positions in social groups.\n').
173+
t2q(15):-write('Q15.Tell others your own ideas.\n').
174+
t2q(16):-write('Q16.Sort out the desktop and room.\n').
175+
t2q(17):-write('Q17.Verification of personal income and expenditure.\n').
176+
t2q(18):-write('Q18.Copying files and letters.\n').
177+
178+
%挑出score>=2
179+
score1(M1,M2,M3,Z):-
180+
Z is M1+M2+M3.
181+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
182+
Z1>=2,write('R:'),nl,occ(r,X),write(X),nl,fail.
183+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
184+
Z2>=2,write('A:'),nl,occ(a,X),write(X),nl,fail.
185+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
186+
Z3>=2,write('I:'),nl,occ(i,X),write(X),nl,fail.
187+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
188+
Z4>=2,write('S:'),nl,occ(s,X),write(X),nl,fail.
189+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
190+
Z5>=2,write('E:'),nl,occ(e,X),write(X),nl,fail.
191+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
192+
Z6>=2,write('C:'),nl,occ(c,X),write(X),nl,fail.
193+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6):-
194+
write('\n').
195+
196+
%test1得分
197+
t2(N,Score):-
198+
t2q(N),
199+
write('Please write you answer:'),
200+
read(Ans),
201+
Ans = y,
202+
Score is 1;
203+
Ans = n,
204+
Score is 0.
205+
%%%%%%%%%%%%%%%%%%%%%%%test1 main %%%%%%%%%%%%%%%%%%%%%%%%%%
206+
test1:-
207+
write('\n Here are some activities, choose your interests by yes or no.\n'),
208+
t2(1,X1),t2(2,X2),t2(3,X3),t2(4,X4),t2(5,X5),t2(6,X6),t2(7,X7),t2(8,X8),t2(9,X9),t2(10,X10),t2(11,X11),t2(12,X12),t2(13,X13),t2(14,X14),t2(15,X15),t2(16,X16),t2(17,X17),t2(18,X18),nl,
209+
score1(X1,X2,X3,Z1),
210+
score1(X4,X5,X6,Z2),
211+
score1(X7,X8,X9,Z3),
212+
score1(X10,X11,X12,Z4),
213+
score1(X13,X14,X15,Z5),
214+
score1(X16,X17,X18,Z6),
215+
nl,
216+
write('Your interest activities test Type scores are:\n'),
217+
write('Type R(Reality) Score = '),write(Z1),nl,
218+
write('Type A(Art) Score = '),write(Z2),nl,
219+
write('Type I(Investigate) Score = '),write(Z3),nl,
220+
write('Type S(Society) Score ='),write(Z4),nl,
221+
write('Type E(Enterprise) Score = '),write(Z5),nl,
222+
write('Type C(Common) Score ='),write(Z6),nl,
223+
write('We have some information for Types:\n Higher Type R score implies your like machinery, tools, plant or animal, prefer outdoor activities.\n Higher Type A score implies you like art,intuition,have the ability to create, like sports, imagination and creativity, like to work in an environment of freedom.\n Higher Type I score implies you like to study, research, analyze, evaluate and solve problems.\n Higher Type S score implies you are a good people get along, like to teach, help, inspiration or training others.\n Higher Type E score implies you like interact with the crowd, confident, persuasive, leadership, the pursuit of political or economic achievements.\n Higher Type C score implies you like to engage in work, writing or mathematical analysis of the ability to be able to listen to instructions to complete the trifling work.\n'),nl,
224+
write('By Test 1, you have following choises:\n'),
225+
score1b2(Z1,Z2,Z3,Z4,Z5,Z6).
226+
227+
228+
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Test2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
229+
230+
%职业智商测试问题
231+
cqQ(1):- write('Q1.I can often find the trouble of broken bike.\n').
232+
cqQ(2):- write('Q2.Before I go somewhere in the city, I can come up with a variety of possible road.\n').
233+
cqQ(3):- write('Q3.My article is usually well written.\n').
234+
cqQ(4):- write('Q4.Small electrical appliances at home is broken, I can repair them by myself.\n').
235+
cqQ(5):- write('Q5.I can use painting,dance to express my thoughts and emotions.\n').
236+
cqQ(6):- write('Q6.I can always use different words to express the same thing.\n').
237+
cqQ(7):- write('Q7.I can quickly learn how to transform complex body movements.\n').
238+
cqQ(8):- write('Q8.I was able to draw some complex mechanical graphics.\n').
239+
cqQ(9):- write('Q9.I can summarize a variety of phenomena I see, and find the commonalities.\n').
240+
cqQ(10):- write('Q10.I learnt to drive quickly.\n').
241+
cqQ(11):- write('Q11.I always thinking about the problem with the image of the brain.\n').
242+
cqQ(12):- write('Q12.I can understand the theory accurately which others think boring.\n').
243+
cqQ(13):- write('Q13.Others had praise my clever hands\n').
244+
cqQ(14):- write('Q14.I usually like to think with concepts and symbols.\n').
245+
cqQ(15):- write('Q15.I am sensitive to music.\n').
246+
247+
%CQ问题得分
248+
cq(N,Score):-
249+
cqQ(N),
250+
write('Please write you answer:'),
251+
read(Ans),
252+
Ans = y,
253+
Score is 1;
254+
Ans = n,
255+
Score is 0.
256+
257+
258+
%挑出score2>=3
259+
score2(M1,M2,M3,M4,M5,Z):-
260+
Z is M1+M2+M3+M4+M5.
261+
score2b3(P1,P2,P3):-
262+
P1>=3,write('Type1:'),nl,think(action,X),write(X),nl,fail.
263+
score2b3(P1,P2,P3):-
264+
P2>=3,write('Type2:'),nl,think(image,X),write(X),nl,fail.
265+
score2b3(P1,P2,P3):-
266+
P3>=3,write('Type3:'),nl,think(abstract,X),write(X),nl,fail.
267+
score2b3(P1,P2,P3):-
268+
write('\n').
269+
270+
%%%%%%%%%%%%%%%%%%%%%%%%%%test2 main %%%%%%%%%%%%%%
271+
test2:-
272+
write('\n Welcome to CQ analysis test, here are some interesting questions, please answer them by yes(y) or no(n).\n\n'),
273+
cq(1,X1),cq(2,X2),cq(3,X3),cq(4,X4),cq(5,X5),cq(6,X6),cq(7,X7),cq(8,X8),cq(9,X9),cq(10,X10),cq(11,X11),cq(12,X12),cq(13,X13),cq(14,X14),cq(15,X15),nl,
274+
score2(X1,X4,X7,X10,X13,P1),
275+
score2(X2,X5,X8,X11,X15,P2),
276+
score2(X3,X6,X9,X12,X14,P3),
277+
write('Your CQ test Type scores are:\n'),
278+
write('Type 1 Score = '),write(P1),nl,
279+
write('Type 2 Score = '),write(P2),nl,
280+
write('Type 3 Score = '),write(P3),nl,
281+
write('We have some information for Types:\n Higher Type 1 score implies your action thinking is better.\n Higher Type 2 score implies your image thinking is better.\n Higher Type 3 score implies your abstract thinking is better.\n'),nl,
282+
write('By Test 2, you have following choises:\n'),
283+
score2b3(P1,P2,P3).
284+
285+
%%%%%%%%%%%%%%%%%%%%%%%%%% Test3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
286+
%%职业价值
287+
t4f(1):-write('F1.high wages and good benefits.\n').
288+
t4f(2):-write('F2.the working environment (substance) is comfortable.\n').
289+
t4f(3):-write('F3.good personal relations.\n').
290+
t4f(4):-write('F4.stable and secure.\n').
291+
t4f(5):-write('F5.can provide better educational opportunities.\n').
292+
t4f(6):-write('F6.there is a higher social status.\n').
293+
t4f(7):-write('F7.less tense, less external pressure.\n').
294+
t4f(8):-write('F8.can give full play to the strengths of their abilities.\n').
295+
t4f(9):-write('F9.the needs of the community and social contribution.\n').
296+
297+
expect3(T41,Y):-
298+
expect(T41,Y),write(Y),nl,fail.
299+
expect3(T41,Y):-
300+
write('\n').
301+
302+
303+
%%%%%%%%%%%%%%%%%%% test3 main %%%%%%%%%%%%%%%%%%%%
304+
test3:-
305+
write('\n Welcome to Value for Occupation test, here are some factors, please choose two of them which you think most important and useless by number 1-9.\n\n'),
306+
t4f(1),t4f(2),t4f(3),t4f(4),t4f(5),t4f(6),t4f(7),t4f(8),t4f(9),nl,
307+
write('most important one:'),
308+
read(T41),
309+
write('By Test 3, you have following choises:\n'),nl,
310+
expect3(T41,E1),
311+
nl.
312+
313+
314+
315+
316+
%%%%%%%%%%%%%%%%%%%%%%%%%%% Main %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
317+
318+
%%%%%%%%%%%%%%%%%%%%%% main_main %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
319+
choose:-
320+
write('Welcome to Specialized Subject Choosing System!\n'),
321+
write('We will give you a proper choise through some tests.\n'),nl,
322+
write('There are 3 important tests, you would better to anwser then all in order to get a better advice.\n'),nl,
323+
write('Here are 3 tests:\n'),
324+
write('1.Interesting Activity\n'),
325+
write('2.Indivisual Ability: Thinking Way\n'),
326+
write('3.Value for Occupation\n'),
327+
nl,
328+
%%Test 1
329+
write('test 1.Interesting Activity\n'),
330+
test1,
331+
%%Test 2
332+
write('test 2.Indivisual Ability: Thinking Way\n'),
333+
test2,
334+
%%Test 3
335+
write('test 3.Value for Occupation\n'),
336+
test3,
337+
nl,
338+
write('\n You have done all the tests you choose, Here is the final advices for you to choose a proper specialized subject.\n').
339+
340+
341+
342+
343+
344+
345+
346+
347+
348+
349+
350+
351+
352+
353+
354+
355+
356+
357+
358+
359+
360+
274 KB
Binary file not shown.
165 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
1 10.27 3300
2+
2 10.2 1700
3+
3 10.29 3300
4+
4 10.28 600
5+
5 10.44 1200
6+
6 10.44 500
7+
7 10.44 600
8+
8 10.45 2500
9+
9 10.44 3000
10+
10 10.44 800
11+
11 10.33 2000
12+
12 10.32 300
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
5+
<classpathentry kind="lib" path="D:/Program Files/JAVA tools/eclipse_cn/plugins/gov.sandia.jess_7.1.0/jess.jar"/>
6+
<classpathentry kind="lib" path="D:/Program Files/JAVA tools/eclipse_cn/plugins/gov.sandia.jess_7.1.0/jsr94.jar"/>
7+
<classpathentry kind="lib" path="D:/Program Files/JAVA tools/eclipse_cn/plugins/gov.sandia.jess_7.1.0/jessplugin.jar"/>
8+
<classpathentry kind="lib" path="D:/Program Files/JAVA tools/eclipse_cn/plugins/gov.sandia.jess.debug_7.1.0/jessdebug.jar"/>
9+
<classpathentry kind="lib" path="D:/Program Files/JAVA tools/eclipse_cn/plugins/gov.sandia.jess.editor_7.1.0/jesside.jar"/>
10+
<classpathentry kind="lib" path="D:/Program Files/JAVA tools/eclipse_cn/plugins/gov.sandia.jess.reteview_7.1.0/reteview.jar"/>
11+
<classpathentry kind="output" path="bin"/>
12+
</classpath>

0 commit comments

Comments
 (0)