• Q : Develop a program that displays information....
    Programming Languages :

    Develop a program that displays information about a family member or friend. This program should print out information about what you like best about him or her. You might even describe your pet, if y

  • Q : If the statement number1++ is changed to ++number1....
    Programming Languages :

    If the statement number1++ is changed to ++number1, what is the value of number1 when the loop exits?

  • Q : Write a method named roundall that accepts....
    Programming Languages :

    Write a method named roundAll that accepts an array of doubles as its parameter and modifies each element of the array so that it is rounded to the nearest whole number.

  • Q : Design a program for the hollywood movie....
    Programming Languages :

    Design a program for the Hollywood Movie Rating Guide, in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide's featured movie of the w

  • Q : You can use a for loop that counts....
    Programming Languages :

    Terminology: When computing 210 (2 to the 10th power), 2 is called the base and 10 is called the exponent. For convenience, we will use b to denote the base and x for the exponent.

  • Q : A private double data field named....
    Programming Languages :

    A private double data field named annualInterestRate that stores the current interest rate (default 0). Assume all accounts have the same interest rate.

  • Q : Program that asks the user to enter a positive integer....
    Programming Languages :

    Assume that you've been asked to write a program that asks the user to enter a positive integer. The program should use a loop to get the sum of all of the integers from 1 up to the number entered. Fo

  • Q : Snippet of code....
    Programming Languages :

    What values are stored in iResult, rResult and fResult? Explain your answers.

  • Q : Write a program that accepts five homework....
    Programming Languages :

    Write a program that accepts five homework scores as input values and stores them into a table (which is another name for an array). First, load the scores in your array. Second, display the contents

  • Q : Suppose that you have been hired to develop....
    Programming Languages :

    Suppose that you have been hired to develop a website-based sales system for a large international retail sales firm. Discuss some environmental issues that are specific to the Web design of

  • Q : Create a class called date that includes three instance....
    Programming Languages :

    Create a class called Date that includes three instance variables-a month (type int), a day (type int) and a year (type int). Provide a constructor that initializes the three instance variables&n

  • Q : The function should accept three c-string....
    Programming Languages :

    Write a function named repalceSubstring. The function should accept three C-string or string object arguments. Let's call them string1, string2, and string3. It should search string1 for all occurrenc

  • Q : There are numerous application service providers....
    Programming Languages :

    There are numerous application service providers that enable organizations to access and use Web-based application software. We identified Salesforce.com as one such ASP. Search the Web and find at le

  • Q : Programming languages have evolved since....
    Programming Languages :

    Programming languages have evolved since the First Generation Languages (1GLs) in the 1940s. The 1GLs were machine languages, which interacted directly with hardware. 2GLs were assembly languages. FOR

  • Q : Numeric digit must contain a special character....
    Programming Languages :

    Invalid Must be at least 8 characters long Must contain a numeric digit Must contain a special character

  • Q : The two shops total combined sales for the quarter....
    Programming Languages :

    Each shops weekly sales II. Each shops quarterly sales III. The two shops total combined sales for the quarter 

  • Q : From the number average of the numbers entered....
    Programming Languages :

    Design the logic for a program that allows a user to enter 15 numbers, then displays each number and its difference from the number average of the numbers entered. 

  • Q : Assume this is a pthreads program....
    Programming Languages :

    Consider the following C pseudo-code. The variable global sum is a globally shared variable.Assume this is a Pthreads program and the code is part of what executes in one of the threads.

  • Q : Consider a road which consists of three segments....
    Programming Languages :

    Consider a road which consists of three segments-the east segment and the west segment allow vehicles to travel in east and west directions. The center road segment can only be used either for west to

  • Q : The first line will contain field names....
    Programming Languages :

    The first line will contain field names. The CSV format doesn't require it, but it helps assure that users interpret the data correctly. The second line will contain the first record of the data set.

  • Q : The fourth character must be a lowercase letter....
    Programming Languages :

    The fourth character must be a lowercase letter.The fifth and sixth characters must be numeric; their values when taken as a pair must be between 22 and 66.

  • Q : Last name in the rom space....
    Programming Languages :

    Write a program to create an array called first, initialized with your first name followed by a space, and then your last name in the ROM space. 

  • Q : Display the date of the previous sunday....
    Programming Languages :

    Given a year and day number (see lab #3) display the day of the week, month, and day number within that month on which the day would/did occur. In addition, display the date of the previous Sunda

  • Q : Write a program to choose a point (x, y ) at random....
    Programming Languages :

    Write a program to choose a point (X, Y ) at random in a square of side 20 inches, doing this 10,000 times, and recording what fraction of the outcomes fall within 19 inches of the center; of these, w

  • Q : Program that allows a user to enter 15 numbers....
    Programming Languages :

    Design the logic for a program that allows a user to enter 15 numbers, then displays each number and its difference from the number average of the numbers entered. 

©TutorsGlobe All rights reserved 2022-2023.