Answer:
#include <iostream>
using namespace std;
int main() {
int currentYear = 2020;
int myCurrentAge = 23;
int myNewAge=myCurrentAge+(2050-currentYear);
cout << "My Current Age is " << myCurrentAge << endl;
cout << "I will be " << myNewAge << " in 2050." << endl;
}
Explanation:
- Initialize the currentYear with 2020 and myCurrentAge with 23.
- Add myCurrentAge with the the result of (2015 - currentYear) and assign this result to myNewAge variable.
- Finally display my current age and after that display the new age in 2050.
Output:
My Current Age is 23
I will be 53 in 2050.
Complete question is attached as snapshot.
Answer:
This will result in a compilation error.
Here's the inheritance hierarchy:
Meg -> Lois -> Brian -> Stewie
Now Meg has 2 public Fxns, a() and toString().
Lois inherits from Meg and all its public functions as well but, overrides the a() fxn of its super class.
So finally Lois has fxns a(), b() and toString().
Brian extends Lois and inherits all the above listed fxns of Lois, but overrides the b() and toString() fxns.
Stewie extends Brian and inherits all the fxns of Brian, but overrides the a() and toString() fxns.
In the Main driver fxn, we call a() and b() methods of all these classes but, the base class Meg has no b() and it is not extending any class so its not available in its scope.
This results in a compilation error.
Explanation:
Answer:
Digitalization
Explanation:
Instead of doing it manually they created one web site to interact with the customers through Internet and computer. so it is an example of digitalization where user avoids manual interaction
Answer:alphabetic keys, numeric keys, function keys and special keys.
Explanation:
Answer:
Data base administrator
Explanation:
The data base administrator is a component of a data model that defines the boundaries of a database, such as maximum and minimum values allowed for a field , constraints and access methods. Database is structured from of data sets.
The data in database use to come from different sources that data must have some boundaries. Database administrator is a part of DBMS. The authorized DBA is responsible for the integrity of data and keeping the data in good manner so at the time of need the data could be accessed rightly. Storage of data has to be done in a way that at time of use or at the time of retrieval the data must be accessed frequently and easily.
Database administrator is responsible to put constraint on the database, for example a person could enter how many digits or alphabets in the required fields or records. Otherwise user could enter irrelevant and lengthy data in the fields so it would be hard to manage data on server due to shortage of the memory. By putting such constraints the size of data could be managed and relevant data could be saved. Secondly, constraints use to be put for security purpose to keep information confidential and secure the certain constraints are mandatory and the data base administrator is responsible for such constraints.
Once the user use to store data on database the data safety and integrity is most important for them. So that DBA will arrange the data in organised form which will give quick access and data length will be managed properly so user could not enter lengthy data to full the repository. DBA put security constraint as well for the satisfaction of user and secure use of the database.
So we could say that dba is most important part of DBMS of any organization.