SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Downloaden Sie, um offline zu lesen
Object Oriented Programming(EE 604C) www.oopusingjava.webs.com
1
Basic concepts of OOP
1. What is Object oriented Programming? Difference from structured programming?
2. Write 3 important advantages of Object Oriented Programming? Benefits of OOP
3. What do you mean by Objects and Classes? What is bottom up programming approach & top-down
approach?
4. Short Notes on: Data Abstraction, Encapsulation, Inheritance, Polymorphism, Dynamic Binding.
5. 5 most important features of Java(Object Oriented, Robust and secure Platform independent portable ,
Multithreaded ,Compiled and Interpreted)
6. Difference between java and c, java and C++
7. Contents of Java Development Kit, process of building and running java application programs
8. Short notes: JVM, Java Runtime Environment
9. What do you mean by Bytecode? Why java is called compiled and interpreted?
10. Why public static void main() is used ?
Class Objects and Methods
1. What do you mean by a Class? What are Objects?
2. What are fields and methods of a class? How to access each member of a class or objects?
3. How many keywords are there in JAVA
4. Why Java is machine neutral?
5. What are the basic data types in Java? Give the size in bytes of each.
6. What are Boolean variables? For what purpose they are used
7. What do you mean by type casting? Why it is required in programming? What is up-casting, widening or
narrowing casting?
8. Short notes: Scope of a variable, constant, variable.
9. What are the different Arithmetic operators in Java? Describe briefly the action of modulo division operator
10. What is enhanced for loop or for-each loop in java? Labeled loops
11. What is a ternary operator or short hand if-else operator? Explain Instanceof operator and dot operator
12. What do you mean by constructors? Describe with example.
13. What is method overloading? Describe with an example
14. What is method overriding? Give example. Difference between Method overloading and overriding
15. What are static members? What are the restrictions of using static methods
16. What is finalization? Why finalize() is used?
17. What are the different visibility controllers or modifiers in Java? Briefly describe each of them
18. When do declare a method or class final?
19. How do we invoke a constructor?
20. How does a class accomplish data hiding?
Object Oriented Programming(EE 604C) www.oopusingjava.webs.com
2
Arrays and Strings
1. What are arrays? What are the two forms of declaring an array?
2. How we can obtain the length of an array
3. What are variable size arrays? Give examples
4. What are Strings in Java?
5. Compare between Strings and character arrays?
6. What are the two String Classes in java(String and StringBuffer)
7. Briefly Describe(with examples) the following String methods: toLowerCase(), toUpperCase(), replace(),
length(), equals(), indexOf(), compareTo(), cancat(), subString(),equalsIgnorecase(), toCharArray(), tostring()
8. What do you immutable and mutable Strings? What is use of toString() method?
9. What are the basic difference between String and StringBuffer Class?
Command line arguments and basics of I/O operations
1. What do you mean by Command Line Arguments? Describe with an example.
2. How Command line Arguments are received by a Java Program.
3. What type of objects are the command Line Arguments in Java
Inheritance and Multiple Inheritance(Interfaces)
1. What do you mean by inheritance? What are the different forms of inheritance in Java? Describe briefly each
one
2. What is super class and sub class? Explain single inheritance with an example
3. What is the use of super() in a sub class constructor. Explain with an example
4. What are the conditions for using keyword super in a sub class constructor?
5. How we can access the super class members (both fields and methods) from the sub-class by using keyword
super
6. What is an interface? How do we tell Java that the class we are creating implements a particular interface?
7. What are the major differences between an interface and a class?
8. How would you inherit an interface?
9. How to implement the concept of multiple inheritance using interfaces
Packages
1. What is a package? How do we tell Java that we want to use a particular package in a file
2. Discuss how to design a package. Usefulness of using package in Java program
3. How do we add a class or an interface to a package
4. How would you protect a class from accidental access?
5. How to import a package in a program. What is static import?
Exception handling
1. What is an Exception? How do define a try block? How do we define a catch block?
2. What are the most common types of errors that occur in Java? Is it necessary to catch all types of exceptions
3. Can we use multiple catch blocks with one try block. Explain with example.
4. Create a try block that is likely to generate three types of exception and then incorporate necessary catch
blocks to catch and handle them appropriately.
5. What is a finally block? When and how is it used? Explain briefly by an example
6. What do mean by checked and unchecked exceptions
Multithreading
1. What is a thread?
2. What is the difference between multiprocessing and multithreading?
3. What are the different ways of creating threads?
4. What Java interface must be implemented by all threads?
5. How do we start a thread?
6. What are the two methods by which we may stop threads?
7. Describe the complete life cycle of a thread.
8. What is the difference between suspending and stopping a thread?
9. How do we set priorities for threads?
10. What is synchronization? When do we use it?
Object Oriented Programming(EE 604C) www.oopusingjava.webs.com
3
11. What is difference between using run() and start() a thread?
12. Which one is good way of creating threads: implementing or by extending
13. What is difference between yield() and sleep() methods
14. What do you mean by deadlock in multithreading? How to prevent deadlock?
Applet Programming
1. What is an applet? What is a local applet? What is an remote applet?
2. How an applet does works in a client/server relationship?
3. How do applets differ from application programs?
4. How many arguments can be passed to an applet using <PARAM> tag
5. Describe the life cycle of an applet
6. Why do applet classes need to be declared as public?
7. Distinguish between init() and start() methods.
8. What is swing? How you can make an applet by using swing?

