Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Quiz Question 1 options: Question 1 (1 point) A data type can be declared as a structure using the keyword___________ Save Question 2 (3 points)

Quiz

image text in transcribedQuestion 1 options:Question 1 (1 point)

A data type can be declared as a structure using the keyword___________

image text in transcribedSave

Question 2 (3 points)

image text in transcribedQuestion 2 options:

A structure field can be accessed by specifying the______________________

image text in transcribed

, followed by a____________________

image text in transcribed

, followed by the_________________________

image text in transcribedSave

Question 3 (1 point)

image text in transcribed

Passing a structure to a function using pass-by-reference could be overly time-consuming if the structure is complicate or contains arrays.

Question 3 options:

True
False

Save

Question 4 (2 points)

image text in transcribedQuestion 4 options:

A structure is a collection of one or more ______________________

image text in transcribed

, possibly of different types, grouped together under a single ___________________________

image text in transcribed

for convient handling.

Save

Question 5 (2 points)

image text in transcribedQuestion 5 options:image text in transcribed

____________________________________can be used to give a name to some existing type, and this name can then be used to declare variables of that

image text in transcribedSave

Question 6 (1 point)

image text in transcribed

The overhead of passing a structure to a function using pass-by-value can be overcome by instead passing the address of a structure (pass-by-reference).

Question 6 options:

True
False

Save

Question 7 (1 point)

image text in transcribed

A structure can be used as part of the definition of another structure - a structure within a structure, called a nested structure.

Question 7 options:

True
False

Save

Question 8 (1 point)

image text in transcribed

Which statement could be used to access the year field of a dynamically declared date structure variable with the following struct declaration:

typedef struct date{

int month;

int day;

int year } Date;

Question 8 options:

my_date.year

my_date->year

my_date*year

&my_date.year

Save

Question 9 (1 point)

image text in transcribedQuestion 9 options:

A structure may be nested as deeply as you want with the dot (.) operator associating nested access from___________________________

image text in transcribed

to ___________________________

image text in transcribedSave

Question 10 (1 point)

image text in transcribed

Which statement could be used to access the year field of a statically declared date structure variable with the following struct declaration:

typedef struct date{

int month;

int day;

int year } Date;my_date.year

Question 10 options:

my_date.year

my_date->year

my_date*year

(*my_date).year

Save

Question 11 (1 point)

image text in transcribedQuestion 11 options:

The period (.) used to access the specific members of a structure is referred to as a _____________________________________________

image text in transcribedSave

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions