Web development and programming
191828 questions • Page 3529 / 3837
a) Declare an integer pointer. b) Use the integer pointer to allocate a dynamic
a) Declare an integer pointer. b) Use the integer pointer to allocate a dynamic array of 30 integers. c) Given the following: double *dp, *dq; double x = 78.9; double y = 23.4; dp…
a) Define a class named Customer that holds private fields for a customer ID num
a) Define a class named Customer that holds private fields for a customer ID number, last name, first name, and credit limit. Include four public functions that each set one of th…
a) Define a class named Student. It must have the following private member varia
a) Define a class named Student. It must have the following private member variables i) A long integer to store ID ii) A string to store name iii) A double to store GPA Write a co…
a) Define a function called convertTempC() . The function should have a paramete
a) Define a function called convertTempC(). The function should have a parameter that will be used to accept temperatures in degrees Celsius. The function should return the conver…
a) Define a function f(x)=sin(1/x). Plot graphs of f zooming in around 1/Pi, 1/1
a) Define a function f(x)=sin(1/x). Plot graphs of f zooming in around 1/Pi, 1/10Pi, 1/200Pi. You should be able to zoom in close enough so that the function look nice and smooth.…
a) Define the class bankAccount to store a bank customer\'s account number and b
a) Define the class bankAccount to store a bank customer's account number and balance. Suppose that account number is of type int, and balance is of type double. Your class should…
a) Define the class bankAccount to store a bank customer\'s account number and b
a) Define the class bankAccount to store a bank customer's account number and balance. Suppose that account number is of type int, and balance is of type double. Your class should…
a) Define the class bankAccount to store a bank customer\'s account number, owne
a) Define the class bankAccount to store a bank customer's account number, owner's full name, and balance. Your class should, besides many others, provide the following operations…
a) Describe a brute-force algorithm for computing the maximum jump in value as w
a) Describe a brute-force algorithm for computing the maximum jump in value as well as identifying the specic buy and sell dates for this maximum jump. What is its running time? b…
a) Describe a non-recursive algorithm that takes a list of distinct integers a_1
a) Describe a non-recursive algorithm that takes a list of distinct integers a_1, a_2, ..., a_n and returns the number of positive integers in the list. Write your answer in pseud…
a) Describe a struct type, named Dog, that contains one string, one integer, and
a) Describe a struct type, named Dog, that contains one string, one integer, and one double. B) In the main program area declare a Dog variable open a file named "dogfiles.1st" wr…
a) Describe a way of arranging elements of an array of length n such that the ru
a) Describe a way of arranging elements of an array of length n such that the running time would be a worst-case for your InsertionSort algorithm. b) Write a program to determine …
a) Describe an algorithm to produce a stable many-to-many matching for any insta
a) Describe an algorithm to produce a stable many-to-many matching for any instance of this polygamous marriage problem. c) Give a small example instance where a man is unmarried …
a) Describe and analyze an efficient algorithm to find a path from your current
a) Describe and analyze an efficient algorithm to find a path from your current location to an arbitrary EXIT node, such that the total expected number of vampires encountered alo…
a) Describe how to implement a capacity-limited stack, which uses the func-tions
a) Describe how to implement a capacity-limited stack, which uses the func-tions of a capacity-limited deque to perform the functions of the stack ADT in ways that do not throw ex…
a) Design a 21-element broadside array with a spacing d = lambda/2. The required
a) Design a 21-element broadside array with a spacing d = lambda/2. The required array factor pattern should closely approximate the sectoral pattern given by SF = {1 50 degree le…
a) Design a GUI for a calculator and implement the callback functions for the ba
a) Design a GUI for a calculator and implement the callback functions for the basic operations (addition, subtraction, multiplication, and division). Your GUI should have: i) Push…
a) Design a Java Class which represents a Retail Item. It is to have the followi
a) Design a Java Class which represents a Retail Item. It is to have the following fields Item Name Item Serial No Item Unit Price Item Stock Level Item Reorder Level It is to hav…
a) Design a class named PhoneCall with four field%u2019s: two strings that hold
a) Design a class named PhoneCall with four field%u2019s: two strings that hold the 10 digit phone numbers that originated and received the call, and two numeric fields that hold …
a) Design a class named PhoneCall with four field%u2019s: two strings that hold
a) Design a class named PhoneCall with four field%u2019s: two strings that hold the 10 digit phone numbers that originated and received the call, and two numeric fields that hold …
a) Design a class named PhoneCall with four field%u2019s: two strings that hold
a) Design a class named PhoneCall with four field%u2019s: two strings that hold the 10 digit phone numbers that originated and received the call, and two numeric fields that hold …
a) Design an expanding opcode instruction set for a comupter having 15-bit instr
a) Design an expanding opcode instruction set for a comupter having 15-bit instructions and the following types of instructions. There are 16 CPU registers and 8 bit addresses i. …
a) Develop a program for addition of two objects and theresult is placed in thir
a) Develop a program for addition of two objects and theresult is placed in third object for output. By Overloading thestream out operator "<<", use three arguments construc…
a) Develop a program for addition of two objects and theresult is placed in thir
a) Develop a program for addition of two objects and theresult is placed in third object for output. By Overloading thestream out operator "<<", use three arguments construc…
a) Develop well-documented pseudo code that finds all the two elements of a give
a) Develop well-documented pseudo code that finds all the two elements of a given array that subtract exactly to |x| (absolute value of x) using a stack or queue. The code must di…
a) Discuss the main components and utility of the responsibility assignment matr
a) Discuss the main components and utility of the responsibility assignment matrix in a software engineering organization b) As a software engineer, you are involved in developing…
a) Display a \'Banner\' page at the beginning, which showsat least the following
a) Display a 'Banner' page at the beginning, which showsat least the followinginformation (Order and format set by programmer): . "Oregon WeatherStation Simulator" . T…
a) Draw a structured design for the \'Create call list functional 4 marks primit
a) Draw a structured design for the 'Create call list functional 4 marks primitive. b) Draw a decision tree for the 'Create appt list functional 4 marks primitive. The following t…
a) Dynamic or late binding is accomplished in C++ by using what kind of function
a) Dynamic or late binding is accomplished in C++ by using what kind of functions? [8] b) What sections of a parent class can a derived class access? c) What sections of a parent …
a) Early explorers often estimated altitude by measuring the temperature of boil
a) Early explorers often estimated altitude by measuring the temperature of boiling water. Write a script file that uses the following two equations to make a table that modern-da…
a) Examine the code given below to compute the average of an array: total 0 for
a) Examine the code given below to compute the average of an array: total 0 for (j=0; j ? k; j++) sub total - 0 /* Nested loops to avoid overflow * sub total + A[j*N j ; total +- …
a) Examine the following class declaration: class DateType { public: void Initia
a) Examine the following class declaration: class DateType { public: void Initialize(int, int, int); int YearIs() const; // returns year int …
a) Explain data structure with syntax. b) List out the classification of data st
a) Explain data structure with syntax. b) List out the classification of data structure, and sketch a diagram of data structure classification c) Explain array data structure with…
a) Explain the difference between a function prototype and a function definition
a) Explain the difference between a function prototype and a function definition. b) What's a default constructor? How are an object's data members initialized if a class has only…
a) Explain the difference between command shells and graphical shells, including
a) Explain the difference between command shells and graphical shells, including advantages and disadvantages of each. b) Do an Internet search to find and list 3 graphical shells…
a) Explain this statement: “ We need to institutionalize the SDLC as our organiz
a) Explain this statement: “We need to institutionalize the SDLC as our organizational project management methodology.” b) Describe two advantages and two disadvantages …
a) Explain what message integrity is and how an electronic signature provides me
a) Explain what message integrity is and how an electronic signature provides message integrity. B) Explain what non-repudiation is and how an electronic signature achieves non-re…
a) Fill in an IPO chart for the problem below A small local bank offers a term d
a) Fill in an IPO chart for the problem below A small local bank offers a term deposit annual rate at 3%. An application should accept the customers bank account number, their det…
a) Fill in the blanks below to create a method that looks through the array data
a) Fill in the blanks below to create a method that looks through the array data for the specified value and returns true if value is in the array and false if it is not in the ar…
a) Find buffer overflow bug and fix it. b ) Exploit Laboratory Exercises In the
a) Find buffer overflow bug and fix it. b) Exploit Laboratory Exercises In the followings, you are required to analyze vulnerabilities of the above program and write exploits. An …
a) For each of the tasks below, write a one-line Python expression that will ach
a) For each of the tasks below, write a one-line Python expression that will achieve the result. Code the Python way; the simpler, the better. – Retrieve the n largest items from …
a) For each scenario describe the charged state of each of the pith balls in ter
a) For each scenario describe the charged state of each of the pith balls in terms of whether it is like or unlike the electrode. Explain your reasoning. b) Assuming that the elec…
a) For each scenario describe the charged state of each of the pith balls in ter
a) For each scenario describe the charged state of each of the pith balls in terms of whether it is like or unlike the electrode. Explain your reasoning. Pith ball get the like ch…
a) For this part of the problem, you can assume we are using the immediate updat
a) For this part of the problem, you can assume we are using the immediate update protocol. We saw that UNDOs have to be done right to left i.e. later writes are undone first and …
a) Give all call sites using the line numbers given. (2 points) b) Give all pair
a) Give all call sites using the line numbers given. (2 points) b) Give all pairs of last-defs and first-uses. (4 points) c) Provide testinputsthatsatisfy all-coupling-uses (note …
a) Give the abbreviated term of the following full sentence: 1. Type of locality
a) Give the abbreviated term of the following full sentence: 1. Type of locality that occurs when accessing instructions 2. Addressing mode where source operand is encoded as 3. A…
a) Give the functional form of the instruction based on the register names. b) G
a) Give the functional form of the instruction based on the register names. b) Give the functional form based on the instruction fields. c) Draw the changes on the datapath diagra…
a) Given a list S of special days, describe a greedy algorithm that minimises th
a) Given a list S of special days, describe a greedy algorithm that minimises the number of dinners that you must treat your partner. After all, you are very busy with your studie…
a) Given an array of integers of any size, n 1, write an algorithm as a pseudo c
a) Given an array of integers of any size, n 1, write an algorithm as a pseudo code (not a program!) that would reverse every two consecutive elements of the left half of the arra…
a) Given an unsorted array A of integers of any size, n 3, and an integer value
a) Given an unsorted array A of integers of any size, n 3, and an integer value x, write an algorithm as a pseudo code (not a program!) that would find out if there exist EXACTLY …
Subject
Web development and programming
Use Browse or pick another subject.