Programming question and answers for July 22, 2023
- Q Describe and analyze an algorithm to determine the number ofshortest paths from a source vertex s to a target vertex t in anarbitrary directed graph G with weighted edges. You...
- Q Using tkinter, create a GUI interface which accepts input ofannual income.Using the table below, determine and output the income tax forthat income. Tax Rate Income 10% $0 to $9,875.00;Â Â 12%$9,876.01 to...
- Q How does the USA PATRIOT Act of 2001 pertain to computerforensics? What aspects of the field are covered in the act? Inwhat ways is the act beneficial?What does the act...
- Q For exam review:Given a stack S1 with n numbers and an empty stack S2, design analgorithm (and write psudeocode for it) to sort all the numbers(from small on top to...
- Q 2. Write a C++ program that;Takes in the weight of a person in Kilograms, converts andoutputs the equivalent weight in pounds. Format your output to 3decimal places. Your output should...
- Q 3. Write a C++ program that takes in the name of a store, andthe following details for 4 employees working at the store; theirfirst name, last name, number of hours...
- Q In Rars RIsc VWrite a program that lets you enter a string.Maximum length 50.Then, perform the sorting algorithm sort it inregards of the ascii values.Print the string BEFORE and AFTER...
- Q describe each lines for each functions#include <stdio.h>/*Method to find the length of String*/int str_len(char str[]){int i=0;int stringLength=0;while(str[i]!='\0'){stringLength+=1;i++;}return stringLength;}/*Method to reverse string in iterative manner*/void simpleReverse(char* str){int stringLength=str_len(str);Â Â for(int i=0;i<stringLength/2;i++){char temp=str[i];str[i]=str[stringLength-i-1];str[stringLength-i-1]=temp;}}/*Method to...
- Q Which of the following is a database clientsoftware?Microsoft SQL Server 2017 DeveloperMicrosoft SQL Server Management StudioMicrosoft SQL Server Configuration ManagerSQL Server Analysis ServiceCompared to Data Warehousing approach, the following aredisadvantages...
- Q A set of processes along with their burst time inmilliseconds is given below. The processes should execute in FirstCome First Served order. Assume that the quantum (q) is3:Process Burst TimeP1...
- Q Parse the file /usr/src/include/minix/ipc.h (Struct message)Modify the newly created system call to receive and print a parameter of type long through the structure “message†(the System_Calls_in_Minix.pdf file may be helpful)....
- Q RIs BYOD Good for Business? explain in 500 words.
- Q In an Inclusion relationship, including a use case issimilar to calling another use case, method, function, or aprocess.Draw a use case model. In a pantry area a student warms up...
- Q Due 2/14 by end of dayYour first assignment is to create the barebones outline of your first data structure - The ArrayList - with minimal functionality.1) Open up your IDE...
- Q Please finish the following JAVA Codes:1. The class Person includes information of a person’s firstname, last name, phone number, and email. Implement the class withappropriate constructors, getters and setters.2. Derive...
- Q This table is used by Mighty PawsVeterinary Clinic. Inspect this table and answer questions belowand answer the following 4 questions:PetIdPetNameOwnerNameOwnerPhonePetTypeLegsCanFlyFavorite food100FluffyMary Smith614-897-5496Cat4NoMeowMix,FancyCatTM101CasperMary Smith614-897-5496Cat4NoMeowMix102LoriJim Larson740-851-0023Parrott2YesSeeds103MartyKim Jones212-505-8578Python0No104OscarTim Wang614-410-5535Dog4NoIAMS, Tim’s new sneakersList anomalies...
- Q You need to make an AngryBear class.(In java)The AngryBear class must have 2 instance variables.The first instance variable will store the days the bear hasbeen awake.The second instance variable will...
- Q Tables:  Write the HTMLcode for a table data cell that contain the text “Holiday†andspans across 3 rows and 4 columns.
- Q QUESTION 1The statement char ch = ‘A’ would store inchA.The character AB.ASCII value of AC.A along with the single inverted commasD.Both (a) and (b)2 points   QUESTION 2Which of the following...
- Q An electricity company charges electricity consumptionaccording to the following scale.Up to 200 Units (0-200) to 0.25 € per unitThe next 1000 Units (201-1200) to 0.40 € per unitOver 1200 units...
- Q Using Python, create a function whose inputs are two matricesand whose output is the element wise product of the twomatrices.
- Q \"Today’s Attacks and Defenses at the beginning of this chapterillustrated how a security researcher could manipulate a help desksupport technician into compromising security. If you were tocreate your own social...
- Q C++.how to write a selection sort to sort it.read_book_data()This member function takes one parameter, a string that containsthe name of a file. This string parameter can be a C++ string...
- Q C#Assignment4A: Fibo-what? If you’ve never heard of the Fibonacciseries, it’s an infinite series that occurs everywhere in nature.It starts off with two digits – 0 and 1. To get the...
- Q Write an algorithm that finds both the smallest andlargest numbers in a list of n numbers. Try to find a method thatdoes at most 1.5n comparisons of array items.(but please...
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!