Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse C

Alphabetical listing with fast deep pagination.
81169 items • Page 1505 / 1624

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
c++ 1. Make the following changes to the stack class: Make all necessary changes
c++ 1. Make the following changes to the stack class: Make all necessary changes to have the class store integers on the stack instead of characters. pop should return -1 if calle…
c++ 1. True/False: Classes and structures can both have other class objects or s
c++ 1. True/False: Classes and structures can both have other class objects or structure variables as members. True False 2. In an ADT the implementation details are ________ the …
c++ 1. What is the effect of the following statement? If a statement is invalid,
c++ 1. What is the effect of the following statement? If a statement is invalid, explain why it is invalid. The classes queueADT, queueADT, and linkedQueueType are as defined in t…
c++ 1. What kind of a container is an object of type list from the Standard Temp
c++ 1. What kind of a container is an object of type list from the Standard Template Library? Sequential Associative 2. In which of the following ways can you write an operator ov…
c++ 1. Which statement initializes (allocates) a pointer to point to a memory ad
c++ 1. Which statement initializes (allocates) a pointer to point to a memory address in the heap? int* p; 2. Here is a function declaration: Suppose that a is an int* variable po…
c++ 1. Which statement initializes (allocates) a pointer to point to a memory ad
c++ 1. Which statement initializes (allocates) a pointer to point to a memory address in the heap? int* p; 2. Here is a function declaration: Suppose that a is an int* variable po…
c++ 1. Write a function named getColumnSum() that takes 1) a column index and 2)
c++ 1. Write a function named getColumnSum() that takes 1) a column index and 2) a two-dimensional array with 10 rows and 15 columns and returns the sum of the elements in the spe…
c++ 1. Write a function with the following prototype: bool insert (int value, in
c++ 1. Write a function with the following prototype: bool insert (int value, int intArray[ ], int & numberOfValidEnties, int size); Precondition is that the first numberOfVal…
c++ 1.Given the following struct: struct bankCD { double amount; double interest
c++ 1.Given the following struct: struct bankCD       {             double amount;             double interestRate;             int years;       }; What is the name of the struct?…
c++ 1.You can use #define to define a name for a C++ variable. True/False 2.Supp
c++ 1.You can use #define to define a name for a C++ variable. True/False 2.Suppose an exception of type E is thrown in a function but not listed in the exception specification, a…
c++ 13.6 \"Gentle\" exercise 9.1 Using the Pythagorean Theorem, calculate the hy
c++ 13.6 "Gentle" exercise 9.1 Using the Pythagorean Theorem, calculate the hypotenuse of a right triangle given the length of the two shorter sides. Be certain to use the square …
c++ 13.7 \"Gentle\" exercise 9.2 The root mean square is a specific kind of aver
c++ 13.7 "Gentle" exercise 9.2 The root mean square is a specific kind of average which is used for various purposes. It is given by the formula shown here. This means that a sequ…
c++ 18 ) Recursion can be sued to display the linked list backward but won\'t wo
c++ 18) Recursion can be sued to display the linked list backward but won't work for displaying it forward. A. True B. False 19) Inserting a new value in the middle of a singly li…
c++ 2) Casino Blackjack (This is a long problem; even if you don\'t finish it do
c++ 2) Casino Blackjack (This is a long problem; even if you don't finish it do as much as you can on it since it provides good practice with classes and objects in a mildly compl…
c++ 2) Complex Class A complex number is of the form a+ bi where a and b are rea
c++ 2) Complex Class A complex number is of the form a+ bi where a and b are real numbers and i 21. For example, 2.4+ 5.2i and 5.73 - 6.9i are complex numbers. Here, a is called t…
c++ 2) Design a class called LineItem that has the following member variables: .
c++ 2) Design a class called LineItem that has the following member variables: . prod. A Product object. quantity. An integer variable that holds the quantity. The class should ha…
c++ 26. For optimal aerobic benefit, a person should maintain a heart rate betwe
c++ 26. For optimal aerobic benefit, a person should maintain a heart rate betwen 60% and 80% of his or her maximal heart rte-this range is called the aero. bic target zone. A per…
c++ 5. A file called \"people.txt\" contains many thousands of lines of data tha
c++ 5. A file called "people.txt" contains many thousands of lines of data that look just like this 19911213 Douglas Davies 70 170NJ 19420117 Cory DeMilt 68 175 NY 19620606 Heiron…
c++ 5. getString Function Write a function named getString that has a local char
c++ 5. getString Function Write a function named getString that has a local char array of 80 elements. The function should ask the user to enter a sentence, and store the sentence…
c++ 6. (b hint : just rewrite the while loop condition) Consider the following d
c++ 6. (b hint : just rewrite the while loop condition) Consider the following declaration of a C-string variable, where SIzE is a def ned constant: char ourstring [SIZE] The C-st…
c++ 8. (TCO 4) Consider the following class definitions. class bClass { public:
c++ 8. (TCO 4) Consider the following class definitions. class bClass { public:      void setX(int a);      //Postcondition: x = a;      void print() const; private:      int x; }…
c++ A contact list is a place where you can store a specific contact with other
c++ A contact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. Write a program that f…
c++ A corporation has six divisions, each responsible for sales to different geo
c++ A corporation has six divisions, each responsible for sales to different geographic locations. Design a DivSales class that keeps sales data for a division, with the following…
c++ A menu-driven program gives the user the option to find statistics about dif
c++ A menu-driven program gives the user the option to find statistics about different baseball players. The program reads from a file and stores the data for ten baseball players…
c++ A pointer is a variable that contains as its value the _______ of another va
c++ A pointer is a variable that contains as its value the _______ of another variable. T / F A pointer that is declared to be of type void can be dereferenced. Declare p to be a …
c++ A prime number is an integer greater than 1 that is evenly divisible by only
c++ A prime number is an integer greater than 1 that is evenly divisible by only 1 and itself. For example, the number 5 is prime because it can be evenly divided only by 1 and 5.…
c++ A prime number is an integer greater than 1 that is evenly divisible by only
c++ A prime number is an integer greater than 1 that is evenly divisible by only 1 and itself. For example, the number 5 is prime because it can be evenly divided only by 1 and 5.…
c++ Abstract Class and Polymorphism Scenario/Summary We have two separate goals
c++ Abstract Class and Polymorphism Scenario/Summary We have two separate goals this week: We are going to create an abstract Employee class and two pure virtual functions - calcu…
c++ Add a new data member, string color to your Point2D class below and a new ge
c++ Add a new data member, string color to your Point2D class below and a new getter and setter function for color. Create a Point2D object and set its color. Then create a Point3…
c++ Any circle is completely determined by its center (h, k) and radius r (x-h)^
c++ Any circle is completely determined by its center (h, k) and radius r (x-h)^2 + (y-k)^2 r^2 = a Define a structure that models the data needed to determine a circle and call i…
c++ Assignment Problem Description: The Flying Traveller Airline Company (FTAir)
c++ Assignment Problem Description: The Flying Traveller Airline Company (FTAir) wants a program to process customer requests to fly from some origin city to some destination city…
c++ Assuming the following inheritance: class Plant { public: Plant ( ); ~Plant
c++ Assuming the following inheritance: class Plant {     public:              Plant ( );              ~Plant ( );             void   grow ( );   // only defined in base class Pla…
c++ Because an official handicap requires up to 10 scores, you will need to modi
c++ Because an official handicap requires up to 10 scores, you will need to modify the previous program to accept multiple scores, process the scores, and provide the user with th…
c++ Can anyone tell me why I am getting this error and how i can fix it? *untitl
c++ Can anyone tell me why I am getting this error and how i can fix it? *untitled.cox-C:UsersiKadeDocumentsCollegeC++-Geany (new instance) File Edit Search View Document Project …
c++ Can someone explain these rules to me in more layman terms? Also, where woul
c++ Can someone explain these rules to me in more layman terms? Also, where would we place the cin.ignore (n, pattern) in the program above? Thanks! #include #include-: st ring» u…
c++ Cash Register. This program will use two classes; one of the classes is prov
c++ Cash Register. This program will use two classes; one of the classes is provided in the assignment description for week 7 in the course site. Write a class name CashRegister, …
c++ Circle Class. Write a class name Circle, with the class declaration in a fil
c++ Circle Class. Write a class name Circle, with the class declaration in a file called Circle.h and the implementation in a file called Circle.cpp. The class will have two data …
c++ Code Your code must read in input from a file. In other words, you must read
c++ Code Your code must read in input from a file. In other words, you must read in the ciphertext from the file ciphertext.txt. Do not hard code it as a string literal. This is e…
c++ Code Your code must read in input from a file. In other words, you must read
c++ Code Your code must read in input from a file. In other words, you must read in the ciphertext from the file ciphertext.txt. Do not hard code it as a string literal. This is e…
c++ Code... most basic c++ code you could come up with Characters for the ASCII
c++ Code... most basic c++ code you could come up with Characters for the ASCII Codes Write a program that uses a loop to display the characters for each ASCII code 32 through 127…
c++ Computational Complexity /* filling in the * following three functions: * *
c++ Computational Complexity /* filling in the * following three functions: * * 1) void disp(Node* head) * Given a head pointer to a list, display the list using cout. * If the li…
c++ Computational Complexity Create a singly linked list for storing positive in
c++ Computational Complexity Create a singly linked list for storing positive integers. Each node will store one integer. For example, 12->3->5->777-111 is such a list. T…
c++ Computational Complexity Create a singly linked list for storing positive in
c++ Computational Complexity Create a singly linked list for storing positive integers. Each node will store one integer. For example, 12->3->5->777-111 is such a list. T…
c++ Computers are playing an increasing role in education. Write a program that
c++ Computers are playing an increasing role in education. Write a program that will help an elementary school student learn multiplication. Use rand to produce two positive two-d…
c++ Consider each of the following questions carefully. You are required to give
c++ Consider each of the following questions carefully. You are required to give the answer true or false and justify your answer. If it is true, explain why it is true. i. Linked…
c++ Consider the following declarations and answer the 4 questions below: class
c++ Consider the following declarations and answer the 4 questions below: class bagType { public: void set(string, double, double, double, double); void print() const; string getS…
c++ Could somebody break down this code I\'m about to post and explain it to me
c++ Could somebody break down this code I'm about to post and explain it to me how it works. I understand parts but if their is at all an ELI5(Explain like im 5) here I would real…
c++ Create a class called AddressBook. It should be able to store a maximum of 5
c++ Create a class called AddressBook. It should be able to store a maximum of 50 names and 50 phone numbers (make an array of structures in the object or two arrays). It should c…
c++ Create a function that accepts four double values as parameters. These four
c++ Create a function that accepts four double values as parameters. These four double values should NOT modify the related values in main. The function should return the minimum …
c++ Day of year program. This uses the Julian date (1 – 365) and translates it i
c++ Day of year program. This uses the Julian date (1 – 365) and translates it into a string consisting of the month followed by the day in that moth, ignore leap years for this a…