Programming question and answers for July 22, 2023
- Q IDS 201 Lab Exercise 5Within a class named LX5, write methods as follows:1. a method named valueCheck that accepts a parameterint named value and, using a switch statement, displaystext output...
- Q Write pseudocode for a function that translates a telephonenumber with letters in it (such as 1-800-FLOWERS) into the actualphone number. Use the standard letters on a phone pad
- Q For an example BNF grammar, be able to identify the tokens whicha lexical analyzer would be able to produce.For an example BNF grammar, and a list of tokens, construct astate...
- Q Write a complete static method named addUp thataccepts, in order, an integer number and aninteger thisMany as parameters and that prints acomplete line of output reporting all the numbers that...
- Q This program must be done in JAVA.Write a program to monitor the flow of an item into an out of awarehouse. The warehouse has numerous deliveries and shipments forthis item...
- Q What might it mean to an organization to have anenterprise system that would be used to manage both customers andsuppliers rather than have those two types of relationships managedin different...
- Q to be done in javaYour task is to finish the StockItem class so that it meets thefollowing criteria• The StockItem class will have 4 attributes:a stock number;a name;the price of...
- Q Watch the 57-minute video, Cybercrime: The InvisibleThreat, from Films on Demand. Take notes during theviewing to identify and assess risks associated with the threatspresented in the video. In at least...
- Q In PowerShell ISE create a script.Use the text file “its3410Users.txt†(found on Canvas) andimport the users into your domain controller. The user file has afirst name, last name, and department....
- Q I NEED AN NLOGN OR LINEAR SOLUTION TO THIS PROBLEM!I NEED A FASTER SOLUTION THAN THE ONE GIVEN BELOW!! The solutionbelow runs in quadratic time, I need one faster than...
- Q The input fileEach line of the input file will contain a sentence with wordsseparated by one space. Read a line from the listedbelow  and use a StringTokenizer to extract the wordsfrom...
- Q Give an example of a three-level \"Is-A\" hierarchy and a three-level\"Has-A\" hierarchy other than the ones discussed in the lecture.Just provide as many examples as you can,thank you
- Q Make a java program of Mickey I have the starter program but Ineed to add eyes and a smile to it.import java.awt.Canvas;import java.awt.Color;import java.awt.Graphics;import java.awt.Rectangle;import javax.swing.JFrame;public class Mickey extends Canvas...
- Q Briefly answer the questions.1. Assume you are an IT consultant for a company, and you havebeen asked to discuss the following items:a) What is code? Why is it important?b) What...
- Q idmanufacturermodeldisplyearcyltransdrvctyhwyflclass1audia41.819994auto(l5)f1829pcompact2audia41.819994manual(m5)f2129pcompact3audia4220084manual(m6)f2031pcompact4audia4220084auto(av)f2130pcompact5audia42.819996auto(l5)f1626pcompact6audia42.819996manual(m5)f1826pcompact7audia43.120086auto(av)f1827pcompact8audia4 quattro1.819994manual(m5)41826pcompact9audia4 quattro1.819994auto(l5)41625pcompact10audia4 quattro220084manual(m6)42028pcompact11audia4 quattro220084auto(s6)41927pcompact12audia4 quattro2.819996auto(l5)41525pcompactOutput file should contain the calculation output for: o Pythoncode properly runs and calculates the average city mileage for allvehicles (avg_city) – 15 pts o...
- Q Htmp (please  I need all answers)QUESTION 1is a sketch or blueprint of a web page that shows the structure(but not the detailed design) of basic page elements such as thelogo,...
- Q Bellman-Ford algorithm:Describe why the Bellman-Ford algorithm does not workwhen the given graph includes negative cycles.Describe how the Bellman-Ford algorithm detects thenegative cycles. Provide an example graph with negative cycles andshow...
- Q Assume you are a member of a campus business club, such as theSociety for the Advancement of Management (SAM), the FinanceAssociation (FA), or the Association of Information TechnologyProfessionals (AITP). Your...
- Q Complete the // TODO sections in the EasyRentalclass.Create a method that implements an iterative sort that sortsthe vehicle rentals by color in ascending order (smallest tolargest)Create a method to binary...
- Q For a displacement addressing mode using the register R1, withR1 = 196,803,43210, and the displacement value is 12,39610, thedatum to be accessed is at the address?
- Q QUESTION 13________ occurs when the supplier, rather than the retailer,manages the entire inventory process for a particular product orgroup of products.JITThe bullwhip effectVertical integrationVMIQUESTION 14Distribution is a(n) ________ activity.downstreaminternalupstreamirrelevantQUESTION 15In...
- Q Suppose that two stacks of positive integers are needed for aproject. Each stack is to contain integers that are less than orequal to 500. One stack is to contain even...
- Q You are provided with an array of Strings and a list of Strings.Sort the elements (1) in natural order, (2) in reverse naturalorder and (3) by the length of each...
- Q 1. Given the following weighted intervals in form of (si, fi,vi) where si is the start time, fi is the finish time, and vi isweight, apply the DP algorithm you...
- Q The binary number system uses just two digits (0 and 1) torepresent any counting number. Match each of the familiar 'base-10'numbers below with their 8-digit binary equivalents.Group of answer choices7Â Â ...
- Q An exceptions lab.Create a new class named EnterInfoRequest user enter name and ageAccept a string and an intUse custom Exception to warn user when name is blankUse custom Exception to...
- Q An exception with finally block lab.Create a new class named ReadArrayCreate simple array and read an element using a try blockCatch any exceptionAdd a finally block and print a message...
- Q C#: If the code is the only thing that you can provide withoutthe pictures of the form, then that is fine as well.Topics: hiding/showing controls, StatusStrip, customevent arguments, radio buttonsStudents...
- Q C++ OnlyCreate a function named PrintStudents,which takes a string input filename and an integer minimum scorevalue and a string output file name as a parameters. The functionwill read the student...
- Q Step # 3 - Create thefollowing structure in the home directory:Refer to previous Steps 1 + 2 for reference.  Do atree to check your work as you go. No GUI,...
- Q C#- count =0;- Create a 2d array \"items\".string[,] items = new string[100, 4];- Create a do while loop, when the user enters \"0\", stop theloop.- Users enter the item name,...
- Q Write an algorithm to determine if two binary trees areidentical when the ordering of the subtrees for a node is ignored.For example, if a tree has root node with value...
- Q Complete the following tasks. In each exercise, represent youranswer only in DBDL. Do not use diagrams a this point. Submiteither a text file or a Word document with your work....
- Q How can a Targeted worm or virus avoid detection by a virusscanner? Give the most relevant answer.
- Q Describe an algorithm to solve the variant of the Towersof Hanoi in as few moves as possible. Prove that your algorithm iscorrect. Initially, all the n disks are on peg...
- Q Write a program that reads a file line by line, and reads eachline’s tokens to create a Student object that getsinserted into an ArrayList that holdsStudent objects.  Each line from thefile...
- Q Pick one area where you think Blockchain Technology could beproposed as a solution and briefly explain your proposed solution.Your final document should include an Abstract and a Conclusion
- Q The Lucas Numbers are a sequence very similar to the FibonacciSequence, the only difference being that the Lucas Numbers startwith L0 = 2 and L1 = 1 as opposed to...
- Q Write a C code to let the main thread create N child threads,where each created thread will randomly generate an integer between0 to 10 and put it into a global...
- Q Please create a C++ program that will ask a high school groupthat is made of 5 to 17 students to sell candies for a fund raiser.There are small boxes that...
- Q In python, write a program that asked the user to enter themonthly costs for the following expenses incurred from operatinghis automobile: loan payment, insurance, gas, oil, tires, andmaintenance. The program...
- Q Please comment, exactly how this program works?#include <stdio.h>int main(){int i,j;int a[1000];for(i=0;i<1000;i++)a[i]=1;Â Â for(i=2;i<1000;i++){if(a[i]==1){for(j=i+1;j<1000;j++){if(j%(i)==0)a[j]=0;}}}printf(\"print numbers are:\n\");for(i=2;i<=1000;i++)if(a[i]==1)printf(\"%d, \",i);}
- Q Briefly explain the terms used in object-oriented programmingwith examples.
- Q Writing a caesar cipher in ARM assembly.INSTRUCTIONS:Step 1: The first thing you should do is modify the case conversion program String.s (provided) Instead of subtracting 32 from all...
- Q C# Programming using Windows Form1. Define a variable named isTrue that stores a value ofwhether something is true or false. Set this variable   to the negative. Output this variable to thetxtIsTrue...
- Q I have a question that I would like an explanation on how anethical hacker uses the information derived by use of Nslookup andWhois to mitigate network connectivity issues. If you...
- Q Consider the following sorted int array:1 3 4 5 7 9 10 12If we search for the key value 10 in the array using the binarysearch algorithm, what is the...
- Q Q2. Write an 8051 C program that uses 3 temperaturesensors (TS1, TS2, TS3),  3 LEDs (GreenLED, BlueLED andRedLED) and 1 buzzer (BUZZ). Monitor the temperature sensors suchthat whenever any of...
- Q Active Directory Domain Services Installation Wizard
- Q write a c# console application app that reads all the servicesin the task manager and automatically saves what was read in aNotepad txt file.  Please make sure that this programruns, also...
- Q Personal Use of Technology:-Create a list of at least 4 examples of technologiesused by you within the last 2 months.  For each:Classify them by IT Component typesResearch and identify approximately what...
- Q Assume that 40% of a program is parallelizable. In 15%of the parallel portion, 200x speed up has achieved. And in the 25%of the parallel portion 300x speed up has achievedWhat...
- Q Create a new file name condition_quiz.py.Add a comment with your name and the date.Prompt the user to enter the cost. Convert the input to afloat.Prompt the user for a status....
- Q Please use java language in an easy way and comment as much asyou can! Thanks(Write a code question) Write a generic method called \"findMin\"that takes an array of Comparable objects...
- Q ENCODE THE FOLLOWING STREAM OF BITS USING 4B/5B encoding :-1101011011101111what is the ratio of redundant bits in 4B/5B?
- Q 1. Write a python program to create a list of integers usingrandom function. Use map function to process the list on theexpression: 3x2+4x+5 and store the mapped elements in another...
- Q can someome investigate my program that utilizes semaphores that can result in deadlock due toprogramming errors and help in finding out if the solution meet all criteria for thecritical sectionIf...
- Q There are at least five (probably more) places in the attachedC# program code that could be optimized. Find at least five thingsin the Program.cs file that can be changed to...
- Q 1.) Simplify the following expression to a minimum number of literals. This problem must be solved through Algebraic Manipulation.All work must be shown on the submitted work. Things to remember....
- Q I keep getting minor errors I can't figure out and I don't knowhow to convert decimal .10 to percentage 10%either.  With these functions defined now expand the program for a companywho...
- Q Which of the following two statements are correct?The prediction performance of a model increases monotonicallywith the number of features used in the modelClustering in a high dimensional space is challenging...
- Q Part Two: Download VendingChange.java (above). Run itand become familiar with the output. Essentially, you need tocreate a user friendly GUI app using the code parameters ofVendingChange. Turn VendingChange.java into a...
- Q *Note: someone else answered the question but queried for theaverage. I need the median NOT the average.Thanks.Hi, please help me create the following SQLquery:Create Table A with 1 column and...
- Q Using PythonThe script is to open a given file. The user is to be askedwhat the name of the file is. The script will then open the filefor processing and...
- Q C++Make this class generic so that the sides ofthe shape may be integer orfloat.---------------shape.h------------class Shape{public:Shape();virtual int getSide();virtual bool setSide(int x);virtual int getArea();virtual int getPerimeter();void display();~Shape();protected:private:int side;// T_sides[numSides];};----------------shape.cpp----------#include \"Shape.h\"#include <iostream>using namespace...
- Q Modify programming problem 4 from Assignment 2. You will createa number of threads—for example, 100—and each thread will request apid, sleep for a random period of time, and then release...
- Q In this Java program you will implement your own doubly linkedlists.Implement the following operations that Java7 LinkedLists have.1. public DList()This creates the empty list2. public void addFirst(String element)adds the element...
- Q Consider a real-life business situation and discuss under whatcircumstances you would consider using the MERGE statement. Inaddition to detail explanation, provide an SQL example to merge atleast three tables. Your...
- Q 1) You must implement a recursive Quicksort algorithm that willread integers from the attached MyList.txt file. Your algorithmmust sort the list(integers)in ascending order.2)You must implement a recursive Mergesort algorithm that...
- Q - You (Eve) have intercepted two ciphertexts: c1 =1111100101111001110011000001011110000110c2 = 1111101001100111110111010000100110001000You know that both are OTP ciphertexts, encrypted with the samekey. You know that either c1 is an encryption of...
- Q Course: Computer Architecture (Theme: Input-Output)A computer consists of a processor and an I/O device Dconnected to main memory M via a shared bus with a data bus widthof one word....
- Q Program BehaviorThis program will analyze real estate sales data stored in aninput file. Each run of the program should analyze one file ofdata. The name of the input file should...
- Q \Implement function find_key that takes adictionary with int:int pairs and a second parameter which is anint that corresponds to one of the dictionary values, and returnsthe key that corresponds to...
- Q Design a class named BankAccount that contains: A private intdata field named id for the account. A private double data fieldnamed balance for the account. A constructor that creates anaccount...
- Q 1) Write a C++ program.You will code a movie search/filterconsole GUI with various operations.The objectives you have to accomplish are listed below;* Create a Movie Class with privateid(int),name(string),point(float),year(int) variables* Generate...
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!