[SOLVED] ; DRAFT 20190915 of Quiz 1 Reminder Aid Sheet Might Change

$25

File Name: ;____DRAFT_20190915_of_Quiz_1_Reminder_Aid_Sheet__Might_Change.zip
File Size: 584.04 KB

5/5 - (1 vote)

;DRAFT 20190915 of Quiz 1 Reminder Aid SheetMight Change
; Grammar
; A program is a sequence of statements and expressions. ;Statement Forms
;Show Stepsstep expression
etc
;Variable Definition
define variablename expression ;Function Definition
define functionname parametername etc ; the header expression ; the body expression
;ClaimAssertionTestsame! expression
expression ;Expression Forms
;Function Call
functionname expression ; an argument expression
etc
;when functionname is a name that is not one of: step define same!
;Variable Referencevariablename
;Literal Value
image ; a copypasted image
functionname ; name of a function built into our language, or defined by us number ; in decimal or fraction form
boolean ; one of: true false
text ; characters
; Type Predicates
same! image?true same! number? 10.4 true same! boolean? true true same! text? hello! true
same! function? flip true
same! nullary? flip false same! unary? flip true same! binary? flip false
; Numeric Functions same!10 2 300 312
same!10 3 5 150 same!123 123
same!12 3 9 same!12 3 4
; Image Functions same! flip
same! mirror
same! clockwise same! anticlockwise

same! shrink
same! enlarge
same! thinner same! wider
same! taller same! shorter
same! rotate same! scale

same! scalewidth same! scaleheight
same! triangle 12 same! circle 12 same! square 12
same! above
same! alignlefts

same! alignrights
same! besidesame! aligntops
same! alignbottoms same! width beside
312
same! height above

circle 10

square 2 circle 300
312
same! rectangle 10 15
same! oval 10 15
same! filledtriangle 12 same! filledcircle 12 same! filledsquare 12

same! filledrectangle 10 15same! filledoval 10 15
same! textimage hello!

1.5
1.5 1.5
30

square 10 circle 2 square 300

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] ; DRAFT 20190915 of Quiz 1 Reminder Aid Sheet Might Change
$25