Question: Question 1 A data structure (aka aggregate data type) is a data type for which its values can be decomposed into individual data elements, each

Question 1

A data structure (aka aggregate data type) is a data type for which its values can be decomposed into individual data elements, each of which is either atomic or another data structure and it provides an access scheme for locating individual data elements within the data structure

True
False

Question 2

An atomic variable (aka scalar variable) is a variable whose value cannot be further subdivided into a built-in data type.

True
False

Question 3

In C programming, an array is a data structure used to store and process a set of values which are all of the same data type that forms a logical group.

True
False

Question 4

In C programming, each array item is called an element or component of the array.

True
False

Question 5

Select the correct C programming syntax to declare a float array priceList[] to store exactly 20 prices.

a.

priceList[20]

b.

float priceList[20]

c.

float priceList[20];

d.

float array priceList[20];

e.

none of these

Question 6

Select the correct syntax in C programming to access the 5th element of the integer array myList[25].

a.

myList[25]

b.

myList[0]

c.

myList[5]

d.

myList[4]

e.

none of these

Question 7

In C programming, the value of the index being used is not automatically checked to be in range.

True
False

Question 8

Select the correct C programming syntax for declaring and initializing an array of integers someList[] to store exactly 5 integers.

a.

int someList[5] = 10, 20, 30, 40, 50;

b.

int someList[5] = {10, 20, 30, 40, 50};

c.

int someList[5] = (10, 20, 30, 40, 50);

d.

int someList[10, 20, 30, 40, 50];

e.

all of the above

f.

none of the above

Question 9

A one-dimensional array is also called a single-dimensional array as well as a single-subscript array.

True
False

Question 10

In C programming, the starting index value for all arrays is zero.

True
False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!