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

Similar documents
R13 SET Discuss how producer-consumer problem and Dining philosopher s problem are solved using concurrency in ADA.

St. MARTIN S ENGINEERING COLLEGE Dhulapally, Secunderabad

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Object Oriented Programming with Java. Unit-1

Get Unique study materials from

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

5. In JAVA, is exception handling implicit or explicit or both. Explain with the help of example java programs. [16]

Compaq Interview Questions And Answers

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY OBJECT ORIENTED PROGRAMMING QUESTION BANK UNIT I 2 MARKS

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

SCHEME OF COURSE WORK

15CS45 : OBJECT ORIENTED CONCEPTS

INSTITUTE OF AERONAUTICAL ENGINEERING

Short Notes of CS201

CS201 - Introduction to Programming Glossary By

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

CS 345. Functions. Vitaly Shmatikov. slide 1

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Introduction to Programming Using Java (98-388)

Chapter 9 Subprograms

JAVA. Duration: 2 Months

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

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

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

VALLIAMMAI ENGINEERING COLLEGE

Informal Semantics of Data. semantic specification names (identifiers) attributes binding declarations scope rules visibility

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

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

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

DEPARTMENT OF INFORMATION TECHNOLOGY

1 Shyam sir JAVA Notes

6. Discuss how producer-consumer problem and Dining philosophers problem are solved using concurrency in ADA. [16]

VALLIAMMAI ENGINEERING COLLEGE

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

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

Object Oriented Programming with c++ Question Bank

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

IT6503 WEB PROGRAMMING. Unit-I

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Object typing and subtypes

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.

Type Hierarchy. Lecture 6: OOP, autumn 2003

CS412/CS413. Introduction to Compilers Tim Teitelbaum. Lecture 17: Types and Type-Checking 25 Feb 08

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

Preface to the Second Edition Preface to the First Edition Brief Contents Introduction to C++ p. 1 A Review of Structures p.

Class, Variable, Constructor, Object, Method Questions

BCA (Part II) EXAMINATION, 2009 C++ PROGRAMMING Time allowed: Three Hours Maximum Marks: 50 Attempt any five questions

Absolute C++ Walter Savitch

Data Abstraction. Hwansoo Han

2. The object-oriented paradigm!

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?

Types, Values and Variables (Chapter 4, JLS)

Core JAVA Training Syllabus FEE: RS. 8000/-

Informatica 3 Syntax and Semantics

Java 8 Programming for OO Experienced Developers

PESIT Bangalore South Campus

NOTE: Answer ANY FOUR of the following 6 sections:

G Programming Languages - Fall 2012

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

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

OOPS Viva Questions. Object is termed as an instance of a class, and it has its own state, behavior and identity.

Full file at Chapter 2 - Inheritance and Exception Handling

Chapter 5 Names, Binding, Type Checking and Scopes

ABOUT CORE JAVA COURSE SCOPE:


Subprograms. Bilkent University. CS315 Programming Languages Pinar Duygulu

Java for Non Majors. Final Study Guide. April 26, You will have an opportunity to earn 20 extra credit points.

Sri Vidya College of Engineering & Technology

Chapter 6 Introduction to Defining Classes

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

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

Interview Questions of C++

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

JAVA MOCK TEST JAVA MOCK TEST III

Lecture Notes on Programming Languages

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class.

Fundamentals of Object Oriented Programming

Assumptions. History

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

9/7/17. Outline. Name, Scope and Binding. Names. Introduction. Names (continued) Names (continued) In Text: Chapter 5

Binding and Variables

CMSC 132: Object-Oriented Programming II

Semantic Analysis. How to Ensure Type-Safety. What Are Types? Static vs. Dynamic Typing. Type Checking. Last time: CS412/CS413

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

Programmiersprachen (Programming Languages)

Lecture Overview. [Scott, chapter 7] [Sebesta, chapter 6]

Atelier Java - J1. Marwan Burelle. EPITA Première Année Cycle Ingénieur.

Object Oriented Programming in Java. Jaanus Pöial, PhD Tallinn, Estonia

Intro to OOP Visibility/protection levels and constructors Friend, convert constructor, destructor Operator overloading a<=b a.

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

(2½ hours) Total Marks: 75

CHOICE BASED CREDIT SYSTEM (With effect from )

CMSC 331 Final Exam Section 0201 December 18, 2000

