0% found this document useful (0 votes)
8 views7 pages

Java Question Bank (Rtcs-241)

The document provides guidelines for setting a question bank for a Java Programming course, emphasizing the alignment with Course Learning Outcomes and Bloom's taxonomy. It includes specific formatting instructions, such as font size and language requirements, and outlines the structure of questions across various units. Additionally, it details the moderation process by a committee to ensure adherence to the guidelines before submission to the COE Office.

Uploaded by

21242615
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views7 pages

Java Question Bank (Rtcs-241)

The document provides guidelines for setting a question bank for a Java Programming course, emphasizing the alignment with Course Learning Outcomes and Bloom's taxonomy. It includes specific formatting instructions, such as font size and language requirements, and outlines the structure of questions across various units. Additionally, it details the moderation process by a committee to ensure adherence to the guidelines before submission to the COE Office.

Uploaded by

21242615
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

B.

TECH (CSE)
IV/ 2ND
JAVA PROGRAMMING (RTCS-241)
Some Important Guidelines for the Question Bank Setter:
1. Question bank must cover: Course (subject) Learning Outcomes (CLOs) and bloom's taxonomy
(L1 : Remember, L2 : Understand, L3 : Apply, L4 : Analyze) details in this regard are attached with
the mail.
2. The question bank should be prepared in the given format would also be attached.
3. Each question and parts of the questions should be written in clear language. Also break the questions
relatively in shorter sentences if they contain brief information.
4. Repetition of a question is not allowed.
5. The file should be sent in MS-Word format.
6. The font size of the content should be Arial (font size 12) for English &Kruti Dev 010 (font size 14) for
Hindi.
7. Wherever the question papers have been prepared in both Hindi and English languages, the Hindi
version of the question should be written immediately after English version of each question.
8. In case of MBA Course, Section-C must contain Case studies (one case study per unit or
numerical type questions as per the format).
9. If the syllabus contains more than 5 units or less than 5 units then update the format accordingly.
10. A question bank moderation committee will be formed by the Dean of the concerned college
under the supervision of the concerned department HOD. Committee will check & ensure that the
question bank is prepared according to the guidelines. After that they will make a folder according
to the Program, Branch & semester/year wise, and would ensure that all question banks are
available according to the evaluation scheme. Hods will submit all folders to the COE Office.
SECTION-A (Very Short Answer Type Questions)
UNIT-I
[Link]. Question CO Bloom's
Taxonomy
a) What do you meant by class? CO1 L1
b) Define object. CO1 L1
c) Define Encapsulation. CO2 L2
d) What are object oriented concepts? CO2 L2
e) Who invented Java and when? CO1 L1
f) What do you meant by Inheritance? CO2 L2
g) What do you meant by Polymorphism? CO2 L2
h) Write 5 features of Java. CO2 L2
i) Write application of Java. CO1 L1
j) Define web browsers. CO2 L2
UNIT-II

[Link]. Question CO Bloom's


Taxonomy
a) What do you meant by class loader? CO1 L1
b) Define Identifiers & keywords. CO1 L1
c) Write syntax for if and else if. CO2 L2
d) What do you meant by Java tokens? CO2 L2
e) Write syntax for increment and decrement operator. CO2 L2
f) Write command to compile and execute java program. CO2 L2
g) What do you meant by iteration statements? CO1 L1
h) What do you meant by JRE and JDK? CO2 L2
i) Differentiate between assignment and arithmetic operators. CO1 L1
j) Write a program in java to print “Hello World”. CO1 L1
UNIT-III
[Link]. Question CO Bloom's
Taxonomy
a) What do you meant by integer and floating point? CO1 L1
b) What do you meant by string? CO1 L1
c) Define keywords with example. CO2 L2
d) Define JVM. CO2 L2
e) Define bytecode. CO2 L2
f) Define class loader. CO2 L2
g) Differentiate between linker and loader. CO1 L1
h) Differentiate between local and global variable. CO1 L1
i) What is the use of static variable? CO2 L2
j) Give classification of data types. CO2 L2

UNIT-IV
[Link]. Question CO Bloom's
Taxonomy
a) Write syntax of while loop. CO1 L1
b) Write syntax of do while loop. CO1 L1
c) Write syntax of for loop. CO2 L2
d) Write syntax of if statement. CO2 L2
e) Write syntax of if else statement. CO1 L1
f) Write syntax of nested if else statement. CO1 L1
g) What will be the output of 2%4? Explain. CO1 L1
h) What do you meant by break keyword? CO2 L2
i) What do you meant by continue keyword? CO2 L2
j) What do you meant by switch statement? CO2 L2

UNIT-V
[Link]. Question CO Bloom's
Taxonomy
a) Write command in Java to create object of class. CO1 L1
b) Define constructor. CO1 L1
c) What do you meant by thread in java. CO2 L2
d) What is the use of final variable? CO2 L2
e) How string is declared in java? CO1 L1
f) How to import packages in java? CO1 L1
g) Differentiate between user defined and in built functions. CO2 L2
h) Define overriding methods. CO2 L2
i) Define overloading methods. CO2 L2
j) What is multi-threading? CO1 L1

