Which of the following application programmes uses HyperTalk as its scripting language?
HyperCard
SuperCard
Director
RealBasic

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

What is the definition of (the userLevel = 5)?
scripting
authoring
browsing
typing

What is the user level of HyperCard Player?
4
1
2
3

How many user levels does property (userLevel) support?
5
3
4
6

Which string defines comments in a HyperTalk script?
lines beginning with --
lines beginning with !!
lines beginning with ##
lines beginning with //

Which key combination aborts the execution of a script?
Command-period
Option-period
Control-period
Shift-period

When you click a button, a locked field or a card, which message is sent first?
mouseDown
mouseUp
mouseEnter
mouseLeave

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

How do you make the menubar invisible?
hide menubar
undisplay menubar
delete menubar
erase menubar

How do you make the titlebar invisible?
hide titlebar
set the titlebar to false
set the visible of titlebar to false
set the title bar to false

Which one of the following is not an object in HyperTalk?
picture
cd
btn
fld

Which one of the following is not a synonym for "card field"?
card fild
card fld
cd fld
cd field

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

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

Which one of the following is an illegal command?
print this stack
print this cd
print bg fld 1
print cd fld 1

What is the default note in command (play)?
D4
C4
B4
A4

How do you play a digitised sound of do-re-mi?
play "flute" "C4 D4 E4"
play "harpsichord" do-re-mi
play "harpsichord" "do re mi"
play "boing" "A1 B2 C3"

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

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

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

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

Which one of the following commands has a wrong syntax?
put the international name of this cd into theName
put the English name of this cd into theName
put the short name of this cd into theName
put the long name of this cd into theName

Which one of the following commands correctly sets the icon of an object?
set the icon of bg btn "Icon" to "Bill"
set the icon of cd fld "Icon" to "Bill"
set the icon of cd "Icon" to "Bill"
set the icon of stack "Icon" to "Bill"

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

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

How do you display a picture at 2 times actual size?
set the scale of window "Picture" to 1
set the scale of window "Picture" to twice
set the scale of window "Picture" to 2
set the scale of window "Picture" to 2.0

If it is Wednesday today, then which of the following function returns a string containing "Wed"?
the abbr date
the long date
the short date
date()

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

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

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

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

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

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

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

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

What does function average(10,20,30,40) return?
25
15
20
30

What does function min(10,20,30,40) return?
10
20
30
40

What does (3^3-2) return?
25
3
4
7

What does (4 mod 4) return?
0
2
4
16

Which of the following choices is not a valid HyperTalk command?
set the pos of cd btn 1 to "252,64"
set the rect of cd btn 1 to "128,32,252,64"
set the width of cd btn 1 to "252"
set the loc of cd btn 1 to "252,64"

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

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

Which one of the following choices is not a valid HyperTalk command?
find partial "Bell" in cd fld 1
find words "Bell" in cd fld 1
find whole "Bell" in cd fld 1
find chars "Bell" in cd fld 1

If (set the numberFormat to "0.00") is issued, then how is 0.4793 displayed?
0.48
0.47
.48
.47

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

Which command is equivalent to command (lock screen)?
set the lockScreen to true
set the lock screen to true
set the lockScreen to false
set the lock screen to false

Which set of commands do you use to get entire data from a text file?
open file, read from file, close file
open file, read file, close file
open file, read, close file
open, read from file, close

What is the default for property (polySides)?
4
3
5
6

Which one of the following is equivalent to (get cd fld "Phone")?
put cd fld "Phone" into it
put cd fld "Phone" into the result
put cd fld "Phone" into the target
put cd fld "Phone" into target

Which one of the following does not have a correct HyperTalk syntax?
wait until theMouseClick is true
wait until (the mouseClick = true)
wait until the mouseClick is true
wait until the mouseClick

How many words are there in string "My telephone number"?
3
1
19
0

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

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

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

If (theName = "Caro lyne"), then how do you transform theName into "Carolyne"?
delete char 5 of theName
delete space of theName
remove space of theName
truncate theName

Which HyperTalk command grays out a card button?
disable cd btn 1
delete cd btn 1
gray cd btn 1
hide cd btn 1

If the Apple menu exists on the menubar, then what does (there is a menu "Apple") yield?
true
yes
0
1

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

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

Which one of the following lines pauses a script for 20 seconds?
wait 20 seconds
pause 20 seconds
pause for 20 seconds
wait for 2000 ticks

Which one of the following lines has an illegal HyperTalk syntax?
divide 50 by 3
50/3
50.0/3.0
50*(1/3)

How do you specify the font used by the script editor?
set the scriptTextFont to "Courier"
set the textFont to "Courier"
set the scriptStyle to "Courier"
set the fontStyle to "Courier"

Which property determines whether you can use keyboard shortcuts when painting?
powerKeys
blindTyping
blindKeys
powerTyping

