Web development and programming
191828 questions • Page 270 / 3837
1. Write an SQL statement that adds an advisorid attribute to relation student,
1. Write an SQL statement that adds an advisorid attribute to relation student, and sets it to be a foreign key to facultyid in relation faculty. In case a faculty’s id is changed…
1. Write an SQL statement to show the WarehouseID and average QuantityOnHand of
1. Write an SQL statement to show the WarehouseID and average QuantityOnHand of all items stored in a warehouse managed by 'Lucille Smith'. Use a join. 2. Write an SQL…
1. Write an SQL that will create a table called Teams. The table will have colum
1. Write an SQL that will create a table called Teams. The table will have columns for: TeamID which is a unique number and is primary key. ID must be a whole number between 100…
1. Write an SQL that will create a table called Teams. The table will have colum
1. Write an SQL that will create a table called Teams. The table will have columns for: TeamID which is a unique number and is primary key. ID must be a whole number between 100 a…
1. Write an SQL that will create a table called Teams. The table will have colum
1. Write an SQL that will create a table called Teams. The table will have columns for: TeamID which is a unique number and is primary key. ID must be a whole number between 100…
1. Write an SQL that will create a table called Teams. The table will have colum
1. Write an SQL that will create a table called Teams. The table will have columns for: TeamID which is a unique number and is primary key. ID must be a whole number between 100 a…
1. Write an abstract class called StaffMember that has two protected String fiel
1. Write an abstract class called StaffMember that has two protected String fields called name and phone, and it also has a two argument constructor that sets those two fields. Do…
1. Write an algorithm to calculate sum of n numbers (Sum of 1 to n) where n is d
1. Write an algorithm to calculate sum of n numbers (Sum of 1 to n) where n is defined by the user. a) Using brute force method (loop) b) Using formula (sum n*(n+1)/2) 2. Write an…
1. Write an algorithm tocomputes the sum of the first n terms of the series . 2.
1. Write an algorithm tocomputes the sum of the first n terms of the series . 2. Write an algorithm that counts thenumber of one’s in a 16-bit number. Ex. 825 = 00000011…
1. Write an anonymous PL/SQL script that declares and sets a variable that’s equ
1. Write an anonymous PL/SQL script that declares and sets a variable that’s equal to the count of all rows in the Invoices table that have a balance due that’s greater than or eq…
1. Write an application that creates and prints a random identification number i
1. Write an application that creates and prints a random identification number in the form XXX-XX-XXXX. Include the dashes in the output. Do not let the first three digits contain…
1. Write an application that has 4 functions: (a) int main() Controls the progra
1. Write an application that has 4 functions: (a) int main() Controls the program and makes calls to the other functions. Displays the results of the function calls. (b) int GetDa…
1. Write an application that inputs an integer between 00000 and 11111 and print
1. Write an application that inputs an integer between 00000 and 11111 and prints its decimal equivalent (between 0 and 63). If the number entered is out of range then the pr…
1. Write an assembly program to compute the following expression z = -x + 6 - y
1. Write an assembly program to compute the following expression z = -x + 6 - y + 17 - where x, y and z are 16-bit integer variables. - x is in the range of (1 = < x < 5), -…
1. Write an assembly program using MARIE to receive an input in decimal that rep
1. Write an assembly program using MARIE to receive an input in decimal that represents the number of numbers in a list. Then input a list of numbers one by one and store each num…
1. Write an if/else statement that prints “Excellent” when score is 90 or higher
1. Write an if/else statement that prints “Excellent” when score is 90 or higher, “Good” when score is between 80 and 89, and “Try Harder” when score is less than 80. Note that yo…
1. Write an interactive program that prompts for a desired sum, then repeatedly
1. Write an interactive program that prompts for a desired sum, then repeatedly rolls two six-sided dice until their sum is the desired sum. You are supposed to generate random nu…
1. Write an interface called Moveable with four void methods moveUp(), moveDown(
1. Write an interface called Moveable with four void methods moveUp(), moveDown(), moveLeft() and moveRight(). 2. Write a class called MoveablePoint that implements the Moveable i…
1. Write an interface file for queue ADT of integer using linked list.The interf
1. Write an interface file for queue ADT of integer using linked list.The interface file must include the following functions: QueType* CreateQueue (void); void DestroyQueue (QueT…
1. Write an iterative C++ function that inputs a nonnegative integer n and retur
1. Write an iterative C++ function that inputs a nonnegative integer n and returns the nth Fibonacci number. 2. Write a recursive C++ function that inputs a nonnegative integer n …
1. Write an mfile using the switch statement to allow the user to choose what te
1. Write an mfile using the switch statement to allow the user to choose what temperature scale they would like to use for the input value: Celsius, Fahrenheit or Kelvin. The prog…
1. Write and test a Python implementation of the Markov chain algorithm. 2. Add
1. Write and test a Python implementation of the Markov chain algorithm. 2. Add testing code to the Python implementation of the Markov chain algorithm, which verifies that each p…
1. Write and test a program that instantiates a function template that implement
1. Write and test a program that instantiates a function template that implements a binary search of a sorted array of objects. Solution #include <iostream> #include <str…
1. Write aprogram that will allow a user to add, delete, and search for items in
1. Write aprogram that will allow a user to add, delete, and search for items in a linked list. For this assignment, considerusing datatype char, however you may use any typ…
1. Write array declarations for each of the following: a. Six grade point averag
1. Write array declarations for each of the following: a. Six grade point averages. b. Seven last names. c. 10 ages. 2. Declare and initialize arrays that store the following: a. …
1. Write behavioral VHDL code that implements the state machine that you designe
1. Write behavioral VHDL code that implements the state machine that you designed in the previous module. Use a case statement to represent the state table as illustrated in the f…
1. Write code for a JOptionPane dialog that will ask whether the user is at leas
1. Write code for a JOptionPane dialog that will ask whether the user is at least 18 years of age. Then set the boolean variable adult equal to either true, if the user is at leas…
1. Write code in C++ implementing Selection Sort. Your program should let the us
1. Write code in C++ implementing Selection Sort. Your program should let the user enter how large of an array they wish to sort, followed by the values they wish to be in the arr…
1. Write code that creates three radio buttons with the text “Option 1â€, “O
1. Write code that creates three radio buttons with the text “Option 1â€, “Option 2â€, and “Option 3â€. The radio button that displays the text “Option 1†should be initi…
1. Write code that fills an array values with each set of numbers below using as
1. Write code that fills an array values with each set of numbers below using as few statements as possible (i.e., consider using a loop for each). a. 1 2 3 4 5 6 7 8 9 10 b. …
1. Write commands to carry out the following commands: a) Print all lines contai
1. Write commands to carry out the following commands: a) Print all lines containing the string John. b) Print all lines where a word starts with J. c) Print all lines ending with…
1. Write complete code for the following switch statement in MIPS. Print the val
1. Write complete code for the following switch statement in MIPS. Print the value the final value of “x”. “x” should be provided as user input. switch(x) { case 0: x + …
1. Write declaration statements (for Atmega2560 volatile data) for the following
1. Write declaration statements (for Atmega2560 volatile data) for the following. The variable pointed to by y_addr is an integer. The variable pointed to by ch_addr is an unsigne…
1. Write declarations for each of the following variables: a. amounts is an arra
1. Write declarations for each of the following variables: a. amounts is an array of 8 longs b. net_inc is an array of 12 floats c. daily_tot is an array of 12 arrays of 31 ints d…
1. Write each of the following recursive methods and for each one, write a main
1. Write each of the following recursive methods and for each one, write a main method to test it. public static int sumCubes(int n):Returns the sum of the sequence: 13 + 23 + 33+…
1. Write factorial function recusively 2. write fibonacci series code recusively
1. Write factorial function recusively 2. write fibonacci series code recusively and show that it takes a long execution time when the number of n grows. 3. display values in a li…
1. Write four SQL queries to join two or more tables where each query contains m
1. Write four SQL queries to join two or more tables where each query contains multiple combined single-row functions. Explain what each query is intended to do. CREATE TABLE depa…
1. Write four overloaded methods called randomize. Each method will return a ran
1. Write four overloaded methods called randomize. Each method will return a random number based on the parameters that it receives: randomize() - Returns a random int between min…
1. Write gates HDL module to describe bitwise operations acting on 4-bit busses
1. Write gates HDL module to describe bitwise operations acting on 4-bit busses for basic logic functions. 2. Sketch a schematic of the circuit. Source Code: module main; reg [3…
1. Write how to express *nix owner permissions of r-x in binary. (Remember that
1. Write how to express *nix owner permissions of r-x in binary. (Remember that the symbol means the permission isn't granted.) What's the octal representation of the binary numbe…
1. Write new functions for the following: (i) Always insert nodes at the beginni
1. Write new functions for the following: (i) Always insert nodes at the beginning of the linked list. (ii) Considering nodes were inserted following (i), Delete function should d…
1. Write only the function header (not the body) for the following problems. a.
1. Write only the function header (not the body) for the following problems. a. A function named calcSphere which takes a radius as pass by value input. It also takes volume and s…
1. Write pseudocode and java code for following definition: Write a program that
1. Write pseudocode and java code for following definition: Write a program that reads three edges for a triangle from user and determines whether the input is valid or not. The i…
1. Write short answers for each one of them a) Method of concealing data includi
1. Write short answers for each one of them a) Method of concealing data including messages, files, keys and passwords is known as: b) Method to protect blocks of data from being …
1. Write statements to display all key–value pairs in Map object m, one pair per
1. Write statements to display all key–value pairs in Map object m, one pair per line. You will need to create an iterator to access the map entries. 2. Assume that a Person has d…
1. Write struct Date: month day year display() displayLong() set(int,int,int) Me
1. Write struct Date: month day year display() displayLong() set(int,int,int) Member function display(), displays the date in the mm/dd/yyyy format. Member function displayL…
1. Write the Assembly code fragment to implement each of the given pseudo-code.
1. Write the Assembly code fragment to implement each of the given pseudo-code. a. Sum = 0; For count = -10 to 50 { add count to Sum;} b. Sum = 1000 For count = 100 downto 50 {sub…
1. Write the CREATE table statements needed to implement the folowing designin t
1. Write the CREATE table statements needed to implement the folowing designin the EX shema: Table name: Members Primary Key: member_id…
1. Write the SQL code required to list the employee number, last name, first nam
1. Write the SQL code required to list the employee number, last name, first name, and middle initial of all employees whose last names start with Smith. In other words, the rows …
1. Write the SQL statements that create the Student Enrollment Database as descr
1. Write the SQL statements that create the Student Enrollment Database as described in the following table Allow Null Remarks No PK No No No No PK No No No Yes No PK No No No PK …
Subject
Web development and programming
Use Browse or pick another subject.