Computer Components. Software{ User Programs. Operating System. Hardware

CMSC 132: Object-Oriented Programming II

M301: Software Systems & their Development. Unit 4: Inheritance, Composition and Polymorphism

Lecture 13: Object orientation. Object oriented programming. Introduction. Object oriented programming. OO and ADT:s. Introduction

Type Bindings. Static Type Binding

Transcription:

S.No Question Blooms Level Course Outcome UNIT I. Programming Language Syntax and semantics 1 What do you mean by axiomatic Knowledge C254.1 semantics? Give the weakest precondition for a sequence of statements. 2 Explain the process of compilation Knowledge C254.3 3 Explain the basic concepts of Knowledge C254.1 denotational semantics 4 What are various parameter Create C254.4 passing methods in Ada and C, Explain with Example. 5 Define Syntax and Semantics Understand C254.1 6 What is Software Development Life Understand C254.2 Cycle? (SDLC) 7 Draw a diagram for pure waterfall Knowledge and C254.2 life cycle and Explain.. Understand 8 Explain pass by result parameter Knowledge C254.1 passing technique in detail 9 List and Explain the programming Understand C254.1 language qualities. 10 Explain about Generic Method Understand C254.2 11 Differentiate between static and Analyze C254.1 dynamic binding 12 What is scope, visibility and Understand C254.1 lifetime of any variable 13 Differentiate between static and dynamic scope Analyze C254.1 14 Explain the advantages and Knowledge C254.2 disadvantages of static and dynamic scoping 15 Differentiate between subroutine Analyze C254.1 and coroutine 16 Define L-value and R-value Knowledge C254.1 17 Consider the following program void swap(int a, int b) { int temp; temp=a; a=b; b=temp; } void main() { int value=2,list[5]={1,3,5,7,9}; Evaluate C254.4

swap(value, list[0]); swap(list[0], list[1]); swap(value, list[value]); } For each of the following parameters passing methods, what are all of the values of the variables value and list after each of the three calls to swap? a) Pass by value b) Pass by reference c) Passed by value-result 18 What is Binding and Binding Time? Also explain the four classes of Binding times. 19 Differentiate In mode and Out Mode parameter passing mechanisms. 20 Describe deep access and shallow access methods for implementing dynamic scoping. 21 List various Software Life Cycle Models and Explain Spiral Model or any one Understand C254.2 Analyze C254.2 Understand C254.2 Understand C254.2 UNIT II.. Structuring the Data, Computations and Program Understand C254.1 1 Why are strongly typed languages compiled while weakly typed languages interpreted? What is hybrid implementation of languages. Explain. 2 Define Abstract Data Type. Explain Knowledge C254.2 C++ parameterized Data Types. 3 Define User- defined data type Knowledge C254.2 4 Distinguish Named and Structure Analyze C254.2 Type Compatibility 5 List the merits of type checking Understand C254.2 6 Discuss about various programming paradigms and their languages Understand C254.3 7 Define strong typing. Discuss how type checking is enforced in Fortran95, Ada, C, C++, and Java. What do you mean by coercion, how does it effect strongly typed languages? Knowledge Understand Analyze and and C254.3

8 Explain The type structure of C++, Knowledge C254.4 Java 9 Illustrate Exception Handling in C++ Analyze and Apply C254.5 with example 10 What is an alias? What are the Knowledge C254.2 problems associated with it? 11 What is type inferencing used in ML? Knowledge C254.2 12 Explain various primitive data Understand C254.1 types with suitable examples. 13 Explain about control structures. Understand C254.2 14 Define Coercion, Type error, Type checking and Strong Typing Knowledge C254.2 UNIT III Structuring of Program 1 List and Explain three different Knowledge C254.3 methods of implementing a programming language 2 Write applications of logic Understand C254.3 programming 3 Define i. lazy evaluation ii. Understand C254.3 Referential transparency 4 Discuss Generic subprograms in Understand C254.3 C++ 5 Discuss how higher level of Knowledge C254.3 genericity is achieved 6 How to implement generic Knowledge C254.4 functions in C++? 7 Explain about generic methods. Knowledge C254.4 8 Write differences between Analyze C254.1 procedural and non-procedural languages 9 Explain features of Object-Oriented Knowledge C254.1 Programming Languages. 10 What is meant by Generic Knowledge C254.3 subprograms? 11 Give applications of logic programming? Knowledge C254.1 UNIT IV 1 Write History of Java and C254.6 2 Define : 1) JAVA 2) ByteCode 3 How Java is different from C++? Understand C254.1 Explain. 4 Define one-dimenstional array and two-dimensional array in JAVA. 5 Write the syntax and example for

