Answer:
class Cat:
isHungry = None
play = Cat().isHungry = True
eat = Cat().isHungry = False
if play:
print("I am hungry, I cannot play")
else:
play = Cat().isHungry = False
if eat:
print("I am full, I cannot eat")
else:
eat = Cat().isHungry = True
Explanation:
Just simple if and else statements.
Answer:
1. Teamwork
2. Responsibility
3. Commercial Awareness
4. Decision Making
5. Communication
6. Leadership
7. Trustworthiness & Ethics
8. Results Orientation
9. Problem Solving
10. Organisational skills
<span>One system of lens - ocular microscope
Two systems of lens - compound microscope
Some of the parts of a compound microscope are the </span>eyepiece lens.<span> There are two knobs on under the other to one side of the microscope which are used for </span>Coarse focus and Fine focus. There is an illuminator<span> at the bottom of the microscopic stand, which sheds a powerful light on the subject under the lens. Other parts include </span>objective lenses<span>, </span>stage with stage clips<span> (where the subject is placed) and r</span>evolving nosepiece. The tube<span> connects the eyepiece lens to the </span>turret<span>.</span>
Answer:
Class are the collection of variable and member function.
Class are the blueprint of an object.
Explanation:
Following are the points regarding class in c++
1.In C++ class is an user defined datatype..
2.Classes are the collection of variable and function in c++.
3.To access the property of class we can create object of that class
4.We can use following syntax to declared any class in c++
class classname
{
accessmodifier:
//statement and function
};
main()
{
classname objectname;
}
implementation of class in c++
#include<iostream>
class test // class declaration
{
public: // access modifier
void fun3() // Method definition
{
cout<<" hello :";
}
};
void main() // main function
{
test ob;// creating object
ob.fun3(); // calling function
}
In this program we declared a class "test " in class test. We giving public access modifier .The public access modifier define that variable and function are accessible outside the class and in main method we create the object ob which call the function fun3().
Output:hello :
Answer:
Computing is any goal-oriented activity requiring, benefiting from, or creating computers. It includes development of both hardware and software. Computing has become a critical, integral component of modern industrial technology. Major computing disciplines include computer engineering, computer science, cybersecurity, data science, information systems, information technology and software engineering
<em>《</em><em>please</em><em> </em><em>mark</em><em> </em><em>as</em><em> </em><em>brainlist</em><em>》</em>