Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
change the data type of a field and
users of the class do not need to
change any of their code.
Java  Interfaces
An interface is a reference type in Java.
It is similar to class. It is a collection of
abstract methods. A class implements an
interface, t
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
The Properties
Properties is a subclass of Hashtable. It
is used to maintain lists of values in
which the key is a String and the value is
also a String.
The Properties class is used by many
other Java classes. For example, it is the
type
of
object
return
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
public void endOfPeriod(int period);
public void overtimePeriod(int ot);
The Hockey interface has four methods,
but it inherits two from Sports; thus, a
class that implements Hockey needs to
implement all six methods. Similarly, a
class that implements F
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
An interface with no methods in it is
referred to as a tagging interface. There
are two basic design purposes of tagging
interfaces
Creates a common parent As with
the EventListener interface, which is
extended by dozens of other interfaces in
the Java A
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Encapsulation is
one
of
the
four
fundamental OOP concepts. The other
three are inheritance, polymorphism, and
abstraction.
Encapsulation in Java is a mechanism of
wrapping the data (variables) and code
acting on the data (methods) together as
a single uni
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
You can think of a stack literally as a
vertical stack of objects; when you add a
new element, it gets stacked on top of
the others.
When you pull an element off the stack,
it comes off the top. In other words, the
last element you added to the stack is t
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
For more details about this class,
check The BitSet.
The Vector
The Vector class is similar to a
traditional Java array, except that it can
grow as necessary to accommodate new
elements.
Like an array, elements of a Vector
object can be accessed via an in
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Say <pathtwo>\classes is the class path,
and
the
package
name
is
com.apple.computers, then the compiler
and JVM will look for .class files in
<pathtwo>\classes\com\apple\computers.
A class path may include several paths.
Multiple paths should be separate
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Unless the class that implements the
interface is abstract, all the methods of
the interface need to be defined in the
class.
An interface is similar to a class in the
following ways
An interface can contain any number
of methods.
An interface is writt
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
enumerations, and annotation types that
you want to include in the package.
The package statement should be the
first line in the source file. There can be
only one package statement in each
source file, and it applies to all types in
the file.
If a packa
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Programmers can define their own
packages
to
bundle
group
of
classes/interfaces, etc. It is a good
practice
to
implemented
group
by
related
you
so
classes
that
a
programmer can easily determine that
the classes, interfaces, enumerations, and
annotations a
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter 04.104.4 Study Guide Solutions
Name Aqui_
Date _ Per _
Convert the angle from degrees to radians or from radians to degrees. Determine the quadrant in which the angle lies. (calculator)
1.
a
b
c
3.
a
b
c
d
e
13
4
180
585, Q III
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter 04.504.8 Review Sheet
Name _
Date _ Per _
Identify the amplitude and period from the graph. Write a sine function for the graph.
1.)
2.)
amplitude 2
f x d a sin bx c
amplitude 3
period 2
f x 0 3 sin 1x 0
f x 3sin x
a amplitude
b fo
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _
Date _ Per _
PreCalculus Chapter 09.109.3 Sequences and Series Study Guide
Write the first four terms a1 a4 of the sequence. No calculator.
1. an 8
2. a1 6, an1 7 an
4. an 3n 5
5. an
3. a1 3, an 1
n!
n3
6. an
1
an
4
n 1!
n!
Write the followin
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _
Date _ Per _
Precalculus Chapter 12.112.2 Limits Study Guide
Use the given graph of f x to evaluate the limit. (calculator)
1. a ) lim f x
x 3
b) lim f x
x 2
c ) lim f x
x 0
d ) lim f x
x 0
e) lim f x
x 0
f ) lim f x
x2
Use the given informa
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _
Date _ Per _
Precalculus Chapter 10 Parametric and Polar Study Guide
Fill in the table of values and graph the equation t 0. Include orientation.
Find the domain and range given t 0.
t 0 1 2 3
1.
x
y t t 3
y
x t t 2
t
2.
x
y t 2t 1
y
x t t 2 3
0
1
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _
Date _ Per _
Precalculus Ch. 12.312.4 Limits and Derivatives Study Guide (No Calculator)
Note: Notation matters! Be sure to follow the directions.
Find the derivative of the function by using the limit process (no power rule).
2. g x
1. f x 3 x 2
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter 07.107.3 Systems and Piecewise Study Guide Solutions
Name _Aqui_
Date _ Per _
Solve the system of equations by the method of your choice (no calculator). We are grading the
method not the solution.
1.
3 x 4 y 1
x 5 y 13 3
2.
3 x 4 y 1
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _
Date _ Per _
PreCalculus Chapter 03 Log Review Sheet
(a) Find and label all equations of all asymptotes.
(b) Make a table of at least 3 values and graph the function.
x
1.)
f x 3
4.)
j x log 2 x
x2
1
2.) g x 1
2
3.) h x 4 x 3
5.) k x 2 log 3 x 1
6.
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter P Study Guide Solutions
Name _Aqui_
Date _ Per _
Determine the quadrant(s) in which (x,y) is located.
1.
3, 5
2.
Quadrant III
x 0 and y 0
Quadrant IV
3.
x3
Quadrants I , II , III , or IV
Find the distance and midpoint of the following
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter 02 Study Guide Solutions
Name Aqui_
Date _ Per _
Write an equation of a quadratic function in Vertex Form from the given information.
g x x 2 3x 2
f x x 6x 5
2
2
9
3
2.) g x x 3x 2
4
2
f x x 6x 9 5 9
2
2
1.)
f x x 3 14
2
2
3 1
g x x
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter 03 Logs Study Guide Solutions
(a) Find and label all equations of all asymptotes.
(b) Make a table of at least 3 values and graph the function.
f x 3x 2 0
1.) Horizontal Asymptote : y 0
x
y
1
9
2 1
0
3
3
x
1
g x 1
2
2.) Horizontal Asym
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _Aqui_
Date _ Per _
PreCalculus Chapter 01 Study Guide
Evaluate the function at each specified value and simplify (notation matters).
g x x2 3
f x 2x 3
a 2 g 1 4 2 1
a f 4 2 4 3
2.) b g x x 3
2
b f x 2 x 3
x2 3
2 x 3
c g x 2 x 2
c f x 1 2 x 1 3
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Name _
Date _ Per _
PreCalculus Chapter 04.104.4 Review Sheet
Convert the angle from degrees to radians or from radians to degrees. Determine the quadrant in
which the angle lies.
1.
13
4
5
3
13
6
a
b
c
2.
a
b
c
2
3
3.
2
7
4
a
b
c
d
e
180
30
135
270
225
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
PreCalculus Chapter P Study Guide
Name _
Date _ Per _
Determine the quadrant(s) in which (x,y) is located.
1. 3, 5
2. x 0 and y 0
3. x 3
Find the distance and midpoint of the following points.
1
1
4.) 3, 7 , 1, 5
5.) ,3 , 7,
4
2
Write an equation (fo
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Chapter 2 Bits, Data Types, and Operations
2.1 Bits and Data Types
o Inside computers there are millions of tiny, fast devices that control the movement of
the electrons
React to presence or absence of voltages in electronic circuits
You can detect volt
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Chapter 1 Welcome Aboard
1.1 What We will try to do
o Computers are deterministic systems (every action has the same response
A huge systematically interconnected collection of very simple parts
1.2 How We Will Get There
o There is no difference between
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Introduction to Computing
There are numbers
o Processing the numbers
Processor (carrying out the processing)memory (store the numbers)
Input output will also store the numbers (helps man to interact with the
system), can be considered as extended memor
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Chapter 3
3.1 The Transistor
o Most microprocessors are built out of MOS (it stands for metaloxide semiconductors)
transistors
Theyre electrical properties are beyond our scope so if they start misbehaving,
we are at their mercy
There are two types of
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
If by Rudyard Kipling
Brings up characteristics of virtue that a person shall hold which contrasts with what the world
will give back to you. No matter what terrible transgressions occur, be the better person and you
shall be grown up.
Tommy by Rudyard Ki
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Marx and Lenin
Karl Marx
o Initial stint as a newspaper reporter in Germany
o Spend a huge amount of time in the British library
He himself did little to put these ideas into practice
o Two Images
Manifesthow we think of ourselves in ordinary life
Sci
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
Cell Phone Circuit Architecture
Cell phones include amplifier circuits, oscillators, frequency up and down converters, and circuits
with other function types.
Factors that may affect the compatibility between the various circuits and connection are also
i
Frontier Education Foundation Degree College for Girls, Nahagi, Peshawar
control system
ENGINEERIN 238

Fall 2016
MAN 283.16: LEADING PEOPLE & ORGANIZATIONS
SPRING 2011
Professor
Dr. Mary B. Dunn
Office
GSB 4.126D
Office Hours
Tuesday 1:002:30pm and by appointment
Office hours may vary periodically, check Blackboard for announcements
Phone
office: (512) 4711653, ce