• Q : Program that counts and displays the number of words....
    C/C++ Programming :

    Write a C program (on a Unix/Linux system) that counts and displays the number of words, non-white space characters, and/or lines in a text file. The name of the input file is to be provided to the pr

  • Q : Which vendor neutral factory classes....
    JAVA Programming :

    The javax.xml parsers package in J2SE 1.5.0 contains which vendor neutral factory classes?the javax.xml parsers package in J2SE 1.5.0 contains which vendor neutral factory classes?

  • Q : Develop a program that duplicates the functionality....
    Programming Languages :

    Suppose company A wants to develop a program that duplicates the functionality of a program made by company B. Describe how company A may do this without violating the copyrights held by company B.

  • Q : Write a java program that reads a file named grades.txt....
    JAVA Programming :

    Write a java program that reads a file named "grades.txt" consisting of students' test scores in the range 0-200 (all integer values). (The first number in the file specifies the number of grades it c

  • Q : What variables are you going to need....
    Programming Languages :

    What variables are you going to need and what will be their datatype. (The number of spaces in this table does not necessarily mean these are the only variablesconstants. This problem can be solved a

  • Q : What is the output of code corresponding to the pseudocode....
    Programming Languages :

    What is the output of code corresponding to the following pseudocode?Declare Number as Integer

  • Q : Design a program that generates the sum of numbers....
    Programming Languages :

    Given a number you need an application that will produce a sum of the numbers from 1 to that given number. 

  • Q : Design a program that generates the sum of numbers....
    Programming Languages :

    Design a program that generates the sum of numbers. Given a number you need an application that will produce a sum of the numbers from 1 to that given number. This must be done in pseudocode.

  • Q : Display only 2 decimal places....
    Programming Languages :

    Test your program using the following data. At this point don't worry about getting your prices to display only 2 decimal places. We will learn how to do that later.

  • Q : Write a program in java that takes as input....
    JAVA Programming :

    Write a program in Java that takes as input two integers from the command-line, and outputs true if they are divisible either by 7 or by 11, and outputs false otherwise.

  • Q : Write a c++ statement which defines a double constant....
    C/C++ Programming :

    Write a C++ statement which defines a double constant named PI_OVER_4 which is equivalent to the rounded value of pi divided by 4 with 8 digits after the decimal point.

  • Q : Suppose that you want to multiply the two polynomials....
    Programming Languages :

    Suppose that you want to multiply the two polynomials x + 1 and x^2 + 1 using the FFT.Choose an appropriate power of two, ?nd the FFT of the two sequences, multiply the resultscomponentwise, and compu

  • Q : Design and implement a java class to represent a cube class....
    JAVA Programming :

    Design and implement a Java class to represent a cube class. The class should contain a constructor, appropriate data fields and methods to return the volume of the cube, and the surface area of the c

  • Q : Write a c program that creates customers bills....
    C/C++ Programming :

    The labor cost is fixed at $0.35 per sqaure foor. It is to be defined as a constant. The tax rate is 8.5% applied after the discount. It is also to be defined as a constant.

  • Q : Find a maximum subsequence sum....
    JAVA Programming :

    The problem is "Using divide and conquer algorithm, find a maximum subsequence sum." My question is from the codes below that how it works.

  • Q : Pseudocode for the program that is responsible....
    Programming Languages :

    You have a file containing sporting goods that are sold online. Each item record contains the item id, item name, item description, item category, item price, and the units in stockYou have a file con

  • Q : Contains two double-precision instance variables....
    JAVA Programming :

    Create a class called Cylinder.java that contains two double-precision instance variables named radius and height. The class should include a constructor that initializes the radius and height variabl

  • Q : There are three categories of program control structures....
    Programming Languages :

    There are three categories of program control structures: selection statements, which include the if-(else) and the switch; iteration statements, which include the for, while, and do-while loops; and

  • Q : A program that accepts a candy name....
    Programming Languages :

    A program that accepts a candy name (for example, " chocolate-covered blueberries"), price per pound, and number of pounds sold in the average month, and displays the item's data only if it is a best-

  • Q : Write an sql statement to show the warehouseid....
    PL-SQL Programming :

    Write an SQL statement to show the WarehouseID, WarehouseCity, WarehouseState, Manager, SKU, SKU_Description, and QuantityOnHand of all items with a Manager of 'Lucille Smith'. Use a join

  • Q : Write a program for this problem....
    Programming Languages :

    Using the IAS instruction set,write a program for this problem.ignore the fact that the IAS was designed to have only 1000 words of storage

  • Q : Which of the items should be a class....
    JAVA Programming :

    Which of the following items should be a class, and which should be an instance? For any item that should be an instance, name a suitable class for it. (java)

  • Q : Search an array a consisting of n elements....
    Programming Languages :

    The following program segment is supposed to search an array A consisting of N elements for a value Key and set Found equal to 1 or 0, depending on whethere or not Key is locatted. It contains two err

  • Q : Code corresponding to the following pseudocode is run....
    Programming Languages :

    What are the values of A[K] and A[K + 1] after code corresponding to the following pseudocode is run?

  • Q : Write the code for just the header file....
    Programming Languages :

    Write the code for just the HEADER file ( not the implementation or test files) that defines a class called Monster that has two data members, name (a string) and healthPoints (a whole number), plus s

©TutorsGlobe All rights reserved 2022-2023.