• No results found

General Objectives: On completion of this course, the diplomat should be able to:

1. Understand Java programming Basics.

2. Understand Object-oriented programming with Java classes and Objects 3. Understand the general concept of expression in Java.

4. Understand the use of Conditional Statements in Java 5. Understand the use of iteration statements in Java.

6. Know how to write simple Java program for string and characters manipulation.

84 Course: Programming language Using

JAVA 1

Course Code: COM 123 Credit Hours: 6 hours/week

Theoretical:2 hours/week

Year: 1 Semester: 2 Pre-requisite: Practical: 4 hours /week

Theoretical Content Practical Content

Week/s Specific Learning Outcomes

Teacher’s activities

Resources

Specific Learning Outcomes

Teacher’s activities

Evaluation

General Objective 1: Understand Java programming Basics

1-3

1.1 Explain the basic components of Java programs.

1.2 Explain Java constructs and its applications 1.3 Differentiate between object declaration and

object creation.

1.4 Explain concept of data types, variables and constant.

1.5 Explain variable declaration and constant declaration

1.6 Describe the process of creating and running Java programs.

• Explain basic components of Java programs.

• Explain concept of data types,

variables and constants.

• Explain variable and constant declaration

• Illustrate the process of Compiling and Running Java programs

White board and marker pen

PC

Loaded with JAVA Compiler, presentation package.

Multimedia projector

Develop simple java program

Guide students to identify different components of java and compilation of a java program

Describe the processes of creating and developing a simple Java program

85

General Objective 2: Understand Object-oriented programming with Java classes and Objects

4-5

2.1 Describe Java insatiable classes and objects 2.2 Explain fields and constructors

2.3 Explain concepts of methods

2.4 Explain the concept of overloading methods, garbage collection and nested classes 2.5 Differentiate between local and instance

variables

2.6 Distinguish between private and public modifiers.

2.7 Describe parameter passing method

Explain procedures of creating classes and methods

Explain methods and types

Explain the differences between local and instance variables, private and public modifiers.

White board and marker pen

PC

Loaded with JAVA Compiler, presentation package.

Multimedia projector

Create simple program that uses

overloading methods, garbage collection and nested classes

Guide students to Create simple program that uses

overloading methods, garbage collection and nested classes

Describe how classes can be created Differentiate the following terms

(a) local and instance variables, (b) private and public modifier.

Week/s General Objective 3: Understand the general concept of expression in Java.

6-7

3.1 Explain expressions using precedence rules.

3.2 Describe the process to develop simple input/output programs using Java

3.3 Describe how integer and real numbers are represented in memory.

• Explain

precedence rules.

• Explain the format of expressions.

White board and marker pen

Develop simple input/output programs

Guide students to develop simple I/O program

Give students simple programming assignment

• Explain the process to develop simple input/output programs

PC

Loaded with JAVA Compiler, presentation package.

Multimedia projector

86

Week/s General Objective 4: Understand the use of Conditional Statements in Java

7-8

4.1 Describe Boolean expressions using relational and logical operators.

4.2 Describe IF and Next-IF conditioning statement

4.3 Describe Nested IF statements correctly.

.

Explain Boolean expressions using relational and logical operators

Explain different syntax of IF statements.

Explain with examples JAVA program containing IF statement.

White board and marker pen

PC

Loaded with JAVA Compiler, presentation package.

Multimedia projector

Demonstrate how to write and run simple java program using IF and Next-IF Conditional statements.

Guide students to write and run simple java program using IF and Next- IF

Condition- al statement.

Write a simple program to demonstrate the use of IF and Next-IF Conditional statement.

General Objective 5: Understand the use of iteration statements in Java.

9-10

5.1 Describe the concept of looping 5.2 Explain

- WHILE statement - DO-WHILE statement - FOR statement

5.3 Describe simple recursive methods.

Explain with simple examples format of all conditional statements.

Write sample program To demonstrate recursive methods using any nested loop .

White board and marker pen

PC

Loaded with JAVA Compiler, Presentation package.

Multimedia projector

Demonstrate how write and run simple java program using

DO-WHILE and Nested LOOP statement.

Guide student to write and run simple java program using DOWHILE and Nested -LOOP statement.

Demonstrate with a simple program the use of DO- WHILE and Nested LOOP statement.

Week/s General Objective 6: Understand how to write simple Java program for string and characters manipulation

87 11-15

6.1 Describe and manipulate character data type.

6.2 Explain the differences between string and string buffer classes

6.3 Distinguish between the primitive and reference data types.

6.4 Explain the equality and equivalence testing for string objects.

6.5 Describe objects passing

Explain string manipulation in Java.

Write sample programs to teach parameter passing mechanism.

Discuss the equality and equivalence testing for string objects

White board and marker pen

PC

Loaded with JAVA Compiler, Presentation package.

Multimedia projector

Demonstrate how to write simple java program for string manipulation

Guide the student how to develop and implement simple java program for string manipulation

Develop a simple program for object passing from methods to methods

Assessment: Give details of assignments to be used:

Coursework/ Assignments %; Course test20 %; Practical %; Projects 20 %; Examination 60 % Type of Assessment Purpose and Nature of Assessment (COM 127) Weighting (%)

Examination Final Examination (written) to assess knowledge and understanding

60

Test At least 1 progress test for feed back. 20

Practical / Projects To be assessed by the teacher 20

Total 100

Recommended Textbooks & References:

88 Department/ Programme: COMPUTER

SCIENCE (ND)

Course Code COM 124

Contact hours: 4 hours/ week

Subject/Course:

DATA STRUCTURE AND ALGORITHMS

Theoretical: 2 hours/week

Year: One Semester: Two

Pre-requisite:

COM 111 Practical: 2 hours /week

GOAL: The students are expected to analyse, design, apply and use data structures and algorithms to develop efficient program and communicate technical concepts and ideas.