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

I CS - Java

This document outlines the structure and content of the CIA-1 Examinations for the Programming in Java course at M.I.E.T Arts and Science College. It includes multiple-choice questions, fill-in-the-blank questions, and descriptive questions covering topics such as object-oriented programming, variables, interfaces, and inheritance. The exam is designed for first-year Computer Science students and consists of various question formats with a total of 50 marks.

Uploaded by

naveenram680
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)
4 views1 page

I CS - Java

This document outlines the structure and content of the CIA-1 Examinations for the Programming in Java course at M.I.E.T Arts and Science College. It includes multiple-choice questions, fill-in-the-blank questions, and descriptive questions covering topics such as object-oriented programming, variables, interfaces, and inheritance. The exam is designed for first-year Computer Science students and consists of various question formats with a total of 50 marks.

Uploaded by

naveenram680
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
You are on page 1/ 1

M.I.E.

T ARTS AND SCIENCE COLLEGE, TRICHY-7 Answer all the questions (5 x 2=10)
CIA-1 EXAMINATIONS, JAN-2025
11) What is an object? Give example.
CLASS: I CS SEM: II
SUBJECT: PROGRAMMING IN JAVA 12) List the types of Variables.
SUBJECT CODE:22SCCCS2
13) How to define an interface?
TIME:2 HRS MAX.MARKS: 50
Staff: D.SARITHA 14) Define Array.

PART-A (5 x 1=5) 15)Mention any two rules of using constructor in java.


Choose the Correct Answer
1) Who invented Java Programming? PART-B (2 x 5=10)
a) Guido van Rossum b) James Gosling Answer all the questions
c) Dennis Ritchie d) Bjarne Stroustrup
16. a) Explain briefly about the features of java. (or)
2) What is the extension of java code files?
b) List out the operators in Java and explain it with example
a) .js b) .txt c) .class d) .java
program.
3) Which of these are selection statements in Java? 17. a) Explain about Inheritance and its types with example. (or)
a) break b) continue c) for() d) if()
b) Write short notes on Arrays with its declaration and its types.
4) Which one of the following is not an access modifier?
a) Protected b) Void c) Public d) Private
PART-C (2 x 10=20)
Answer any Two Questions
5) Evaluate the following Java expression, if x=3, y=5, and z=10:
18) Explain the concept of object-oriented programming (OOP) and
++z + y - y + z + x++
a) 24 b) 23 c) 20 d) 25 its principles.
19) Define Interfaces? Explain the extension of interfaces,
Fill in the blanks (5 x 1=5)
implementation and accessing it.
6) __________ keyword is used for accessing the features of a
package. 20) Write a Java program that takes two numbers as input from the
7) _________ inheritance is not supported by java. user and prints their sum.
8) The smallest individual units in programs are known as ______.
9) Java supports a special type of method called________.
10________is a blueprint that defines data and functions common to
all the objects.

You might also like