Search Header Logo
CIT1008 - Week 13 (Revision Week)

CIT1008 - Week 13 (Revision Week)

Assessment

Presentation

Computers

University

Practice Problem

Hard

Created by

Yasmin Basiran

Used 1+ times

FREE Resource

14 Slides • 8 Questions

1

media

2

media

3

media

4

media

5

media

6

media

7

media

8

media

9

media

10

media

11

media

12

media

13

Multiple Choice

Which event runs when a button is clicked?

1
click
2
select
3
press
4
tap

14

Multiple Choice

Which property changes the text inside a Label?

1
Content
2
LabelText
3
Text
4
Display

15

Multiple Choice

Which Select Case block is correct?

1

Select

Case x = 1

2

Switch x

3

Select Case x

4

Case Select x

16

Multiple Choice

Which VB GUI command displays a message box?

1
DisplayDialog
2
MsgBox
3
AlertBox
4
ShowMessage

17

Multiple Choice

Which VB statement checks if num is NOT equal to 10?

1
If num <> 10 Then
2
If num <= 10 Then
3
If num > 10 Then
4
If num = 10 Then

18

Multiple Choice

What does this code do?

If rbMale.Checked = True Then

1
It verifies if the 'rbMale' button is active.
2
It checks if the 'rbMale' radio button is selected.
3
It determines the color of the 'rbMale' button.
4
It counts the number of radio buttons on the form.

19

Multiple Choice

What is wrong here?

If txtName = "" Then

1
The variable txtName is not defined properly.
2
The If statement should use a different comparison operator.
3
The code is incomplete; it needs an action for the If statement.
4
The code is missing a closing statement for the If condition.

20

Multiple Choice

How do you hide a button using the code below?

btnSubmit. _______ = False

1
btnSubmit.Enabled = False
2
btnSubmit.Display = False
3
btnSubmit.Hide = True
4
btnSubmit.Visible = False

21

media

22

media
media

Show answer

Auto Play

Slide 1 / 22

SLIDE