What type of computer programming language is HyperTalk?
object-oriented 4th generation computer programming language
object-oriented 3rd generation computer programming language
procedural 4th generation computer programming language
procedural 3rd generation computer programming language

What is the correct order of the message path hierarchy?
button script -> card script -> background script -> stack script
button script -> background script -> card script -> stack script
card script -> stack script -> background script -> button script
stack script -> background script -> card script -> button script

If the userLevel is set to 4, then what is its level?
authoring
browsing
scripting
painting

What is the user level of a standalone HyperCard application?
4
1
2
3

If you want command (find) to skip a specified field, then which command do you use?
set the dontSearch of cd fld 1 to true
set the dontSearch of cd fld 1 to false
set the dontSearch of cd fld 1 to 0
set the dontSearch of cd fld 1 to 1

Which string defines comments in a HyperTalk script?
lines beginning with --
lines beginning with <!-- and ending with -->
lines beginning with (* and ending with *)
lines beginning with /* and ending with */

Which key combination aborts the execution of a script?
Command-.
Command-Q
Command-P
Command-A

When you double-click a button, a locked field or a card, which message is sent first?
mouseDown
mouseDoubleClick
mouseStillDown
mouseEnter

How do you define more than one global variables?
global gOne,gTwo,gThree
global (gOne,gTwo,gThree)
global gOne gTwo gThree
global gOne, global gTwo, global gThree

How do you make the menubar visible?
set the visible of menubar to true
set the display of menubar to true
set the delete of menubar to false
set the erase of menubar to false

How do you make the titlebar visible?
show titlebar
set the titlebar to true
set the visible of titlebar to true
set the title bar to true

Which one of the following is an object in HyperTalk?
field
paragraph
word
char

Which one of the following is not a synonym for "background button"?
background buton
background btn
bkgnd button
bg btn

Name the HyperTalk function which returns the character corresponding to the specified ASCII value?
numToChar()
charToNum()
charToHex()
hexToChar()

Which one of the following prints with formatting intact?
print bg fld 1
print (card field 1)
print (bg fld 1)
print (cd fld 1)

Which one of the following is a legal command?
print this cd
print this stack
print marked cd
print marked bg

What is the default note and duration in command (play)?
D4q
C4q
D4e
C4e

What is the default tempo in command (play)?
120
100
80
160

Which one of the following commands is equivalent to (unlock messages)?
set the lockMessages to false
set the lockMessages to true
set the lockMessage to false
set the lockMessage to true

Which one of the following functions returns seconds as well as hours:minutes?
the long date && the long time
the date && the time
the short date && the short time
the abbr date && the abbr time

A tick is equivalent to what?
1/60 of 1 second
1/20 of 1 second
1/30 of 1 second
1 second

Which one of the following commands is illegal?
goto previous cd
go previous
go to previous
go previous cd

Which one of the following commands has a correct syntax?
set the name of this cd to "Lise"
set the short name of this cd to "Lise"
set the long name of this cd to "Lise"
set the English name of this cd to "Lise"

Which one of the following commands does not remove the icon of a button?
set the icon of cd btn "Icon" to null
set the icon of cd btn "Icon" to 0
set the icon of cd btn "Icon" to ""
set the icon of cd btn "Icon" to empty

Which one of the following commands allows you to type in a field?
choose browse tool
choose text tool
select text tool
select field tool

If there is a menu "Power", then how do you add a dividing line?
put "-" before menu "Power"
put - before menu "Power"
put line before menu "Power"
put a line before menu "Power"

How do you display a picture at 1/2 actual size?
set the scale of window "Photo" to -1
set the scale of window "Photo" to half
set the scale of window "Photo" to 1/2
set the scale of window "Photo" to 0.5

If today's date is 2002-10-16, then which one of the following returns a string containing year "2002"?
item 3 of the long date
item 1 of the short date
item 2 of the abbr date
item 2 of the English date

What is (char 3 of item 3 of "Agnes,Bruce,Carol,David")?
r
Carol
Bruce
n

What does comparison ("B" = "b") yield?
true
false
0
1

What does function sin(pi) return?
0
1
0.5
-1

What does function cos(pi) return?
-1
0
0.5
1

What does function tan(pi) return?
0
1
0.5
-1

What does function length(2^4-3) return?
2
5
13
0

What does function round(pi) return?
3
3.14
pi
p

What does function offset(empty,"My name is Fred") return?
0
3
4
15

What does function average(100,200,300,400) return?
250
150
200
300

