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 277 / 3837

1. public static double investmentValue(double amount, double interest, int numY
1. public static double investmentValue(double amount, double interest, int numYears) Write a recursive method that takes as parameters an initial investment amount, an annual int…
1. public static double[] getUserInput() (a) Prompts the user for how many numbe
1. public static double[] getUserInput() (a) Prompts the user for how many numbers they will enter, we will cal this size. (b) Check to make sure that the value of size is 1 or gr…
1. public static void read (String inFile, String [] lines){ try { Scanner read
1. public static void read (String inFile, String [] lines){ try { Scanner read = new Scanner (new File ("inFile")); lines = new String[read.nextInt()]; for (int i = 0; i < lin…
1. pwdg_oo.cpp (20 points with no partial credits) This program defines a class
1. pwdg_oo.cpp (20 points with no partial credits) This program defines a class called Pwdg(i.e., password generator). You may include in this class as many data members as needed…
1. random access memory is? a. persistent b. volatile c. permanent 2. which of t
1. random access memory is? a. persistent b. volatile c. permanent 2. which of the following is not permanent storage? a. ram b. a hard disk c. a usb drive d. All of these 3. whic…
1. random access memory is? a. persistent b. volatile c. permanent 2. which of t
1. random access memory is?  a. persistent  b. volatile  c. permanent  2. which of the following is not permanent storage?  a. ram b. a hard disk c. a usb drive d. All of these 3.…
1. redo this program but this time make the student record type a class type rat
1. redo this program but this time make the student record type a class type rather than a structure type. the student record class should have member variables for all the input …
1. reverse List, shown below, places items in the first list (of the size N) int
1. reverse List, shown below, places items in the first list (of the size N) into the second list in reverse order. public void reverseList List original, List reverse reverse cle…
1. rite an application that displays your name using asterisks as an example to
1. rite an application that displays your name using asterisks as an example to the use like: r; Then ask the user to enter a number between 0 and 9 to be displayed using asterisk…
1. search a sorted vector of 255 elements using the binary search algorithm? (a)
1. search a sorted vector of 255 elements using the binary search algorithm? (a) 10 (b) 8 (c) T (d) 9 2. A list implementation of a graph might use an array of linked lists, each …
1. select employee_id,name,department_id, department_name Logic for department_n
1. select employee_id,name,department_id, department_name Logic for department_name. If deptartment_id=10, it should be IT If deptartment_id=20, it should be SALES every other dep…
1. select the set of rows you want to conditionally format to alternate be norma
1. select the set of rows you want to conditionally format to alternate be normal or shaded. 2. Click on the format menu and choose "conditional formatting ." 3. Click plus button…
1. sentenceSplitter. bool sentenceSplitter( string& fname, vector& sentences); T
1. sentenceSplitter. bool sentenceSplitter( string& fname, vector& sentences); This function converts a text file with the name fname into a list of sentences. The list of…
1. specific types of objects assume features of more general classes through____
1. specific types of objects assume features of more general classes through_______ a. polymorphism b. encapsulation. c. inheritance d. structure 3. a child class is also called a…
1. string s = “Weekly Assignment 4”; if(s.empty()) cout
1. string s = “Weekly Assignment 4”; if(s.empty()) cout<<”Empty”; else   cout<<”Not Empty”; 2. string s = “Weekly Assignment 4”; cout<<s.substr(1,7); 3. string s…
1. sublist/2 Write a Prolog predicate sublist(X,Y) that is true if list X is a s
1. sublist/2 Write a Prolog predicate sublist(X,Y) that is true if list X is a sublist of list Y. A sublist is defined as the original list, in the same order, but in which some e…
1. switch statement to validate day numbers. 2. At least two boolean variables.
1. switch statement to validate day numbers. 2. At least two boolean variables. Write C++ program that will prompt the user to enter a date and determine whether the date is a val…
1. the function \"oddSwap\" uses reference parameters. Rewrite the function so i
1. the function "oddSwap" uses reference parameters. Rewrite the function so it uses pointers instead of the reference variables. test this function from the main program, demonst…
1. the output of the code bellow will be : char str1 [10] =\"engineer\"; char st
1. the output of the code bellow will be:    char str1 [10] ="engineer";    char str2 [10] =" ";    strncpy (str2, &str1[2],3);    str2[3]='';    cout <<str2<< end…
1. the output of the code bellow will be : char str1 [10] =\"engineer\"; char st
1. the output of the code bellow will be:    char str1 [10] ="engineer";    char str2 [10] =" ";    strncpy (str2, &str1[2],3);    str2[3]='';    cout < A. "gin" B. b. "eng…
1. the output of the code bellow will be : char str1 [10] =\"engineer\"; char st
1. the output of the code bellow will be:    char str1 [10] ="engineer";    char str2 [10] =" ";    strncpy (str2, &str1[2],3);    str2[3]='';    cout < A. "gin" B. b. "eng…
1. the size of data bus determines the total size of addressable memory t/f? 2.
1. the size of data bus determines the total size of addressable memory t/f? 2. the size of the address bus in Pentium 4 is ------ bits. 3. intel processor 80286 has-----bit addre…
1. there is no function decimalToRoman 2. No overloading of insertion and extrac
1. there is no function decimalToRoman 2. No overloading of insertion and extraction operator. 3. No derived class extRomanType 4. No overloaded arithmetic operators for derived c…
1. unsigned lowBitPosition( unsigned n );Returns the position of the lowest-orde
1. unsigned lowBitPosition( unsigned n );Returns the position of the lowest-order 1-bit in n. For example, if main sayslowBitPosition( 0xBABE0000U )then the function returns 17. I…
1. we discussed in detail three methods for pairwise alignment that utilize the
1. we discussed in detail three methods for pairwise alignment that utilize the dynamic programming algorithm: Needleman-Wunsch, Waterman-Smith-Beyer, and Smith-Waterman algorithm…
1. we discussed in detail three methods for pairwise alignment that utilize the
1. we discussed in detail three methods for pairwise alignment that utilize the dynamic programming algorithm: Needleman-Wunsch, Waterman-Smith-Beyer, and Smith-Waterman algorithm…
1. we discussed three different locations where the operands of an instruction m
1. we discussed three different locations where the operands of an instruction may be found. What are the three locations? 2. In MIPS assembler, if a function returns an integer v…
1. what binary number does this hexadecimal number 0x7fff fffarepresent? what de
1. what binary number does this hexadecimal number 0x7fff fffarepresent? what decimal number does it represent? 2. what hexadecimal number does this binary number represent:1100 1…
1. what can you do in a pinch to clear the CMOS setting if you unable to find th
1. what can you do in a pinch to clear the CMOS setting if you unable to find the CMOS clear jumper 2. after running windows xp for a few years, Chris has decided to perform a cle…
1. what gets printed if anything after executing the main method of class BankAc
1. what gets printed if anything after executing the main method of class BankAccount below: public class BankAccount {      private static int masterKey =1;    private String nam…
1. what is the Big-O performance of the following function? def sum(n): k = 0 fo
1. what is the Big-O performance of the following function? def sum(n):     k = 0     for i in range(n):         for j in range(n):             k = k + n         return k a. O(1) …
1. what is the complexity of (a). accessing a binary tree, (b).accessing an arra
1. what is the complexity of (a). accessing a binary tree, (b).accessing an array (c). accessing a hash map, (d). accessing a list, (e). accessing a file on disk. 2. you have a so…
1. what is the difference between multiprogramming and multiprocessing? Multipro
1. what is the difference between multiprogramming and multiprocessing? Multiprogramming and multithreading? 2. Why should assembly language be avoided for general application dev…
1. what is the output of the code corresponding to the following pseudocode? Dec
1. what is the output of the code corresponding to the following pseudocode? Declare M As Integer Declare P As Integer Set M = 2 Repeat Set P = 1 While P < 4 Write M + “ and …
1. what is the zero measurement of the micrometer? 2. what is the measurement fo
1. what is the zero measurement of the micrometer? 2. what is the measurement for the hair? 3. what is the diameter of the hair? 4. what is the absolute uncertainty in the measure…
1. what the echo statement expr $a \\* $b does ? Assume expr statement is enclos
1. what the echo statement expr $a * $b does ? Assume expr statement is enclosed in single quotes. Select one: a. Addition b. Subtraction c. Multiplication d. Concatenation 2. Wha…
1. which data structure is defined as a collection of similar data (a) Arrays (c
1. which data structure is defined as a collection of similar data (a) Arrays (c) Trees 1 elements? b) Structs (d) Graphs 2 Suppose cursor refers to a node in a linked. What state…
1. write a calculator Servlet that adds, subtract, multiples and divides. Create
1. write a calculator Servlet that adds, subtract, multiples and divides. Create the html form and call the servlet to print out the answer i have the html code,, i need the servl…
1. write a class called TelDirectory that implements the Comparable interface. T
1. write a class called TelDirectory that implements the Comparable interface. The class should contain two fields name (String) and phone number (String). Write the necessary con…
1. write a function of c program to return the vector-vector product of two vect
1. write a function of c program to return the vector-vector product of two vectors: a^T * b where a^T = a transpose function prototype is given as: float vector_vector_multiply (…
1. write a java program having a String array, with global visibility 2. Add a m
1. write a java program having a String array, with global visibility 2. Add a method that adds a given string to the string array 3. Add a method that searches for a given string…
1. write a program that will help calculate tip. you will need to get two values
1. write a program that will help calculate tip. you will need to get two values from the user. ask user for both, the pre-tax cost and what percent of tip they want to give. 2. w…
1. write a program to read 10 integer elements into an array, and print the fift
1. write a program to read 10 integer elements into an array, and print the fifth element to the screen?20 Points) 2..Match the following terms with the definitions given below.20…
1. write aprogram to read n numbers and sum all positive numbers and count the n
1. write aprogram to read n numbers and sum all positive numbers and count the numbers of negative numbers . 2. write a program to read n numbers and calculae the sum of obsolute …
1. write out the output for each of the following: Ca) class Animal void whoAmIo
1. write out the output for each of the following: Ca) class Animal void whoAmIo system.out.println("I am a generic class oog extends Animal void whoAmIO system.out.print1nc"I am …
1. write program that uses a class named Rectangle. The class has floating point
1. write program that uses a class named Rectangle. The class has floating point attributes length and width. it has memeber functions that calculate the perimeter and area of the…
1. write programs to implement the following: 1) one-time pad 2) the RC4 stream
1. write programs to implement the following: 1) one-time pad 2) the RC4 stream cipher 3) construction for a deterministic polynomial-time algorithm G zs a variable output-length …
1. write the method boolean search (String str, String str2), which should retur
1. write the method boolean search (String str, String str2), which should return true if str2 is found somewhere inside str, and false otherwise. all the charachters of str2 have…
1. x86 64 is a type of 2. 3. Condition code selectors in AArch32 instructions ar
1. x86 64 is a type of 2. 3. Condition code selectors in AArch32 instructions are known as a 4. The ARM Cortex-M3 is based on the 5. in the ARM architecture, the register hold the…
1. you are a recent colleg graduate with only a year of experience with your emp
1. you are a recent colleg graduate with only a year of experience with your employer. you were recently promoted to manager of email services. you are quite surprice to receive a…