Object Oriented Programming Using Java Bca 6 Sem Assignment 01
Object Oriented Programming Using Java Bca 6 Sem Assignment 01
3 ____________ is one of the java features that enables java program to run anywhere
anytime.
a)Object-Oriented b) Multithreaded
c)Platform-Independent d) Dynamic & Extensible
4 _____________ is one of the java features that can handle multiple tasks
simultaneously.
a)Object-Oriented b) Dynamic & Extensible
c)Platform-Independent d) Multithreaded
10 The java interpreter uses ____________ method before any objects are created.
a)Class b) Main
c)Constructor d) All of above
16 Casting from byte to __________ data type, the result is no loss information.
a)short b) int
c)long d) all of above
18 ___________ refer to fix value that does not change during the execution of a program.
a)variables b) constants
c)identifiers d) integer
26 _________ is a group of contiguous or related data items that share a common name.
a)Variable b) Array
c)Constant d) none
28 Java __________________.
a)Only compiles b) Only interprets
c)Compiles and then interprets d) Interprets & then compiles
Short Questions
1 Java is platform-independent and portable. - Justify.
2 Java is distributed language – Justify.
3 Java is dynamic and extensible language - Justify.
4 What is JVM (Java Virtual Machine)?
5 List out Java development tools and explain any one from it.
6 List out Java API and define any one of it.
7 Draw the Java program structure.
8 Write down the rules for variable naming.
9 What is meaning of automatic type conversion?
10 List out the types of operators used in Java.
11 How can you use ternary operator?
12 Define the break and continue statements.
13 List out the features of Java.
14 List the primitive and non-primitive data types used in Java.
15 Write the syntax of any one of the following loops – while, do...while, for loop.
Long Questions
1 What is Java? Explain the features of Java.
2 Describe the Java environment.
3 Explain the structure of Java program.
4 Explain the data types available in Java.
5 Explain type casting with example.
6 Explain the scope of variable.
7 List out the decision-making statements available in Java. Explain with example.
8 List out the looping statements available in Java. Explain with example.
9 Explain break and continue statements with example.
10 List out the operators. Explain anyone in detail.