Answer:
//Define the header file
#ifndef PLAYER_H
#define PLAYER_H
//header file.
#include <string>
//Use the standard namespace.
using namespace std;
//Define the class Player.
class Player
{
//Declare the required data members.
string name;
int score;
public:
//Declare the required
//member functions.
void setName(string par_name);
void setScore(int par_score);
string getName();
int getScore();
}
//End the definition
//of the header file.
#endif
Player.cpp:
//Include the "Player.h" header file,
#include "Player.h"
//Define the setName() function.
void Player::setName(string par_name)
{
name = par_name;
}
//Define the setScore() function.
void Player::setScore(int par_score)
{
score = par_score;
}
//Define the getName() function.
string Player::getName()
{
return name;
}
//Define the getScore() function.
int Player::getScore()
{
return score;
}
Answer: CARDINALITY RATIO AND PARTICIPATION
ADVANTAGE
CARDINALITY RATIO
(THEY ARE USED TO SIMPLIFY DESIGNS)
DISADVANTAGE OF CARDINALITY RATIO IS THAT
(YOU CAN NOT SPECIFY A GIVEN NUMBER TO BE MAXIMUM)
ADVANTAGE OF PARTICIPATION CONSTRAINT IS THAT
(IT SHOWS WETHER THE EXISTENCE OF AN ENTITY IS DEPENDENT ON ITS RELATIONSHIPS WITH ANOTHER ENTITY)
DISADVANTAGE OF PARTICIPATION CONSTRAINT
(IT IS A COSTLY AFFAIR USING BOTH MODELS TO EXPRESEE RELATIONSHIPS).
Explanation:CARDINALITY RATIO specifies that maximum number of relationships an entity can engage itself in.
Participation constraint is a constraint that
Specifies whether the existence of an entity depends on its Relationships to another entity, it specifies the the minimum number of relationship instances that an entity can participate in
It is also minimum cardinality constraint,it has two types named as Total participation and partial participation.
Answer:
D) is due to an increase of the armature current.
Explanation:
Option D is correct because on the DC motor, when the load increases, it leads to an increase in the armature current.
The armature current then sets up a magnetic flux which opposes the main field flux. The net field flux gets reduced. It is at this point, the armature reaction occurs.
Armature reaction is seen as the effect of magnetic flux which is usually set up by an armature current. This occurs when there is the distribution of flux under the main poles.
There are two effects the armature flux causes on the main field flux.
1. The main field flux is distorted by the armature reaction.
2. The magnitude of the main field flux is reduced by the armature flux.
Answer:
12
Explanation:
19-7 lol this is to easy im in middle school
Answer:
A mock-up
Explanation:
It is made of cheap and easy to access parts.