What does function max(100,200,300,400) return?
400
100
200
300

What does (2+3^3-2) return?
27
5
123
29

What does (10 mod 4) return?
2
4
10
2.5

If you want to position a card button at X = 256 and Y = 64, then which command is appropriate?
set the loc of cd btn 1 to "256,64"
set the pos of cd btn 1 to "256,64"
set the rect of cd btn 1 to "128,32,256,64"
set the width of cd btn 1 to "256"

What does (the number of chars of (3^3-3+3)) return?
2
27
4
1

What does (answer pi) display in a dialogue box?
3.14159265358979323846
3.141592
3.14
pi

Which one of the following choices is not a valid HyperTalk command?
find partial "AT&T" in bg fld 1
find words "AT&T" in bg fld 1
find whole "AT&T" in bg fld 1
find chars "AT&T" in bg fld 1

If you want 0.4793 displayed as 0.48, which one of the following commands should you use?
set the numberFormat to "0.00"
set the numberFormat to "#.##"
set the numberFormat to ".00"
set the numberFormat to ".##"

Which repeat loop is used to detect when the sound of command (speak) is finished?
repeat until (the speech = "done")
repeat until the speech ends
repeat until the speech is finished
repeat until (the speech is over)

What happens if you issue command (lock screen) twice?
the screen is locked twice, so you must issue (unlock screen) twice to unlock the screen
the screen is locked once, so issuing (unlock screen) will unlock the screen
the screen is not locked at all
the second (lock screen) will crash the system

How do you get entire data from a text file?
read from file "Macintosh HD:Addresses" until eof
read from file "Macintosh HD:Addresses" from start to end
read from file "Macintosh HD:Addresses" from start until end
read from file "Macintosh HD:Addresses" for 99999

What is the default for property (pattern)?
12
1
2
3

Which one of the following is equivalent to (get bg fld "E-mail")?
put bg fld "E-mail" into it
put bg fld "E-mail" into the result
put bg fld "E-mail" into the target
put bg fld "E-mail" into target

Which one of the following does not have a correct HyperTalk syntax?
wait until the mouse
wait until the mouse is down
wait until (the mouse = down)
wait until (the mouse = "down")

How many words are there in string "My_telephone_number"?
1
3
19
0

If (theString = "Agnes,Bruce,Carol,David"), then what does (delete char 1 of theString) yield?
gnes,Bruce,Carol,David
,Bruce,Carol,David
Bruce,Carol,David
Agnes,Bruce,Carol,David

If (theString = "My address"), then how many times does (repeat with i = 1 to length(theString)) loop?
10
2
9
11

Which one of the following lines does the equivalent of (put "Hello world")?
put "Hello world" into the message box
put "Hello world" into the menubar
put "Hello world" into the first bg fld
put "Hello world" into the first cd fld

If theName is "HyperCard", then how do you transform theName into "Hyper Card"?
put " " after char 5 of theName
put " " before char 5 of theName
put " " into char 5 of theName
put " " between char 5 and 6 of theName

Which HyperTalk command grays out a background button?
disable bg btn 1
delete bg btn 1
gray bg btn 1
hide bg btn 1

If menu "Help" exists on the menubar, then what does (there is not a menu "Help") yield?
false
no
0
1

Which one of the following commands sets the bold font for bg fld "Popup"?
set the textStyle of bg fld "Popup" to bold,italic
set the font of bg fld "Popup" to bold
set the fontStyle of bg fld "Popup" to bold,italic
set the style of bg fld "Popup" to bold

What does (the number of words of "This is, my pen.") yield?
4
5
14
15

Which one of the following lines does not pause a script for 20 seconds?
pause 20 seconds
wait for 1200
wait for 20 sec
wait 20 seconds

How many decimal places of precision does the HyperTalk floating point division used by command (divide) or operator (/) have?
19
31
63
infinite

How do you specify the font size used by the script editor?
set the scriptTextSize to 10
set the textSize to 10
set the scriptFontSize to 10
set the fontSize to 10

Which property controls whether you can type into the message box while it is hidden?
blindTyping
powerKeys
blindKeys
powerTyping

Which one of the following sequence of coordinates is correct for command (set the rect of bg btn 1 to "X1,Y1,X2,Y2")?
left,top,right,bottom
top,bottom,left,right
top,left,bottom,right
right,left,bottom,top

If property (autoTab) is set to false, then what does it mean?
pressing the return key moves to the next line of the field
pressing the return key moves to the next field
pressing the return key moves to the last line of the field
pressing the return key moves to the first line of the field

