• Q : Design a class named customerrecord that holds a customer....
    Programming Languages :

    Design a class named CustomerRecord that holds a customer number,name, and address. Include methods to set the values for each data field and output the values for each data field. Create the class di

  • Q : What is the relevance of the .net framework....
    Programming Languages :

    The purpose of this assignment is to have students research the .NET Framework on the Internet and other sources and share their findings with each other. 

  • Q : Design a sequential circuit that can detect....
    Programming Languages :

    Design a sequential circuit that can detect two or more consecutive 1's in a stream of input bits. Specifically, if the last two bits in the sequence were 1, the circuit should output 1. Otherwise, it

  • Q : Write an abstract method....
    Programming Languages :

    Write an interface, PointingDevice, containing:an abstract method, getXCoord that returns an int an abstract method, getYCoord that returns an int

  • Q : Check errors in the code....
    Programming Languages :

    Assign to the variable boolean 'primeSecond' the value true if the second leading (just after the most significant) decimal digit of the value of an int variable 'n' is 2,3,5 or 7; otherwise assign 'p

  • Q : Write a static method....
    Programming Languages :

    Write a static method, getBigWords, that gets a String parameter and returns an array whose elements are the words in the parameter that contain more than 5 letters. (A word is defined as a contiguous

  • Q : Write a static method....
    Programming Languages :

    Write a static method, getBigWords, that gets a String parameter and returns an array whose elements are the words in the parameter that contain more than 5 letters. (A word is defined as a contiguous

  • Q : Use a foreach to print out a message....
    Programming Languages :

    Use a foreach to print out a message that state "The computer with the subnet is located in room XXX" where XXXis the 3rd octet in the subnet. (Hint use the split() function)

  • Q : Write a program that inputs an infix expression....
    Programming Languages :

    Write a program that inputs an infix expression and creates an expression tree. Output prefix expression and postfix expression, and display the tree.

  • Q : Create a program that uses the same formula....
    Programming Languages :

    Create a program that uses the same formula above too output the result; this time, however, prompt the user for the values a, b, x, and y. Use appropriate variable names and naming conventions.

  • Q : Make sure not to pick the same number twice....
    Programming Languages :

    You have three identical prizes to give away and a pool of 10 finalists. The finalists are assigned numbers from 1 to 10. Write a program to randomly select the numbers of 3 finalists to receive a pri

  • Q : Write a program that calculates the average....
    Programming Languages :

    Write a program that calculates the average of up to 50 numbers input by the user and stored in an array.The program should use a class named Statistics and have an AddNumber method that stores number

  • Q : Object oriented design to design a parent class....
    Programming Languages :

    Object oriented design to design a parent class called Book that will receive the ISBN, author, title and price of the book and select and print the details of all books with a price of more than $50.

  • Q : Object-oriented programming has been adopted widely....
    Programming Languages :

    Object-oriented programming has been adopted widely because of its capability to reuse code. Most application development software provides class libraries and extensive support for complex data struc

  • Q : Write a program that accepts a can name....
    Programming Languages :

    Write a program that accepts a can name for example, chocolate bluberries price per pound, and number of pounds sold in the average month, and displays the item's data only if it is a best selling ite

  • Q : Develop a menu driven program....
    Programming Languages :

    Develop a menu driven program using a conditional structure that inputs two numbers and the user's option finds their sum differnce product or quotirnts.

  • Q : Tell what will be displayed by each of the code....
    Programming Languages :

    Tell what will be displayed by each of the following code segments or explain why an error occurs.

  • Q : Write a menu program that will print various formulas....
    Programming Languages :

    Write a menu program that will print various formulas and do calculations. For each menu choice, display the formula and prompt for the necessary values. Then calculate and print the area and the peri

  • Q : Digestive system class....
    Programming Languages :

     A "digestive system" class and a "respiratory system" class represent a(n) relationship of a "human body" class. 

  • Q : A constructor accepting a double....
    Programming Languages :

    A constructor accepting a double, passed to the superclass constructor, and an int used to initialize numberOfApartments the method getRentalIncome calculated as the product of numberOfApartments

  • Q : Design a class named book that holds a stock number....
    Programming Languages :

    Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include a method that sets all the data files and another that prints the values for each dat

  • Q : Design a recursive method for finding the largest....
    Programming Languages :

    Design a recursive method for finding the largest element in an array A of N elements. Characterize its run-time and space efficiency.You don't have to implement it. 

  • Q : Design a program that allows you to experiment....
    Programming Languages :

    Assume that input data is generated randomly and stored in a text file (have no less than 2000 items to sort). Do not restrict your program to only one data type, or to one ordering rel

  • Q : We are going to create an abstract employe....
    Programming Languages :

    We are going to create an abstract Employee class and two pure virtual functions - calculatePay() and displayEmployee(). The abstract Employee class will prevent a programmer from creating an object b

  • Q : Write a program that lets the user enter....
    Programming Languages :

    Write a Program that lets the user enter an amount as a float value representing a total in dollars and cents. The program will output a report listing the monetary equivalent in dollars, qu

©TutorsGlobe All rights reserved 2022-2023.