Programming question and answers for July 24, 2023
- Q Consider an ONLINE_AUCTION database system in which members(buyers and sellers) participate in the sale of items. Design anER/EER diagram for this ONLINE_AUCTION database. The datarequirements for this system are summarized...
- Q Choose the correct option to match the command descriptionsbelow:The ..(1).. command passes control to the next iteration of a for or while loop, and skips any remaining statements in the...
- Q The cos(x) function can be represented in a Taylor series shownbelow:Write a Matlab program, and use a while loop, to calculatecos(150) (the input is in degrees) by adding terms of...
- Q 1.Assuming A equals the binary value 10101010 and B equals thebinary value 11110000, the result of the bitwise-OR of A with Bis?Just enter the 8-bit binary number that represents the...
- Q A bag of cookies contains 40 cookies. The calorie informationprinted on the bag claims that there are 8 servings in each bag andthat a single serving equals 300 calories. Design...
- Q using access, how do you create a table with a field calleddiscount where 1=5% and 2=6%?screenshot how to steps with microsoft access
- Q 1. Multi-layer BP neural networks have no proof of converging toan optimal solution. Is this true? If it is, then why do we botherto use them?1. What is the fundamental...
- Q 1. Proveif ?∈?,then1+(−1)!(2?−1)is a multiple of four2. If?={∅,{∅}}, which of the following statements is true:a.∅⊆?b.{∅}⊆?c.{∅}∈?3. Provide a grammar for all bit strings that start with exactlyone zero followed by even...
- Q Problem1: In this problem we will ask the useto enter a value greater than 1,000 and less than 1,000,000 withouta comma and the program will add the comma.Create a class...
- Q This is in java, thank you!Problem2: In this problem you ask the user fora month and day. You will then calculate the season based on themonth and day.Create a class...
- Q In PythonThe following code is intentionally done in poor style but runsas intended.def main():c = 10print(\"Welcome to Roderick's Chikkin and Gravy\")e = Falsewhile not e:x = input(\"Would you like some...
- Q Question: How would British Airlines or how did they recover thetrust of their passengers and after that major hack? Did this issuelead to any financial loss? Why were they not...
- Q Design the Use Case Diagram and the test cases for Online MobileStoreUse Cases Phase II
description 
Example: Online Computer Store Requirement1 – Laptops Requirement2 - Desktops Requirement3 - MainframesUse Cases Testing...
- Q In python.Write a program that takes 2 string inputs and calculates theHamming Distance. Hamming distance between two strings is thenumber of positions at which the corresponding symbols aredifferent.The program should...
- Q urgent!!! code in c++- cannot use vector- please use inheritance-please identify the .h and .cpp files and add tester programand screenshot of output!-please complete all parts I will upvote thank...
- Q C++Implement the array based Binary Heap data structure asdiscussed in class. This structure should have a couple ofconstructures (default constructor, and a constructor that takes anarray pointer and a size),...
- Q Using Pseudocode: Design a program that allows the userto enter 20 names into a String array. Sort the array in ascending(alphabetical) order and display its contents.
- Q C++existing code#include \"ArrayBag.hpp\"#include <iostream>/****************************************************** PublicMethods *****************************************************//* Default Constructor */template <typename ItemType>ArrayBag<ItemType>::ArrayBag() : item_count_(0) { //initializer list} // end default constructortemplate <typename ItemType>int ArrayBag<ItemType>::getCurrentSize() const {return item_count_;}template <typename ItemType>bool ArrayBag<ItemType>::isEmpty() const...
- Q Design two sub- classes of Employee...SalariedEmployee andHourlyEmployee. A salaried employee has an annual salary attribute.An hourly employee has an hourly pay rate attribute, an hoursworked attribute, and an earnings attribute....
- Q The second assignment involves writing a Python program tocompute the price of a theater ticket. Your program should promptthe user for the patron's age and whether the movie is 3D....
- Q Im trying to create a book list. I started off like this but idkhow to continue?public static int [] BookList (String title, String author, intprice, int copies, String category) {}I...
- Q Use a while(true) loop to ask the user the following 2 values“Enter a rate r =†“Enter a nonnegative integer (enter negativeinteger to quit):â€If the user enters a negative int...
- Q Exercises4. Using the IDE make a new project/program by changingSmallIO.java so that integers instead of Strings are entered by theuser.5. Change the program so that it only loops until the...
- Q Compose a research report on Bar Codes vs. RFID. Youwork as an efficiency analyst at one of the largest retailcompanies in the world, with multiple stores in every state, aswell...
- Q Your task is to create a book ordering form using VISUALSTUDIOS, with the code and screenshots1. Boxes for first name, last name, address.2. Radio buttons to select: hard cover, soft...
- Q Write a subroutine that will receive a char inputvalue. This subroutine should then use a switch statement todetermine if the char is a vowel, consonant, digit, or other typeof character.Write...
- Q Use a while(true) loop to ask the user the following 2 values“Enter a value x “ “Enter a nonnegative integer n (enter negativeinteger to quit): “If the user enters a...
- Q Neurons: Please construct a Neural Network for the followinglogic, NANDTruth table for NAND functioni1i2output001011101110
- Q Define a java problem with user input, user output, Do WhileStatement and some mathematical computation. Write the pseudocode,code and display output.
- Q 1. WHEN I RUN THE CODE AT FIRST AND I SELECT THE RETURNOPTION, IT BREAKS. BUT WHEN I SELCT THE RETURN OPTION AFTER IBORROW A BOOK, IT WORKS2. WHY IS...
- Q JAVALab Assignment #13:Â Â Looping Lab withboth types of loops.This lab demonstrates the useof the While Loop and the Do While Loop as error checkingmechanisms.You will be using each ofthese loops to...
- Q 2.Discuss the business rules for locating and purchasing a bookonline. How does your system definition impact those rules.(33points)
- Q Given a graph G = (V,E), the source-sink pair (s,t) and capacityof edges {C_e ≥ 0 | e ∈ E}, design a polynomial-time algorithm tofind a set of edges S,...
- Q NETWORKING INTRODUCTION QUESTIONS.1. You are the network administrator for an organization. Youboot up a router, log into it, and issue a series of commands thatchanges the IP address of one...
- Q Which of these statements about deadlock are true? (list allthat are true.)a. If all transactions use two-phase locking, they cannotdeadlock.b. Once two transactions deadlock, one of them must be aborted...
- Q Define and explain the significance of the followingterms.Destination Unreachable packetsICMP Router SolicitationNetwork CongestionProvide a detailed description of the purpose and usage of theInternet Control Message Protocol (ICMP) in the framework...
- Q 1) Question with methods use scanner:1) Create one method that will add four numbers (return method orregular public static void )2) Create another method that will subtract four numbers (returnmethod...
- Q What are the values in arrays a, b, and c after the followingcode executes (list all of the elements of the arrays)?double[] a = new double[4];double[] b = {6,4,2};a[a.length-1] =...
- Q Write a program that will read user input, and do thefollowing:1. The user can input letters [A-Z] as much as he wants (ignorecase).2. If the user input other than letters...
- Q In this program you will read a file specifying a directed graphG as a list of edges. Each edge u →v is listed on one line as u v.The input...
- Q ***PLEASE READ CAREFULLY. IF NOT ANSWERED IN FLOWGORITHM PLEASEDON'T ANSWER***Can you please create a flowgorithm chart for the problem below.Also, provide pseudocode as well. Please do not answer if youcannot...
- Q This assignment requires you to use at least one loop and anarray. You can refer to our book and any programs you have writtenso far. Make sure that your work...
- Q ​​​​​​​LANGUAGE IS JAVAPart OneA hotel salesperson enters sales in a text file. Each linecontains the following, separated by semicolons:The name of the client,the service sold (such as Dinner, Conference, Lodging,...
- Q To come up with a problem definition, write up some samplequestions you would ask the president of Java Airlines to betterhelp what they would like their software to do. Be...
- Q Encoding a message starts with assigning each letter of thealphabet with a positive integer using aspecific pattern, thus rewriting the original message as a list ofnumbers instead of words. Decodinga...
- Q 1.Explain what REST is and what are the REST variables2. Explain how the Loc8r application can be modified to confirmwith API architecture?
- Q You accepted a position at the company to lead a team of 3multi-media developers (excluding yourself). This team will beresponsible for graphic design, animations, and promotionalmaterial. Your role is to...
- Q Unix command lines.A) Assume that your current working directory is NOT the same asyour home directory. Print all file and subdirectory names of yourhome directory into a file named file2.B)...
- Q ** Pascal ** Write a simple program in Pascalwith these specifications:1. Calculates real root of number entered by user (if roothappens to be a complex number, print message \"The root...
- Q The devices designed for the purpose of addressing security inthe network generate a number of logs during the continuousmonitoring of the network. Discuss in detail the different types oflogs created...
- Q Write a program and test a program that translates the followingBubble Sort algorithm to a bubblesort function. The function'sprototype is,void bubblesort(int a[], int size);Bubble SortThe inner loop moves the largest...
- Q C++ (data structure using c++). please send me copyablefile.Write a program and test a program that translates the followingBubble Sort algorithm to a bubblesort function. The function'sprototype is,void bubblesort(int a[],...
- Q Create a class called Student which stores• the name of the student• the grade of the student• Write a main method that asks the user for the name of theinput...
- Q C ProgrammingIllustrate the stack and the heap allocation. Specifywhat each variable value holds and where different references arepointing to.char[] class = {'C','O','M','P','1','2','2'\"};#define int n = 4;long long fibb(long long a,...
- Q B. The following is a key exchange protocol used by two clients,A and B, to obtain a symmetric key???, using a trusted server, S.Assume that A and B had previously...
- Q Consider the following code fragment and answer below1. Read(fd, user entry, size of (user entry));2. Comp=memcmp(userEntry, correct password, stream( userEntry));3. If (Comp!=0)4. Return BAD_PASS- identify any 3 problems with code...
- Q Q1. Search online to find an example policystatement and show the five components of a security policy in thestatement.Q2. Describe the difference between DAC and MACpolicies.Q3. Explain the difference between...
- Q Question Prompt (1 of 1)You are running a classroom and suspect that some of yourstudents are cheating by sharing answers as single words hidden in2D grids of letters.A particular grid...
- Q Explain what are the terms differencewhen we speaking about virtualization, emulation and simulationmethodologies.
- Q You have written a JAVA program that creates Shoe object withthree instance variables. You will need to use the exception youcreated to go along with it. So far you have...
- Q Visual BasicThis assessment will cover the Programming fundamentals of theIntegrated Development Environment(IDE) found in Chapters 1-7 ofthe assigned text. In this assignment, you will demonstrate the useof tools explored so...
- Q Time sensative (linux). Please1)Show all lines that have only the word hello in filefile1.2)Show all lines that have at least five characters.3)Show all lines that have only 5 digits.4)Write the...
- Q 1.  The goal of scalar processing is to produce, onaverage, the execution of one instruction per clock tick.•  If the clock ticks at a rate of 2 GHz, how manyinstructions...
- Q Please convert 2.75 into IEEE-754 format.Provide every single detail for upvote
- Q Draw a connected, simple graph with 6 vertices and 12 edges.Verify the Handshaking Lemma for your graph.
- Q I'm honestly not 100% sure what's going on here. Cansomeone post an example? This is for C++/DatabasesDeliverable You must upload to moodle a single .zip archive fileof your site folder....
- Q Choose two flags (bits) from the 8086 status register, alsoknown as flags register. In your own words briefly describe thepurpose of each flag and how it works
- Q for java,Behold, the power of interfaces! On this homework problem you'llimplement a completely generic version of an algorithm to find themaximum of an array. Unlike in the past, when our...
- Q This lab uses a Student class with the following fields:private final StringfirstName;private final StringlastName;private final String major;private final int zipcode;private final StringstudentID;private final double gpa;A TestData class has been provided...
- Q Write a multithreaded program that calculates variousstatistical values for a list of numbers. This program will bepassed a series of numbers on the command line and will then createthree separate...
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
- Unlimited Question Access with detailed Answers
- Zin AI - 3 Million Words
- 10 Dall-E 3 Images
- 20 Plot Generations
- Conversation with Dialogue Memory
- No Ads, Ever!
- Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!