Intro to Programming Flashcards

1
Q

What are the four major levels of programming for all web languages?

A

Procedural, Object-Oriented Programming (OOP), MVC, ORM

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

What is procedural programming?

A

Runs code from top to bottom

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

What is object oriented programming?

A

Re-create objects or blocks of code with 1 command, reducing code and increasing efficiency.

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

What is MVC?

A

Object Oriented with more structure. we have certain files or blocks of code that are dedicated to a certain job.
Models - files or blocks of code that talk to the database
Views - Files or blocks of code that load as templates, usually HTML files
Controllers - Files or blocks of code that direct the server to get information from models or load views

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

What is ORM?

A

O.R.M. is a way of structuring our models, and more specifically the relations between models in a way that we can use the O.R.M. commands to query the database more efficiently. With a few words, we can retrieve or add data to a database that would normally take 1-2 lines of SQL statements.

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