wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SCMA 175

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

What is not a characteristic of Visual Basic for Application?

a)

The macro programming.

b)

A Microsoft programming language.

c)

The way to write a function in Excel.

d)

Microsoft programming environment.

2.

  What is not an accepted variable naming convention?

a)

Thai-Taxrate

b)

UserName

c)

Exit_Loop

d)

My_Sub

3.

Why macro is used?

a)

To enable worksheet

b)

To automate repetitive tasks

c)

To link different formula on a worksheet

d)

To show programming code

4.

What data type can hold any type of data?

a)

Object

b)

Variant

c)

String

d)

Boolean

5.

Which extension is used to save on Excel workbook including macro?

a)

.xlsx

b)

.html    

c)

.xlsm

d)

.vba

6.

Which part of VBA window, refers to area where code is written for user defined function?

a)

Module

b)

Sheet1(code)    

c)

Function

d)

ThisWorkbook

7.

Which data type in VBA has only 2 values?

a)

Byte

b)

Double

c)

Boolean

d)

Long

8.

What is the difference between Subroutine and Function?

a)

Subroutine can write in Module and Sheets

b)

The comments can put only in Subroutine

c)

Function can call subroutine

d)

Function can return values

9.

What is the shortcut to return multi-value function in Windows OS?

a)

Ctrl+Shift+Enter

b)

Ctrl+Alt+Enter

c)

Alt+Shift+Enter

d)

Enter

10.

Which operator is used to return the remainder of a division?

a)

/

b)

\

c)

Mod

d)

&

11.

What is a structure for decision involving three or more options?

a)

Switch

b)

Select Case

c)

Do-While loop

d)

Function

12.

Which function in VBA is used to formats a number?

a)

Format

b)

InputBox

c)

MsgBox

d)

End Sub