OBJECT ORIENTED PROGRAMMING TYm. Allotted : 3 Hours Full Marks: 70

Similar documents
CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question)

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

Object Oriented Programming with Java. Unit-1

15CS45 : OBJECT ORIENTED CONCEPTS

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY JAVA

B2.52-R3: INTRODUCTION TO OBJECT ORIENTATED PROGRAMMING THROUGH JAVA

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

SCHEME OF COURSE WORK

1. Java is a... language. A. moderate typed B. strogly typed C. weakly typed D. none of these. Answer: B

1 Shyam sir JAVA Notes

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

B2.52-R3: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING THROUGH JAVA

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

Java Training JAVA. Introduction of Java

Character Stream : It provides a convenient means for handling input and output of characters.

Core JAVA Training Syllabus FEE: RS. 8000/-

Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering. Fifth Semester

John Cowell. Essential Java Fast. How to write object oriented software for the Internet. with 64 figures. Jp Springer

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

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

CONTENTS. Chapter 1 Getting Started with Java SE 6 1. Chapter 2 Exploring Variables, Data Types, Operators and Arrays 13

Class, Variable, Constructor, Object, Method Questions

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

PESIT Bangalore South Campus

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?

Crash Course in Java. Why Java? Java notes for C++ programmers. Network Programming in Java is very different than in C/C++

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

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

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

CS260 Intro to Java & Android 03.Java Language Basics

S.E. Sem. III [CMPN] Object Oriented Programming Methodology

Brief Summary of Java

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

Core Java Syllabus. Overview

Java Primer. CITS2200 Data Structures and Algorithms. Topic 2

Class Libraries and Packages

Introduction to Programming Using Java (98-388)

LTBP INDUSTRIAL TRAINING INSTITUTE

CS506 Web Programming and Development Solved Subjective Questions With Reference For Final Term Lecture No 1

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

GlobalLogic Technical Question Paper

SRM INSTITUTE OF SCIENCE & TECHNOLOGY Faculty of Science and Humanities Department of Computer Science UNIT I - INTRODUCTION TO JAVA

CSC Java Programming, Fall Java Data Types and Control Constructs

OOPs Concepts. 1. Data Hiding 2. Encapsulation 3. Abstraction 4. Is-A Relationship 5. Method Signature 6. Polymorphism 7. Constructors 8.

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.

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1

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

Java Interview Questions

Outline. Java Models for variables Types and type checking, type safety Interpretation vs. compilation. Reasoning about code. CSCI 2600 Spring

Chapter 1 Introduction to Java

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

Get Unique study materials from

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

1 OBJECT-ORIENTED PROGRAMMING 1

CS506 Web Design & Development Final Term Solved MCQs with Reference

Core Java SYLLABUS COVERAGE SYLLABUS IN DETAILS

Table of Contents. Chapter 1 Getting Started with Java SE 7 1. Chapter 2 Exploring Class Members in Java 15. iii. Introduction of Java SE 7...

DEPARTMENT OF INFORMATION TECHNOLOGY

Compaq Interview Questions And Answers

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

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

VALLIAMMAI ENGINEERING COLLEGE

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

JAVA. Duration: 2 Months

F I N A L E X A M I N A T I O N

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

CSC207H: Software Design. Java + OOP. CSC207 Winter 2018

CS321 Languages and Compiler Design I. Winter 2012 Lecture 2

Key Java Simple Data Types

Some Interview Question-Answers on Java JAVA. dfghjklzxcvbnmqwertyuiopasdfghjklzx 1/10/2013. cvbnmqwertyuiopasdfghjklzxcvbnmq.

20 Most Important Java Programming Interview Questions. Powered by

Computational Expression

Index COPYRIGHTED MATERIAL

ABOUT CORE JAVA COURSE SCOPE:

JAVA MOCK TEST JAVA MOCK TEST II

S.No Question Blooms Level Course Outcome UNIT I. Programming Language Syntax and semantics

Zhifu Pei CSCI5448 Spring 2011 Prof. Kenneth M. Anderson

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

Methods (Deitel chapter 6)

Methods (Deitel chapter 6)

Java Simple Data Types

Pace University. Fundamental Concepts of CS121 1

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

(2½ hours) Total Marks: 75

Overriding המחלקה למדעי המחשב עזאם מרעי אוניברסיטת בן-גוריון

Exam Duration: 2hrs and 30min Software Design

From C++ to Java. Duke CPS

Goals. Java - An Introduction. Java is Compiled and Interpreted. Architecture Neutral & Portable. Compiled Languages. Introduction to Java

Java Platform, Standard Edition (Java SE) From Yes-M Systems LLC Length: Approx 4 weeks/40 hours Audience: Students with experience in

Mobile MOUSe JAVA2 FOR PROGRAMMERS ONLINE COURSE OUTLINE

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

Java An Introduction. Outline. Introduction

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- MARCH, 2012 OOP THROUGH JAVA (Common to CT, CM and IF)

