Week 3 Intro to Programming Flashcards

1
Q

Modularization

A

the process of dividing a whole into well-defined parts which can be built and examined separately and which interact in well-defined ways.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Abstraction

A

the ability to ignore details of parts to focus attention on a higher level of a problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a dynamic view in programming?

A

a data asset that’s created based on an SQL query and can contain data from one or more tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is SQL (Structured Query Language) in programming?

A

a command used to communicate with a database to perform operations like retrieving, updating, inserting, or deleting data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Problems can be usefully divided into sub-problems, but how?

A
  • Identify sub-components of objects
  • Implement as independent classes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Primitive Type?

A

They represent simple values that are not objects and typically have a fixed size and limited set of operations. They are also usually immutable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an Object Type?

A

Complex data types that represent instances of classes, encapsulating both data (attributes) and behaviour (methods)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define immutable

A

an object or data structure whose state cannot be modified after it has been created.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the modulo operator % (in Java)

A

An operator represented by ‘’%’’ symbol. It is used to find the remainder of a division operation between two integers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly