Search Header Logo

Computer Grade 10 FTQuiz 1 - Visual Basic 2019 Quiz

Authored by Mr.Arman Lao-ay

Computers

10th Grade

Used 7+ times

Computer Grade 10 FTQuiz 1 - Visual Basic 2019 Quiz
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

30 sec • 1 pt

What is a data type?

A way to store data permanently

Defines what kind of data a variable can store

A method for sorting data

A type of variable that cannot change

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a String data type?

Dim age As Integer = 21

Dim pi As Double = 3.14

Dim name As String = 'Anna'

Dim price As Decimal = 9.99

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must you do before using a variable?

Assign it a value

Declare it

Delete it

Change its data type

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid rule for naming variables?

First character must be a letter or underscore

Cannot be a VB language keyword

Can contain spaces

Must contain only letters, numbers, and underscores

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using 'Const' in Visual Basic?

To declare multiple variables at once

To declare a variable with no data type

To declare a variable that can change

To declare a variable whose value cannot change

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you declare a variable as 'Dim age As Integer', what type of data can it store?

Date and time

Text

Whole numbers

Decimal numbers

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'Dim' keyword do in Visual Basic?

It infers the data type

It declares a variable

It deletes a variable

It assigns a value to a variable

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?