Which one of the following sequence of coordinates is correct for command (set the rect of cd fld 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 true, then what does it mean?
pressing the return key moves to the next field
pressing the return key moves to the next line of the 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 background field 1 is not empty, then what does (bg fld 1 = "") yield?
false
true
1
0

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

What does ("Bell" contains "el") yield?
true
false
0
1

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

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

Which one of the following yields false?
(eleven = 11)
(one = 1)
(two = 2)
(three = 3)

Which one of the following yields true?
(4 <= 5)
(4 >> 5)
(4 >= 5)
(4 == 5)

What does function sum(1,2,3,4) return?
10
11
9
2.5

Which object uses property (titleWidth)?
Popup button
Default button
Standard button
Locked field

Which one of the following fonts is a monospace font?
Courier
Times
Helvetica
Symbol

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

What does (reset menubar) do?
restores standard menus and menu items
deletes all menus except menu "File" and menu "Edit"
deletes all menus except menu "Apple" and menu "File"
deletes menu "Objects" and menu "Help"

Which one of the following commands asks a question with buttons "OK" and "NG"?
answer "Question?" with "OK" or "NG"
answer "Question?" with "OK" and "NG"
answer "Question?" with "OK" & "NG"
answer "Question?" with ("OK" & "NG")

How do you show a default reply in command (ask)?
ask "Enter your name:" with "Me"
ask "Enter your name:" with Me
ask "Enter your name:" (default "Me")
ask "Enter your name:" (default: Me)

Which one of the following button styles is affected by property (autoHilite)?
Transparent
Popup
Check Box
Radio Button

Which one of the following set of properties is required in order to make a clickable list field?
lockText, autoSelect
lockText, dontWrap
autoSelect, showLines
dontWrap, showLines

How do you beep two times in a row?
beep 2
beep twice
beep beep
beep too

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

Which one of the following functions returns the descriptor of the line clicked in a locked field?
clickLine()
clickChunk()
click()
clickText()

Which one of the following statements is true?
(clickV() is item 2 of clickLoc())
(clickH() is item 2 of clickLoc())
(clickH() is mouseH())
(clickV() is mouseV())

If you want to edit a script of an object when the Option key is down, which statement do you use?
if (the optionKey = "down") then edit script of me
if (optionKeyDown() = true) then edit script of me
if (the optionKeyDown = true) then edit script of me
if (the option key = "down") then edit script of me

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

How do you compute tomorrow'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 button?
doMenu "New Button","Objects"
doMenu "New Button,Objects"
doMenu "Objects","New Button"
doMenu "Objects,New Button"

If the card size is 512 by 342, then how do you drag from the top left to the bottom right?
drag from "0,0" to "512,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 fastest drag speed of the pointer movement?
set the dragSpeed to 0
set the dragSpeed to 60
set the dragSpeed to "fast"
set the dragSpeed to 99

Which one of the following commands do you use to create a new button in the background layer?
set the editBkgnd to true
set the editBkgnd to false
set the editBg to true
set the editBg to false

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

What is the correct set of possible choices of property environment?
development, player
research, development
internal, external
indoor, outdoor

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

If there is a cd "Next" and command (go cd "Next") is executed, then what happens?
the result = ""
the result = not empty
the result = "none"
the result = "No such card"

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

Which one of the following is equal to the first item of property (rect)?
the left of bg btn 1
the top of bg btn 1
the right of bg btn 1
the bottom of bg btn 1

Which one of the following is equal to the second item of property (rect)?
the top of bg btn 1
the left of bg btn 1
the right of bg btn 1
the bottom of bg btn 1

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

Which one of the following button styles displays an icon?
Opaque
Checkbox
Radio Button
Popup

What is the default in property (itemDelimiter)?
comma
colon
empty
space

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

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

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

When command (set the loc of cd fld 1) is executed to change the location of an object, which one of the following properties does not change?
height
top
left
right

Which one of the following commands makes the cursor a beach ball?
set the cursor to "busy"
set the cursor to "arrow"
set the cursor to "cross"
set the cursor to "plus"

How do you make the text in a field locked up?
set the lockText of cd fld 1 to true
set the lock text of cd fld 1 to true
set the cantModify of cd fld 1 to true
set the cant modify of cd fld 1 to true

Which one of the following marks an object correctly?
mark this cd
mark cd fld 1
mark bg fld 1
mark cd btn 1

Which one of the following properties determines whether the line and shape tools produce multiple layered images?
the multiple
the mutipleLines
the multiply
the multiSpace

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

Which one of the following functions returns the number of parameters passed to the handler?
paramCount()
params()
param()
parameter()

Which one of the following commands is used to go back to a previously stored card location using (push cd)?
pop cd
pull cd
pup cd
pick cd

Which one of the following functions returns a random number between 1 and 6?
any item of "1,2,3,4,5,6"
random(1,6)
the random from 1 to 6
the random between 1 and 6

Which of the following objects can be scrolled using property (scroll)?
bg fld
bg btn
cd btn
stack

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

Which one of the following has a correct syntax?
select after text of bg fld 1
select after text bg fld 1
select after line of bg fld 1
select after bg fld 1

How do you select the line that you last clicked on?
select the clickLine
select the clickedLine
select the clickedText
select the clickText

Which one of the following functions returns the selected choice specification from a popup button?
selectedLine()
selectedLoc()
selectedButton()
selectedField()

Which one of the following properties determines whether a background field displays the same text on every card?
the sharedText
the sharedHilite
the sharedCard
the sharedField

Which one of the following contains legal syntax?
sort lines of cd fld 1
sort words of cd fld 1
sort chars of cd fld 1
sort paras of cd fld 1