for loop and its different ways of representations. 6 Write a java program to sort an Apply C254.6 array of integers. 7 Write the usage of labelled break and labelled continue statements in Java 8 Write about one of the SELECTION statements of Java. 9 Briefly explain eight simple data types in JAVA 10 Write the different selection Knowledge, C254.5 statements in JAVA Understand 11 Java is freeform language. Understand C254.5 Comment 12 How does String class differ from Understand, C254.5 the StringBuffer class? Knowledge 13 Briefly explain the constructors Understand C254.5 and methods of String class 14 Explain structure of Java Program Understand C254.5 15 Briefly explain the salient features Understand C254.5 of java language? 16 What is stand alone application? Briefly explain the procedure of creating and executing a standalone application? UNIT V 1 Define Garbage Collection 2 Write an analysis of the Analyze C254.5 similarities and differences between java packages and C++ namespaces. 3 What is Dynamic method dispatch? Understand and C254.6 Explain with an example. Apply 4 List and Explain various types of inheritance in Java 5 Define Interface and Explain with an example? List the advantages of an interface. 6 What are final methods and final classes? 7 What is this pointer? Write a java program to demonstrate how this pointer can be used. Understand, Knowledge, Apply C254.6 Knowledge, Apply C254.6 8 Write a java program for sum of Apply C254.6

100 natural numbers. 9 Describe the various levels of access protection available in packages and their implications with an example program. 10 Why is main method assigned as static in JAVA? 11 What is the difference between a constructor and a method? 12 Explain the concept of importing packages in java with example. Understand, Knowledge C254.6 Knowledge, Analyze C254.5 Understand C254.5 13 Write about Class Path variable. Understand C254.5 14 Explain use of command line arguments. 15 Explain about abstract classes and Understand C254.5 abstract methods. 16 Explain about creation of classes and creation of objects in java with example 17 Explain the Implementation of interfaces. 18 Write a program on multilevel hierarchy. 19 Define method overloading. Write a program using the concept of method overloading. Understand C254.5 Apply, Apply, 20 Briefly explain garbage collection Understand C254.5 21 Explain about Object class in detail. Understand C254.5 22 Write a program to create a private inner class that implements a public interface. Write a method that returns a reference to an instance of the private inner class, upcast to the interface. Show that the inner class is completely hidden by trying to downcast to it Apply, 22 Write a program create an interface U with three methods. Create a class A with a method that produces a reference to a U by building anonymous inner class. Create a second class B that contains an array of U. B should have one method that accepts and stores a reference to a U in the Apply,

array, a second method that sets a reference in the array (specified by the method argument) to null and a third method that moves through the array and calls the methods in U. In main( ), create a group of A objects and a single B. Fill the B with U references produced by the A objects. Use the B to call back into all the A objects. Remove some of the U references from the B 23 Create an interface with at least Apply, one method, in its own package.create a class in a separate package. Add a protected inner class that implements the interface. In a third package, inherit from your class and, inside a method, return an object of the protected inner class, upcasting to the interface during the return 24 Explain Constructor and Finalize methods. 25 Explain about Overriding the Understand C254.5 methods. 26 Write a program that reads the Apply,, C254.6 radius of a circle as input taken dynamically while running and then computes the circumference and area? 27 Explain about inner classes with an example? 28 Define a class method square as Apply, defined below Data member: side Methods : squarearea() To compute the area of a square Squareperimeter() To compute the perimeter of a square Within the main method of the class square create an object for the class square. Compute the area and perimeter by invoking the appropriate methods 29 With the help of a java program

explain the use of the super keyword? 30 With a java program explain about extending interfaces concept? 31 What are the major differences and similarities between interface and a class explain? 32 Mention any 5 classes and its methods in java.io/ java.util/java.net package? 1 What is the difference between checked and unchecked exception in java? 2 What is Applet? How it is differ from Application? Explain. 3 What is AWT? Explain Java Applet Life Cycle 4 Explain multiple catch statements in java with an example. 5 Describe the byte stream class and character stream class. 6 List the different types of exception in JAVA 7 Write any four common(defined) java exceptions. 8 Explain the following: (a) Try and catch (b) Throw (c) Finally (d) Throws. and C254.6 UNIT VI Knowledge, Analyze C254.6 9 Write the Advantages of Exceptions. 10 What is the use of an Applet? Understand C254.5 11 Discuss about applet tag & its importance? How parameters are passed to Applets? 12 Explain the following exceptions with the help of examples: (a) ArithmeticException (b) NullPointerException (c) NumberFormatException. 13 Give the list of different unchecked exceptions in java and their meaning. 14 Give the Class hierarchy in Java related to exception handling.

Briefly explain each class 15 What is the functionality supported by java related to Fonts 16 Explain in brief different drawing functions of Java OR List and explain about the various drawing methods used in graphics class? 17 Explain the following:(a) Creating an applet(b) Passing parameters to applets(c) Adding graphics and colors to applets. 18 Explain various methods of Applet class with necessary examples 19 Explain User defined Exceptions in Java. 20 Briefly describe the method of defining and using a custom exception? 21 Write a java program to read 20 marks and store them in an array, Define your own exception named wrongmarkexception. Throw and catch this type of exception when a mark is <0>100. 22 How many catch blocks can we use with one try block, Give reasons to your answer? Understand C254.5 Apply,