COSC 1437 Computer science - Chapter 11: Structured Data
COSC 1437 Computer science - Chapter 11: Structured Data Abstract Data Types (ADTs) - correct answer They are data types created by the programmer. ADTs have their own range (or domain) of data and their own sets of operations that may be performed on them. Abstraction - correct answer It is a general model of something. Structure - correct answer C++ allows us to group several variables together into a single item. Two steps to implement a structure - correct answer - Create a structure declaration. - Define variables of the structure. Access structure members - correct answer Use the dot operator (.) to access structure members in a program. Compare structure variables - correct answer - We cannot directly compare 2 structure variables. - We can only compare two individual members.
Written for
- Institution
- COSC - COMPUTER SCIENCE
- Course
- COSC - COMPUTER SCIENCE
Document information
- Uploaded on
- February 3, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- computer science
- structured data
-
computer science chapter 11 structured data
Also available in package deal