[go: up one dir, main page]

0% found this document useful (0 votes)
19 views6 pages

BCAR 204 Assignment 1, 2

The document outlines two assignments for the subject codes BCAR-204, covering topics in Computer Networking and Object Oriented Concepts & Programming-I. Each assignment includes multiple sections with questions requiring detailed answers, short notes, and multiple-choice questions. The assignments are structured to assess understanding of Java programming concepts, features, and methodologies.

Uploaded by

arvindjadav656
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)
19 views6 pages

BCAR 204 Assignment 1, 2

The document outlines two assignments for the subject codes BCAR-204, covering topics in Computer Networking and Object Oriented Concepts & Programming-I. Each assignment includes multiple sections with questions requiring detailed answers, short notes, and multiple-choice questions. The assignments are structured to assess understanding of Java programming concepts, features, and methodologies.

Uploaded by

arvindjadav656
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/ 6

Assignment (2022- 23)

Subject Code: - BCAR-204 (Assignment-1))


Subject Name: - Fundamental of Computer Networking
Total Marks: - 100 Marks

Section – A (10*4 = 40 Marks)


Q.1. Give answers in 1000 words of the questions given below (Any four).
1. What is Java? Explain various features of Java.
2. How many type of literals Java support? Explain these literals.
3. Explain typecasting in detail.
4. Explain Bitwise Operators with suitable examples
5. Explain Access Modifiers: Default, Private, Public and Protected.
6. What is difference between while and do while loops?.
Section – B (5*6 = 30 Marks)
Q.2. Give answers in 500 words for the questions given below (Any six).
1. What are the methods of passing arguments to a function in Java?
2. Explain Abstract class and abstract methods
3. Write down the execution process of Java Program.
4. Explain various data types in Java.
5. Explain four categories of visibility for class members in Java.
6. Explain Constructors and its types.
7. Explain Identifiers in details
8. Explain the call by value method

Section – C (10*2 = 20 Marks)


Q.3. Write short notes. (Any Ten)
1. WORA stands for ________.
2. JVM stands for _________.
3. Define: Objects.
4. Define: Classes.
5. Define: Character Class.
6. Define: Float Class
7. Define: Passing Arrays to Methods
8. Define: Multi-Dimensional Array.
9. Define: Map Interface.
10. Define: Queue Interface?
11. Define term Processing Arrays
12. Define term Modifiers & Return Type
Section – D MCQ: - (10*1=10 Marks)

1.Which Company released the first public implementation as Java 1.0 in


1995.
(A) Sun
(B) Microsoft
(C) Oracle
(D) Wipro

2.is an extension of java code file.


(A) .txt
(B) .cpp
(C) .java
(D) .javac

3.JVM stand for .


(A) Java Virtual Machine
(B) JDK Vision Mission
(C) Java Vision Machine
(D) Java Virtual Mission

4.Java programme is compiled by using ______ command.


(A) java
(B) jdk
(C) cc
(D) javac

5.The maximum value of Byte data type is .


(A) 128
(B) 127
(C) –127
(D) 100

6.The default value of Int data type is .


(A) 0
(B) 1
(C) –0
(D) Garbage

7.Unary operator perform operation based on operand.


(A) One
(B) two
(C) three
(D) four
8.The operators are used to perform arithmetical operations. .
(A) Bitwise
(B) Arithmetic
(C) Relational
(D) Logical

9.The operator is used when the manipulation is to be done bit by bit.


(A) Bitwise
(B) Arithmetic
(C) Relational
(D) Logical

10.The process of executing a block of statements a number of times is known as .


(A) Method
(B) Class
(C) Loop
(D) Decision Making
Assignment (2022- 23)

Subject Code: - BCAR-204 (Assignment-2)


Subject Name: - Object Oriented Concept & Programming-I (Core Java)
Total Marks: - 100 Marks

Section – A (10*4 = 40 Marks)


Q.1. Give answers in 1000 words of the questions given below (Any four).
1. Explain Method Overriding?
2. What is Polymorphism?
3. Explain Final Keyword.
4. Explain Try and Catch Block in Java.
5. Explain Throw/Throws Keywords. Also differentiate between Throw and Throws.
6. Explain Synchronization in detail?

Section – B (5*6 = 30 Marks)


Q.2. Give answers in 500 words for the questions given below (Any six).
1. How to Suspend, Resume and Stop Threads in Java?
2. Explain Applet Life Cycle
3. What is Inheritance?
4. What is Exception Handling? Explain various types of Exceptions in Java.
5. How to create Hash Table using Java Util? Explain.
6. Explain Thread Life Cycle.
7. Write a note on default constructor
8. Where can this keyword be used

Section – C (10*2 = 20 Marks)


Q.3. Write short notes. (Any Ten)
1. Define: Finally Keyword.
2. Define: Uncaught Exceptions
3. Define: Collision
4. Define: Adapter Class
5. Define: Applet
6. Define: Reading data into Applet
7. Define: Inner Classes
8. Define: Byte Streams
9. Define: Standard Streams
10. Define: Serialization?
11. Define Static Keyword
12. Define Declaring Interfaces
Section – D MCQ: - (10*1=10 Marks)

1.Java compiler convert source code in to code. Language Features


(A) Binary
(B) Machine
(C) English
(D) Byte

2. JVM Stand for .


(A) Java Virtual Machine
(B) Java Version Machine
(C) Java Virtual Mode
(D) Java Version Mode

3. No method body is present as method.


(A) Final
(B) Public
(C) Private
(D) Abstract

4. "A collection of abstract methods is called .


(A) Package
(B) Interface
(C) Class
(D) Abstract class

5. The keyword is used to extend an interface


(A) Extends
(B) inherit
(C) final
(D) depends

6. _____are a collection or group of related types of classes, interfaces,


enumerations and annotations.
(A) Packages
(B) class
(C) Interface
(D) Namespace

7. Java provide abstract class for the wrapper the data type.
(A) Integer
(B) Number
(C) Data Type
(D) String

8.method return the true if the invoking object contains a value


that is not a number under Double class.
(A) isNan()
(B) isnotnumber()
(C) isnumber()
(D) isdigit()

9.The Vector class is derived from interface.


(A) Set
(B) Queue
(C) Stack
(D) List

10.The collection interface is availabel under package.


(A) Java.IO
(B) java.net
(C) Java.lang
(D) Java.util

You might also like