If card field 1 is empty, then what does (cd fld 1 = "") yield?
true
false
0
1

If background field 1 is not empty, then what does (bg fld 1 is empty) yield?
false
true
1
0

What does ("&" is not in "AT&T") yield?
false
true
1
0

If (A = B) is true and (C = D) is true, then which one of the following yields true?
(A = B) and (C = D)
not ((A = B) or (C = D))
not (A = B) or not (C = D)
not (A = B) and not (C = D)

If handler (countNumber "Anne","Barry","Cathy","David") is called, then what does function paramCount() return?
4
5
3
2

Which one of the following yields false?
(eleven = 11)
(zero = 0)
(one = 1)
(nine = 9)

Which one of the following yields true?
(4.32 <= 5.86)
(4.32 >> 5.86)
(4.32 >= 5.86)
(4.32 == 5.86)

What does function sum(1,2,-3,4,-5) return?
-1
0
1
-2

Which one of the following lines has a correct syntax?
set the titleWidth of cd btn 1 to "64"
set the titleWidth of cd fld 1 to "64"
set the titleWidth of cd btn 1 to "64,32"
set the titleWidth of cd fld 1 to "64,32"

Which one of the following fonts is a monospace font?
Monaco
Geneva
Chicago
New York

What does issuing (doMenu "Background") twice do, when it is not in Background editing mode?
turns off Background editing mode
turns on Background editing mode
gives an error message
gives a warning message

What does (create menu "Quick") do?
creates menu "Quick" on the menubar
creates both menu "New Menu" and menu item "Quick"
creates menu item "Quick" in menu "Apple"
creates menu item "New Item" in menu "Quick"

Which one of the following commands asks a question with button "Cancel" as default?
answer "Question?" with "Yes" or "No" or "Cancel"
answer "Question?" with "Cancel" or "OK" or "Yes"
answer "Question?" with "Yes" and "No" or "Cancel"
answer "Question?" with "OK" and "Yes" or "Cancel"

In command (ask "Enter your name:"), which one of the following variables contains the text that you typed?
it
result
the result
me

Which one of the following button styles is not affected by property (autoHilite)?
Popup
Transparent
Opaque
Oval

Which one of the following properties is required in order to set property (autoSelect)?
dontWrap
multipleLines
showLines
wideMargins

How do you beep three times in a row?
beep 3
beep thrice
beep beep beep
beep tree

What does (set the centered to false) do?
the shape paint tools draws from the corner
the text in all bg flds is not centered
the text in all cd flds is not centered
the text in both bg flds and cd flds is not centered

Which one of the following functions returns the character position of the word or group clicked in a locked field?
clickChunk()
click()
clickLine()
clickText()

Which one of the following comparisons yields true?
(clickLoc() = clickH() & "," & clickV())
(clickLoc() = clickH() , clickV())
(clickLoc() = clickH() & clickV())
(clickLoc() = clickH() + clickV())

If you want to edit a script of an object when the Command key is down, which statement do you use?
if (the commandKey = "down") then edit script of me
if (commandKeyDown() = true) then edit script of me
if (the commandKeyDown = true) then edit script of me
if (the commands = "down") then edit script of me

How do you calculate the growth of $1 000 at 5 % yearly interest over 10 years?
compound(0.05,10) * 1000
compound(10,0.05) * 1000
compound(5,10) * 1000
compound(10,5) * 1000

How do you compute yesterday's date?
convert (the seconds - (60 * 60 * 24)) to long date
convert (the seconds + (60 * 60 * 24)) to long date
convert ((the seconds - 60 * 60) * 24) to long date
convert ((the seconds + 60 * 60) * 24) to long date

How do you create a new field?
doMenu "New Field","Objects"
doMenu "New Field,Objects"
doMenu "Objects","New Field"
doMenu "Objects,New Field"

If the card size is 512 by 342, then how do you drag from the top right to the bottom left?
drag from "512,0" to "0,342"
drag from "0,0" to "342,512"
drag from "0,342" to "512,0"
drag from "0,342" to "0,512"

Which one of the following commands sets the slowest drag speed of the pointer movement?
set the dragSpeed to 99
set the dragSpeed to 60
set the dragSpeed to "slow"
set the dragSpeed to 0

Which one of the following commands do you use to create a new field in the card layer?
set the editBkgnd to false
set the editBkgnd to true
set the editCard to true
set the editCard to false

