stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
OOP Part 2 Flashcards | StudBud
Explore
/
OOP Part 2
OOP Part 2
18 terms
ยท
StudBud Administration
ยท
28 plays
Imported from external platform
Flashcards
18 cards
F
Practice quiz
P
Host live
L
Questions
18
Answers
1
What's
FALSE
from the statement below
@view holds the class of View class
View instance is dependently injected into controller
This is controller's contructor method
@repository hold the instance of Repository class
2
id
for a table is
ALWAYS
unique
False
True
3
We always need to start with
router
for our project
True
False
4
View
is a dumb class, because it has
no behavior
False
True
5
Controller's instance method never expect any argument(s)
True
False
6
Statement in
bold
is correct
False
True
7
Router
and
Repository
will not exist in a real web development project
False
True
8
Statement in
bold
is incorrect
False
True
9
What does Repository class represents in MVC structure?
Interface layer
Decorator layer
Operator layer
Data layer
10
Controller
depends on this classes,
except?
Controller
Router
View
Model
11
This is also called?
injection
colonization
instantiation
serialization
12
View
and
Controller
is also grouped as ...
User Brick
Data Brick
Action Brick
None of the above
13
Model
and
Repository
is also grouped as ...
None of the above
Action Brick
User Brick
Data Brick
14
Why do we prefers our initialize
parameters
as a hash now?
It's cool ๐
It allows more flexible states / instance variables
It's less strict when I missed an argument
It's none of the above
15
Statement in
bold
is correct
True
False
16
Authentication is checking if you're allowed to do something in the application
False
True
17
What does MVC stands for?
Model View Code
Minimum View Controller
Minimum Viable Code
Model View Controller
18
Controller's method represents user stories of our app
False
True