The Sun s Java Certification and its Possible Role in the Joint Teaching Material

Similar documents
Introduction. Assessment Test. Part I The Programmer s Exam 1

Core Java - SCJP. Q2Technologies, Rajajinagar. Course content

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Syllabus & Curriculum for Certificate Course in Java. CALL: , for Queries

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

Java Fundamentals p. 1 The Origins of Java p. 2 How Java Relates to C and C++ p. 3 How Java Relates to C# p. 4 Java's Contribution to the Internet p.

Introduction to Programming Using Java (98-388)

[Course Overview] After completing this module you are ready to: Develop Desktop applications, Networking & Multi-threaded programs in java.

Training topic: OCPJP (Oracle certified professional Java programmer) or SCJP (Sun certified Java programmer) Content and Objectives

Points To Remember for SCJP

1 Shyam sir JAVA Notes

Language Features. 1. The primitive types int, double, and boolean are part of the AP

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

Core Java SYLLABUS COVERAGE SYLLABUS IN DETAILS

15CS45 : OBJECT ORIENTED CONCEPTS

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

Java Programming Training for Experienced Programmers (5 Days)

Software Development & Education Center. Java Platform, Standard Edition 7 (JSE 7)

1 OBJECT-ORIENTED PROGRAMMING 1

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

Graphical Interface and Application (I3305) Semester: 1 Academic Year: 2017/2018 Dr Antoun Yaacoub

WA1278 Introduction to Java Using Eclipse

Mobile MOUSe JAVA2 FOR PROGRAMMERS ONLINE COURSE OUTLINE

Contents. iii Copyright 1998 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 1998, Revision B

CO Java SE 8: Fundamentals

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline ::

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY JAVA

Java Overview An introduction to the Java Programming Language

Core JAVA Training Syllabus FEE: RS. 8000/-

Operators and Expressions

Zhifu Pei CSCI5448 Spring 2011 Prof. Kenneth M. Anderson

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

C ONTENTS PART I FUNDAMENTALS OF PROGRAMMING 1. and Java 3. Chapter 1 Introduction to Computers, Programs,

SYLLABUS JAVA COURSE DETAILS. DURATION: 60 Hours. With Live Hands-on Sessions J P I N F O T E C H

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Certification In Java Language Course Course Content

Index COPYRIGHTED MATERIAL

Fast Track to Core Java 8 Programming for OO Developers (TT2101-J8) Day(s): 3. Course Code: GK1965. Overview

Contents. I. Classes, Superclasses, and Subclasses. Topic 04 - Inheritance

CSC Java Programming, Fall Java Data Types and Control Constructs

Selected Java Topics

CSC 1214: Object-Oriented Programming

Java SE 8 Programming

Merge Sort Quicksort 9 Abstract Windowing Toolkit & Swing Abstract Windowing Toolkit (AWT) vs. Swing AWT GUI Components Layout Managers Swing GUI

CS/B.TECH/CSE(OLD)/SEM-6/CS-605/2012 OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

PESIT Bangalore South Campus

Java SE 8 Programming

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

Java 8 Programming for OO Experienced Developers

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Compaq Interview Questions And Answers

CS260 Intro to Java & Android 03.Java Language Basics

Core Java Contents. Duration: 25 Hours (1 Month)

Java SE 7 Programming

Full file at

Java SE 7 Programming

A Quick Tour p. 1 Getting Started p. 1 Variables p. 3 Comments in Code p. 6 Named Constants p. 6 Unicode Characters p. 8 Flow of Control p.

CompuScholar, Inc. 9th - 12th grades

SCHEME OF COURSE WORK

Core Java Syllabus. Overview

Expressions and Data Types CSC 121 Spring 2015 Howard Rosenthal

Page 1

Java Programming Course Overview. Duration: 35 hours. Price: $900

Core Java Syllabus. Pre-requisite / Target Audience: C language skills (Good to Have)

Chapter 2 Using Data. Instructor s Manual Table of Contents. At a Glance. Overview. Objectives. Teaching Tips. Quick Quizzes. Class Discussion Topics

