Web development and programming
191828 questions • Page 316 / 3837
1A) Write an application for a furniture company; the program determines the pri
1A) Write an application for a furniture company; the program determines the price of a table. Ask the user to choose 1 for pine, 2 for oak, or 3 for mahogany. The output is the n…
1A). Write an application that creates a quiz, which contains at least 5 questio
1A). Write an application that creates a quiz, which contains at least 5 questions about a hobby, popular music, astronomy, or any other personal interest. Each question should be…
1A. In a class template implementation, every use of the class name as the name
1A. In a class template implementation, every use of the class name as the name of the class should be followed by <T>. Select one: True False 2A. Select one: a. You cannot …
1A. Let A be the adjacency matrix of an undirected graph. Defining each of the f
1A. Let A be the adjacency matrix of an undirected graph. Defining each of the following explain what property of the matrix indicates that i) the graph is complete. i) the graph …
1A. Which of the following would be a good reason for using inherited exception
1A. Which of the following would be a good reason for using inherited exception classes? Select one: a. A base class exception can be passed to an exception parameter of the deriv…
1B. The following function does not throw any unhandled exceptions. void f1( ) t
1B. The following function does not throw any unhandled exceptions. void f1( ) throw ( ); Select one: True False 2B. Which of the following code fragments are illegal? Select one:…
1B. Your program wishes to open a file named C:\\java\\myProg\\input.txt on a Wi
1B. Your program wishes to open a file named C:javamyProginput.txt on a Windows system. Which of the following is the correct code to do this? Select one: a. inputFile = new File(…
1D Arrays 6. In the following code line: int [] deck new int [52] (Each question
1D Arrays 6. In the following code line: int [] deck new int [52] (Each question is 2 points) LIST /ANSWER the following: .What does the above code line do? . What is the name of …
1D. Which of the following describes a class that would be a good candidate for
1D. Which of the following describes a class that would be a good candidate for conversion to a template class? Select one: a. a class which defines a new type of array b. a class…
1Estimating the Adult Height of a Child Hmale_child = ((Hmotherx 13/12) + Hfathe
1Estimating the Adult Height of a Child Hmale_child = ((Hmotherx 13/12) + Hfather)/2 Hfemale_child = ((Hfather x 12/13) +Hmother)/2 Using the formulas above, write a program that …
1G. This program, unlike the previous 6 programs, will have several functions in
1G. This program, unlike the previous 6 programs, will have several functions in it: besides main, it willhave the following 7 functions:public static int triangle( int n )public …
1Get supplier names for suppliers who supply all parts except P1. 2Get supplier
1Get supplier names for suppliers who supply all parts except P1. 2Get supplier names and the number of parts and total quantity supplied. Suppliers S#| SNAME | STATUS | CITY S1 S…
1II /// Project 1 - Build a C# console app using object oriented /// which will
1II /// Project 1 - Build a C# console app using object oriented /// which will report on students and their grades. /// In the Projl FileData.csv. text file, there is data for pr…
1In the given program, What statements change the *p1? What statements change th
1In the given program, What statements change the *p1? What statements change the *p2? 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3…
1Malaysia Service Station System is a software that will be built and will have
1Malaysia Service Station System is a software that will be built and will have four types of services to its customers: Fuel Services, Maintenance Services, Controlling Inventory…
1Order the following functions by growth rate : N, N12, N1.5, N2, NlogN, N(logN)
1Order the following functions by growth rate : N, N12, N1.5, N2, NlogN, N(logN)2, NlogN22N 2N, 2N2, 37, N3, and N2logN. Also, Indicate which functions grow at the same rate. 2) D…
1Pick a category for functions (do not use \"Most Recently Used\" or \"All\"). 2
1Pick a category for functions (do not use "Most Recently Used" or "All"). 2Pick a function in that category. 3The function chosen must be different than any function presented in…
1Q. If the instruction count is 4210, what is the number of memory stall cycles?
1Q. If the instruction count is 4210, what is the number of memory stall cycles? 2Q) Assume you have the following 3 types of instructions, with execution time breakdown: numerica…
1Quick Sort 3. A random list 4. Doesn\'t matter Question 18 (2 points) Regarding
1Quick Sort 3. A random list 4. Doesn't matter Question 18 (2 points) Regarding Shell's sort, explain why it is considered a modified version of the insertion sort. Also, explain …
1Suppose you live on a mountain and the only way you can send messages is via ca
1Suppose you live on a mountain and the only way you can send messages is via carrier pigeon, which can carry a canister containing a slip of paper. You have a message to send to …
1The following decision tree has been created to predict if someone will buy a c
1The following decision tree has been created to predict if someone will buy a computer. a.Convert this tree to if then rules b:Using the following testing data: i. Predict the cl…
1What is encapsulation? 2 why should an object\'s data attributes be hidden from
1What is encapsulation? 2 why should an object's data attributes be hidden from code outside the class? 3.what is the difference between a class and an instance of a class? A.The …
1What is the Hadoop Distributed File System (HDFS) designed to handle? unstructu
1What is the Hadoop Distributed File System (HDFS) designed to handle? unstructured and semistructured relational data unstructured and semistructured non-relational data structur…
1What will be output if you will execute following c code? #include int main(){
1What will be output if you will execute following c code? #include int main(){ int i; for(i=0;i<5;i++){ o:p=""> int i=10; printf(" %d",i); …
1What will be output if you will execute following c code? #include int
1What will be output if you will execute following c code? #include<stdio.h> int main(){ int i; for(i=0;i<5;i++){ int i=10; printf(" %d",i); …
1Which of the following is not a Python list method? Select one: a. pop b. inser
1Which of the following is not a Python list method? Select one: a. pop b. insert c. get d. index 2 What will the following code output? import math x = 5 x = 7 print(round(math.p…
1Which of the following statements is true of social capital? Social capital doe
1Which of the following statements is true of social capital? Social capital does not depreciate. Using relationships in social networks to influence decision makers decreases the…
1Which statement is true regarding a variable? Choose one answer. A. A variable
1Which statement is true regarding a variable? Choose one answer. A. A variable must associate with a memory address when declared B. A variable must be defined with a data type w…
1Write a Java program that calculates and displays the Fibonacciseries, defined
1Write a Java program that calculates and displays the Fibonacciseries, defined by the recursive formula F(n) = F(n-1) + F(n-2). F(0) and F(1) are given on the command line.Define…
1Write a program in Java that implements the Hashtable a)The Hashtable has the s
1Write a program in Java that implements the Hashtable a)The Hashtable has the size = 20 (an array of size 20) b)It uses the Double Hashing technique to determine the hash code. U…
1\\ does it make sense to have an entity with one attributes ? ... explain in si
1 does it make sense to have an entity with one attributes ? ... explain in simple words …
1] An organization that sets standards for how systems communicate over the Inte
1] An organization that sets standards for how systems communicate over the Internet. [2] Generated at the Data Link Layer of the OSI Model and is issued to the network at the Phy…
1] Consider the following relation: CAR_SALE(Car#, Date_sold, Salesman#, Commiss
1] Consider the following relation: CAR_SALE(Car#, Date_sold, Salesman#, Commission%, Discount_amt) The primary key is {Car#,Salesman#} because a car can be sold by multiple sales…
1] Will bubble sort () work properly if the inner loop for (int j = n-1; j > i;
1] Will bubble sort () work properly if the inner loop for (int j = n-1; j > i; --j) is replaced by for (int j = n-1; j > 0; --j) What is the complexity of the new version? …
1](10points) Write a fully dressed use case that captures the behavior of the di
1](10points) Write a fully dressed use case that captures the behavior of the dice game Skunk.This is a variant of Pig, which itself is an instance of a "press your luck" or " jeo…
1_ The program example shown down doesn’t always lead to deadlock. Describe what
1_ The program example shown down doesn’t always lead to deadlock. Describe what role the CPU scheduler plays and how it can contribute to deadlock in this program. /* thread one …
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e)
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e) { int arg1 = 5; TestMethod(ref arg1); MessageBox.Show(arg1.ToString()); } private void TestMthod (…
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e)
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e) { decimal arg1 =5.50; TestMethod(2,ref arg1); MessageBox.Show(arg1.ToString()); } private void Tes…
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e)
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e) { int arg1 = 2; double val = ValReturnMethod(arg1, 2.00); MessageBox.Show(val.ToString()); } priva…
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e)
1_ What is the output? private void btnMethods_Click(object sender, EventArgs e) { int arg1 = 2; double val = ValReturnMethod(arg1, 2.00); MessageBox.Show(val.ToString()); } priva…
1_. 2_ 3. [8 pointsl The function below is intended to find the roots of a quadr
1_. 2_ 3. [8 pointsl The function below is intended to find the roots of a quadratic equation and pass them back throngh ri and r2. It contains two (2) logical errors and six (6) …
1_____ Counting Semaphore is used to ensure Mutual Exclusion 2 ____ Mutual Exclu
1_____ Counting Semaphore is used to ensure Mutual Exclusion 2 ____ Mutual Exclusion can be implemented through semaphore, monitor but not message passing. 3 ____ The address used…
1_____ Counting Semaphore is used to ensure Mutual Exclusion 2 ____ Mutual Exclu
1_____ Counting Semaphore is used to ensure Mutual Exclusion 2 ____ Mutual Exclusion can be implemented through semaphore, monitor but not message passing. 3 ____ The address used…
1a Write a program that prompts the user to enter the maximum number of asterisk
1a Write a program that prompts the user to enter the maximum number of asterisks (*) to display on a line of output, as well as a choice of two different output patterns. The pro…
1a Write a program that will ask the user for the number of exams they took. Usi
1a Write a program that will ask the user for the number of exams they took. Using a loop prompt the user for each exam grade. Calculate the average(the average equation must be o…
1a Write a program that will ask the user for the number of exams they took. Usi
1a Write a program that will ask the user for the number of exams they took. Using a loop prompt the user for each exam grade. Calculate the average(the average equation must be o…
1a Write a program that will ask the user for the number of exams they took. Usi
1a Write a program that will ask the user for the number of exams they took. Using a loop prompt the user for each exam grade. Calculate the average(the average equation must be o…
1a) Create file, file1 , with the following values: 7 35 20 -43 -10 6 7 13 12.0
1a) Create file, file1, with the following values: 7 35 20 -43 -10 6 7 13 12.0 1.5 -3.5 -2.54 3.4 45.34 22.13 true false false true false true false Deadline: 10:00 pm on Feb 14, …
1a) Create file, file1 , with the following values: 7 35 20 -43 -10 6 7 13 12.0
1a) Create file, file1, with the following values: 7 35 20 -43 -10 6 7 13 12.0 1.5 -3.5 -2.54 3.4 45.34 22.13 true false false true false true false 1b) Write a program in Java to…
1a) Define an enumeration type, triangleType, that has the value scalene, isosce
1a) Define an enumeration type, triangleType, that has the value scalene, isosceles, equilateral, and noTriangle. b) Write a function, triangleShape that takes as parameters three…
Subject
Web development and programming
Use Browse or pick another subject.