You are on page 1of 5

Name: EDWIN D. BAGOS JR.

Date:
Course, Year &Section: BSIT 1-E Rating:
Contact Number: 09755276308 Subject: computer Programming 1-JAVA

TASK 1
1. What is Java programming and how Java differ from other programming languages?

 Java programming is an object oriented programming language. They are many


differences in other languages. Code in C, C# is first translated into specific type native
machine. The Java compiler instead turns code into something called byte code, which is
then interpreted by software called java runtime environment (JRE) or JVM.
2. Explain the importance of JAJA Architecture.
 JAVA architecture combine the process of compilation and interpretation. It is important
to explain the various processes involved whilst formulating a Java program.

3. What is the role of Java Virtual Machine (JVM) in executing Java Program?
 JVM interprets the byte code into machine code which is executed in the machine in
which the Java programs runs.
Name: EDWIN D. BAGOS JR. Date:
Course, Year &Section: BSIT 1-E Rating:
Contact Number: 09755276308 Subject: computer Programming 1-JAVA

Task 2
1). This includes an instance of a class
 Instance variable

2).It is a behaviour where logics are written, data is manipulated, and all actions are executed.

 object

3). This is one of the characteristics of JAVA, which means OMSC and OMSC have different
meaning.

 Object oriented

4). This a considered as a template/ blueprint that describes the behaviour/ state that the object
of its type supports.

 class

Provide an example of the following:

1). Class name: Dog

2.) Java identifier: println

3.) keyword: char a= ’A’;

4.) Method: public static void main ( String [] args)

5.) Statement: System.out.println (‘’hello word’’)


Name: EDWIN D. BAGOS JR. Date:
Course, Year &Section: BSIT 1-E Rating:
Contact Number: 09755276308 Subject: computer Programming 1-JAVA

TASK 3:

Create a program using the Java programming language to displays your profile. Write your answer at a
separate bond paper.
Name: EDWIN D. BAGOS JR. Date:
Course, Year &Section: BSIT 1-E Rating:
Contact Number: 09755276308 Subject: computer Programming 1-JAVA

TASK 4

Direction: Analyse the given questions below and provide the correct answer on the space provided.
Write your answer on the space given allotted below.

1. What are variables called “variable”?(3pts)


 Because variable is a symbol or name that stand for a value and they can be change or assigned
a different value by the programmer.
2. What happen to the variable’s current content when a new value is stored there? (3pts)
 They’re replace and no record of them is kept.
3. What must be place in a program before a variable is used?
 It should be declared, and it should be initialized.
4. What are the three primary activities of a program? (3pts)
 Input, processing, output
Name: EDWIN D. BAGOS JR. Date:
Course, Year &Section: BSIT 1-E Rating:
Contact Number: 09755276308 Subject: computer Programming 1-JAVA

ASSESMENT

1. A. constant
2. D. main()
3. D. {}
4. C. between curly braces
5. C. semicolon
6. C. comments
7. B. Java
8. D. public
9. A. compiling
10. C. public static void main (String[]args)

You might also like