You are on page 1of 1

G.T.N.

ARTS COLLEGE (Autonomous), Dindigul K–


Q. Section – B CO(s
Odd Semester (2023 – 2024) Leve
No. Answer ALL the Questions (3 x 4 = 12 ) )
Continuous Internal Assessment Test – I l
A Describe how java differs from C and C++. CO1 K1
Programme: B.Sc CS Semester: III 7 OR
Class : II Date: 08.09.2023
B List out the various java statements. CO1 K1
Course Title: Java Programming Time: 09.00 to 10.30
Course Code: 20UCSC31 Max. Marks: 30 Record the importance of Type casting with
A CO1 K1
suitable example.
8 OR
Q. Section – A K– Illustrate the precedence of Arithmetic
CO(s B CO2 K2
No. Answer ALL the Questions (6 x 1 = 6 ) Leve Operators in detail.
)
l Write a Java program to find the biggest
1 Identify: who developed Java? CO1 K1 A CO2 K2
among two numbers.
1.Sun Microsystems of USA
2.Microsoft 9 OR
3.Adobe 4.Oracle What are objects? Describe how they are
B CO2 K2
2 Java interpreter translates _____________ CO1 K1 created from a class?
into machine code.
1.Bitcode 2.Bytecode
3.Machine Code 4.User code
3 All methods and variables in java language CO1 K1 K–
Q. Section – C CO(s
are kept inside a _________. Leve
No. Answer Any Two Questions (2 x 6 = 12 ) )
1.File 2.Class or l
Interface 10 Describe about Java Environment. CO1 K1
3.Static Method 4.main Identify the various data types available in
4 Which is the Logical Operator in Java that CO2 K1 11 java. CO1 K1
works with a single operand?
1.Logical AND 2.Logical OR Write a java program to perform a given
12 CO2 K2
3.Logical XOR 4.Logical NOT String is Palindrome or not.
5 Which of the following is a loop construct CO2 K2
that will always be executed once?
1.switch 2.for Course Teacher H.O.D Dean
3.while 4.do..while
6 Creating an object from a class is also called CO2 K2
_________.
1.Initializing 2.Instantiating
3.Interfacing 4.Interrupting

You might also like