[go: up one dir, main page]

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

BCA 6th Sem C++ & Java Lab Manual

This document outlines 12 C++ programming assignments and 10 Java programming assignments for a 6th semester BCA lab course. The C++ assignments include programs to swap numbers, check even/odd, check vowels/consonants, find the largest of 3 numbers, check leap years, check positive/negative numbers, find factorials, count digits, reverse numbers, find factors, and add/transpose matrices. The Java assignments include programs to implement classes/objects, function overloading, inheritance, check palindromes, prime numbers, factorials, largest/smallest in arrays, check Armstrong numbers, prompt for name input, and implement constructors/destructors. Students are instructed to hand write their lab record on a single page

Uploaded by

Ashis Pradhan
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)
625 views1 page

BCA 6th Sem C++ & Java Lab Manual

This document outlines 12 C++ programming assignments and 10 Java programming assignments for a 6th semester BCA lab course. The C++ assignments include programs to swap numbers, check even/odd, check vowels/consonants, find the largest of 3 numbers, check leap years, check positive/negative numbers, find factorials, count digits, reverse numbers, find factors, and add/transpose matrices. The Java assignments include programs to implement classes/objects, function overloading, inheritance, check palindromes, prime numbers, factorials, largest/smallest in arrays, check Armstrong numbers, prompt for name input, and implement constructors/destructors. Students are instructed to hand write their lab record on a single page

Uploaded by

Ashis Pradhan
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

DDCE, F.M.

UNIVERSITY
BCA 6th Semester LAB Assignment
CSL- 72 (C++ & Java LAB)
Part -1
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.

Write a C++
Write a C++
Write a C++
Consonant
Write a C++
Write a C++
Write a C++
Write a C++
Write a C++
Write a C++
Write a C++
Write a C++
Write a C++

Program to Swap Two Numbers.


Program to Check Whether a Number is Even or Odd
Program to Check Whether a Character is Vowel or
Program
Program
Program
Program
Program
Program
Program
Program
Program

to
to
to
to
to
to
to
to
to

Find the Largest Number Among Three Numbers


Check Leap Year
Check Whether a Number is Positive or Negative
Find Factorial of a Number
Count Number of Digits of an Integer
Reverse a Number
Display Factors of a Number
Find Transpose of a Matrix
Add Two Matrix Using Multi-dimensional Arrays

Part -2
1.
2.
3.
4.
5.
6.
7.
8.

9.
10.

Write a Java program to implement class and object.


Write a Java program to implement function overloading.
Write a Java program to implement Inheritance.
Write a Java Program to check Palindrome Number
Write a Java Program to check Prime Numbers
Write a Java Program to find Factorial value of a given Number
Write a Java Program to Find Largest and Smallest Number in an Array
Write a Java program to check the given number armstrong number or
not
Write a Java program by using BufferedReader class to prompt a user to
input his/her name and then display the name.
Write a Java program to implement Constructor and Destructor.

THE LAB RECORD MUST BE HAND WRITTEN ON SINGLE SIDE OF PAGE WITH
PROPER DETAILS LIKE PAPER CODE, SUBJECT,EXAM. ROLL NO, SIGNATURE etc.

You might also like