Weitere ähnliche Inhalte

Was ist angesagt?

JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfnofakeNews
 
core java online training - eglobalsystems
core java online training - eglobalsystemscore java online training - eglobalsystems
core java online training - eglobalsystemsShikha Jaiswal
 
Java Concurrency Starter Kit
Java Concurrency Starter KitJava Concurrency Starter Kit
Java Concurrency Starter KitMark Papis
 
Class notes(week 9) on multithreading
Class notes(week 9) on multithreadingClass notes(week 9) on multithreading
Class notes(week 9) on multithreadingKuntal Bhowmick
 
Java/J2EE interview Qestions
Java/J2EE interview QestionsJava/J2EE interview Qestions
Java/J2EE interview QestionsArun Vasanth
 
Most Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerMost Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerTOPS Technologies
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object DesignEddie Lee
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object DesignEddie Lee
 
Java questions for interview
Java questions for interviewJava questions for interview
Java questions for interviewKuntal Bhowmick
 
25 java interview questions
25 java interview questions25 java interview questions
25 java interview questionsMehtaacademy
 
Java interview-quetions
Java interview-quetionsJava interview-quetions
Java interview-quetionsMehtaacademy
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+javaYe Win
 

Was ist angesagt? (15)

JAVA QUESTIONS -6
JAVA QUESTIONS -6JAVA QUESTIONS -6
JAVA QUESTIONS -6
 
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
 
core java online training - eglobalsystems
core java online training - eglobalsystemscore java online training - eglobalsystems
core java online training - eglobalsystems
 
Java Concurrency Starter Kit
Java Concurrency Starter KitJava Concurrency Starter Kit
Java Concurrency Starter Kit
 
Class notes(week 9) on multithreading
Class notes(week 9) on multithreadingClass notes(week 9) on multithreading
Class notes(week 9) on multithreading
 
Java/J2EE interview Qestions
Java/J2EE interview QestionsJava/J2EE interview Qestions
Java/J2EE interview Qestions
 
Most Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerMost Asked Java Interview Question and Answer
Most Asked Java Interview Question and Answer
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object Design
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object Design
 
java - oop's in depth journey
java - oop's in depth journeyjava - oop's in depth journey
java - oop's in depth journey
 
Java questions for interview
Java questions for interviewJava questions for interview
Java questions for interview
 
25 java interview questions
25 java interview questions25 java interview questions
25 java interview questions
 
Threads in Java
Threads in JavaThreads in Java
Threads in Java
 
Java interview-quetions
Java interview-quetionsJava interview-quetions
Java interview-quetions
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+java
 

Ähnlich wie Probable questions for semester exam

Java question bank
 Java question bank Java question bank
Java question bankhitzsmakz
 
4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdf4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdfadarsh76530
 
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...SynergisticMedia
 
What are the most common java interview questions
What are the most common java interview questionsWhat are the most common java interview questions
What are the most common java interview questionsEdUKoT
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questionssoniajessica2
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview QuestionsKuntal Bhowmick
 
Class test 1 sample and suggestive questions
Class test 1 sample and suggestive questionsClass test 1 sample and suggestive questions
Class test 1 sample and suggestive questionsKuntal Bhowmick
 
Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...SoftvampTechnoSoluti
 
Java Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedJava Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedyearninginjava
 
Top 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experiencedTop 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experiencedGaurav Maheshwari
 
JAVA interview questions for fresher
JAVA interview questions for fresherJAVA interview questions for fresher
JAVA interview questions for fresherMYTHILIKRISHNAN4
 
20 most important java programming interview questions
20 most important java programming interview questions20 most important java programming interview questions
20 most important java programming interview questionsGradeup
 
Core java interview questions
Core java interview questionsCore java interview questions
Core java interview questionsRohit Singh
 
Java interview questions
Java interview questionsJava interview questions
Java interview questionsSoba Arjun
 
