Web development and programming
191828 questions • Page 3555 / 3837
c++ ------ Turn in a written report that contains your name on page one, and sta
c++ ------ Turn in a written report that contains your name on page one, and starting on page 2 all file you write-header files and source files-plus output file and a snippet of …
c++ --------------- Question 2 Create a class to handle fractions, using multipl
c++ --------------- Question 2 Create a class to handle fractions, using multiple cpp files and appropriate.h file. Both the numerator and denominator are integers, positive or ne…
c++ ----------------------------------------------------------------------------
c++ --------------------------------------------------------------------------------------------------------------------- ex2.cpp // put your name etc here... #include<iostream…
c++ ----------------------------------------------------------------------------
c++ --------------------------------------------------------------------------------------------------------------------- ex2.cpp // put your name etc here... #include<iostream…
c++ ----using web form html i created this i need help with this code. i am havi
c++ ----using web form html i created this i need help with this code. i am having problems with the if else statements.. this is the web form html p>The switch statement will …
c++ // CHANGE #1: // THE ONLY CHANGE IS THAT I WANT YOU TO LET THEM HAVE // UNLI
c++ // CHANGE #1: // THE ONLY CHANGE IS THAT I WANT YOU TO LET THEM HAVE // UNLIMITED GUESSES AND NOW YOU KEEP // TRACK OF HOW MANY GUESSES IT TAKES AND THEN // PRINT OUT "You too…
c++ // decode_char(tnode, message, d){ // decode one character from the message.
c++ // decode_char(tnode, message, d){ // decode one character from the message. // Pre: tnode is a node in a huffman tree // message:: cstring, the whole message to decode // d::…
c++ //Figure 1: vararray.h // variable size array class // Saleh M Alnaeli + Mik
c++ //Figure 1: vararray.h // variable size array class // Saleh M Alnaeli + Mikhail Nesterenko // KSU #ifndef VARARRAY_H_ #define VARARRAY_H_ class varArray{ public: varArray(); …
c++ 1) Define the class called Student . The Student class has the following: a.
c++ 1) Define the class called Student. The Student class has the following: a. Private data members: name(string), age(int), units(int). The units represent the number of quarter…
c++ 1) What does AVL stand for? Select one: a. Adel\'son-Vel\'skii and Landis b.
c++ 1) What does AVL stand for? Select one: a. Adel'son-Vel'skii and Landis b. Array Vector Level c. Automatic Value Loading 2) What is the most important performance advantage th…
c++ 1. (TCO 3) Which of the following about composition is true? (Points : 2) Co
c++ 1. (TCO 3) Which of the following about composition is true? (Points : 2) Composition promotes code reuse. Class composition means a class contains objects from …
c++ 1. (TCO 8) Briefly describe best practices as it relates to naming variables
c++ 1. (TCO 8) Briefly describe best practices as it relates to naming variables and their associated accessor/mutator properties. (Points : 18) Question 2.2. (TCO 2) Does Encapsu…
c++ 1. A virtual function provides you with the ability to have several differen
c++ 1. A virtual function provides you with the ability to have several different functions with the same name in a parent and children classes and have C++ figure out which one t…
c++ 1. Consider the following graph: In what order are the vertices visited for
c++ 1. Consider the following graph: In what order are the vertices visited for a depth-first search that starts at v0? 0, 2, 1, 3, 5, 6 0, 4, 1, 6 2. Consider the following recur…
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. 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++ 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++ 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++ 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…
Subject
Web development and programming
Use Browse or pick another subject.