Java Training JAVA. Introduction of Java

F1 A Java program. Ch 1 in PPIJ. Introduction to the course. The computer and its workings The algorithm concept


VALLIAMMAI ENGINEERING COLLEGE

CS Internet programming Unit- I Part - A 1 Define Java. 2. What is a Class? 3. What is an Object? 4. What is an Instance?

GUJARAT TECHNOLOGICAL UNIVERSITY

Special Topics: Programming Languages

Full file at

Exam 1 Prep. Dr. Demetrios Glinos University of Central Florida. COP3330 Object Oriented Programming

Java Intro 3. Java Intro 3. Class Libraries and the Java API. Outline

Name of subject: JAVA PROGRAMMING Subject code: Semester: V ASSIGNMENT 1

ABOUT CORE JAVA COURSE SCOPE:

Pace University. Fundamental Concepts of CS121 1

VALLIAMMAI ENGINEERING COLLEGE

Argument Passing All primitive data types (int etc.) are passed by value and all reference types (arrays, strings, objects) are used through refs.

Paytm Programming Sample paper: 1) A copy constructor is called. a. when an object is returned by value

Java Primer 1: Types, Classes and Operators

104. Intermediate Java Programming

College Board. AP CS A Labs Magpie, Elevens, and Picture Lab. New York: College Entrance Examination Board, 2013.

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical

A- Core Java Audience Prerequisites Approach Objectives 1. Introduction

JVA-103. Java Programming

Chapter 2: Using Data

Time : 3 hours. Full Marks : 75. Own words as far as practicable. The questions are of equal value. Answer any five questions.

JAVA MOCK TEST JAVA MOCK TEST III

SELF-STUDY. Glossary

Objective Questions. BCA Part III Paper XIX (Java Programming) page 1 of 5

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

9 Working with the Java Class Library

TeenCoder : Java Programming (ISBN )

Class, Variable, Constructor, Object, Method Questions

LTBP INDUSTRIAL TRAINING INSTITUTE

"Charting the Course... Java Programming Language. Course Summary

Internet Application Developer

5/23/2015. Core Java Syllabus. VikRam ShaRma

Transcription:

The Sun s Java Certification and its Possible Role in the Joint Teaching Material Nataša Ibrajter Faculty of Science Department of Mathematics and Informatics Novi Sad 1 Contents Kinds of Sun Certified Exams Why Become Java 2 Certified? Developer's Certification Exam (SCJD) The Programmer s Exam (SCJP) Some Characteristic Questions A Proposal for the Joint Java Course The NS Experience Impact on the Joint Material 2 1

Kinds of Sun Certified Exams 3 Kinds of Sun Certified Exams Sun Certified Programmer (SCJP) CX-310-035 Programmer s Exam Sun Certified Developer (SCJD) CX-310-252A Developer s Programming Assignment CX-310-027 Developer s Essay Exam 4 2

Why Become Java 2 Certified? It provides proof of professional achievement. It increases one s marketability. It provides greater opportunity for advancement in one s field. It is increasingly found as a requirement for some types of advanced training. It raises customer confidence in you and your company s services. 5 Developer's Certification Exam (SCJD) It consists of two parts: a project assignment and a follow-up exam The assignment describes a task that starts with some code supplied with a project description. Person who takes the exam is supposed to finish the project. 6 3

Developer's Certification Exam (SCJD) The follow-up exam has at least three aspects: Java's features and libraries, knowledge and understanding of one's own classes, defending the choices one made writing code. 7 Developer's Certification Exam (SCJD) I/O streams Swing The AWT event model Object serialization RMI javadoc Packages Threads Interfaces 8 4

The Programmer s Exam (SCJP) Language fundamentals Source files Keywords and identifiers Primitive data types Literals boolean literals char literals 9 The Programmer s Exam (SCJP) integral literals floating-point literals string literals Arrays Class fundamentals the main() method variables and initialization Argument passing: by reference or by value Garbage collection 10 5