1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdf1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdffckindswear
 
Data Structure Interview Questions & Answers
Data Structure Interview Questions & AnswersData Structure Interview Questions & Answers
Data Structure Interview Questions & AnswersSatyam Jaiswal
 

Ähnlich wie Probable questions for semester exam (20)

Java interview question
Java interview questionJava interview question
Java interview question
 
Java question bank
 Java question bank Java question bank
Java question bank
 
4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdf4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdf
 
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
 
What are the most common java interview questions
What are the most common java interview questionsWhat are the most common java interview questions
What are the most common java interview questions
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Class test 1 sample and suggestive questions
Class test 1 sample and suggestive questionsClass test 1 sample and suggestive questions
Class test 1 sample and suggestive questions
 
Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...
 
Java Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedJava Faqs useful for freshers and experienced
Java Faqs useful for freshers and experienced
 
Smart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdfSmart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdf
 
Smart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdfSmart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdf
 
Top 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experiencedTop 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experienced
 
JAVA interview questions for fresher
JAVA interview questions for fresherJAVA interview questions for fresher
JAVA interview questions for fresher
 
Core_Java_Interview.pdf
Core_Java_Interview.pdfCore_Java_Interview.pdf
Core_Java_Interview.pdf
 
20 most important java programming interview questions
20 most important java programming interview questions20 most important java programming interview questions
20 most important java programming interview questions
 
Core java interview questions
Core java interview questionsCore java interview questions
Core java interview questions
 
Java interview questions
Java interview questionsJava interview questions
Java interview questions
 
1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdf1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdf
 
Data Structure Interview Questions & Answers
Data Structure Interview Questions & AnswersData Structure Interview Questions & Answers
Data Structure Interview Questions & Answers
 

Mehr von Kuntal Bhowmick

Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsMultiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsKuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Kuntal Bhowmick
 
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Kuntal Bhowmick
 
1. introduction to E-commerce
1. introduction to E-commerce1. introduction to E-commerce
1. introduction to E-commerceKuntal Bhowmick
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solvedKuntal Bhowmick
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsKuntal Bhowmick
 
Operating system Interview Questions
Operating system Interview QuestionsOperating system Interview Questions
Operating system Interview QuestionsKuntal Bhowmick
 
Computer Network Interview Questions
Computer Network Interview QuestionsComputer Network Interview Questions
Computer Network Interview QuestionsKuntal Bhowmick
 
Distributed operating systems cs704 a class test
Distributed operating systems cs704 a class testDistributed operating systems cs704 a class test
Distributed operating systems cs704 a class testKuntal Bhowmick
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solutionKuntal Bhowmick
 
CS291(C Programming) assignment
CS291(C Programming) assignmentCS291(C Programming) assignment
CS291(C Programming) assignmentKuntal Bhowmick
 

Mehr von Kuntal Bhowmick (20)

Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsMultiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
 
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
 
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
 
1. introduction to E-commerce
1. introduction to E-commerce1. introduction to E-commerce
1. introduction to E-commerce
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solved
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental concepts
 
Operating system Interview Questions
Operating system Interview QuestionsOperating system Interview Questions
Operating system Interview Questions
 
Computer Network Interview Questions
Computer Network Interview QuestionsComputer Network Interview Questions
Computer Network Interview Questions
 
C interview questions
C interview  questionsC interview  questions
C interview questions
 
C question
C questionC question
C question
 
Distributed operating systems cs704 a class test
Distributed operating systems cs704 a class testDistributed operating systems cs704 a class test
Distributed operating systems cs704 a class test
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solution
 
CS291(C Programming) assignment
CS291(C Programming) assignmentCS291(C Programming) assignment
CS291(C Programming) assignment
 
C programming guide new
C programming guide newC programming guide new
C programming guide new
 

