0% found this document useful (0 votes)
5 views1 page

Java 1

The document outlines a mid-semester examination for Java programming at the Ideal Institute of Technology, targeting CSE students from the 2022-26 batch. It includes a list of questions covering various Java concepts such as type casting, data types, object-oriented programming, and control statements, each carrying 10 marks. The questions are designed to assess students' understanding and application of Java programming fundamentals.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Java 1

The document outlines a mid-semester examination for Java programming at the Ideal Institute of Technology, targeting CSE students from the 2022-26 batch. It includes a list of questions covering various Java concepts such as type casting, data types, object-oriented programming, and control statements, each carrying 10 marks. The questions are designed to assess students' understanding and application of Java programming fundamentals.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

IDEAL INSTITUTE OF TECHNOLOGY-6K

VIDYUT NAGAR, KAKINADA - 533003

[Link] – IISemI MID Branch: CSE(A&B) Batch: 2022-26 A.Y: 2023-24 Reg: R20
Subject : -Java programming Subject Code: Time: Date: --23

Answer all the Questions (Each Question Carry 10 Marks – 3 X 10 = 30)

CO 1
BLOOMS
Identify Java language concepts and how they they work together in TAXONO MARKS
MY LEVEL
application

1.
What do you understand by type casting & automatic promotion? Explain with
suitable examples K2 10
2.
List and explain the Data types in Java program with examples. K2 10
3.
Is java pure Object Oriented Language? Explain in detail. Mention the advantages &
disadvantages of java K2 10
4.
With the help of example program explain the various arithmetic operators supported
by java language. K2 10
5.
List the various control statement. Explain any one control statement with the help of
flowchart and example program K4 10
6.
Explain the usage of Static variables and methods with an example Java program K2 10
7.
Explain and Write a java program to read three numbers through the keyboard and
find their sum and average. K2 10
8.
What is a variable? Explain their importance in java language. What rules to be
followed to define them K2 10

9.
List and explain the formatted input and output statements. K4 10

Learnthe fundamentals of object oriented programming in Java including BLOOMS


CO 2 TAXONO MARKS
defining classes, invoking methods,using class libraries MY LEVEL

1.
Explain and write a Java program to swap two numbers using call by value and call by
reference. K2 10
2.
Explain the following keywords in Java with an example program: i) ‘this’ ii) ‘final’
keyword K1 10
3.
Why we need the methods to solve the problems? Explain recursive methods. K2 10
4.
Demonstrate Nested class concept with an example. K2 10
5.
Compare the working of constructor overloading with method overloading. K4 10
6.
Explain in brief about the various access control mechanisms used in java. K2 10
7.
How do method overloading differs from overriding? Explain. K1 10
8.
Demonstrate in detail about the concept of default constructor and constructor with
default arguments. K2 10

9.
Develop a program to compute the GCD of two numbers using Recursion K3 10

K1: Remembering, K2: Understanding, K3: Applying, K4: Analyzing, K5: Evaluating, K6: Creating

You might also like