A type of cloud that is acessible by a specific group of organisation is referred to as?
Select one:
a. Community cloud
b. Organisational cloud
c. Private cloud
d. Secondary cloud
Write a program that prompts the user to input the x-y coordinate of a point in a Cartesian plane. The program should then output a message indicating whether the point is the origin, is located on the x- (or y-) axis, or appears in a particular quadrant.
Samples of expected output:
Enter x and y coordinates: 0 0
(0, 0) is the origin
Enter x and y coordinates: 4 0
(4, 0) is on the x-axis
Enter x and y coordinates: 0 -3
(0, -3) is on the y-axis
Enter x and y coordinates: -2 3
(-2, 3) is in the second quadrant
Enter x and y coordinates: 1 -4
(-2, 3) is in the fourth quadrant
Base class has two pure virtual functions
getData() and isoutstanding(). Parent class should include two member functionsto input() and display(),the name of personnel. Code includes two derived classes, student and instructor . Derived classes each contain a function called get () and outstanding(). get () function of Student class should input name of personnel and asks user to input GPA whereas outstanding function determines either GPA>3 or not.Similarly, get () function of instructor class should input name of personnel and asks user to input no of publications whereas Outstanding function determines either the no. of publications >50 or not. Student and instructor objects are casted into the person class type through array of pointers. Ask user either he is student/instructor, then get his data using get () and your program continues to ask to enter the data until the last personnel enters data. Once data entered, print names of all personnel along their outstanding.
What is the minimum distance between learn and dream? Write out each operation needed and how the word changed
Write a program that reads a person’s name in the following format: first name, then middle name or initial, and then last name. The program then outputs the name in the following format:
lastName, firstName middleInitial.
For example, the input
Mary Average User
Should produce the output:
User, Mary A.
The input
Mary A. User
Should also produce the output:
User, Mary A.
Your program should work the same and place a period after the middle initial even if the input did not contain a period. Your program should allow for users who give no middle name or middle initial. In that case, the output, of course, contains no middle or initial. For example, the input
May User
should produce the output
User, Mary
(Hint: You may want to use three string variables rather than one large string variable for the input. You may find it easier to not use getline.)
Comment on her diagram, explaining which 10 changes you would recommend to improve the diagram to be more in line with the business rules. Also include improvements that would make it possible to implement the design in a relational database. Explain why you would make each change too, so she can learn from her mistakes.
Create a class Employee with attributes cnic, name and salary. Make all fields private and expose them via proper getter and setter methods. Choose appropriate data type for each property yourself. In Employee class, make following constructors: a) Constructor that takes CNIC and name only. It shall intialize both fields. b) Fully parameterized constructor, that means, that takes all parameters and initialize associated instance attributes. From this constructor, call the 2nd construction to intialize CNIC and name instance attributes
Create a class called Time that has separate int member data for hours, minutes and seconds. One constructor should initialize this data to 0. and another should initialize it to fixed values. A member function should display it, in 11:59:59 format. Write a program to add time of two objects by overloading '+' operator
Create a class Point, which defines a point on the coordinate plane. Implement a count of the number of created instances of type Point.
Write a class called quadrilateral. Your task is to store the length of all the sides of the quadrilateral and the value of the 2 opposite angles within the quadrilateral. Then implement member functions:
1. To compute the area of the quadrilateral.
2. To compute the parameter of the quadrilateral.
3. A constant function that will display the length of all the sides, the angles, the parameter of the quadrilateral and area of the quadrilateral.
4. Create setter and getter methods.
Demonstrate the use of the object in the main function. Make sure that the function names are meaningful and self-descriptive.