The Programmer s Exam (SCJP) Operators and assignments Evaluation order The unary operators ++ and -- + and - ~! cast operator 11 The Programmer s Exam (SCJP) The arithmetic operators * and / % + and - arithmetic error conditions The shift operators: >>, << and >>> fundamentals of shifting shifting negative numbers arithmetic promotion of operands reduction of the right operand 12 6

The Programmer s Exam (SCJP) The comparison operators <, <=, > and >= the instanceof operator the equality comparison operators: == and!= Logical operators: &&, and! Short-circuiting Bitwise operators: &,, ^ and ~ The conditional operator:? : The assignment operator 13 The Programmer s Exam (SCJP) Modifiers Modifier overview The access modifiers public private default protected subclasses and method privacy 14 7

The Programmer s Exam (SCJP) Other modifiers final abstract static static initilalizers native transient synchronized volatile Modifiers and features 15 The Programmer s Exam (SCJP) Converting and casting Explicit and implicit type changes Primitives and conversion primitive conversion: assignment assignment conversion, narrower primitives and literal values primitive conversion: method call primitive conversion: arithmetic promotion Primitives and casting 16 8

The Programmer s Exam (SCJP) Object reference conversion object reference assignment conversion object method-call conversion Object reference casting Flow control, assertions and exception handling The loop constructs while do for break and continue statements in loops 17 The Programmer s Exam (SCJP) Selection statements if-else construct switch construct Exceptions flow of control in exception conditions throwing exceptions Assertions assertions and compilation runtime enabling of assertions using assertions 18 9

The Programmer s Exam (SCJP) Objects and classes Benefits of object-oriented implementation encapsulation re-use Implementing OO relationships Overloading and overriding overloading method names method overriding Constructors and subclassing overloading constructors 19 The Programmer s Exam (SCJP) Inner classes Threads the enclosing this reference and construction of inner classes member classes classes defined inside methods Thread fundamentals what a thread executes when execution ends thread states thread priorities 20 10

The Programmer s Exam (SCJP) Controlling threads yielding suspending sleeping blocking monitor states scheluduling implementation Monitors, wait and notify the object lock and synchronization 21 The Programmer s Exam (SCJP) wait and notify the class lock beyond the pure model deadlock another way to synchronize java.lang and java.util packages The Object class The Math class The wrapper classes 22 11

The Programmer s Exam (SCJP) Strings the String class the StringBuffer class string concatenation easy way The collections API collection types collections, equality and sorting the hashcode method collection implementations in the API collections and code maintenance 23 Some Characteristic Questions Language fundamentals Consider the following line of code: int[] x = new int[25]; After execution, which statements are true? Choose all that apply. 1. x[24] is 0. 2. x[24] is undefined. 3. x[25] is 0. 4. x[0] is null. 5. x.length is 25. 24 12

Some Characteristic Questions Operators and assignments What results from the following fragment of code? 1. int x = 1; 2. String [] names = { Fred, Jim, Sheila }; 3. names[--x] +=. ; 4. for(int i =0; i<names.length; i++){ 5. System.out.println(names[i]); 6. } 25 Some Characteristic Questions 1. The output includes Fred. with a trailing period. 2. The output includes Jim. with a trailing period. 3. The output includes Sheila. with a trailing period. 4. None of the outputs show a trailing period. 5. An ArrayIndexOutOfBoundsException is thrown. 26 13

Some Characteristic Questions Modifiers Given the following code and making no other changes, which combination of access modifiers (public, protected or private) can legally be placed before amethod() on line 2 and be placed before amethod() on line 6? 1. class SuperDuper{ 2. void amethod(){} 3. } 4. 5. class Sub extends SuperDuper{ 6. void amethod(){} 7. } 27 Some Characteristic Questions 1. line 2: public; line 6: private 2. line 2: protected; line 6: private 3. line 2: default; line 6: private 4. line 2: private; line 6: protected 5. line 2: public; line 6: protected 28 14

Some Characteristic Questions Converting and casting Will the following code compile? 1. byte b = 2; 2. byte b1 = 3; 3. b = b * b1; 1. Yes 2. No 29 Some Characteristic Questions class hierarchy for next question Animal Mammal Dog Cat implements Washer Raccoon implements Washer SwampThing 30 15

