Bernie.bas

050 REM bernie.bas by chen
100 PRINT “You are Tom at Miller’s Crossing where”
101 PRINT “you must decide whether or not you will kill Bernie.”
150 REM QUESTION 1
200 PRINT “Did you kill Bernie?”
225 PRINT “(please answer only with yes or no)”
250 INPUT murder$
260 IF murder$= “yes” OR murder$= “no” THEN GOTO 300
270 GOTO 200
290 REM QUESTION 2
300 PRINT “Can you outsmart Casper?”
325 PRINT “(please answer only with yes or no)”
350 INPUT smart$
360 IF smart$=”yes” OR smart$= “no” THEN GOTO 400
370 GOTO 300
400 IF murder$= “yes” AND smart$= “yes” THEN GOTO 500
425 IF murder$= “yes” AND smart$= “no” THEN GOTO 600
450 IF murder$= “no” AND smart$= “yes” THEN GOTO 700
475 IF murder$= “no” AND smart$= “no” THEN GOTO 800
500 PRINT “Casper will end up working for you.”
550 GOTO 1000
600 PRINT “You will end up working for Casper.”
650 GOTO 1000
700 PRINT “You will get Verna.”
750 GOTO 1000
800 PRINT “You will get kill.”
1000 END
Advertisements

Syllogism

 

Conditional 1: IF it is a square(A), THEN it is four sided(B).

Conditional 2: IF it is four side, THEN it is polygon(C).

IF square are four sided AND four sided is polygon. THEN square are polygon.   Syllogism

IF square are four sided AND square are polygon. THEN four sided are polygon.   Void

IF square are four sided AND square are polygon. THEN polygon are four sided.   False

 

Conditional 1: IF  it is a tall people(A), THEN it is a basketball player(B).

Conditional 2: IF it is a baketball player, THEN it is a athlete(C).

IF tall people are basketball player AND basketball player are athlete. THEN tall peopel are athlete.      Syllogism

IF tall people are basketball player AND tall peope are athlete. THEN basketball player are athleth.    Void

IF tall people are basketball player AND tall people are athlete. THEN athlete are baskeball player.    False

whoDatHYC01

100 PRINT “Hello”
200 PRINT “What is your name?”
300 INPUT name$
400 IF name$= “Chen” THEN GOTO 700
500 IF name$= “Li” THEN GOTO 750
600 IF name$= “Lev” THEN GOTO 800
700 PRINT “You are handsome.”
701 PRINT “Bye.”
702 END
750 PRINT “You are beautiful.”
751 PRINT “Bye.”
752 END
800 PRINT “Bye Bye”
801 END

Conditional and Converses

Conditional:If you does running. Then you play track and field.

Converse: If you play track and field. Then you does running. (F)

Track and field also does shot-put.

 

Conditional: If you like food. Then you know how to cook.

Converse: If you know how to cook. Then you like food. (F)

You get just know how to cook because its your job.

 

Conditional:If you like to be on computer. Then you wear glasses.

Converse: If you wear glasses. Then you like to be on computer. (F)

You also need glasses if you on your phone all the time.