Which message is sent to the field with the current selection when the Enter key is pressed?
enterInField
enterKey
returnInField
closeField

What is the correct set of possible choices of property environment?
development, player
card, background
alpha, beta
preliminary, final

Which function returns an expression identifying the starting and ending positions of the text found by command (find)?
foundChunk()
foundLine()
foundField()
foundText()

If there is no cd "Previous" and command (go cd "Previous") is executed, then what happens?
the result = "No such card"
the result = ""
it = empty
it = "No such card"

Which one of the following is equal to the difference between item 4 and item 2 of property (rect)?
the height of cd btn 1
the width of cd btn 1
the length of cd btn 1
the depth of cd btn 1

Which one of the following is equal to the third item of property (rect)?
the right of cd fld 1
the bottom of cd fld 1
the top of cd fld 1
the left of cd fld 1

Which one of the following is equal to the fourth item of property (rect)?
the bottom of cd fld 1
the right of cd fld 1
the top of cd fld 1
the left of cd fld 1

Which one of the following has an illegal syntax?
hide bg window
hide cd window
hide cd picture
hide titlebar

Which one of the following button styles does not display an icon?
Checkbox
Opaque
Tranparent
Standard

Which one of the following has an illegal syntax?
set the itemDelimiter to ""
set the itemDelimiter to ":"
set the itemDelimiter to ";"
set the itemDelimiter to ","

Which one of the following (if...then...else) structure has illegal syntax?
if (A = (B and C) = D) then beep 1 else beep 2
if (A = B) and (C = D) then beep 1 else beep 2
if (A = B) or (C = D) then beep 1 else beep 2
if ((A = B) and (C = D)) then beep 1 else beep 2

Which one of the following returns false?
"16,32" is not a point
"16,32,32,64" is a rect
"Fred" is not a number
34.1 is not an integer

Which one of the following is an illegal command?
reset titlebar
reset paint
reset printing
reset menubar

When command (set the loc of bg btn 1) is executed to change the location of an object, which one of the following properties does not change?
width
rect
topLeft
bottomRight

Which one of the following commands makes the cursor disappear?
set the cursor to "none"
set the cursor to ""
set the cursor to 0
set the cursor to empty

How do you make the locked-up text in a field unlocked?
set the lockText of bg fld 1 to false
set the lock text of bg fld 1 to false
set the cantModify of bg fld 1 to false
set the cant modify of bg fld 1 to false

Which of the following does not mark an object correctly?
mark all cd
mark cd "Directory"
mark cds where (cd fld 1 = "Apple")
mark cds by finding "Orange"

Which of the following properties determines the minimum distance between successive shapes?
the multiSpace
the multiple
the mutipleLines
the multiply

Which one of the following has illegal syntax?
the number of marked cd
the number of windows
the number of cds
the number of bgs

Which one of the following functions returns the value of the specified parameter belonging to the handler?
param()
paramCount()
params()
parameter()

Which pair of commands is used to store the long ID of a card, and then to go back to the card?
push cd, pop cd
push cd, pull cd
pull cd, pop cd
pup cd, pop cd

Which one of the following functions returns a random number between 5 and 35?
random(31) + 4
random(30) + 5
random(30) - 5
random(35)

How do you scroll to the beginning of a scrolling field?
set the scroll of cd fld 1 to 0
set the scroll of cd fld 1 to "begin"
set the scroll of cd fld 1 to "start"
set the scroll of cd fld 1 to "top"

If (put the seconds into theSeconds), then which one of the following calculates the time passed in minutes?
(the seconds - theSeconds) / 60
(the seconds + theSeconds) / 60
(theSeconds - the seconds) * 60
(theSeconds + the seconds) * 60

Which one of the following commands scrolls to the beginning of a scrolling field?
select before text of bg fld 1
select before text bg fld 1
select before line of bg fld 1
select before bg fld 1

How do you deselect the selection in a locked field?
select line 0 of cd fld 1
select char 0 of cd fld 1
select word 0 of cd fld 1
select text 0 of cd fld 1

Which one of the following functions returns the highlighted line specification from a clickable list?
selectedLine()
selectedLoc()
selectedField()
selectedChunk()

Which one of the following properties determines whether a background button's highlighting is the same on all cards?
the sharedHilite
the sharedCard
the sharedBackground
the sharedButton

Which one of the following contains illegal syntax?
sort words of cd fld 1 ascending
sort lines of cd fld 1 ascending
sort lines of cd fld 1 descending
sort items of cd fld 1 ascending