Search Header Logo

ITPFL5 Endterm Exercise #4

Authored by Carnit Cordova

Computers

University

Used 1+ times

ITPFL5 Endterm Exercise #4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

The _____ subroutine is called whenever the activity is created.

Sub Process_Globals
Sub Activity_Create
Sub Button1_Click
Sub restart

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

The loc array is an integer array of size _____ likely to store references to card face image names.

10
20
Unpredictable, depends on user clicks.
The code doesn't specify the size.

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

The calcx subroutine checks a _____ flag to prevent further clicks while revealing cards.

match
visible
busy
Timer1

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

A timer named _____ is used to hide cards that don't match after they are revealed.

Timer1
Timer2
There are no timers used for hiding cards.
Sub restart

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

When a card is clicked, the calcx subroutine hides the button using the _____ property based on the button number.

enabled
visible
image
location

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

The game ends when a variable named _____ reaches a value of 10.

clicks
match
busy
The game never ends.

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Images for the card faces are loaded from the application's _____ folder.

External storage
DirAssets
Downloaded online during gameplay.
The code doesn't specify the image source.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?