WorksheetsDCIT50
Total questions: 37
Worksheet time: 23mins
It is a computer programming model that organize software design around data, or objects, rather than function and logic.
Objective-Oriented Programming (OOP)
Procedural Programming
it is the process of creating a simplified diagram of a software system and the data elements.
It using text and symbols to represent the data flows.
Class
Object
Data Modeling
Style of programming in which the problem is broken down into a series called
procedure.
Objective-Oriented
Programmin (OOP)
Procedural Programming
Real-World Objects share two charasteristic
Class
Object
Data Encapsulation
It is the process of using same method name by multiple classes and
refines methods for the derive classes.
Data Modeling
Abstraction
Polymorphism
A class group of objects that has mutual methods.
Class
Polymorphism
Object
it binds the code and the data together and keeps them safe from
outside interference.
Abstraction
Class
Data Encapsulation
Give atleast 2 Example of some Objective-Oriented Programming (OOP)
(a)
Give atleast 3 Key of Concepts of OOP
(a)
it refers to the act of representing essential feature without including the background details or explanations.
Abstraction
Class
Object
Give 1 Other Programming languages that pair with OOP
(a)
It is a relatively new programming language
Java
C++
C
Who is the Father of JAVA
(a)
ETYMOLOGY of Java
Coffee
Greatest White
Security
Give 1 Programming Languages designed for OOP
(a)
The first version that release on January 23, 1996
1.0
1
2.0
what year was develop JAVA
1991
1996
1891
Give atleast 1 JAVA is used for?
(a)
Defines the values that a variable can take
Data Modeling
Data type
Object
what is the 8 primitive data types
(a)
Two Categories of Data Type
(a)
It is used for storing characters
Float
Boolean
Char
It is used for variables that holds either true or false.
Boolean
Int
String
WHY USE JAVA?
(a)
We will see only direct assignment means assigning
value to variables at the time of variable declaration.
JAVA Variable Declaration
JAVA Variables
JAVA Variables Initialization
Its minimun value is -128 and maximum values is 127. Its default value is 0.
Byte
Int
Float
IT is a 16-bit signed two’s complement integer.
its value-range lies between -32,768 to 32,767
Double Data Type
Short Data type
Char Data type
is 64 bit in size. int type is not large enough to hold the desired value.
The range of a long is quite large
Float Data type
Double Data Type
Long Data Type
Its value range is unlimited.
It is recommended to use a float (instead of double
Float Data type
Long Data Type
Short Data type
Variable is nothing but the container which is use to hold or store data
JAVA Variable Declaration
ARRAY
JAVA Variables
It can store any value in the range of 4.9e–324 to 1.8e+308.
Double has higher precision than float
Char Data type
Double Data Type
Int Data type
Allows variable to store one character at a time
Char Data type
Double Data Type
Float Data type
Its allows variable to store address.
It is also called as reference type because they refer to memory location where data is stored
Primitve Data type
Non-Primitive Data type
Class
It is use to store the reference address of class object.
Non-Primitive Data types
Class
Primitive Data types
It is collection of similar type of data
Array
Class
Java
It is a 32-bit signed two's complement integer.
Its valuerange lies between - 2,147,483,648 (- 2^31) to 2,147,483,647 (2^31 -1)
Char Data type
Short Data type
Int Data type
All variables must be declared before they can be used
JAVA Variables Initialization
JAVA Variable Declaration
JAVA Variables
