Week 3 Intro to Programming Flashcards
Modularization
the process of dividing a whole into well-defined parts which can be built and examined separately and which interact in well-defined ways.
Abstraction
the ability to ignore details of parts to focus attention on a higher level of a problem.
What is a dynamic view in programming?
a data asset that’s created based on an SQL query and can contain data from one or more tables
What is SQL (Structured Query Language) in programming?
a command used to communicate with a database to perform operations like retrieving, updating, inserting, or deleting data
Problems can be usefully divided into sub-problems, but how?
- Identify sub-components of objects
- Implement as independent classes
What is a Primitive Type?
They represent simple values that are not objects and typically have a fixed size and limited set of operations. They are also usually immutable
What is an Object Type?
Complex data types that represent instances of classes, encapsulating both data (attributes) and behaviour (methods)
Define immutable
an object or data structure whose state cannot be modified after it has been created.
What is the modulo operator % (in Java)
An operator represented by ‘’%’’ symbol. It is used to find the remainder of a division operation between two integers.