Repository navigation
Expand file tree
/
Copy pathunit4.html
More file actions
214 lines (174 loc) · 6.54 KB
/
Copy pathunit4.html
File metadata and controls
214 lines (174 loc) · 6.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>eduPLEX: AP Computer Science Unit 4</title>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Lato:700%7CMontserrat:400,600" rel="stylesheet">
<!-- Bootstrap -->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"/>
<!-- Font Awesome Icon -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css"/>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Header -->
<header id="header" class="transparent-nav">
<div class="container">
<div class="navbar-header">
<!-- Logo -->
<div class="navbar-brand">
<a class="logo" href="index.html">
<img src="./img/logo-alt.png" alt="logo">
</a>
</div>
<!-- /Logo -->
<!-- Mobile toggle -->
<button class="navbar-toggle">
<span></span>
</button>
<!-- /Mobile toggle -->
</div>
<!-- Navigation -->
<nav id="nav">
<ul class="main-menu nav navbar-nav navbar-right">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#courses">Learn</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
<!-- /Navigation -->
</div>
</header>
<!-- /Header -->
<!-- Hero-area -->
<div class="hero-area">
<!-- Backgound Image -->
<div class="bg-image bg-parallax overlay" style="background-image:url(./img/page-background.jpg)"></div>
<!-- /Backgound Image -->
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center">
<ul class="hero-area-tree">
<li><a href="index.html#courses">Learn</a></li>
<li>Unit 4</li>
</ul>
<h1 class="white-text">Object-Oriented Concepts</h1>
</div>
</div>
</div>
</div>
<!-- /Hero-area -->
<!-- Blog -->
<div id="blog" class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- main blog -->
<div id="main" class="col-md-9">
<h2>
Building to an Object-Oriented Approach
</h2>
<bodytext>
This unit explores object-oriented programming, one of the most commonly used methodologies of programming. We'll start off by talking about variables and methods, before expanding to classes and objects, and then finally arriving at an object-oriented approach.
</bodytext>
<h3>
Methods: A Conceptual Look
</h3>
<bodytext>
Variables store individual pieces of information in our programs. Methods are chunks of code that accomplish a specific task or procedure. This video explores these two concepts in detail.
</bodytext>
<br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/EQ663ZifEGc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<br>
<bodytext>
What if we had a group of variables that all described the same thing? When you're buying a car, for example, you might have a bunch of variables to store things like make, model, year, color, price, and so on. Is there any way for us to keep those related variables together? (Spoiler alert: Yes, and that's with classes!)
</bodytext>
<br>
<h3>
Classes and Objects: A Conceptual Look
</h3>
<bodytext>
This video explores classes and objects, which make up the foundation of object-oriented programming.
</bodytext>
<br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/x7RZgoxWg-0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<br>
<bodytext>
Now that we have an understanding of classes and objects, we'll explore how objects can interact with one another and begin our exploration of object-oriented programming.
</bodytext>
<div align="right">
<a class="main-button icon-button" href="about.html">Future Units</a>
</div>
</div>
<!-- /main blog -->
</div>
<!-- row -->
</div>
<!-- container -->
</div>
<!-- /Blog -->
<!-- Footer -->
<footer id="footer" class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- footer logo -->
<div class="col-md-6">
<div class="footer-logo">
<a class="logo" href="index.html">
<img src="./img/logo.png" alt="logo">
</a>
</div>
</div>
<!-- footer logo -->
<!-- footer nav -->
<div class="col-md-6">
<ul class="footer-nav">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#courses">Learn</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
<!-- /footer nav -->
</div>
<!-- /row -->
<!-- row -->
<div id="bottom-footer" class="row">
<!-- social -->
<div class="col-md-4 col-md-push-8"></div>
<!-- /social -->
<!-- copyright -->
<div class="col-md-8 col-md-pull-4">
<div class="footer-copyright">
<span>© Copyright 2018. All Rights Reserved. | This template is made with <a href="https://colorlib.com">Colorlib</a></span>
</div>
</div>
<!-- /copyright -->
</div>
<!-- row -->
</div>
<!-- /container -->
</footer>
<!-- /Footer -->
<!-- preloader -->
<div id='preloader'><div class='preloader'></div></div>
<!-- /preloader -->
<!-- jQuery Plugins -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>