Web development and programming
191828 questions • Page 38 / 3837
(1) Using Visual Studio community c# Please create the code, debug and complete
(1) Using Visual Studio community c# Please create the code, debug and complete Programming : "Calories Burn" Running on a particular treadmill you burn 3.6 calories per minute. W…
(1) Using the Matlab code developed in Software Assignment #1: Convert the code
(1) Using the Matlab code developed in Software Assignment #1: Convert the code that generates the random number (H,T) with equal probabilities into a function called myBernolli(p…
(1) What is the primary problem in FIFO page replacement algorithm? (2) Although
(1) What is the primary problem in FIFO page replacement algorithm? (2) Although paging eliminates external memory fragmentation, it causes another problem. What is it? (3) What i…
(1) Which of the following instructions should be allowed only in kernel mode? W
(1) Which of the following instructions should be allowed only in kernel mode? Why? (a) Disable all interrupts. (b) Read the time-of-day clock. (c) Set the time-of-day clock. (d) …
(1) Which of the following is an entity class? (a) OrderWindow (b) PlaceOrder (c
(1) Which of the following is an entity class? (a) OrderWindow (b) PlaceOrder (c) OrderControl (d) Customer (2) Messages in sequence diagram become (a) Methods in classes in the c…
(1) Which of the following is an entity class? (a) OrderWindow (b) PlaceOrder (c
(1) Which of the following is an entity class? (a) OrderWindow (b) PlaceOrder (c) OrderControl (d) Customer (2) Messages in sequence diagram become (a) Methods in classes in the c…
(1) Which of the following traversals always gives the sorted sequence of the el
(1) Which of the following traversals always gives the sorted sequence of the elements in a BST? (a) postorder (b) inorder (c) preorder (d) None of the above (2) When is a functio…
(1) Which of the following would be a valid state for a CourseSection class in a
(1) Which of the following would be a valid state for a CourseSection class in a university course registration system? (a) Add the section to the student's schedule (b) Open for …
(1) Which statement below is not true about the network layers abstraction? (a)
(1) Which statement below is not true about the network layers abstraction? (a) Break a complex task of communication into smaller pieces. (b) Lower layers hide the implementation…
(1) With an If: ...If intDay >= 0 AndAlso intDay
(1) With an If: ...If intDay >= 0 AndAlso intDay <= 6 Then ......strName = strDayOfWeek(intDay) ...Else ......MessageBox.Show("Invalid day number.", "Error") ...End If (2) W…
(1) Write a Java program that calculates and prints the monthly paycheck for an
(1) Write a Java program that calculates and prints the monthly paycheck for an employees. The net pay is calculated after taking the following deductions: Federal Income Tax: 15%…
(1) Write a class called Box. Each object of type Box represents a cardboard box
(1) Write a class called Box. Each object of type Box represents a cardboard box. The class Box has the following instance variables of type int: width, height, and length. The cl…
(1) Write a program in which linked lists are used to maintain the data structur
(1) Write a program in which linked lists are used to maintain the data structure for a car rental company. The program allows several types of transactions to be applied to the d…
(1) Write a program to keep log (record) of students who entered in laboratory a
(1) Write a program to keep log (record) of students who entered in laboratory and to calculate the average number of hours each student spends in class. Program should ask studen…
(1) Write a program using the provided template and the Arduino IDE that impleme
(1) Write a program using the provided template and the Arduino IDE that implements the binary search described above. Yourprogramshouldexecuteaforloopthatoutputsaguessvoltage,Vgu…
(1) Write a script that finds the smallest, largest and average of several non-n
(1) Write a script that finds the smallest, largest and average of several non-negative integers. Assume that the first value read specifies the number of values to be input from …
(1) ___True__ Radio waves are comprised of both an electric field and a magnetic
(1) ___True__ Radio waves are comprised of both an electric field and a magnetic field (2) __False__ In 1977, the FCC authorized construction of two developmental cellular systems…
(1) ____ is the principle that allows you to apply your knowledge of a general c
(1) ____ is the principle that allows you to apply your knowledge of a general category to more specific objects. a. Inheritance c. Encapsul…
(1) build link list with even numbers. build it felling up the number 2 to 20..(
(1) build link list with even numbers. build it felling up the number 2 to 20..(2) Have a search options if we put 15 it should say not found..(3) Insert an item example number 22…
(1) create a function called DEAL which will [randomly] \'deal out\' four piles
(1) create a function called DEAL which will [randomly] 'deal out' four piles of 13 cards each, which should be displayed in the format shown: Q982AQT93T934 AKJ657428J987 K865AKJ5…
(1) locate the error in the following method and show how to fix it: private sta
(1) locate the error in the following method and show how to fix it: private static boolean isEven (int n) { if (n % 2 == 0) return true; } (2) Simplify the following method as mu…
(1) public static int exampleRecursion (int n) { if (n == 0) return 0; else retu
(1) public static int exampleRecursion (int n) { if (n == 0) return 0; else return…
(1) show that {a^m b^n E {a,b}* :m,n E Z 1
(1) show that {a^m b^n E {a,b}* :m,n E Z 1<=m<=n<=2m } is a context free language (2) if {wcw^r{a,b}*} where w^r is the reverse of w and |c| <=3.show that A is a conte…
(1) sorts an array of strings in ascending order using a sort algorithm (sortLis
(1) sorts an array of strings in ascending order using a sort algorithm (sortList function) (2) Displays the list, one name per line (displayList function) (3) Prompts the user fo…
(1) what’s wrong with line 3? (2) what’s wrong with the constructors? (3) what’s
(1) what’s wrong with line 3? (2) what’s wrong with the constructors? (3) what’s wrong with the function setC()? (4) what’s wrong with the destructor? (5) what’s wrong with line 1…
(1) write scripts to install java into Linux OS with file jdk-7u71-Linux-x64.gz
(1) write scripts to install java into Linux OS with file jdk-7u71-Linux-x64.gz and a brief explanation. 2)write scripts to install Hadoop into Linux OS with file Hadoop-2.4.1.tar…
(1) write the full formulation of the max flow problem using Node 1 as the sourc
(1) write the full formulation of the max flow problem using Node 1 as the source and Node 5 as the destination using the complete problem data a. b. 2 2 8 6 4 6 get a formulation…
(1)- Which of the following is the declaration of a pointer for an integer? a: i
(1)- Which of the following is the declaration of a pointer for an integer? a: int n; b: *n; c: char * n; d: int *n; (2)- %p can be used to print the value of a pointer, which is …
(1). What is the value ofx after this code segment? x = 20; x++; A) 20 B) 22 C)
(1). What is the value ofx after this code segment? x = 20; x++; A) 20 B) 22 C) 23 D) 21 (2). What is the value ofthe x after this code segment? x = 20; ++x; A) 20 B) 22 C) 23 D) …
(1)Assume that sentence is a variable of type String that has been assigned a va
(1)Assume that sentence is a variable of type String that has been assigned a value. Assume furthermore that this value is a String consisting of words separated by single space c…
(1)How do you decide on navigability? (a)Ask the client (b)Make a judgment call
(1)How do you decide on navigability? (a)Ask the client (b)Make a judgment call (c)We need to check all communication diagrams to indicate navigability appropriately. (d)"Even if …
(1)Match terminology to definitions. 1.ASCII 2.code path 3.defensive programming
(1)Match terminology to definitions. 1.ASCII 2.code path 3.defensive programming 4.index out of bounds 5.postcondition 6.precondition 7.hrowing an exception 8.Unicode Answer A. mu…
(1)Member object Design and implement a Member object with appropriate data fiel
(1)Member object Design and implement a Member object with appropriate data fields and methods. Each member should at least contain a CUNYID and a name. There is no need for VIP M…
(1)Suppose that you are given the following program (with memory addresses shown
(1)Suppose that you are given the following program (with memory addresses shown on the left). What hexadecimal value does EIP hold immediately after "inc EAX" has executed? .data…
(1)Write a program in Python that reads an arbitrary-length file. All lines that
(1)Write a program in Python that reads an arbitrary-length file. All lines that start with semicolons (;) or pound signs (#) should be ignored. All empty lines must be ignored Li…
(1-a) Write a class definition that stores and manipulates anobject called stude
(1-a) Write a class definition that stores and manipulates anobject called student. Provide public function that allow us to change the student's name(changeName), that allow us t…
(1. 10pts) Dynamic type binding is closely related to implicit heap dynamic vari
(1. 10pts) Dynamic type binding is closely related to implicit heap dynamic variables. Explain this relationship. (2. 20pts) Consider the following JavaScript skeletal program: //…
(1.)Write a function called monus that takes two integer arguments a and b and r
(1.)Write a function called monus that takes two integer arguments a and b and returns their difference if a is larger and returns 0 otherwise. So monus(7,3) returns 4, and monus …
(1.5) How does the distinction between kernel mode and user mode function as a r
(1.5) How does the distinction between kernel mode and user mode function as a rudimentary form of protection (security) system? (1.10) Give two reasons why caches are useful. Wha…
(10 00 pts) 6.3 Given a 32-bit binary number, please demonstrate the range it co
(10 00 pts) 6.3 Given a 32-bit binary number, please demonstrate the range it could represent in y different cases. (1.5 pts)(a) case 1 unsigened integer (1.5 pts) (b) case 2: sig…
(10 marks) Consider a simple vending machine class. The machine accepts tokens a
(10 marks) Consider a simple vending machine class. The machine accepts tokens and dispenses cans of refreshing beverages. Write a complete class (on the next page) as described b…
(10 marks) The domain for the variables x and y are the set of soccer and baseba
(10 marks) The domain for the variables x and y are the set of soccer and baseball players at the university. S(x): x plays a soccer B(x): x plays a baseball P(x, y): x practices …
(10 paints each) Trace the execution of bubble sort, selection sort, and inserti
(10 paints each) Trace the execution of bubble sort, selection sort, and insertion sort, using the algorithm presented in class (no other version will be accepted). Show each data…
(10 points) Basic. Decision tree for Selection-Sort. Selection-Sort (A) n A. len
(10 points) Basic. Decision tree for Selection-Sort. Selection-Sort (A) n A. length For j 1 to n -1 Do smallest i For i j 1 to n Do if A Oil A[smallest] en smallest i Exchange A […
(10 points) Divide and Conquer You have a rare gold coin. You dropped it into a
(10 points) Divide and Conquer You have a rare gold coin. You dropped it into a pile of fake gold coins that look identical. You want to find your real coin and all you know is th…
(10 points) Expression Evaluation. Evaluate the following expressions assuming 3
(10 points) Expression Evaluation. Evaluate the following expressions assuming 32 bit integers and 32 bit pointers. Variables are declared as listed but after some unknown number …
(10 points) Given the simple English CFG below, complete the chart parse below t
(10 points) Given the simple English CFG below, complete the chart parse below to show two parses for the ambiguous sentence: Hershey bars protest 0 2 G={ S NP VP NP N | AttrNP N …
(10 points) Given the simple English CFG below, complete the chart parse below t
(10 points) Given the simple English CFG below, complete the chart parse below to show two parses for the ambiguous sentence: Hershey bars protest 3 S NPVP NP N I AttrNP N Hershey…
(10 points) Many operations can be performed faster on sorted data than on unsor
(10 points) Many operations can be performed faster on sorted data than on unsorted data. For each of the following operations, state whether it could be performed faster if the d…
(10 points) Question2 Consider the following relations Emp(eid: integer, ename:
(10 points) Question2 Consider the following relations Emp(eid: integer, ename: varchar, sal: integer, age: integer, did: integer) Dept(did: integer, budget: integer, floor: integ…
Subject
Web development and programming
Use Browse or pick another subject.