Web development and programming
191828 questions • Page 175 / 3837
1)Write a C++ if expression for the following statement: If x is less than or eq
1)Write a C++ if expression for the following statement: If x is less than or equal to 10 or y is less than or equal to 10. 2) The following program uses the switch case programmi…
1)Write a C++ program that asks the user for the lengths of the three sides of a
1)Write a C++ program that asks the user for the lengths of the three sides of a triangle, determine whether the input is valid, and if it is, display the area of the triangle. Th…
1)Write a method public static void downsize(LinkedList employeeNames, i
1)Write a method public static void downsize(LinkedList<String> employeeNames, int n) that removes every nth employee from a linked list. 2)Implement the sieve of Eratosthen…
1)Write a program called StudentGrades using lists and loops to ask for student
1)Write a program called StudentGrades using lists and loops to ask for student name and 3 test scores. Calculate the average of the test scores and assign a letter score as follo…
1)Write a program in Python ( VERSION 2) that reads an arbitrary-length file. -A
1)Write a program in Python (VERSION 2) that reads an arbitrary-length file. -All lines that start with semicolons (;) or pound signs (#) should be ignored. -All empty lines must …
1)Write a script that schedules the message \"Hi!\" to be displayed a minute lat
1)Write a script that schedules the message "Hi!" to be displayed a minute later. Run that script. You can use atq to see if it's scheduled. Wait a minute. Write the answer to the…
1)Write a subroutine in MARIE assembly that multiplies two values where the argu
1)Write a subroutine in MARIE assembly that multiplies two values where the arguments for this subroutine are two pointers(each pointing to a value). The routine, multiply(a,b), p…
1)Write the following function: Void spilt _time (long total _sec,int *hr,int in
1)Write the following function: Void spilt _time (long total _sec,int *hr,int int*min, int *sec), total_sec is a time represented as the number of seconds since midnight>hr,min…
1)You can use an unordered list to create a horizontal navigation menu by settin
1)You can use an unordered list to create a horizontal navigation menu by setting the display property of the <a> element within each li elemenet to inline. setting the floa…
1)You now have a firewall between the internet (represented by a cloud) and your
1)You now have a firewall between the internet (represented by a cloud) and your network router. Click the play button and watch what happens. Do you see traffic flowing from the …
1)a)Declare an array of type integer with 5 elements named iNumbers. Declare ano
1)a)Declare an array of type integer with 5 elements named iNumbers. Declare another array named ivalues and initialize it with the values 2, 4, 6, 8, 10 b)Declare an array of typ…
1)can someone please explain what each line of code is doing , i cant quite unde
1)can someone please explain what each line of code is doing , i cant quite understand it. 2)is there any way instead of plotting we can just output high pulse as +A and negitive …
1)create a database useing sql or java to store the data for Email, First Name,
1)create a database useing sql or java to store the data for Email, First Name, and Last Name. 2) Create a class named Customer that stores data for the user’s id, email address, …
1)find the point ,if any,of intersection of the line (x+1)/(-1) =(y-2)/(2)=(z+2)
1)find the point ,if any,of intersection of the line (x+1)/(-1) =(y-2)/(2)=(z+2)/(3) and the plane P: 2x +3y -z=4<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:offi…
1)how can two cubical (six sided) dice be labelled using numbers {0,1,2,3,4,5,6}
1)how can two cubical (six sided) dice be labelled using numbers {0,1,2,3,4,5,6} so that when the two dice are thrown, the sum has a uniform probability distribution over the inte…
1)int *ptr; int val = 1; ptr = val; The second statement in the above code will
1)int *ptr; int val = 1; ptr = val; The second statement in the above code will assign the value 1 to the pointer. True/False 2)char chrVal[ ] = “Good Morning”; The above statemen…
1)john raymond was so pleased with the program you created for his clients that
1)john raymond was so pleased with the program you created for his clients that he regers you to his coworker,a nutrionist in the same facility.The nutrionist would like you to cr…
1)john raymond was so pleased with the program you created for his clients that
1)john raymond was so pleased with the program you created for his clients that he regers you to his coworker,a nutrionist in the same facility.The nutrionist would like you to cr…
1)reads from a text file and makes an alphabetical list of all the words in that
1)reads from a text file and makes an alphabetical list of all the words in that file. the list of words(string) is the output to another file. 2)assume no more than 50 words in t…
1)suppose we start with an electron with zero initial velocity. Let be the typic
1)suppose we start with an electron with zero initial velocity. Let be the typical time it would take for our electron to hit an atom. We can use this as an average time between c…
1)the voltage of a resistor is calculated by ohm's law: V=RI. write a progra
1)the voltage of a resistor is calculated by ohm&#39;s law: V=RI. write a program that will input resistance R, current I for several resistors, and will calculate and display…
1)true false and 2)correct the errors Part 1: 1) True or False questions a. A C+
1)true false and 2)correct the errors Part 1: 1) True or False questions a. A C++ program may contains two more main functions as needed? b. We can declare arrays with different d…
1)write code that read the input.txt and then using a Stack class to evaluate si
1)write code that read the input.txt and then using a Stack class to evaluate simple postfix expressions having one public method in that class, main(String[] args). 2) I want to …
1+2+1=4 1+2+3+2+1=9 1+2+3+4+3+2+1=16 but I just haven\'t figured out to make tha
1+2+1=4 1+2+3+2+1=9 1+2+3+4+3+2+1=16 but I just haven't figured out to make that functional using recursive functions PROBLEM 2: Below is a (trivial) C function which returns the …
1, (12%) True or False? Circle T if the statement is true and F if it is not tru
1, (12%) True or False? Circle T if the statement is true and F if it is not true. T T F F Building a heap fron an array of n elements in the worst case requires ?(n log n) time. …
1, 1 and -1 work, but I don\'t know why. #include int main () { int a, b , c; pr
1, 1 and -1 work, but I don't know why. #include int main () { int a, b , c; printf(" Enter integers a, b, c: "); scanf ("%i%i%i", &a, &b, &c); if( (!a || !b++ &&a…
1, 3, 4, 5, 11 have mutiple answers 1) To use goal seek you need a. a cell that
1, 3, 4, 5, 11 have mutiple answers 1) To use goal seek you need a. a cell that contains a formula b. a value that is the goal c. a cell that contributes to …
1, 7 could have multiple answers 1) Before you can use Excel\'s Solver you need
1, 7 could have multiple answers 1) Before you can use Excel's Solver you need a. objective cells b. changing variable cells c. constraints 2) In a Pivo…
1, A minimum of 3 HTML pages should be completed with 75% actual content for gra
1, A minimum of 3 HTML pages should be completed with 75% actual content for grading. The remaining 2 pages may have placeholder text. The HTML pages should be designed from the w…
1, As a database administrator what will get in trouble with your boss? A). Your
1, As a database administrator what will get in trouble with your boss? A). Your backup were failing for some time and you didn’t know about it B). There was no process in place t…
1, Assume an employee can work for only one company. What is the best suitable r
1, Assume an employee can work for only one company. What is the best suitable relationship between Company and Employee? None Aggregation Inheritance Composition 2, An interface …
1, C++ A. Describe the difference between how a primitive variable is passed to
1, C++ A. Describe the difference between how a primitive variable is passed to a function versus how a reference variable is passed to a function. B. Declare an enumerated type o…
1, Given the following piece of C code: char * str \"abcd\". Suppose str points
1, Given the following piece of C code: char * str "abcd". Suppose str points to memory address Ox50. Show what values are laid out in memory from memory address 0x50 to 0x54 afte…
1, Host A and Host B are directly connected by a 10 × 106 bps link. The distance
1, Host A and Host B are directly connected by a 10 × 106 bps link. The distance between the two hosts is 1,000 kilometers. Assume that the propagation speed over the link is 2 × …
1, If a method is declared private in the superclass, you may declare the method
1, If a method is declared private in the superclass, you may declare the method public in the subclass. true false 2, Which of the following statements are true? A method can be …
1, TF (a) Any class that implements an interface must have all the interface s m
1, TF (a) Any class that implements an interface must have all the interface s methods. (b) More than one class can implement the same interface. (c) Object a of class Foo that im…
1, What is the .NET class that every other class is derived from? 2. If two clas
1, What is the .NET class that every other class is derived from? 2. If two classes of the same name occur in two different namespaces and both namespaces are used (included) what…
1, Which of the following class definitions defines a legal abstract class? clas
1, Which of the following class definitions defines a legal abstract class? class A { abstract void unfinished() { } } class A { abstract void unfinished(); } abstract class A { a…
1, Write a line of Java code that will create a Scanner objectthat will capture
1, Write a line of Java code that will create a Scanner objectthat will capture input from the keyboard. 2.Investigate the Java API and describe what the Scannermethods hasNext(),…
1, Write code that jumps to label L1 if either bit 4, 5 or 6 is set in the BL re
1, Write code that jumps to label L1 if either bit 4, 5 or 6 is set in the BL register 2, Write code that jumps to label L1 if bits 4, 5 and 6 are all set in the BL register 3, Wr…
1, You can assign ________ to a variable of Object[] type. new char[100] new int
1, You can assign ________ to a variable of Object[] type. new char[100] new int[100] new double[100] new String[100] new java.util.Date[100] 2, Every object is an instance of the…
1, describe one way that the implementation details can affect the applications
1, describe one way that the implementation details can affect the applications that use an ADT, despite the use of date abstraction. 2, what kinds of constrcuts can be declared i…
1,(30 points) Similar to Exercise at end of See 2.2 . 56 and 580%-137) Suppose U
1,(30 points) Similar to Exercise at end of See 2.2 . 56 and 580%-137) Suppose U be the universal set. Then determine the bit strings for the following: a. An empty set b. Univers…
1,14 Exercises E1.1 What is a processor? El.2 What is a microprocessor? What is
1,14 Exercises E1.1 What is a processor? El.2 What is a microprocessor? What is a microcomputer? E1.3 What makes a microcontroller different from a microprocessor? EL.4 How many b…
1,2 and 3 is wrong. 2 only is also wrong. Please read the question carefully and
1,2 and 3 is wrong. 2 only is also wrong. Please read the question carefully and answer the question. Question 6 1 pts Consider the following 3 code fragments 1) int *ptrmalloc (s…
1,Check the best answer. This register is the program counter for the CPU we are
1,Check the best answer. This register is the program counter for the CPU we are studying. EDI ; ESI ; EFLAGS ; EIP ; EDX 2,Fill in multiple blanks. Suppose that initially EDX = 0…
1,Check the best answer. This register is the program counter for the CPU we are
1,Check the best answer. This register is the program counter for the CPU we are studying. EDI ; ESI ; EFLAGS ; EIP ; EDX 2,Fill in multiple blanks. Suppose that initially EDX = 0…
1,Disuss practical approaches to ethical decision making and also provide some e
1,Disuss practical approaches to ethical decision making and also provide some examples. 2,describle a sitution where hacking might be excused on the ethical grounds. Support your…
1,In class Student, method equals() (Ch 8->Student.java), why a reference to Obj
1,In class Student, method equals() (Ch 8->Student.java), why a reference to Object is passed as a parameter instead of a reference to Student? Note that class Object also has …
1,Match the five major testing types with their descriptions Unit Testing Interg
1,Match the five major testing types with their descriptions Unit Testing Intergration Testing Validation Testing Acceptance Testing System Testing Testing procedure used to evalu…
Subject
Web development and programming
Use Browse or pick another subject.