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

Web development and programming

191828 questions • Page 3576 / 3837

class Stack private: int size; // size of stackArray int top; I/ top of stackArr
class Stack private: int size; // size of stackArray int top; I/ top of stackArray int *stackArray; public: Stack(int newSize) size newSize; // set array size stackArray-new int […
class StackX { private int maxSize; // size of stack array private long[] stackA
class StackX { private int maxSize; // size of stack array private long[] stackArray; private int top; // top of stack //---------------------------- -----------------------------…
class Student(object): ##\"__init__() functions as the class constructor\" def _
class Student(object): ##"__init__() functions as the class constructor" def __init__(self, name=None, prev=None, nxt=None): self.name = name self.prev = prev self.next = nxt Usin…
class SubscriptionYear You are to write a class called SubscriptionYear that con
class SubscriptionYear You are to write a class called SubscriptionYear that contains the following attributes and methods. Attributes: Instance variable called year of type int ,…
class SubscriptionYear You are to write a class called SubscriptionYear that con
class SubscriptionYear You are to write a class called SubscriptionYear that contains the following attributes and methods. Attributes: Instance variable called year of type int ,…
class SubscriptionYear You are to write a class called SubscriptionYear that con
class SubscriptionYear You are to write a class called SubscriptionYear that contains the following attributes and methods. Attributes: Instance variable called year of type int ,…
class Tag: #Constructor - initializes the instance variables __tag_name and __ta
class Tag: #Constructor - initializes the instance variables __tag_name and __tag_type def __init__(self,tag_name,tag_type): self.__TYPE_LIST = ["start","end","empty"] self.__tag_…
class Test { public synchronized void foo() throws InterruptedException { wait()
class Test { public synchronized void foo() throws InterruptedException { wait(); System.out.println("Goodbye"); } public synchronized void bar() throws InterruptedException { wai…
class Test { public synchronized void foo() { bar(); System.out.println(\"Goodby
class Test { public synchronized void foo() { bar(); System.out.println("Goodbye"); } public synchronized void bar() { System.out.println("Hello"); } } When a thread invokes the f…
class TicTacToe { /* Declare one integer for each sqaure of the game. The first
class TicTacToe { /* Declare one integer for each sqaure of the game. The first square is 1 and the last 9 s1 | s2 | s3 ----+-----+---- s4 | s5 | s6 ----+-----+---- s7 | s8 | s9 V…
class Time { private: int hr, min; public: Time operator+ (Time); Time(int x, in
class Time {    private: int hr, min; public: Time operator+ (Time);              Time(int x, int y) {hr =x; min = y; }               void show( ) { cout << hr <<":" &…
class WarGame(object): \'Implement a Luck Seven Game. A lucky seven is defined a
class WarGame(object): 'Implement a Luck Seven Game. A lucky seven is defined as 3 or more 7s being rolled.' def __init__(self,sh): 'Constructor that takes a mandatory shaker as a…
class bagType { public: void set(string, double, double, double, double); void p
class bagType { public: void set(string, double, double, double, double); void print() const; string getStyle() const; double getPrice() const; void get(double, double, double, do…
class below queue with a linked points) The with a tail pointer as the circular
class below queue with a linked points) The with a tail pointer as the circular list-30 linked list is at the head of implements a first-in-first-out queue. It uses a circular sin…
class bookType { public: void setBookTitle(string s); //sets the bookTitle to s
class bookType { public:         void setBookTitle(string s);      //sets the bookTitle to s     void setBookISBN(string ISBN);      //sets the private member bookISBN to the para…
class bookType {public: void set BookTitle (string s)//sets the bookTitle to s v
class bookType {public: void set BookTitle (string s)//sets the bookTitle to s void set BookISBN (string ISBN)//sets the private member book ISBN to the parameter void setBookPric…
class cashRegister { public : int getCurrentBalance() const; void acceptAmount (
class cashRegister { public :    int getCurrentBalance() const;    void acceptAmount ( int amountIn );    cashRegister( int cashIn = 500 ); private:    int cashOnHand; }; // end c…
class cashRegister { public : int getCurrentBalance() const; void acceptAmount (
class cashRegister { public :    int getCurrentBalance() const;    void acceptAmount ( int amountIn );    cashRegister( int cashIn = 500 ); private:    int cashOnHand; }; // end c…
class cashRegister { public : int getCurrentBalance() const; void acceptAmount (
class cashRegister { public :    int getCurrentBalance() const;    void acceptAmount ( int amountIn );    cashRegister( int cashIn = 500 ); private:    int cashOnHand; }; // end c…
class cashRegister { public : int getCurrentBalance() const; void acceptAmount (
class cashRegister { public :    int getCurrentBalance() const;    void acceptAmount ( int amountIn );    cashRegister( int cashIn = 500 ); private:    int cashOnHand; }; // end c…
class collegeCourse private Scourseld private Senrollment private Srequired / ge
class collegeCourse private Scourseld private Senrollment private Srequired / getters getCourseldot l code to retrieve Scourseld / code to retrieve Senrellment .getRequiredOt l co…
class counter { friend ostream &operator
class counter { friend ostream &operator<<(std::ostream &, const counter &) // stream insertion operator friend istream &operator>>(istream & in, c…
class dateType Download source and header files of the class dateType from Black
class dateType Download source and header files of the class dateType from Blackboard. Rewrite the definitions of the function setDate and the constructor so that the values for t…
class employee //Line 1 { //Line 2 public: //Line 3 employee(); //Line 4 employe
class employee                                                //Line 1 {                                                                      //Line 2 public:                     …
class encapsulating the concept of statistics for a baseball team, which has the
class encapsulating the concept of statistics for a baseball team, which has the following attributes: a number of players, a of number of hits for each player, a list of number o…
class heap{ public : /** TO DO:: default constructor perform new to reserve memo
class heap{ public: /** TO DO:: default constructor perform new to reserve memory of size INITIAL_CAPACITY. set num_items = 0; */ heap(){ // write your code here darray[INITIAL_CA…
class hierarchy program in C++ : animal protected: char sound[10]; // contains \
class hierarchy program in C++ : animal   protected:   char sound[10];              // contains "moo", "quack" unsigned char data; // 0 - cannot fly, 1 - can fly // number of legs…
class hotel holds information about each room in the hotel.Complete the Hotel de
class hotel holds information about each room in the hotel.Complete the Hotel definition by including the following a. two instance variables: hotelName (String) and roomsList ( a…
class list. public: list. -list int add (int 6 time stamp double & temperature,
class list. public: list. -list int add (int 6 time stamp double & temperature, double windspeed) int display int displayTemp int displayWind int checkTime (int & timestam…
class named Car that has the following fields: • yearModel: The yearModel field
class named Car that has the following fields: • yearModel: The yearModel field is an int that holds the car's year model. • make: The make field is a String object that holds the…
class node TYPEDEF typedef double value_type // CONSTRUCTOR node ( constvalue ty
class node TYPEDEF typedef double value_type // CONSTRUCTOR node ( constvalue type & init-data { data-field new datai ) new_link:) value-type ( - node: init link -NULL , init-…
class point public: // CONSTRUCTOR point (double initial-x = 0.0, double initial
class point public: // CONSTRUCTOR point (double initial-x = 0.0, double initial-y = 0.0); // MODIFICATION MEMBER FUNCTIONS /I CONSTANT MEMBER FUNCTIONS point operatort (double &a…
class single linked list f private: class node f public nod link int contents; n
class single linked list f private: class node f public nod link int contents; node ead. public single linked list. thead 0 void insert at head (int) void insert at tail (int) int…
class studentType { public: void setData(string, double, int); private: string n
class studentType { public: void setData(string, double, int); private: string name; }; class studentType { public: void setData(string, double, int); void print() const; private:…
class survive sibsp parch ticketfare cabin embarked boat body home.dest St Louis
class survive sibsp parch ticketfare cabin embarked boat body home.dest St Louis, MO Montreal, Pa/Chesterville, ON Montreal, Pa/Chesterville, ON d namesex age 1 Allen, Mis female …
class test { public static void main(String [], args) { short a=10; int b=20; lo
class test { public static void main(String [], args) { short a=10; int b=20; long c=301L; b =(short) c; a=b; b=c; c=a; a=b; c=b; System.out.println(b); } } Question 1; Why are th…
class test1 { public static void main(String args[]) throwsFileNotFoundException
class test1 { public static void main(String args[]) throwsFileNotFoundException, IOException { //int [] count=new int [100]; Vector v; // declare a vector object //v = Vector(1,2…
classBurrito { private int beans; private int beef; private int cheese; private
classBurrito {     private int beans;     private int beef;     private int cheese;     private int salsa;     // a special "method" - aClass CONSTRUCTOR!!!     public Burrito() /…
classes outlined to the right. Show the statements required to complete the foll
classes outlined to the right. Show the statements required to complete the following a. Create a new ArrayBag of Po1 ynomials caled b an initial capacity of 12 bagt with pie woid…
classes with private class complex{ public: complex( double = 0.0, double = 0.0)
classes with private class complex{ public: complex( double = 0.0, double = 0.0); //constructor // complex(); complex add(complex); //member functions void print() const; private:…
classroom msstateedu X X My board Content x y D Postri No x C Secure I https myc
classroom msstateedu X X My board Content x y D Postri No x C Secure I https mycoul es.msstate.edu/ bbcswebdav pid-1085319-dt-content-rid-6693448 1/courses/lgr 1.201710 Group01/Po…
classroom msstateedu X X My board Content x y D Postri No x C Secure I https myc
classroom msstateedu X X My board Content x y D Postri No x C Secure I https mycoul es.msstate.edu/ bbcswebdav pid-1085319-dt-content-rid-6693448 1/courses/lgr 1.201710 Group01/Po…
classroom(building, room number, capacity) department(dept name, building, budge
classroom(building, room number, capacity) department(dept name, building, budget) course(course id, title, dept name, credits) instructor(ID, name, dept name, salary) section(cou…
classtest1.pdf t En) 20:41 1 of 166.309 Thumbnails 2 Complexity - 15 marks 1. Ar
classtest1.pdf t En) 20:41 1 of 166.309 Thumbnails 2 Complexity - 15 marks 1. Are the following statements true or false? Prove your answer (a) It is possible for a function in O(…
cle Secure l https://olbake.edu/webapps/assessment/take/launch.jsp? assessment i
cle Secure l https://olbake.edu/webapps/assessment/take/launch.jsp? assessment id 441919.1&course;_id _272898 1&content; id 198516 course Question 6 The more command is (S…
clear all close all X = -10:10; Y = -10:10; Z = -10:10; [X,Y,Z] = meshgrid(X,Y,Z
clear all close all X = -10:10; Y = -10:10; Z = -10:10; [X,Y,Z] = meshgrid(X,Y,Z); Hx=zeros(21,21,21); Hy=zeros(21,21,21); Hz=zeros(21,21,21); I=1; epslon = 8.854*10^-12; %%H=zero…
clear all r=1; x1=zeros(81,81); x2=zeros(81,81); x3=zeros(81,81); c=zeros(81,81)
clear all r=1; x1=zeros(81,81); x2=zeros(81,81); x3=zeros(81,81); c=zeros(81,81); x1new=zeros(81,81); x2new=zeros(81,81); x3new=zeros(81,81); for i=1:1:81 theta=(i-1)*2*pi/80; for…
clear all r=1; x1=zeros(81,81); x2=zeros(81,81); x3=zeros(81,81); c=zeros(81,81)
clear all r=1; x1=zeros(81,81); x2=zeros(81,81); x3=zeros(81,81); c=zeros(81,81); x1new=zeros(81,81); x2new=zeros(81,81); x3new=zeros(81,81); for i=1:1:81 theta=(i-1)*2*pi/80; for…
clear all; N = 1e6; t=linspace(0.0,8.0,N); % Note that linspace produces a row v
clear all; N = 1e6; t=linspace(0.0,8.0,N); % Note that linspace produces a row vector What is the result of the following set of Matlab statements? Describe your answer in sentenc…
clear all; clc; % Obtain a cent amount from the user change = input(\' Enter a c
clear all; clc; % Obtain a cent amount from the user change = input(' Enter a cent amount: '); % Verify the input must be an interger and less than 99 if mod(change,1) ~= 0 || cha…