SECTION-B (Short Answer Type Questions)


UNIT-I
[Link]. Question CO Bloom's
Taxonomy
a) What is polymorphism in the context of object-oriented CO1 L1
programming, and how does it enhance code reusability and
flexibility?
b) Enumerate some of the key features of the Java programming CO1 L1
language. What makes it stand out among other programming
languages?
c) How does Java differ from C and C++ in terms of memory CO2 L2
management and type safety? What are the advantages and
disadvantages of these differences?
d) Write a program in java to print your name. CO2 L2
e) Can you provide examples of real-world applications or CO3 L3
scenarios where the principles of object-oriented
programming are particularly useful?
f) Define the terms "objects" and "classes" in the context of CO3 L3
object-oriented programming. How are they related to each
other?
g) What is the fundamental concept of the object-oriented CO4 L4
paradigm, and how does it differ from other programming
paradigms?
h) Define 5 Web browsers. CO4 L3
i) How JAVA is different from C? CO3 L3
j) Differentiate between overriding and overloading. CO3 L4

UNIT-II
[Link]. Question CO Bloom's
Taxonomy
a) Provide a simple Java program and explain its structure, CO1 L1
including the main method, class declaration, and the role of
each part.
b) Differentiate between source code and bytecode in the CO1 L1
context of Java programming.
c) How does the compilation process produce bytecode, and CO2 L2
why is it important for cross-platform compatibility.
d) Define and give examples of Java tokens, including reserved CO2 L2
keywords, identifiers, and literals.
e) WAP in Java for addition of n positive number where value of CO3 L3
n is taken at run time from user.
f) WAP in Java for table to nth number where value of n is taken CO3 L3
at run time from user.
g) WAP in Java to check entered number at run time is even or CO4 L4
odd.
h) What do you meant by logical operators? CO4 L4
i) WAP to find number is odd or even. CO5 L3
j) What do you meant by assignment operators? CO3 L4

UNIT-III
[Link]. Question CO Bloom's
Taxonomy
a) What is the role of the Java Virtual Machine (JVM) in CO1 L1
executing Java programs.
b) Briefly explain the steps involved in running a Java program CO1 L1
using the JVM.
c) Provide examples of integer constants, real constants, single CO2 L2
character constants, and string constants in Java. Explain
how these constants are used in Java programming.
d) Explain the process of variable declaration in Java with CO2 L2
example.
e) What are the rules and conventions for naming variables, and CO3 L3
how are data types associated with variables during
declaration?
f) Write a Java program that calculates the area of a rectangle CO3 L3
using variables and constants.
g) What are the fundamental steps involved in creating a Java CO4 L4
program, compiling it, and running it?
h) Describe the purpose of conditional statements (e.g., if-else, CO4 L4
switch) in programming.
i) What is the fundamental difference between interpreted and CO5 L4
compiled programming languages, and can you provide
examples of each?
j) Explain the concept of a "variable" in programming and CO4 L3
provide examples of variables with different data types.

UNIT-IV
[Link]. Question CO Bloom's
Taxonomy
a) Explain the purpose of simple "if" statements in programming CO1 L1
and provide an example of when and how they are used.
b) Compare and contrast "if-else" statements and "else if" ladder CO1 L1
statements. When is it more appropriate to use one over the
other, and why?
c) Write a Java program that asks the user to input their age and CO2 L2
then uses a decision-making statement to determine if they
are eligible to vote (considering the legal voting age).
d) Discuss the key differences between "while" and "do-while" CO2 L2
loops in programming. Provide an example of a scenario
where one type of loop is more suitable than the other.
e) Write a program for the swapping of two numbers. CO3 L3
f) WAP in java to check entered number is negative or positive. CO3 L3
g) Write the java statement that assigns 1 to x if y is greater than CO4 L4
0.
h) Suppose that score is a variable of type double. Write the java CO5 L3
statement that increases the score by 5 marks if score is
between 80 and 90 .
i) Write a program to check whether a number is divisible by 5 CO2 L2
and 11 or not.
j) Write a program to input any character and check whether it is CO4 L4
alphabet, digit or special character.
UNIT-V

[Link]. Question CO Bloom's


Taxonomy
a) Write a program to input any alphabet and check whether it is CO1 L1
vowel or consonant.
b) Write a program to print consonant using break. CO1 L1
c) Differentiate between break and continue with help of CO2 L2
program.
d) What is an array in Java, and how do you declare and initialize CO2 L2
it?
e) Explain the concept of a string in programming. How can you CO3 L3
manipulate strings in Java?
f) Define inheritance in the context of object-oriented CO3 L3
programming. How does it promote code reusability?
g) Explain the concept of multithreaded programming. Why is it CO4 L2
important, and what are its advantages?
h) What is the purpose of packages in Java? How do they help CO4 L3
organize code?
i) How is a constructor defined in Java, and what is its CO5 L4
significance during object creation?
j) Explain the declaration of a class in Java. What are its CO5 L3
components?

