1CP2 6B Using one and two-dimensional structured data types

1CP2 6B Using one and two-dimensional structured data types

Assessment

Interactive Video

Computers

9th - 10th Grade

Easy

Created by

Kenneth Li

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Q1 (Fill in the blank): A data structure is a specialized ______ for organizing and storing data.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q2 (Multiple Choice): Which of the following best describes the char data type?

A string of characters

A single character

A number

A Boolean

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Q3 (Fill in the blank): An array stores ______ data items in a contiguous block of memory.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q4 (True/False): In a zero-indexed array, the first element is accessed with index 1.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q5 (Multiple Choice): What does it mean for an array to be static?

Its size can grow or shrink dynamically

Its size is fixed once declared

It can hold different data types simultaneously

It doesn’t use memory

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Q6 (Fill in the blank): A two-dimensional array can be visualized as a ______ with rows and columns.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q7 (Multiple Choice): Which of the following is NOT true about arrays?

All elements must be the same data type

Arrays always start at index 1

Arrays may be multi-dimensional

Arrays use contiguous memory storage

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?