Search Header Logo

AS Data Types and Programming Constructs

Authored by Paul Revell

Computers

10th - 12th Grade

Used 22+ times

AS Data Types and Programming Constructs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is most suitable for storing True/False?

Integer

Real

Float

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is most suitable for storing whole numbers?

Integer

Real

Boolean

Char

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match this definition to the correct type: A number with a fractional part

Real

Integer

Irrational

Natural

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would you store using the Char data type?

A cartoon character such as Daffy Duck

A string such as PIG

An integer such as 17

A single character such as T

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose all that could be stored as a string

PIG

p!g

123.4

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In VB.net a structure is needed to...

Declare the names and types of data for records

Enclose a loop or selection

Create a new sub-routine

Declare an array

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Pigs = {"porky", "scratchy", "grunter"}

Choose all that are true...

Pigs(1) = "scratchy"

Pigs.length = 3

Pigs(Pigs.length - 1) = "grunter"

Pigs(0) gives "Error: Out of bounds"

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?