Programming question and answers for July 12, 2023
- Q You want to calculate agent commissions based on their role. Incell K12, insert the IFS function to calculate the agent’scommission based on the agent code and the applicable rates in...
- Q I need to convert the following into C++. The general idea is tocreate an application that can support 10 ID's and 10 grades. Itneeds to calculate the grade average of...
- Q Write a program that randomly generates 100 dates and store theminto a vector. Use the Date.h provided . The dates generated mustbe within 1000 days after 1/1/2000. and Sort the...
- Q (a) Estimate the asymptotic running time of searching in askewed BST and a balanced BST. Fill the following table with thebig-O running times of each case.skewed treebalanced treesearch(b) Explain each...
- Q AverageGrade. Assume the professor gives five exams during thesemester with grades 0 through 100 and drops one of the exams withthe lowest grade. Write a program to find the average...
- Q Simple code please thats easy to follow.C++Write a program that can be used to compare Insertion Sort,Merge Sort and Quick Sort.Program must:Read an array size from the user, dynamically an...
- Q Write a program to do the following.• Input an integer n.• Create a BST S inserting the keys 1, 2, . . . , n in thatorder, which will result...
- Q Determine where the short hand and long hands meet on the clock.Involve minute and second in theexpression (no longer fraction such as 5.45 but 5 minutes60x0.45=27 seconds). Run full 12...
- Q Using eclipse IDE, create a java project and call it applets. Create a package and call it multimedia. Download an image and save it in package folder. In the package,...
- Q Acme Computing Corp. has remote sites in Port Clinton andNapoleon in addition to their main site in Toledo. There arecurrently 29 devices connected to the network in Toledo. Thecorporate plan...
- Q 1. Write the SQL code required to list the employee number,first and last name, middle initial, and the hire date. Sort yourselection by the hire date, to display the newly...
- Q USE PYTHON. Write a program that prompts the user to enter 5test scores. The program should display a letter grade for eachscore and the average test score.Hint:Declare local variables under...
- Q Say that we want to maintain both a Queue and a Priority Queue.This means that when you do Enqueue you also add the item to thePriority Queue and when you...
- Q Write a java code that ask users to pick two of the jobcategories and enter two working areas from each category. Theusers must enter the start and end time for...
- Q PLEASE INCLUDE THE SOURCE CODE AND OUTPUT PLEASE ANDTHANKS!!This assignment covers recursion and linked list whichinclude the following tasks:2. a. Using C/C++, construct a single linked list of 8nodes and...
- Q With regard to the self-driving car, and the researchconducted by the Moral Machine project; provide your own rankingfor the following (1= most important to save; 9= least important tosave).                                                                                      # RankingCategorySparing...
- Q I need to combine two programs that can do the following (a) what ls command does and (b) to check each file name to print its content...
- Q Could you implement a gpa calculator so that it asks for aletter grade for each of four classes, calculates the gpa, andprints the GPA out along with the student id,...
- Q Write a program to do the following.• Input an integer n.• Create a BST B containing the same items, but inserting themin an order that will yield the tree balanced....
- Q FoxMeyer was the ï¬fth largest drug wholesaler in the UnitedStates (1995) with annual sales of about 5 billion US$ and dailyshipments of over 500,000 items. In order to take advantages...
- Q write a java merge sort called MERGE-SORT-A(), Using recursivecalls and NO INSERTION-SORT() as a sub-procedure.
- Q C++comments would be nice, especially with \"Customers.dat\"part.Please don't use an already answered solution from chegg. I'veunfortunately had that happen at many occasions.I'll most certainly upvote if program is right. I...
- Q 1. A company that wants to send data over the Internet will usean encryption program to ensure data security. All data will betransmitted as four-digit integers. The application should read...
- Q SIGNS ='03,21-04,19=ARI;04,20-05,20=TAU;05,21-06,21=GEM;06,22-07,22=CAN;'+ \'07,23-08,22=LEO;08,23-09,22=VIR;09,23-10,23=LIB;10,24-11,20=SCO;'+ \'11,21-12,21=SAG;12,22-01,20=CAP;01,21-02,21=AQU;02,22-03,20=PIS;'def find_astrological_sign(month, date): ''' (int, int) -> strGiven two int values representing a month and a date, return a3-character string that gives us what star sign a...
- Q This program must be in java, use printf, and request user inputfor a file name.NameSubsLast3 (30 points)Write a program that does the following.Write a program that does the following.Requests the...
- Q (JAVA)We will write a program to check the spelling of the wordentered by user, using data from a dictionary, which is text file.The program will ask user to enter a...
- Q PYTHON - please finish the methods below that are apart of a linkedlist class#return the data value at index(position) in the list. values remain unchangeddef __getpos__(self, position): ...
- Q Can you provide an example on how a decision tree might be usedin practice?
- Q Question 1. Your task is to create a full program for aRestaurant of your choice. You will have the output appear at firstsaying Welcome to ______ Restaurant where the _____...
- Q I was supposed to conver a singly linked list to a doubly linkedlist and everytime I run my program the output prints a bunch ofrandom numbers constantly until I close...
- Q Write a program, using your favourite programming language, toparse time log files to report how much time in total spent onproject. The time log file TimeLogCarbon.txt.Time Log:2/23/12: 9:10pm - 11:40pm...
- Q Please complete in only C++, using loopsAssignment: For this assignment you’ll bedesigning a program which can take the input of a decimal numberand a numerical base, and convert the decimal...
- Q write a python program, please.Create a program that uses the Gettysburg Address as input andoutputs a listof tuples for every two words. For example: [('Four','score'),('and','seven'), ...].
- Q write a C++ Program for matrix operations which include:1. constructor in the form-- matrix::matrix(int numRows, intnumColumns)2. Implement a setter method of the form: -- voidmatrix::setElement(int row, int col)3 Implement a...
- Q What are the four keys groups of issues in software projectdevelopment? Describe each of the groups with examples
- Q Please do not use vectors or any previously posted codeWrite a C++ program which reads in a list of process names andinteger times from stdin/cin and simulates round-robin CPUscheduling on...
- Q Imagine that you are working as manager of the InformationTechnology Department, ASCS College, King Saud University, Riyadh,Saudi Arabia. Write a business letter (Alternative block format) toSales Manager, Dell Company situated...
- Q Using JAVA:This assignment is about aggregation and classcollaboration.You will create several Classes that will be part of an overallclass named InstrumentDisplay. The classes are FuelGage, Odometer,MilesSinceLastGas, and CruisingRange.The FuelGage should...
- Q IN JAVAMinimal Documentation Required (no javadoc)PurposeThe purpose of this assignment is to introduce you to basicoperations on a linked list.SpecificsDesign a program that generates a linked list of randomlygenerated Integer...
- Q We have discussed a number of major software developmentprocesses (eg Waterfall V-Shape, Spiral, RUP, and Agile) in class.They all have various pros and cons. What are the commons keystages of...
- Q Determine the types of data generated by a forest fire detectionsystem? Describe the alternative approaches for storing the data.What type of analysis is required for forest fire detection fromthe data...
- Q Using java:Write a class called StringAlternateSorting what it does: 1. ask user for one String (String1) (must be sorted) 2. ask user for second String (String2) (must be sorted) 3....
- Q Write a C program that accepts a port number as a command lineargument, and starts an HTTP server. This server should constantlyaccept() connections, read requests of the form:GET /path HTTP/1.1\r\n\r\nread...
- Q Imagine a new kind of flip-flop called a J N flip-flop which hastwo inputs J and N. Input J behaves like the J input of the J Kflip-flop, and input...
- Q EXPLAIN ANS PLEASE:PYTHON1. s = 'abc'print(s[0:] + s[-2:2] + s[:1])2. def mirrorOnWheels(s):prev = 0for current in range(1, len(s) - 1):prev = current - 1next = current + 1if s[prev] ==...
- Q InstructionsUse your solution from Programming Assignment 5 (or use yourinstructor's solution) to create a modular Python application.Include a main function (and a top-level scope check),and at leastone other non-trivial function...
- Q Whenever I am attempting to write a simple program on C++ I getan error message that reads \"cout was not declared in this scope\".Literally every time. This has become frustrating...
- Q Discuss how you interact with databases in your daily routine.How often do you access your own personal info and stored data,enter your personal information into new databases, browse contentin a...
- Q Click here to show hidden contentIn the main section, following the last question, create adrop-down menu with two first level links. The second link willshow three second level links when...
- Q What is research in modern day, and tell me the meaning of aboutbottoms-up vs. top down in any research and also explain differencebetween theory verification vs. theory generation in that...
- Q Where in a max heap with over 15 elements can you find thethird-largest value? Select all that apply.a child of the right child of the root, a child of the...
- Q Describe the mechanism used by a web application to prevent itssession cookies from being used by another web application from adifferent company.
- Q 1: (Passing Objects to Methods) From the following UML ClassDiagram, define the Circle class in Java. Circle Circle Radius:double Circle() Circle(newRadius: double) getArea(): doublesetRadius(newRadius: double): void getRadius(): double Aftercreating the...
- Q Write two scripts(must be titled “primeSumLoopS†and“primeSumCallSâ€) in MATLAB that prompts the user to enter aninteger x that 2< x <10000, then the program calculates anddisplays the sum of the...
- Q Method in C language for inserting in descending order in asingle linked list. It has a head and tail variable.
- Q Variable Register a $9 b $19 c $2C Operators + add - subtract & bitwise and ! bitwise or ~bitwise notAssume the variables, a, b and c are stored in...
- Q Discuss the differences and commonalities between text miningand Web mining. Explain with your own words, please
- Q I need new and unique answers, please. (Useyour own words, don't copy and paste),Please Use your keyboard (Don't use handwriting) Thank you..IT101Q2:What strategic competitive benefits do you see in a...
- Q Write Verilog code using for 3:8 Decoderswith Quartus-II CAD software??and write code of Full adder using 2 half adder ?
- Q Question 1price is an instance variable of a class. Inside that classthere is a method public void change(int price).From inside the method \" change\" how do we refer to the...
- Q assum have aClass enum Suit{CLUBS , DIAMONDS,SPADES,HEARTS;}Class enum Raml {TWO,THREE,FOUR,FIVE,SIX,SEVEN,EIGHT,NINE,TEN, JACK,QUEEN,KING,ACE;}public class Card {Â Â Â Â private Suit suit;Â Â private Rank rank;Â Â public Card (Rank rank, Suit suit){Â Â Â Â Â Â Â this.suit = suit;Â Â ...
- Q Guided Assignment Problem 3: Call StackYour Tasks:Answer the following questions. Include a function stackchart/diagram for each question to verify your answers.Use a call stack to explain the result of calling...
- Q Question 6 (1 point)Which of the following is NOT true about the incremental processmodel?Question 6 options:It has lower risk of overall project failure than waterfallmodel.Requirements are prioritized.There is no single...
- Q Develop an algorithm and implement Multilevel Queuingscheduling using C++.and using bubble sorting.Consider a set of user and system processes and determine (i)turnaround time (ii) waiting time of each process (iii)...
- Q IN C++, IN C++, IN C++Write the A and B classes, the properties of which will producethe expected output with the test code provided, and thecharacteristics of which are specified...
- Q Write an Assembly code to input two integer numbers fromkeyboard, computes the division of two numbers WITHOUT usingdivision operator and print out the reminder and quotient to thescreen.Note: program using...
- Q Define a class Fraction3YourName as follows,/*** Program Name: Fraction3YourName.java* Discussion: Fraction3Yourname class* written By:* Date: 2019/09/19*/public class Fraction3YourName {private int sign;private int num;private int denom;public Fraction3YourName() {//sign = ;//denom =...
- Q What would be a good Topic for a Dissertation in Cyber Securityin 2020Create a 750-word document that includes the following:An opening paragraph introducing the topic and the reasons whyyou chose...
- Q USING VISUAL STUDIO 2017, LANGUAGE VISUAL C#I have struggled on this program for quite some time and stillcan't quite figure it out.I'm creating an app that has 2 textboxes, 1...
- Q Write a program that creates a file called \"data.dat\" inthe current directory. Prompt the user for five numbers, and writethem, one at a time, on both the screen and into...
- Q I'm having trouble understanding the following code (a snippetof a code). What does it do? The whole code is about comparingefficiencies of different algorithms.def partition(list,first,last):piv = list[first]lmark = first+1rmark =...
- Q using repl orpythonclassHouse():  valuationRate = 10    def __init__(self,city,sqft,price):      self.city =city      self.sqft =sqft      self.price =price        def getPrice(self):      returnself.price  def applyValuation(self):      self.price += self.price *self.valuationRate/100# create...
- Q Write a function child_indices(parent,branch_factor) that returns a list containing the list ofindices where the children of the node at index parentwill be stored for a heap list with the given...
- Q Write a program that can be used to calculate the commissionearned in a real estate transaction. The chart below describes theformulas used to calculate the commission. Your program will askthe...
- Q Isit fine to enter double before const in c++?Just like thisdouble const ...
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!