Programming question and answers for July 08, 2023
- Q Create a flowchart using the bisection method when a=2 and b=5and y=(x-3)3-1
- Q .So I have a project, I just want a general answer on how wouldyou start it. I have to make the Backend read/write from thedatabase. What does that mean and...
- Q Consider the following schema:Publisher (name, phone, city), PK:name.Book (ISBN, title, year, published_by,previous_edition, price), PK: ISBN, FK: published_by refsPublisher, previous_edition refs Book.Author (SSN, first_name, last_name,address, income), PK: SSN.Write (aSSN, bISBN), PK:...
- Q Assume a scenario where the hackers gained access to informationthrough malware on Point-of-Sale (POS) systems of more than millioncredit and debit card. The firewall had captured the first malwarecode and...
- Q write cplus programs for exercisesDrink Machine SimulatorCreate a class that simulates and manages a soft drink machine.Information on each drinktype should be stored in a structure that has data members...
- Q Suppose that your company has decided to change the architectureof the software your team works on. The goal is to try to supportmore concurrent users.What are two risks you might...
- Q Hello, I am currently taking software design and analysis classand have a question about those 3 in cpp, can you please help me?thank you- What is the complexity of pop()?...
- Q Write a c++ class definition for an abstract data typedescribing a bookstore inventory. Each book has the followingattributes:Book Title (character string);Book Author (character string);Book Price (Floating point number having two...
- Q Part 1. Call your program by the name:\"program_001_print_primes_between_a_and_b\".Input two integers a and b. Your program must print all theprime numbers between a and b.  You must use the functionint is_prime(int n)...
- Q C# using MindTap How do I round this up to 2 decimals: I needthe total to round to two decimals example instead of the output tobe 119.625 it needs to...
- Q class Airplane – highlights-- modelID : String-planeType: String //â€propeller†“jetâ€--fuelOnBoard : int--fuelCapacity: int //gallons…………...Assume getters and setters, toString(), constructor withparametersand constructor……………Write lambdas using a standard functional interfaceto:a) Given a plane...
- Q [In MATLAB] We have an array of seven values for a number x : [1.92, 0.05, -2.43, -0.02, 0.09, 0.85 . 0.06] . We consider any datavalue in the range...
- Q Fahdah is a student at Computer and Information Sciences Collegeat ImamMohammed Ibn Saud University. She has classes at differentbuildings. She has to gobetween these buildings to attend her classes. Fahdah...
- Q Write c code program for the followingWrite a function, circle, which takes the radius of a circlefrom the main function and assign the area of the circle to thevariable, area,...
- Q Create a Windows application in C# that can be used to changethe form color. Your form background color should initially beblue. Provide at least two buttons with two different color...
- Q Complete/Modify the code given in quiz3.cpp to calculate the avgand the std deviation of the array a and write the output once tomyquiz3outf.txt, and another time to a file to...
- Q What is a program format?CNC programming is based on what current standard?Briefly describe the Word address format.Define each of the following as they pertain to CNCprogramming.Explain G code?1.Character2.Address3.Word4.Block5.ProgramExplain what a...
- Q Write, save, and run a Python programAsk the user to enter a number of grams. Your program convertsthat to whole tones, then whole kilograms and whatever is left isin grams....
- Q This is C++Create a program that reads an HTML file and converts it toplain text.Console:HTML ConverterGrocery List* Eggs* Milk* ButterSpecifications:The HTML file named groceries.html contains these HTML tags:<h1>Grocery List</h1><ul><li>Eggs</li><li>Milk</li><li>Butter</li></ul>When the...
- Q Use Quicksort algorithm to sort the following sequences:a.10, 80, 3, 19, 14, 7, 5, 12b.Choose your sequence with 100different(random)integernumbersc.Choose your sequence with 1000different(random)integernumbersPlease include your pseudocode, input sequence, andoutput in...
- Q My code is working fine but after selecting an option and at theend I want user could enter another option again without going backto menu. However, in my code when...
- Q a video-game developer as received reports of players who arecheating. all game players each have five capabilities that areranked on a scale of 1 to 10 points, with 10 total...
- Q You are one of P recently arrested prisoners. Thewarden, a deranged computer scientist, makes the followingannouncement:You may meet together today and plan a strategy, butafter today you will be in...
- Q Think about your computer system's security.  Respond to the following in a minimum of 175 words:What anti-virus software is installed on your computer? Whatare its capabilities?How you would prevent data breach?...
- Q Inthis lab, you will learn how to create shell scripts using theBourne Shell Scripting language. The student will have to doresearch on the Bourne Shell Scripting language and then writ...
- Q Must be done in Java.In the 1980s HP produced postfix calculators, which enabledpeople to perform arithmetic calculations without usingparentheses. The problem was that we had to first learn how toconvert...
- Q Using JavaThe given class SetInterface.java is :public interface SetInterface<T> {  /**  * Gets the current number of entries in thisset.  *  * @return The integer number of entries currentlyin the...
- Q How did you study to get good grades? what are your habits ascmputer science when studying?For example i am studying 8086 but i get bad grades like whichresources would you...
- Q This question is in reference to BFS and DFS for data structuresand algorithmsConsider a graph algorithm with a growth function on V and E:f(V, E). How would you convert f(V,E)...
- Q For two sets ? and ?, their Jaccard similarity, denoted ?(?,?),is defined as?(?,?) =|? ∩ ?| |? ∪ ?|where |?| is the size of set ?; ? ∩ ? is...
- Q CODE MUST BE IN C++write a program that loops a number from 1 to 10 thousand and keeps updating a count variable (count variable starts at 0 ) according to...
- Q write code in java and comment. thanks. the program isabout interface .Implement the basics of Fitness and types of Fitness:Aerobic.Implement specific Fitness types such as Swimming,Cycling,Fitness Task:public interface Fitness(10pts) This...
- Q Program in java1- Implement an algorithms to calculate the sum of all numbersin an array.  2- Implement an algorithm to determine if an array has allunique integer values.3- Given an array...
- Q Convert the following values into binary numbers for each wordand place the binary values inthe two-dimensional array in their proper order of words.ValueBinary Number EquivalentWord 0462,91210Word 11142008Word 25420hWord 320,992dWord 41104208Word...
- Q A lottery company sells scratch cards. In addition to the gameitself, each contains a verification code. When a user wishes toclaim a win, they enter the value they are claiming...
- Q I am given this starter code and I am suppose to debug it andall of that and it will not work after I change \">\" to \"<=\"and then i'm not...
- Q Understanding if-elseStatementsSummaryIn this lab, you will complete a prewritten Java program thatcomputes the largest and smallest of three integer values. Thethree values are –50, 53, and78.InstructionsTwo variables named largest and...
- Q (I AM IN A INTRO TO PROGRAMMING, PLEASE USE SIMPLE PSEUDOCODE IFPOSSIBLE)Create pseudocode for a program for Hansel's HousecleaningService.The program prompts the user for a customer's last name only.While the...
- Q Explain how timestamping would be used in a protocol tomitigate replay attack.
- Q Python questionDesign a SavingsAccount class that stores a savings account's annual interest rate and balance. The class constructor should accept the amount of the savings account;s starting balance. The class...
- Q ) Write a recurrence relation of the following code and findthe time complexity.void towerOfHanoi(int n, char from_rod,                    charto_rod, char aux_rod){    if (n == 1)    {        cout <<\"Move disk 1 from \" << from_rod <<...
- Q import java.util.ArrayList;import java.util.Collections;import java.lang.Exception;public class ItemList{/** This is the main process for the project */public static void main (){System.out.println(\"\n\tBegin Item List Demo\n\");System.out.println(\"Declare an ArrayList to hold Itemobjects\");ArrayList<Item> list = new...
- Q Design and implement a Demand Paging virtual memorysimulator!It must be a text based application (NOT a GUI based one).You can use the C/C++ or Java programming language.The following algorithms must...
- Q Research the different hash algorithms (Message Digest, SecureHash Algorithm, and RIPMD) and then compare them. Do a write up onthe each one of them (3 paragraphs total). Be sure to...
- Q Convert hexadecimal BEEF to base 2 and 8 using grouping (Nomathematics). Please show all work.
- Q Hi this is Assembly Language MASM x86 program. Please write itin the language and please explain it with comments thank youPlease answer it I really need help this question was...
- Q C#Create a console application that asks the user for two numbersin the range 0-255 and then divides the first number by the second:Enter a number between 0 and 255: 100...
- Q 3. Translate the following C code to MIPS assembly code (in twoseparate files). int main() { printf(“before subroutine!\nâ€);Subfunc(); printf(“after subroutine!\n!â€); } void Subfunc(){printf(“I am subroutine!\nâ€);}4. Translate the following C code...
- Q Please use your own words, don't copy and pasteAny implementation of IoT is going to have risks associated withit. Risks could range from fairly insignificant to very destructivedepending on the...
- Q PHP Question:Write the PHP code to list out all of the dates of the currentmonth and assign them to their given days. As an example, for themonth of October 2020,...
- Q USE Python 2.7(screen shot program with output)the task is: takes in a list of protein sequences as inputand finds all the transmembrane domains and returns them ina list for each...
- Q An arithmetic expression can be represented in three differentformats: infix, prefix, and postfix. In the infix notation, theoperator comes between two operands. In the postfix notation, theoperator comes after its...
- Q you will create a dynamic two dimensional array ofmult_div_values structs (defined below). The two dimensional arraywill be used to store the rows and columns of a multiplication anddivision table. Note...
- Q 2. Create a new project named namedlab5_2. You will prompt the userfor an amount of names to enter, and then ask for that amount ofnames. You’ll store these names in...
- Q -- Creating table ProjDept:create table ProjDept (ProjDeptID NUMBER(10) primary key,ProjDeptName varchar2(20),OfficeLocation varchar2(20),PhoneNumber varchar2(20));INSERT INTO ProjDept (ProjDeptID, ProjDeptName, OfficeLocation,PhoneNumber) VALUES(1001, 'Accounting','ITCC01-400','888-285-8100');(2001, 'Human Resources','ITCC01-200','888-285-8100');(3001, 'Marketing','ITCC02-300','888-285-8100');(4001, 'Information Techn','ITCC02-100','888-285-8100');(5001, 'Legal','ITCC01-100','888-285-8100');-- Creating table Employee:create table...
- Q What is the running time of QUICKSORT on an array A of length ncontaining all the same values? What is the running time if Acontains distinct elements sorted in decreasing...
- Q Animal classCreate a simple class called Animal instantiated with a name anda method toString which returns the name.Cat classCreate a simple class Cat which extends Animal, but adds no newinstance...
- Q Analyze the functional and Non-functional requirements for anAirport checking and security clearance system
- Q Decision Structures in Java     You are the owner of a companythat sells designer desks. Your program will create a user friendlyinterface (company name, labeled prompts, neat output) thatcalculates the cost...
- Q Write a Java Program.A parking garage charges a $3.00 minimumfee to park for up to three hours. The garage charges an additional$0.75 per hour for each hour or part thereof...
- Q Instructions from your teacher:Write a Python program that does the following:Displays a welcome messagePrompts a user to enter a number (an integer), and then convertsthat value from inches to feet....
- Q Howdoes page fault in OS be handled/resolved?
- Q Create two groups named VB (GID=5001) and Norfolk(GID=5002).• Create three different accounts with password under eachgroup• Display the accounts information of each user, includingUID, GID, and password hash.Inlinux
- Q 4. Write a program that reads all numbers from a file anddetermines the highest and lowest numbers. You must NOT use arraysto solve this problem! Write functions where appropriate.Programming language...
- Q Write 2 detailed samples of scary text-based computergames. The location of your game could be a place thattruly exists (possibly include research). Exclude graphic content.Remember to give choices to the...
- Q public class SumMinMaxArgs { private int[] array; // You will need to write the following: // // 1. A constructor that takes a reference to an...
- Q Create a Web application that display an animal classification.For the classification uses the given csv file: test1.csv(open up the csv file in any no-code insertion text editor like:notepad, wordpad (windows);...
- Q You have to get a new driver's license and you show up at theoffice at the same time as 4 other people. The office says thatthey will see everyone in...
- Q Problem1. Write two computer programs to simulate a Unicode streamcipher that consists of bothencryption and decryption algorithms. The encryption programaccepts inputs from anexisting text file, called “letter.txt.†The encryption programproduces...
- Q What is the minimum number of bits needed to encode the days ofthemonth in a Canadian calendar.1.52.33.64.4
- Q JavaImplement a class MyInteger that contains:• An int data field/instance variable named value that storesthe int value represented by this object.• A constructor that creates a MyInteger object for a...
- Q Code in JavaCreate a stack class to store integers and implement followingmethods:1) void push(int num): This method will push an integer to thetop of the stack.2) int pop(): This method...
- Q Basically, the code already functions properly. Could you justwrite in method header comments explaining what the method does andwhat the parameters are? Some of them are already done.Additionally could you...
- Q I'm trying to do some pratice problems in the book and here isone of them.THIS IS FOR JAVA.Write a method cleanCorruptData that accepts an ArrayList ofintegers and removes any adjacent...
- Q A professor has constructed a 3-by-4 two-dimensional array offloat numbers. This array currently contains the lab grades, quizgrades and exam grades of three students in the professor’s class.Write a C++...
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!