computer science

Most popular questions
  1. computer science

    9.10: Reverse Array Write a function that accepts an int array and the array’s size as arguments. The function should create a copy of the array, except that the element values should be reversed in the copy. The function should return a pointer to the

    asked by Cheryl on February 18, 2012
  2. Computer Science

    You try to run the CHKDSK utility from a command prompt but you keep getting an error message that you need to run it in Elevated Mode. How do you correct this? Reboot the computer in SAFE Mode and then run CHKDSK from a command prompt. Open command prompt

    asked by Ally on March 12, 2015
  3. computer science

    Declare a structure whose tag name is Emp and that contains these fields (in the following order): a double field named d, a character pointer named str, and an array of eleven integers named arr. * I'm good till here. In addition, declare a array named

    asked by Cheryl on February 19, 2012
  4. computer science

    a bank charges $10 per month plus the following check fees for a commercial checking account: $.10 each for fewer than 20 checks $.08 each for 20-39 checks $.06 each for 40-59 checks &.04 each for 60 or more checks write a program that asks for the number

    asked by josh on March 10, 2010
  5. Computer Science

    Create a Raptor Flowchart that calculates the amount a person would earn over a period of time if his or her salary were five cents the first day, ten cents the second day, and so on doubling each day. Your program should: 1. Request the number of days. 2.

    asked by Allison on February 18, 2016
  6. computer science

    The variable cp_arr has been declared as an array of 26 pointers to char. Allocate 26 character values, initialized to the letters 'A' through 'Z' and assign their pointers to the elements of cp_arr (in that order). int

    asked by Cheryl on February 18, 2012
  7. computer science

    The variable cp_arr has been declared as an array of 26 pointers to char. Allocate 26 character values, initialized to the letters 'A' through 'Z' and assign their pointers to the elements of cp_arr (in that order).

    asked by Cheryl on February 17, 2012
  8. Computer science

    Create an algorithm and flow chart for adding 37 and 64.

    asked by Noor on September 17, 2017
  9. Computer Science

    (From Lesson 17 of Blue Pelican Java) Use the following code for problems 1 – 15. In each problem state what’s printed. String s = “Lucky hockey puck”; String m = “uck”; int j = 6, z = 99; 1. int k = s.indexOf(m); System.out.println(k); 2. int

    asked by Erinn on November 24, 2015
  10. computer science

    I need help with my Java homework! Write a program that calculates a customer's monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display

    asked by Matt on February 15, 2010
  11. Computer Science

    w w w (dot)cs(dot)umass(dot)edu(slash)~verts(slash)coins105(slash)quizzes(slash)images(slash)hw10(dot)gif Using the constants in cells A2:A9, create formulae for cells A12:A15 (surrounded by a dark line) to compute the corresponding "derived" physical

    asked by Andy on April 4, 2010
  12. computer science

    draw a flowchart and write the algorithm for printing the first 10 even numbers

    asked by surya on September 22, 2016
  13. Computer Science

    The compare_and_swap() instruction (CAS) can be used to design lock-free data structures such as stacks, queues, and lists. The program example shown below presents a possible solution to a lock-free stack using CAS instructions, where the stack is

    asked by Grace on March 20, 2019
  14. computer science

    The owner of the super supermarket would like to have a program that computers the monthly gross pay of their employees as well as the employee's net pay. The input for this program is an employee ID number, hourly rate of pay, and number of regular and

    asked by Anonymous on April 25, 2012
  15. Computer Science

    #include using namespace std; int main() { int GPUspeed = 0, CPUspeed = 0, cores = 0, resolutionChoice = 0; float mutliplier = 0.0, performanceSCore = 0.0; string graphicsQuality = "", headerText = "Computer Hardware Graphics Quality Recommendation Tool";

    asked by Anon on April 1, 2019
  16. Computer science

    need help how do this program. Use the top-down modular approach and pseudocode to design a suitable program to solve it. Alberta Einstein teaches a business class at Podunk University. To evaluate the students in this class, she has given three tests. It

    asked by Poohboi on August 30, 2015
  17. Computer Science

    Which of the following statements contains an error? 1. system.out.print("/tab Age in Minutes: " + ageInMinutes +"/n"); 2. system.out.print("t/ Age in Minutes: " + ageInMinutes + "n/"); 3. system.out.print("/t Age in Minutes: " + ageInMinutes + "/n"); a. 1

    asked by help please on October 23, 2017
  18. Computer Science

    Project 2 is a continuation of Project 1. Modify the code from Project 1 to read and process information from a file named Computers.txt. The text file contains profiles about a set of computers. Each computer should be processed. The text file contains

    asked by Anonymous on March 30, 2019
  19. Computer Science

    Answer the following question without running the code. The procedure isMyNumber is used to hide a secret number (integer). It takes an integer x as a parameter and compares it to the secret number. It returns: -1 if the parameter x is less than the secret

    asked by Ege on December 12, 2013
  20. computer science

    Pseudo code: Input a list of employee names and salaries, and determine the mean (average) salary as well as the number of salaries above and below the mean

    asked by Mark on June 17, 2010
  21. computer science

    I have a computer science project that uses the coding software called Processing but I don't know where to start. I would like someone to help me start the project

    asked by Anisa on April 10, 2019
  22. COMPUTER SCIENCE

    Write a program that calculates and displays the total travel expenses of a businessperson on a trip. The program should have functions that ask for and return the following:  The total number of days spent on the trip  The time of departure on the first

    asked by GUDLET on November 25, 2012
  23. computer science

    write a program that prompts the user to input three numbers. The program should then output the numbers in nondescending order.

    asked by Cathy on October 29, 2010
  24. computer science

    If you have physical access to the Cisco network appliance (pictured right) and it is functioning as normal, what can be an avenue of approach to access configuration data? How would you go about it and what hardware/cabling/software would you need?

    asked by Anonymous on April 22, 2019
  25. Computer Science

    Would like to know if this looks right Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the shipping cost based on the following schedule: Order Total Ship within USA Ship to Canada

    asked by Legendirty on May 10, 2013
  26. computer science

    Cyborg data type sizes. You have been given a job as a programmer on a Cyborg supercomputer. In order to accomplish some calculations, you need to know how many bytes the following data types use: char, int, float, and double. You do not have any manuals,

    asked by Anonymous on September 15, 2012
  27. Computer Science

    Playing a video game on a computer can give different experiences based on the performance capabilities of the computer’s hardware (typically processor and graphics card – among other things). Developers of a new game will typically have

    asked by Anon on April 1, 2019
  28. computer science

    Which of the following statements does not contain an error? 1. string firstName= in.next(); 2. string lastName= in.nextline(); 3. system.out.print("\n"); a. 1 only b. 2 only c. 3 only d. 1 and 3 only e. 2 and 3 only is the answer 1 and 3

    asked by help please on October 25, 2017
  29. computer science

    Class scores: Write a program that calculates the total grade for N classroom exercises as a percentage. The user should input the value for N followed by each of the N scores and totals. Calculate the overall percentage (sum of the total points earned

    asked by Abby on February 23, 2012
  30. Computer Science

    How can I tell a negative binary number from a positive one? More specifically, what exactly is the difference? For example, the binary number 1110 converted to a decimal number results in either 14 (positive) or -2 (negative). So which one would I write

    asked by Kid on February 15, 2019
  31. computer science

    Can you find the reason that the following pseudocode function does not return the value indicated in the comments? // The calcDiscountPrice function accepts an item’s price and // the discount percentage as arguments. It use those // values to calculate

    asked by Terry on November 21, 2012
  32. computer science

    Assume that BlogComment is a structured type with these fields, comment (a string, the actual comment), and two int fields: like, dislike which count the number of "likes" and "dislikes" of the comment by visitors. Assume that nComments is an int variable

    asked by Anonymous on September 12, 2012
  33. computer science

    Using the Crow’s Foot notation, create an ERD that can be implemented for a medical clinic, using the following business rules:  A patient can make many appointments with one or more doctors in the clinic, and a doctor can accept appointments with many

    asked by ben on June 27, 2012
  34. computer science

    Use the Library and other resources to write a "work-from-home" policy manual for an insurance company, educational institution, or another organization concerned about protecting an individual's privacy. Your manual should include policies to cover remote

    asked by shutera on February 5, 2012
  35. computer science

    what is the value of the variable? double dNum= 6.23 A. 6 B. 6.0 C. 6.23 D. 0.0 E. error: possible loss of precision

    asked by help please on September 19, 2017
  36. computer science

    ineed help with c++. i am using code blocks and i have a problem with the compiler. when I run this code ¡é # include using namespace std; int main() { cout

    asked by lj on March 7, 2010
  37. Computer Science

    This is the problem: The following HTML code fragment contains a reference to an image file called frog.gif and with alternate text set to froggy, but the code as written contains a number of errors. Write the HTML line correctly. (Note: this problem is

    asked by Joseph on February 8, 2010
  38. Computer Science

    For java programming, what is the difference between read() and next()? For example: Let's say I import the java Scanner class. Then I proceed as follows: Scanner userInput = new Scanner(System.in); System.out.print("Enter the number of students: "); int

    asked by Kid on November 10, 2018
  39. computer science

    what is the value of the variable int iNum= 2.02 A. 2 B. 2.0 C. 2.02 D. 0.0 E. error:possble loss of precision please help and explain

    asked by help please on September 19, 2017
  40. Computer Science

    Write a program   that reads the subtotal and the gratuity rate in this order, then computes the gratuity and total. For example, if the user enters "10" for subtotal and "15" (%) for gratuity rate, the program   displays "1.5" as gratuity and "11.5"

    asked by Anonymous on September 23, 2013
  41. Computer Science

    a)385 data loss incidents took place b)110 million people were affected by personal data loss incidents c)3% of all data loss incidents were caused by hard copy theft/loss d)20% of all data loss incidents were caused by portable media theft/loss e)15% of

    asked by Sue on January 16, 2011
  42. computer science

    Suppose we are executing the DGIM algorithm for approximate counting of bits in a stream. Let the window size be 1000. (a) What is the largest possible bucket size in the representation of this stream? (b) Suppose each of the last 1000 bits is 1. What is

    asked by Nate on June 24, 2019
  43. Computer science

    Score 1,Score 2 and Score 3 are the marks scored by a student in three tests. Write a pseudocode,an algorithm and draw the flowchart to find the average of best two scores.

    asked by Bettlyn on December 29, 2015
  44. computer science

    what is the value of the variable? double dNum= 6.23 A. 6 B. 6.0 C. 6.23 D. 0.0 E. error: possible loss of precision

    asked by help please on September 19, 2017
  45. Computer science

    As a member of the Information Security team at a small college, you have been made the project manager to install an access control system (ACS) in a dormitory. The ACS will automatically unlock the dormitory doors via an electronic proximity reader and

    asked by Kelon on July 17, 2012
  46. Computer Science

    The digits 0, 1, and 8 look much the same if rotated 180 degrees on the page (turned upside down). Also, the digit 6 looks much like a 9, and vice versa, when rotated 180 degrees on the page. A multi-digit number may also look like itself when rotated on

    asked by Anonymous on March 13, 2011
  47. computer science

    Draw a flowchart to print the first N even positive integers and print the sum.

    asked by chrissa on February 12, 2015
  48. Computer science

    Need help on how write this program. "The Eversoft Eraser Company has a list of its customers’ names (not necessarily in alphabetical order) and telephone numbers in a file named "customer" with records of the following form: last_name (String),

    asked by Poohboi on September 28, 2015
  49. computer science

    in mobile phone network how many times as strong would a signal be expected to be at 200 m from a base station, compare with at 600 m? is it 81 or 9 or 3 or 0.3 or 0.1 or 0.01

    asked by Jo on April 6, 2011
  50. computer science

    what is the value of the valuable double dNum=5 A. 5 B. 5.0 C. 0 D. 0.0 E. error: possible loss of precision please help and explain

    asked by help please on September 19, 2017
  51. computer science

    write a program that calculates a customer's monthly bill. it should input customer name, which package the customer has purchased, and how many hours were used. it should then create a bill that includes the input informtion and the total amount due. the

    asked by jay on March 10, 2010
  52. Computer Science

    Suppose that a String variable str has already been defined and holds some String. In the box provided below, write a statement that changes str to all lower case characters, and then copies the result back to str.

    asked by Amanda on September 22, 2011
  53. computer science

    ____________ is an application program included with Windows that allows the contents of the computer, the hierarchy of folders on the computer, and the files and folders in each folder to be viewed.

    asked by marry on September 27, 2016
  54. computer science

    Write a method printBackwards that prints an array of integers in reverse order, in the following format. For the array {1, -3, 4, 7, 2}: element [4] is 2 element [3] is 7 element [2] is 4 element [1] is -3 element [0] is 1

    asked by John on January 29, 2013
  55. computer science

    If all the hub and authority scores are initialized to 1, what is the hub/authority score of a node after one iteration? In the preceding discussion we encountered two recommended “hard constants” – the increment on te being ten times the last fetch

    asked by Alex on December 10, 2010
  56. Computer Science

    Write a program to compute an employee’s weekly pay and produce a pay slip showing name, gross pay (i.e. pay before deductions), deductions, and net pay (i.e., pay after deductions).

    asked by Christopher on October 18, 2014
  57. computer science

    Which of the following is *not* a reason why a transmission signal might be corrupted or lost? 1. The protocol for the transmission is TCP/IP. 2. The cabling does not have any kind of shielding. 3. The copper used to connect the systems is contaminated. 4.

    asked by unity jackson on September 14, 2012
  58. computer science

    If string str1 = "Florida" and String str2 = "Gators" then what is the value of str1 + str2? A. Florida B. Florida Gators C. Gators D. FloridaGators E. Florida, Gators if string str = "supercalifragilisticexpialidocious", then what is the value of the

    asked by help please on November 4, 2017
  59. Computer science

    As a member of the Information Security team at a small college, you have been made the project manager to install an access control system (ACS) in a dormitory. The ACS will automatically unlock the dormitory doors via an electronic proximity reader and

    asked by kara on January 26, 2012
  60. computer science

    In the TCP/IP model, the best path through the network is determined at the ______________ layer. In the OSI model, the same function is carried out at the ______________ layer. A network access network B network access transport C internet network D

    asked by Sue on February 13, 2011
  61. Computer science

    How do I count how many arrays there is - what do I add to the code? I have managed to create 2 buttons and the top button works and changes the fruits into alphabetical order but the second button doesn't work - please help! Press the button to change the

    asked by Anonymous on April 23, 2016
  62. computer science

    int *reverse(const int *, int); int *temp; temp = reverse(arr1,N); int *reverse(const int *arr1, int N) { int *arr2; arr2 = new int[N]; for(int count = 0; count < N; count++) { for(int index = (N-1); index

    asked by Cheryl on February 17, 2012
  63. Computer Science

    Convert the PDA for the language of palindromes over {0, 1} into an equivalent CFG

    asked by Unknown on May 8, 2019
  64. computer science

    An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided.

    asked by ignatius on April 18, 2016
  65. computer science

    IHow do you refractor this: public class Employee { private boolean isPartTime; private int seniority; private int monthsDisabled; public Employee(boolean isPartTime, int seniority, int monthsDisabled) { this.isPartTime = isPartTime; this.seniority =

    asked by Su on April 23, 2014
  66. computer science

    to find all individuals whose name is Tom or tim, enter______ in the criteria row of the appropriate column. a. T?m B.T#m C.T$m D.T&m

    asked by nastassia on April 11, 2011
  67. computer science

    Write a java program that reads from the user the course code, section and the scores of a student for three exams representing two midterms and a final. The percentage of each of the three exams is of fixed value 30, 30 and 40 percent respectively. Your

    asked by rayn on March 13, 2016
  68. Computer science

    As a member of the Information Security team at a small college, you have been made the project manager to install an access control system (ACS) in a dormitory. The ACS will automatically unlock the dormitory doors via an electronic proximity reader and

    asked by Kelon on July 22, 2012
  69. computer science

    my code works in c++ so the logical I am getting error must be in the reading of the problem, but I can't see it: Given a type Money that is a structured type with two int fields, dollars and cents. Assume that an array named monthlySales with 12 elements,

    asked by Cheryl on February 24, 2012
  70. computer science

    9.16 Consider a system that uses pure demand paging. a. When a process first starts execution, how would you characterize the page fault rate? b. Once the working set for a process is loaded into memory, how would you characterize the page fault rate? c.

    asked by Anonymous on March 19, 2011
  71. computer science

    Write a program that will input an item’s wholesale cost and its markup percentage. The program will output the item’s retail price. The program should repeat for several input values. For example, if an item cost is 5.00 and markup is 100%, then the

    asked by Matt on March 30, 2010
  72. Computer science

    While you can pass only one argument into a function, you can return as many values as needed from a function. True False A library function saves time for the programmer because it allows for code reuse. True False Each function should be flowcharted

    asked by Lies on July 3, 2016
  73. computer science

    Internet Service Provider An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20

    asked by ignatius on April 26, 2016
  74. computer science

    Assume a computer has the capacity to hold up to 4 memory modules, with each module containing 512M bytes. How many total bits are needed in the memory address?

    asked by moy on February 20, 2016
  75. Computer Science

    Convert the following binary numbers to decimal (6 points): 11111 101011 1101011 Convert the following decimal numbers to binary (6 points): 49 367 1023 Convert the following hex numbers to decimal (4 points): ACE 800 Convert the following decimal numbers

    asked by parth on October 18, 2015
  76. Computer science

    Write the pseudocode for a method that receives as input the cost of a meal, and then adds a 9% tax rate, and then outputs a 15% tip on top of the price+tax

    asked by Alex on May 13, 2015
  77. computer science

    Mr Ali has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Write a pseudocode to calculate and display these values. Then convert your pseudocode into a program by using any

    asked by hanit on September 27, 2014
  78. Computer Science

    Define a language that is not a regular language using a context-free grammar that is not ambiguous. The alphabet of the language must contain at least five characters. Describe in English the strings of the language. Choose any string that is in the

    asked by Anonymous on September 4, 2014
  79. Computer science

    Hi, Can someone please confirm the following for me .. This realtes to PSK or phase shift keying. Is it right that 8PSK uses eight different phase shifts each representing one of the eight patterns of three bits ... ?? Does it ehn follow that 256PSK uses

    asked by Oddie on April 3, 2011
  80. computer science

    When $1000 is deposit at 5% simple interest, the amount grows by $50 each year. When money is invested at 5% compound interest, then the amount at the end of each year is 1.05 times the amount at the beginning of the year. Write a program to display the

    asked by James Starr on March 27, 2011
  81. computer science

    what is the cost(most expensive,expensive or less costly)performance(powerful, most powerful or average)reliability(highly reliable or less reliable) size(large, medium or small)and installed in numbers(few, many or large) of super compters, mainframe

    asked by tina on November 4, 2010
  82. computer science

    write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. the program should then display a bar graph comparing each store's sales. create each bar in the graph by displaying a row of astericks. each

    asked by marcus on April 5, 2010
  83. computer science

    in one the chapter 3 programming challenges you were asked to write a program that converts a celsius temperature to fahrenheit. Modify that program so it uses a loop to display a table of celsius from 0 to 20 and their Fahrenheit equivalents.

    asked by jay on April 5, 2010
  84. computer science

    I have to write a program in java that prompts and reads the size of a table (assume the table is math square table), and plotting number and star as the following pattern in the output. For example: when reading size = 4, the table in the output should

    asked by sarah on October 15, 2018
  85. computer science

    create an algorithm, owchart, and pseudocode for a solution of the following problem. This solution will include the use of arrays needed to complete all parts of the logic. You have requested to develop a program that will record and process the rainfall

    asked by Holly on April 26, 2017
  86. computer science

    Please , help me i don't know how to draw a flow chart , how it does..ang we given an !@#$%^&. And i need an example to get others answer. Please illustrate to me the answer of this. Draw a flowchart to print the first N even positive integers and print

    asked by chrissalyn on February 12, 2015
  87. Computer science

    Write an HTML form that prompts the user to enter loan amount, interest rate, and number of years, as shown in Figure 1. Clicking the Compute Payment button invokes a JSP program to compute and display the monthly and total loan payments, as shown in

    asked by AN3852 on July 21, 2013
  88. Computer Science

    Design a program that will ask the user to enter the amount of a purchase. The program should the compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the amount

    asked by AB on May 17, 2012
  89. Computer Science

    I need to write a program to solve for the following: Suppose that the file USPRES.txt contains the names fo the frist 43 United States presidents and the file USSENATE.TXT contains the names of all former and present US Senators. Write a program with

    asked by Wally on March 4, 2011
  90. computer science

    Given an equilateral triangle with different charges namely charge on A is negative 4nC; B is positive 2nC and C is 1nC. The sides are all equal with 20cm. How can you calculate the resultant field on A; the mutual potential energy of the system?

    asked by Meagan on October 25, 2010
  91. computer science

    write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. the program should then display a bar graph comparing each store's sales. create each bar in the graph by displaying a row of astericks. each

    asked by mike on April 5, 2010
  92. Computer Science

    You want to buy a new car, and you are thinking about two alternatives, car A and car B. You like both cars, and you are considering keeping whichever one you buy for many years to come. As a result, you want to evaluate the total cost of ownership of both

    asked by Sarah on October 4, 2017
  93. Computer Science

    FIND the sum and the average of marks of students given in 5 different subjects out of 100 by flowchart.

    asked by SACHIN CHAUDHARY on November 22, 2016
  94. computer science

    In a mobile phone network, how many times as strong would a signal be expected to be at 500 m from a base station, compared with at 250 m? Choose the nearest value from the list below.

    asked by yomi on November 21, 2016
  95. Computer Science

    What is the rule for this function? input 1 output 2 input 2 output 5 Input 3 output 12 Input 4 output 34 Input 5 output 135 Input 6 output 741

    asked by Rima on September 18, 2016
  96. computer science

    a memory's addressibility is 64 bits what does tell you about the size of the MAR and MDR?

    asked by Jason Young on March 1, 2016
  97. computer science

    A Bagels store charges 75 cents per bagel for orders of less than a half-dozen bagels and 60 cents per bagel for orders of a half-dozen or more. Assume that the number of bagels ordered has been stored in a variable named NumBagels. Write VB code that

    asked by Patricia on November 2, 2015
  98. Computer Science

    Create a program that allows a user to select one of the following four menu options: a. Enter New Integer Value b. Display Pointer Address c. Display Integer Address d. Display Integer Value For this program you will need to create two variables: one

    asked by kim on May 4, 2015
  99. Computer science

    Paying Off Credit Card Debt Each month, a credit card statement will come with the option for you to pay a minimum amount of your charge, usually 2% of the balance due. However, the credit card company earns money by charging interest on the balance that

    asked by Owoeye seyifunmi on December 22, 2013
  100. Computer science

    Assume you have a computer that contains 1GB of memory. It contains four memory slots. Each slot can contain 128 MB, 256 MB, 512MB, 1 GB, or 2GB memory modules. two of the slots contains a 512MB memory module. What memory chip would you buy to increse the

    asked by Md Farhad Hossain on February 3, 2013

Pages

  1. 1
  2. 2
  3. 3
  4. 4