SECTION-C [Descriptive Answer Type Questions / Case Study (for MBA COURSES
only)]
UNIT-I
[Link]. Question CO Bloom's
Taxonomy
a) What is the Collection Framework in Java? CO1 L1
b) Enumerate and elaborate on the distinctive features of Java CO1 L1
that set it apart from the C and C++ programming languages,
focusing on aspects like memory management and platform
independence.
c) What are the main components and functionalities of a web CO2 L2
browser, and how do they enable users to access and interact
with web content?
d) Discuss the history of the Java programming language. When CO2 L2
and why was it created, and how has it evolved over the
years?
e) WAP in JAVA to perform following operations:- CO3 L3
i) Area of square
ii) Area of rectangle
iii) Area of circle Note:- Take input at run time.
f) Inheritance is a key concept in object-oriented programming. CO3 L3
Describe what inheritance is, and provide an example of how
it can be used to model real-world relationships.
g) How are classes used to create and define objects, and how CO4 L4
do objects encapsulate data and behavior?
h) Define Applet and list its life cycle methods. CO4 L4
i) Can you provide examples of real-world applications or CO5 L3
scenarios where the principles of object-oriented
programming are particularly useful?
j) In the context of object-oriented programming, describe the CO5 L4
concept of data abstraction and provide an example of how it
can be applied in a Java program.

UNIT-II
[Link]. Question CO Bloom's
Taxonomy
a) List and briefly explain the categories of operators in Java, CO1 L1
write a JAVA program for arithmetic operators.
b) What is inheritance? Explain its purpose. CO1 L1
c) An overview of Java statements, including conditional CO2 L2
statements, and looping statements, with practical examples
and their significance in controlling program flow.
d) List and briefly explain the categories of operators in Java, CO2 L2
write a JAVA program for relational operators.
e) List and briefly explain the categories of operators in Java, CO3 L3
write a JAVA program for logical operators.
f) What is synchronization in multithreading? CO3 L3
g) List and briefly explain the categories of operators in Java, CO4 L4
write a JAVA program for increment and decrement
operators.
h) List and briefly explain the categories of operators in Java, CO4 L4
write a JAVA program for conditional operators.
i) What is a package in Java? CO5 L3
j) List and briefly explain the categories of operators in Java, CO4 L4
write a JAVA program for special operators.

UNIT-III
[Link]. Question CO Bloom's
Taxonomy
a) Explain JDBC architecture and its components. CO1 L1
b) Discuss the role of constants in Java and how they contribute CO1 L1
to code readability and maintainability.
c) Compare and contrast the various data types in Java, CO2 L2
including integer, floating-point, character, and boolean.
Explain the scenarios in which each data type is most
appropriate, considering memory usage and precision.
d) Explain Swing components with examples. CO2 L2
e) Discuss the importance of Python's built-in data structures, CO3 L3
such as lists and dictionaries. Provide code examples to
demonstrate their usage.
f) Describe the role of indentation and colons in Python. Provide CO3 L3
an example of Python code that illustrates proper indentation
and colons' use.
g) What are functions or methods in programming, and how do CO4 L4
they promote code reusability? Provide an example of a user
defined function and explain its usage.
h) Explain try, catch, throw and finally in exception handling. CO4 L4
i) Develop a Java program that simulates a Fibonacci series. CO2 L3
j) Explain ArrayList and Vector in Java Collection Framework. CO3 L4

UNIT-IV
[Link]. Question CO Bloom's
Taxonomy
a) Explain thread life cycle in Java. CO1 L1
b) Write a program to implement user-defined exception. CO1 L1
c) Create a Java program that utilizes a "for" loop to print the CO2 L2
first 10 terms of the Fibonacci sequence. Explain how the
loop works and what the Fibonacci sequence is.
d) Explain the use of the "switch" statement in Java. Provide an CO2 L2
example program that uses "switch" to display the day of the
week when given a numerical input (1 for Sunday, 2 for
Monday, etc).
e) Write a Java program to connect to database using JDBC. CO3 L3
f) Write a program for addition of two 3x3 matrix. CO3 L3
g) Write a program for multiplication of two 3x3 matrix. CO4 L4
h) Write a program to display the average of five integers. CO4 L3
i) Write a Java program to demonstrate thread synchronization. CO5 L4
j) Write a program for transpose of two 3x3 matrix. CO4 L4

UNIT-V
[Link]. Question CO Bloom's
Taxonomy
a) Write a Java program to create and run an applet. CO1 L1
b) What are constructors? How are they different from methods? CO1 L1
c) Describe synchronization in respect to multithreading. CO2 L2
d) Explain different way of using thread? CO2 L2
e) What is encapsulation? How does Java achieve CO3 L3
encapsulation?
f) Write a Java Swing program to create a simple GUI with CO3 L3
JButton and JLabel.
g) Java Program to Suspend a Thread. CO4 L4
h) Write a program in Java with using constructor concept. CO5 L4
i) Write a program in Java with using exception handling CO3 L4
concept.
j) Write a Java program to handle mouse events using event CO4 L3
listeners.

You might also like