Some Characteristic Questions Consider the following code: 1. Dog rover, fido; 2. Animal anim; 3. 4. rover = new Dog(); 5. anim = rover; 6. fido = (Dog)anim; Which of the following statements are true? Choose one. 31 Some Characteristic Questions 1. Line 5. will not compile. 2. Line 6. will not compile. 3. The code will compile but will throw an exception at line 6. 4. The code will compile and run. 5. The code will compile and run, but the cast in line 6 is not required and can be eliminated 32 16

Some Characteristic Questions Flow control, assertions and exception handling Consider the following code: 1. for(int i=0; i<2; i++){ 2. for(int j=0; j<3; j++){ 3. if(i == j){ 4. continue; 5. } 6. System.out.println( i = +i+ j = +j); 7. } 8. } 33 Some Characteristic Questions Which lines would be part of the output? Choose all that apply. 1. i =0 j = 0 2. i =0 j = 1 3. i =0 j = 2 4. i =1 j = 0 5. i =1 j = 1 6. i =1 j = 2 34 17

Some Characteristic Questions Objects and classes Considering this class: 1. public class Test1{ 2. public float amethod(float a, float b){} 3. 4. } Which of the following methods would be legal if added (individually) at line 3? Choose all that apply. 35 Some Characteristic Questions 1. public int amethod(int a, int b){} 2. public float amethod(float a, float b){} 3. public float amethod(float a, float b, int c) throws Exception{} 4. public float amethod(float c, float d){} 5. private float amethod(int a, int b, int c){} 36 18

Some Characteristic Questions Threads A Java monitor must either extend Thread or implement Runnable. 1. True 2. False The java.lang and java.util packages In the following code fragment, line 4 is executed. 37 Some Characteristic Questions 1. String s1 = xyz ; 2. String s2 = xyz ; 3. if (s1 == s2) 4. System.out.println( 4 ); 1. True 2. False 1. String s1 = xyz ; 2. String s2 = new String(s1); 3. if (s1 == s2) 4. System.out.println( 4 ); 1. True 2. False 38 19

A Proposal for the Joint Java Course Part I - Imperative Java programming Introduction (in case that Java is the first programming language) The language overview (elements of Java) Simple data types Expressions and control structures Structured data types: arrays Methods Recursion Complex examples with arrays (searching and sorting) 39 A Proposal for the Joint Java Course Part II - OOP in Java and advanced topics Introduction to OOP (OOP in general, place of Java, its development...) Basic notations of OOP Classes and objects. Class methods and variables. Object creation Inheritance and polymorphism Concatenated list structures Trees Packages Interfaces 40 20

A Proposal for the Joint Java Course Abstract classes Introduction to UML Exceptions GUI development Class libraries, Java Collection Framework Reflection in Java Threads Basic notions of WWW Applets Remote Method Invocation 41 A Proposal for the Joint Java Course Part III - Environments for Java programming Usage of J2SE JDK 1.xx Part IV - Java programming at large Introducing SE principles in Java programming 42 21

The NS Experience Our students are obliged to take part in not less than 70% of practical exercises, not less than 50% of exercises and not less than 30% of lectures. The exam consists of the practical part (which is taken during the practical exercises) and of the test. The Java certification is used as a template for the test. 43 The NS Experience Students mostly show weakness in understanding how Java solves OOP issues like overriding, overloading, program flow etc, not in understanding theoretical basics of OOP. The test tests practical knowledge in Java, not the theoretical knowledge in OOP. If the students missed to study some aspect of a problem taking practical part of the exam, the test forces them to restudy the problem. 44 22

The NS Experience 70% of Programmer s Exam questions covered by our course More than 90% excluding major sections like threads and assertions Therefore, we cannot blindly use any of the questions Should we change our course to cover more questions? Suggestion: No However, some compatibility useful 45 Impact on the Joint Material From our experience: without references to the Java Certification we cover about 70%/90% of the questions For the creation of the Joint Material, occasional references to Java Certification exam questions are useful to see what the industry thinks is important check for omissions 46 23