0% found this document useful (0 votes)
128 views3 pages

CS-22 Java Prelims Paper 2025

This document outlines a preliminary exam for the Geetanjali College of Computer Science & Commerce, specifically for the Java Programming course. It includes various types of questions such as one-sentence answers, detailed explanations, and examples related to Java concepts like OOP, inheritance, exceptions, and JavaFX. The exam is structured into multiple sections with a total of 50 marks and covers a wide range of topics within Java programming.
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)
128 views3 pages

CS-22 Java Prelims Paper 2025

This document outlines a preliminary exam for the Geetanjali College of Computer Science & Commerce, specifically for the Java Programming course. It includes various types of questions such as one-sentence answers, detailed explanations, and examples related to Java concepts like OOP, inheritance, exceptions, and JavaFX. The exam is structured into multiple sections with a total of 50 marks and covers a wide range of topics within Java programming.
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
You are on page 1/ 3

Geetanjali Cheritable Trust Sanchalit

GEETANJALI COLLEGE OF COMPUTER SCIENCE & COMMERCE (BBA)


PRELIMINARY EXAM
BCA/B.SC.I.T SEM – 4
SUBJECT : CS – 22 JAVA PROGRAMMING DATE :
TIME : 2 Hours. MARKS : 50
Q:1 (A) Answer in one sentence. (03)
1 IIB Stands for ______________.
2 JVM Stands for ________________.
3 JRE Stands for __________________.

Q: 1 (B) Answer in two or three sentences. (Any One) (02)


1 List and Explain JDK Tools
2 List types of Operator of JAVA explain any one in details.

Q: 1 (C) Write down the answer of following questions in detail. (Any One) (05)
1 What is Constructor? List Types of Constructors, Explain any one with Example.
2 What is Inheritance? List Types of Inheritance. Explain any one with Example.

OR

Q:1 (A) Answer in one sentence. (03)


1 OOP Stands for ______________.
2 IDE Stands for ________________.
3 What is NetBeans?

Q: 1 (B) Write down the answer of following questions. (Any One) (02)
1 Explain Jagged Array with Example.
2 Explain Varargs with Example.

Q: 1 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Explain Command Line Argument with Example.
2 Explain Static and Non-Static members.

Q:2 (A) Answer in one sentence. (03)


1 ___________ is the default package imported in .Java file.
2 ______________ is the super class of all Java classes.
3 Private data members are always inherits in sub class (True/False).

Q: 2 (B) answer in two or three sentences. (Any One) (02)


1 Explain method overriding.
2 Explain Normal import and Static import.

Q: 2 (C) Write down the answer of following questions in detail. (Any One) (05)
1 What is Package? List Built-in packages, explain any one in detail.
2 Explain access specifiers.

OR

Q:2 (A) Answer in one sentence. (03)


1 List any three methods of String class.
2 _______________ is the default access specifier for java variables.
3 Interface is used to achieve multiple Inheritance (True/False)

Q: 2 (B) Write down the answer of following questions. (Any One) (02)
1 Explain abstract modifier.
2 Explain final modifier.

Q: 2 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Explain Collections of Java.
2 Explain Wrapper Classes.

Q:3 (A) Answer in one sentence. (03)


1 What is exception?
2 What is Thread?
3 What is Character Stream?

Q: 3 (B) Write down the answer of following questions. (Any One) (02)
1 Explain Thread Synchronizing.
2 Explain File Class.

Q: 3 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Explain FileWriter Class with Example.
2 Explain InputStream Class with Example.

OR

Q:3 (A) Answer in one sentence. (03)


1 What is Byte Stream?
2 List Methods of Thread Class.
3 List Built in Exceptions

Q: 3 (B) answer in two or three sentences. (Any One) (02)


1 Explain Deamon Thread and Non-Deamon Thread.
2 List Built-in Exception Classes, explain any one with example.

Q: 3 (D) Write down the answer of following questions in detail. (Any One) (05)
1 Explain FileReader Class with Example.
2 Explain OutputStream Class with Example.

Q:4 (A) Answer in one sentence. (04)


1 Who is the Developer of JavaFX?
2 All JavaFX application class extends with ______________________
3 RIA Stands for _________________________

Q: 4 (B) answer in two or three sentences. (Any One) (02)


1 Explain Color class.
2 Explain Font class.

Q: 4 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Explain JavaFX Architecture.
2 Explain Features of JavaFX.

OR

Q:4 (A) Answer in one sentence. (04)


1 List JavaFX application life cycle.
2 What is JavaFX?
3 UI Stands for __________________.
Q: 4 (B) answer in two or three sentences. (Any One) (02)
1 Explain JavaFX Shapes.
2 Explain JavaFX Effefects.

Q: 4 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Explain JavaFX Layouts
2 Explain JavaFX Application Structure.

Q:5 (A) Answer in one sentence. (03)


1 Button class contained in _____________________ package
2 To start JavaFX Application we need to call __________ method Main().
3 _____________ method of Stage class is used to set scene.
Q: 5 (B) answer in two or three sentences. (Any One) (02)
1 Explain types of Events.
2 Explain Slider
Q: 5 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Differentiate between ListView and ComboBox
2 Write a JavaFX code to play Video file.

OR

Q:5 (A) Answer in one sentence. (03)


1 Layout classes are contained in _____________________ package
2 ______________ event occurs when we click on Button.
3 List Constructors of Label Class.

Q: 5 (B) answer in two or three sentences. (Any One) (02)


1 Explain TextField.
2 Explain TextArea.

Q: 5 (C) Write down the answer of following questions in detail. (Any One) (05)
1 Write a JavaFX code to play Audio file.
2 Differentiate between Checkbox and RadioButton.

You might also like