Check Video
Saturday, 24 December 2022
Trigger Key Assignment Solution
Monday, 19 December 2022
What is Trigger key in Tally? what the uses of this attribute?
Trigger key के माध्यम से कम्प्यूटर द्वारा ऑटोमैटिक कीबोर्ड की कीज प्रैश करवाई जाती है जैसे कि कोई यूजर की बोर्ड पर कीज प्रैश करता हैै।
/*Trigger Key
Auto Press Button on Behalf of user
Trigger Key, which sends the list of keys in
sequence to the system as if an User/operator is
pressing those Keys*/
For more information watch following video
Thursday, 18 August 2022
Download Sona Sarvan for rakshabandan/rakhi | बने बनाये सोना श्रवण डाउनलोड करें। राखी के लिए सोना श्रवण कैसे बनायें।
Steps:-
Wednesday, 1 June 2022
Vmou Solved Question - Answer
Question Paper
VMOU Computer Science |
VMOU MSCCS/PGDCA/CAWD/MCA I - June 2021 |
VMOU MSCCS/PGDCA/CAWD/MCA I - June and Dec 2020 |
Get Programming with c++ and java Question paper with answer |
Question Paper Answer
Question Paper Answer
OOPS Programming with C++ and JAVA (VMOU June 2019 Q12 (i)) Write a program in C++ using templates to find the maximum of two values.
सी++ में टेम्पलेट का प्रयोग कर दो संख्यायों में बडी संख्या ढूढने का प्रोग्राम बनाइये?
सी++ में टेम्पलेट का प्रयोग कर दो संख्यायों में बडी संख्या ढूढने का प्रोग्राम बनाइये?
OOPS Programming with C++ and JAVA (VMOU June 2019 Q12 (ii)) Explain the concept of inner classes with suitable examples in java.
जावा में इनर क्लास को उदाहरण सहित समझाइयें?
जावा में इनर क्लास को उदाहरण सहित समझाइयें?
OOPS Programming with C++ and JAVA (VMOU June 2019 Q13 (i)) Explain the concept of life cycle of an applet in java.
जावा में एप्लेट लाइफ साइकल को समझाइये?
जावा में एप्लेट लाइफ साइकल को समझाइये?
OOPS Programming with C++ and JAVA (VMOU June 2019 Q13 (ii)) Write a program in c++ to find the entered year is leap year or not.
सी++ में लीप इयर जांचने का प्रोग्राम बनाइये?
सी++ में लीप इयर जांचने का प्रोग्राम बनाइये?
Question Paper Answer
VMOU MSCCS/PGDCA/CAWD/MCA I Year-103 OOPS Programming with C++ and JAVA - December-19 |
OOPS Programming with C++ and JAVA (VMOU Dec 2019 Q1) Oops Programming with C++ and Java |
VMOU Solved Question Papers
Question-Answer
Tuesday, 31 May 2022
Question. Paper-PGDCA/MSCCS-03/MCa-103/CPCJ | Oops Programming with C++ and Java
(i) in C++, the predefined object cout is an instance of which class?
Sol:- The predefined object cout is an instance of ostream class.
(ii) Which operator is used to allocate memory dynamically in c++?
Sol: - New
Remember
C++ supports dynamic allocation and deallocation of objects using the new and delete operators. These operators allocate memory for objects from a pool called the free store (also known as the heap).
(iii) if the return type of a function in c++ is void, what will it return?
Sol:- do not return anything
(iv) if we check the size of an integer variable on different plateforms/operating systems, will it return same value in c++?
Sol: No, If 16 bit OS sizeof(int) = 2 byte, for 32 bit sizeof(int) = 4 byte, for 64 bit sizeof(int)=8 byte
(v) Why syntax do you use in order to inherit a class from another class in c++?
Sol:-
Syntex
class <derived_class_name> : <access-specifier> <base_class_name>
{
//body
}
Where
class — keyword to create a new class
derived_class_name — name of the new class, which will inherit the base class
access-specifier — either of private, public or protected. Is neither is specified, PRIVATE is taken as default
base-class-name — name of the base class
(vi) What does init () Method do in applets in Java?
Sol: init () method is used to initialize an applet. It is invoking only once at the time of initialization. Initialized objects are created by the web browser.
(Vii) Write the output of Following piece of code in java
for(int i=0; i<10; i++)
{
if(i==4)
{
break;
}
System.out.println(i);
}
Output:-
0123
(viii) What is the purpose of using finally statement in java?
Sol:
Sometimes there is a need to execute a set of code every time the program runs. Even if the exception occurs and even if it doesn't, there can be some code that must be executed at end of the program. That code is written in finally block. This block is always executed regardless of exceptions occurring.
कभी-कभी प्रोग्राम के चलने पर हर बार हमें कोड के एक सेट को निष्पादित करने की आवश्यकता होती है। हमें अपवाद हो या नहीं हमें कुछ कोड को प्रोग्राम के अंत में निष्पादित किया जाना आवश्यक होता है। वह कोड अंत में फाइनली ब्लॉक में लिखा गया है। अपवादों की परवाह किए बिना इस ब्लॉक को हमेशा निष्पादित किया जाता है।
Question . Write a program in c++ to find the entered year is leap year or not.
#include <iostream>
using namespace std;
int main()
{
int year;
cout << "Enter a year: ";
cin >> year;
// leap year if perfectly divisible by 400
if (year % 400 == 0) {
cout << year << " is a leap year.";
}
// not a leap year if divisible by 100
// but not divisible by 400
else if (year % 100 == 0) {
cout << year << " is not a leap year.";
}
// leap year if not divisible by 100
// but divisible by 4
else if (year % 4 == 0) {
cout << year << " is a leap year.";
}
// all other years are not leap years
else {
cout << year << " is not a leap year.";
}
return 0;
}
Output 1
Enter a year: 1900
1900 is not a leap year.
Output 2
Enter a year: 2012
2012 is a leap year.