STRUCTURING OF PROGRAM

PROGRAMMING FUNDAMENTALS

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY ACADEMIC YEAR (ODD SEM)

Points To Remember for SCJP

CS-202 Introduction to Object Oriented Programming

Transcription:

I,.. CI/. T.cH/C8E/ODD SEM/SEM-5/CS-504D/2016-17... AiIIIII "-AmI u...iir e~ IlAULAKA ABUL KALAM AZAD UNIVERSITY TECHNOLOGY,~TBENGAL Paper Code: CS-504D OF OBJECT ORIENTED PROGRAMMING TYm. Allotted : 3 Hours Full Marks: 70 The figures in the margin indicate full marks. Candidates are required to give their answers in their own words asfar as practicable. GROUP-A ( Multiple Choice Type Questions ) 1, Choose the correct alternatives for the following: 10 x 1 = 10 I) Which of the following cannot be used for a variable name is Java? a) Identifier b) Keyword c) Identifier & keyword d) None of these. 1\/50404 [ Tum over r

CS/B.TECH/CSE/ODD SEM/SEM-5/CS-504D/20 16-17 ii] Which one of the following is a valid declaration of an Applet? I L iii) iv) a) Public class MyApplet extends java.applet.applet { b) Public Applet MyApplet { c) Public class MyApplet extends applet implements Runnable { d) Abstract class MyApplet extends java.applet.applet { e) Class MyApplet implements Applet { What is the range of the char type? a) Ot0216 b) 0(0215 c) 0 to 2 16-1 d) 0 to 2 15-1. What is the output of this program? args [J ) a) 301.5656 c) 301.56 class area ( public static v o i d main{string double r, pi, ai r ~ 9.8; pi = 3.14; 5/50404 2 ~ = pi * r * r; System.out.println(a); b) 301 d) 301.56560000. -.--

. CS/B.TECH/CSE/ODD SEM/SEM-5/CS-504D/2016-17 What is an example of polymorphism?.) Inner class b) Anonymous classes 5/50404 c) Method overloading d) Method overriding. Exception is defined in which package? a) java.util c) java.awt b) java.lang d) java.io The relation between classes can be represented by a) polymorphism c) message The import statement is always b) method d) inheritance. a) the first non-comment statement In a Java program file b) the default non-comment statement In java program file c) a non-comment statement and can be defined anywhere in the program d) none of these. 3 [Tum over

CSjB.TECHjCSEjODD SEMjSEM-5jCS-504Dj2016-17 ix) Method overloading occurs only when a) the names and the type signature of two methods are not identical b) the names and the type signature of two, methods are identical c) the names and the return types of two methods are identical d) only the names are identical. x) Which of the following values can a Boolean variable contain? a) True & False b) 0 & 1 c) Any integer value d) True. GROUP-B ( Short Answer Type Questions) Answer any three of the following. 3 x 5 = 15 2. What is byte code? What does the JVM do? Why is Java called compiled-interpreted language? 2+3 3. Discuss Applet life-cycle indicating the functions. 5j50404 4 I L r-, _--"

-,. CS/B.TECH/CSE/ODD SEM/SEM-5/CS-504D/2016-17 4. a) What is command line argument? b) Compare string and stringbuffer class. e. What is the base class of Error and Exception? Differentiate between throw and throws. 1 + 4 GROUP-C ( Long Answer Type Questions) Answer any three of the following. 3 x 15 = 45 I). a) What is mutable strings? b) What are the benefits of organizing classes into package? c) How can you create your own package and add classes in that? Explain with the help of an example. d) Explain with the help of an example, how java gets benefited by using interface. 2 + 2 + ( 2 + 3) + 6 7. Write short notes on any three of the following: 3 x 5 a) Wrapper class b) Meta class c) Abstraction d) Polymorphism. S/50404 5 [Turn over

CS/B.TECH/CSE/ODD SEM/SEM-5/CS-504D /2016-17 8. a) Write a program running a main thread and a child thread simultaneously. b) List various attributes of Applet tag used in HTML. c) Write a Java program that uses the draw polygon 0 method of Graphics class to draw a triangle with End points ( 25, 30 ), ( 75, 80) and ( 50, 50 ). 6 + 3 + 6 9. a) Why does Java have two ways to create child threads (by extending thread or implementing Runnable ) and which approach is better? b) Define an exception called "NotEquaIException" that is thrown when a float value is not equal to 3.14. Write a program that uses that user defined exception. c) Write a multithreading program to generate the square roots to the first 30 natural numbers using Runnable intcrfacc d) What do you mean by Synchronization? Why do we need it '? 2 + 5 + 5 + 3 5/50404 6 L ~ I _. - L

I CHIII TI';CH/CSE/ODD SEM/SEM-5/CS-504D/2016-17 '10, _I How is upplet different from frame and page?,. bl How are threads made to communicate with each other? Explain with example. Explain any three events with suitable example.,,/50404 7 5+5+5