Search Header Logo

User-Defined Data Types

Authored by Andrew Duckworth

Computers

12th Grade

Used 3+ times

User-Defined Data Types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

43 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are composite​ data types?

Class

Record

Pointer

Enumerated

Set

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a data type that can be defined without referencing another data type?

Composite

Non-composite

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is being defined here.

TYPE Tmonth= (January, February, March, April, May, June, July, August, September, October, November, December)

Set

Pointer

Enumerated

Class

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a correct definition for an enumerated data type?

TYPE Tweekday= ("Monday", Tuesday", "Wednesday, "Thursday", "Friday")

TYPE Tweekday= (Monday, Tuesday,Wednesday, Thursday,Friday)

TYPE Tweekday= [Monday, Tuesday,Wednesday, Thursday,Friday]

TYPE Tweekday= ["Monday", Tuesday", "Wednesday, "Thursday", "Friday"]

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The names of enumerated data types usually start with which letter or character?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a pointer type point to?

A location in a string

A location in a 1D array

A location in memory

A a location in a 2D array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct definition of a pointer data type to declare months of the year?

TYPE ^Tmonthpointer =Tmonth

DECLARE monthPointer : TmonthPointer

TYPE^monthPointer

DECLARE ^monthPointer : TmonthPointer

TYPE^monthPointer

DECLARE monthPointer : TmonthPointer

TYPE Tmonthpointer =^Tmonth

DECLARE monthPointer : TmonthPointer

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?