Programming question and answers for July 09, 2023
- Q Using the world_x database you installed on your MySQLWorkbench, create a new table named “independence†with thefollowing attributes (columns):A field named “id†which has data type auto_increment,A field named “country_nameâ€...
- Q Using MATLABA list of 30 test scores is: 31, 70, 92, 5, 47, 88, 73, 51, 76,80, 90, 55, 23, 43, 98, 36, 87, 22, 61, 19, 69, 26, 82,...
- Q There are many applications of the Fibonacci series both inmathematics and in the real world. The Fibonacci series is obtainedby starting with 0 and 1, and each subsequent term in...
- Q PythonObjectiveDevelop an interface system using techniques and design patternsseen in class through a problem with realistic constraints.Specs  Write an interactive program for a boardgame called Parcheesi.Use just the basic rules. It...
- Q C++Download the attached program and complete the functions. (Referto comments)main.cpp ~#include #include #define END_OF_LIST -999using namespace std;/* * */int exercise_1() { int x = 100; int *ptr;...
- Q Search the Internet for two  wireless sitesurvey softwareWrite a report comparing both products including the followingas a minimum:Links to bothlist of featuresPrice of the commercial oneTry to install the freeware software...
- Q Answer thefollowing questions based on the given c file:#include#include#include  int c = 0;void *fnC(){    int i;   for(i=0;i<10;i++)   {  c++;       printf(\" %d\", c);   }      }int main(){int rt1,rt2;  pthread_t t1, t2; int trial_count = 0;// For every...
- Q Complete the Monster Attack project by doing the following:In place of the driver used in homework 2, add a menu with aloop and switch. The user must be able to...
- Q Write a Python Client/Server Socket Program that willallow you to send text messages between the server and client,terminating when the exit is typed on the client. Build the programon your...
- Q There are a lot of strategies for setting up network defensesystems. Physical restrictions can be put in place, such asseparating hardware, or using switches and cabling to do so. Onecan...
- Q Create a batch file that gathers network information from aremote host. Use your VMs for this
- Q Guessing game - when I guess, the guess that I make doesn'tcheck correct even though it is correct.// use external file:line1linetwoline threelinefourline five// end external file.// begin program:#include <iostream>#include <fstream>#include...
- Q Operating system:A CS student assigned to work on deadlocks thinks of thefollowing way to eliminate deadlocks. When a process requests aresource , it specifies a time limit. if the process...
- Q Retrieve the SSN and salary of the employee who work for theheadquarter department.2. List all the departments name , the manager’s name of eachdepartment and the location of each department.List...
- Q PYTHONWrite a program that asks the user to enter a student's name and8 numeric assignment scores (out of 100 for each assignment). Theprogram should output the student's name, a letter...
- Q Your paper should include a title page and thefollowing outline:IntroductionA brief introduction of the background and concepts of socialpsychologyBody (5 sentences)The theoretical influence of social psychologyA brief discussion of social...
- Q JavaPlease comment codeCreate an Interactive JavaFX ApplicationCreate an application with the following controls:A Label control with the following text displayed: \"FirstNumber:\"A Label control with the following text displayed: \"SecondNumber:\"An empty...
- Q Problem:Perform the word counter problem through MapReduce.Tools: Anaconda/Python 3/Jupyter NotebookExample word: “One a penny, two a penny, hot cross buns.â€Submitted files: (1) Source code (adding comments); (2)Supporting document for code...
- Q 2) Write an elementary calculator in which the main programreads an integer input, an operation (+,-,*,/), and another integerinput. It then passes this information to a function (calc) toperform this...
- Q Discuss the impact of prejudice and persuasion within a socialcontext.How do the emotions, beliefs, and attitudes of an individualinfluence his or her social behavior? Explain.
- Q D0 05 B1 49 in decimal notation and would like to see how theproblem is worked out.
- Q Check errors and revise/update this java code below andupdate with OOp class; at least make two classes, use java library,validate user input, format and create UML/Pseudocode and flowchartfor the code.import...
- Q What are the three main goals of the CIA(Confidentiality-Integrity-Availability) Security Triad and whatare the most common gaps you see exploited today? What is therelevance of CIA Triad in the globalized...
- Q The following 3 instances of code was provided by my embeddedsystems course. Can you explain what is happening in each codesegment?=== code 1 ===void foo() {uint8_t a=2;uint8_t b[]={b0, b1, b2};...
- Q If your main quality focus is on monitoring and improving yourprocess, are there any critical quality attributes that will fallthrough the cracks?
- Q Program Language C++How do I take lines of string from an input file, and implementthem into a stack using a double linked list? Example input,command.txt, and output file.Ex:Input.txtpostfix: BAC-*prefix:+A*B/C-EFpostfix:FE-C/B*A+postfix:AB-C-D/postfix:AB-CF*-D /...
- Q Create a windows application thatcontains two TextBox objects and two Button objects. One of theTextBox objects and one of the buttons are initially invisible. Thefirst textbox should be used to...
- Q C++// Rectangle.cpp is the Rectangle class function implementation file.#include \"Rectangle.h\"/******************************************************************* * Rectangle::setLength ...
- Q IN JAVAGiven a binary search tree, extract min operation finds the nodewith minimum key and then takes it out of the tree. The program canbe C++/Java or C-style pseudocode. Do...
- Q 1. Let p, q, r, and s be propositional variables. Which of thefollowing expressions would not be formulas in conjunctive normalform? Why?(a) p ∨ p ∨ p(b) p ∧q ∧...
- Q What is the difference between an attribute and a metric? Givean example each of an attribute of a service that is donecorrectly, incorrectly, or not at all and a metric...
- Q In JAVA (eclipse).... Extract both files and place them in yourprogram’s folder. You will be using them. In your driver class: •Create an array called “boyNames†and store all names...
- Q Create “New Class…†named Book tostore the details of a bookDeclare 3 fields for the details of the book:field named author of typeStringfield named title of typeStringfield named callNumber of...
- Q /********************************************************************************* Welcome to Assignment 1! In this assignment, you're going to bepracticing lots* of new JavaScript programming techniques. You'll see commentslike this one:** @param {String} name - the name to...
- Q An important player in the Analytics process is the DataAnalyst. But what exactly does a Data Analyst do? To find out goonline and review the major job boards. Find at...
- Q languague c++Write a program to demonstrate the use of STACKS. Thescenario is as follows:There is a MAZE.There is a mouse inside the maze.The mouse must find the exit from the...
- Q I'm having trouble trying to create the italian, polish, andnetherlands flag in CHere's my code so far:#include<stdio.h>int main(){Â Â int country_choice;Â Â fprintf(stderr, \"Enter the country_code of thechosen flag.(1 for Poland, 2...
- Q Computational Intelligence Methodsii) Describe the process that has been followed to implement aMulti-layer Perceptron for handwritten digit recognition aspresented in the lecture (the code is included in the accompanyingJupyter Notebook...
- Q Identify the directives and statements in the followingprogram. What is the output of the program? [2 points]#include <stdio.h>int main (void) {printf(“Parkinson’s Law: \n Workexpands so as to \tâ€);If i and...
- Q If bandwidth is the difference between the highest and lowestsignals of a transmission, then this means that a signal with thelowest frequency of 10KHz and an upper frequency of 5MHz,...
- Q R programming language.The seafood data recorded the bacterial growth on oysters andmussels. The bacterial counts are measured in log scale at threedifferent times.Convert the data to have one variable showing...
- Q This requirement can be met by using generic data, the correctmysql coding of script is more important than the data.1. Increase all of the listing prices by 5% for all...
- Q write a java code program using loops to compute the sum of the30 terms of the series below.Find sum of all integers between 100 and 200 which are divisibleby 9...
- Q 1. Which featur ewill enable you to apply motion as one slideexits and another enters?a. advanceb.transitionc. timing2. In reference to content development, which of the followingpoints in not an active...
- Q Consider the following pseudocode for insertion-sort algorithm.The algorithm sorts an arbitrary array A[0..n − 1] of nelements.void ISORT (dtype A[ ], int n) {int i, j;for i = 1 to...
- Q C# - Visual Studio Community1.3 In a country XYZ a government organization classifies itsemployees according to categories: A and B. The salary of anemployee depends on the number of years...
- Q Write a program in python programming language toimplement/simulate a finite automaton that accepts (only): oddBinary numbers // 00000000, 0101, 111111, etc. Show: FiniteAutomaton Definition, Graph, Table
- Q . Draw and explain any socket-related activityof the client and server that communicates over the UDP and TCP
- Q ) Eulerian and Hamiltonian cycles. Consider the graphs definedby the following four sets of edges:a) 0-1 0-2 0-3 1-3 1-4 2-5 2-9 3-6 4-7 4-8 5-8 5-9 6-7 6-97-8b) 0-1...
- Q Write a recursive methodcalledpermutationthataccepts twointegersnandras parameters and returns the number of uniquepermutations ofritems from a group ofnitems. For given valuesofnandr, this valuepermutation(n,r)can be computed as follows:permutation(n,r)= n!/ (n-r)!hint: permutation(6, 4)should...
- Q To make class DressShirt inherit the functionality of bothClothing and Shirt (from previous question), the class header wouldbe:Group of answer choicespublic class DressShirt inherits Shirt, Clothingpublic class DressShirt inherits Shirtpublic...
- Q Creat a program that is part of a control system for a house.Create two Boolean variables: doorUnLocked and lightOn. Set both tofalse. Create an int variable: currentTemp. Set the currentTempvalue...
- Q Write C++ voidfunction called averageTemperature() that asks theuser to enter integers with a sentinel value of -999 to stopentering numbers. Then average the numbers and print theaverage.You will need an...
- Q Shirt inherits clothing. In the Shirt constructor, how is theClothing default constructor called? (Select all that apply)Group of answer choicessuper();Clothing();Clothing.Clothing()Make no explicit callShirt inherits Clothing. In the Shirt constructor, how...
- Q Using C#Create the “TestQuestion†class. It will have two classvariables: 1) a question and 2) the answer to that question. Pleasecreate an accessor and mutator method for both of those...
- Q Module/Week 2 ASSIGNMENT (INPUT/OUTPUT)The number of permutations of a set of n items taken r at a time isgiven by the followingformulan!/r !(n- r )!: where n! is the factorial...
- Q Example 2:Now suppose we want to plot one period of this periodic sinefunction:We could try to remember the rules for the shape of sine curvesbased on the general formaty=d+sin(bx+c). This...
- Q 1. Write pseudocode for the following program. You do not haveto write actual C++ code.Assume you have a text file, that has been encrypted by adding 10to the ASCII value...
- Q I want a solution, pleaseWe wish to use the Kaiser window method to design adiscrete-time filter with generalized linear phase that meetsspecifications of the following form:|H(ejw)I =< 0.01, 0 =<...
- Q Module/Week 3 ASSIGNMENT (CONTROL STRUCTURES . IF ..ELSE)Write a C++ program that computes a student’s grade for anassignment as a percentage giventhe student’s score and total points. The final score...
- Q Use Python to solve each problem. Answers should be written infull sentences.Define a code that will give users the option to do one of thefollowing.Convert an angle from radians to...
- Q In C, write a program that initializes a 3D array (the exactsize doesn't matter) that contain what ever arbitrary integers andprint out the array including the elements and use differentfunctions...
- Q IN PYTHON:Write a program to study countries and their capitals. Theprogram will store country:capital information and allow the userto quiz themselves.These two functions are required for this assignment.You may add...
- Q There are n marble balls, one of which is made of a differentmaterial. You have access to a Comparator that can compare twoinputs (of an arbitrary number of marble balls)...
- Q You have been given the following set ofkeys12, 45, 1, 9, 67, 230, 78, 64, 450, 436, 123, 6, 12,90Use insertion to sort the elements in ascending anddescending order (...
- Q Backtracking search is not typically considered a heuristicsearch. However, it contains some elements which could make theapproach considered a heuristic search. Examine both backtrackingand heuristic search to compare and contrast...
- Q A Corporation with a BYOD policy is very concerned aboutissues that may arise from data ownership. The corporation isinvestigating a new MDM solution and has gathered the followingrequirements as part...
- Q write a method in java that insert First(Queue<E> s Ee)that receives a queue and an elment, it inserts the element atthe beginnings of queue
- Q JAVA PROGRAMMINGHi! I need to create a calculator using do/while loop that callsa menu switch where the user choice the calculation type. In theswitch each case calls a method to...
- Q Lael Masterson works in the Student Activities Office atValerian State College in Illinois. Lael has started compilinginformation on students who are interested in helping run studentorganizations at Valerian State, and...
- Q Discuss whether or not you feel the popularity ofMicrosoft Office is in jeopardy. Do you think Access is still abeneficial option for consumers or small businesses, or are thenewer web-based...
- Q Only MATLAB solution is required. No handwrittensolution requested.Given the system of equations− 1.1x1 + 10x2 = 120− 2x1 + 17.4x2 = 174(a) Solve graphically and check your results by substitutingthem...
- Q Credit Card Number Check. The last digit of a credit card numberis the check digit, which protects against transcription errorssuch as an error in a single digit or switching two...
- Q Deadlock Avoidance using Banker’sAlgorithmQ2: Use the following information and complete the Table, alsowrite down the safe sequence if exist?Three Resources (R1=4, R2=9, R3=11)ProcessesAllocated ResourcesR1  R2   R3Maximum Required ResourcesR1  R2   R3Currently...
- Q Describe how polyalphabetic substitution works
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!