Kürzlich hochgeladen

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Kürzlich hochgeladen (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Probable questions for semester exam

  • 1. Object Oriented Programming(EE 604C) www.oopusingjava.webs.com 1 Basic concepts of OOP 1. What is Object oriented Programming? Difference from structured programming? 2. Write 3 important advantages of Object Oriented Programming? Benefits of OOP 3. What do you mean by Objects and Classes? What is bottom up programming approach & top-down approach? 4. Short Notes on: Data Abstraction, Encapsulation, Inheritance, Polymorphism, Dynamic Binding. 5. 5 most important features of Java(Object Oriented, Robust and secure Platform independent portable , Multithreaded ,Compiled and Interpreted) 6. Difference between java and c, java and C++ 7. Contents of Java Development Kit, process of building and running java application programs 8. Short notes: JVM, Java Runtime Environment 9. What do you mean by Bytecode? Why java is called compiled and interpreted? 10. Why public static void main() is used ? Class Objects and Methods 1. What do you mean by a Class? What are Objects? 2. What are fields and methods of a class? How to access each member of a class or objects? 3. How many keywords are there in JAVA 4. Why Java is machine neutral? 5. What are the basic data types in Java? Give the size in bytes of each. 6. What are Boolean variables? For what purpose they are used 7. What do you mean by type casting? Why it is required in programming? What is up-casting, widening or narrowing casting? 8. Short notes: Scope of a variable, constant, variable. 9. What are the different Arithmetic operators in Java? Describe briefly the action of modulo division operator 10. What is enhanced for loop or for-each loop in java? Labeled loops 11. What is a ternary operator or short hand if-else operator? Explain Instanceof operator and dot operator 12. What do you mean by constructors? Describe with example. 13. What is method overloading? Describe with an example 14. What is method overriding? Give example. Difference between Method overloading and overriding 15. What are static members? What are the restrictions of using static methods 16. What is finalization? Why finalize() is used? 17. What are the different visibility controllers or modifiers in Java? Briefly describe each of them 18. When do declare a method or class final? 19. How do we invoke a constructor? 20. How does a class accomplish data hiding?
  • 2. Object Oriented Programming(EE 604C) www.oopusingjava.webs.com 2 Arrays and Strings 1. What are arrays? What are the two forms of declaring an array? 2. How we can obtain the length of an array 3. What are variable size arrays? Give examples 4. What are Strings in Java? 5. Compare between Strings and character arrays? 6. What are the two String Classes in java(String and StringBuffer) 7. Briefly Describe(with examples) the following String methods: toLowerCase(), toUpperCase(), replace(), length(), equals(), indexOf(), compareTo(), cancat(), subString(),equalsIgnorecase(), toCharArray(), tostring() 8. What do you immutable and mutable Strings? What is use of toString() method? 9. What are the basic difference between String and StringBuffer Class? Command line arguments and basics of I/O operations 1. What do you mean by Command Line Arguments? Describe with an example. 2. How Command line Arguments are received by a Java Program. 3. What type of objects are the command Line Arguments in Java Inheritance and Multiple Inheritance(Interfaces) 1. What do you mean by inheritance? What are the different forms of inheritance in Java? Describe briefly each one 2. What is super class and sub class? Explain single inheritance with an example 3. What is the use of super() in a sub class constructor. Explain with an example 4. What are the conditions for using keyword super in a sub class constructor? 5. How we can access the super class members (both fields and methods) from the sub-class by using keyword super 6. What is an interface? How do we tell Java that the class we are creating implements a particular interface? 7. What are the major differences between an interface and a class? 8. How would you inherit an interface? 9. How to implement the concept of multiple inheritance using interfaces Packages 1. What is a package? How do we tell Java that we want to use a particular package in a file 2. Discuss how to design a package. Usefulness of using package in Java program 3. How do we add a class or an interface to a package 4. How would you protect a class from accidental access? 5. How to import a package in a program. What is static import? Exception handling 1. What is an Exception? How do define a try block? How do we define a catch block? 2. What are the most common types of errors that occur in Java? Is it necessary to catch all types of exceptions 3. Can we use multiple catch blocks with one try block. Explain with example. 4. Create a try block that is likely to generate three types of exception and then incorporate necessary catch blocks to catch and handle them appropriately. 5. What is a finally block? When and how is it used? Explain briefly by an example 6. What do mean by checked and unchecked exceptions Multithreading 1. What is a thread? 2. What is the difference between multiprocessing and multithreading? 3. What are the different ways of creating threads? 4. What Java interface must be implemented by all threads? 5. How do we start a thread? 6. What are the two methods by which we may stop threads? 7. Describe the complete life cycle of a thread. 8. What is the difference between suspending and stopping a thread? 9. How do we set priorities for threads? 10. What is synchronization? When do we use it?
  • 3. Object Oriented Programming(EE 604C) www.oopusingjava.webs.com 3 11. What is difference between using run() and start() a thread? 12. Which one is good way of creating threads: implementing or by extending 13. What is difference between yield() and sleep() methods 14. What do you mean by deadlock in multithreading? How to prevent deadlock? Applet Programming 1. What is an applet? What is a local applet? What is an remote applet? 2. How an applet does works in a client/server relationship? 3. How do applets differ from application programs? 4. How many arguments can be passed to an applet using <PARAM> tag 5. Describe the life cycle of an applet 6. Why do applet classes need to be declared as public? 7. Distinguish between init() and start() methods. 8. What is swing? How you can make an applet by using swing?