Programming question and answers for July 13, 2023
- Q The first program is to count the number of zeros in$3855. Please   add comments to eachline              org  $1000array    db $38, $55 ; data to betested                   org$1100zero_cnt ds.b  1lp_cnt    ds.b  1            org  ...
- Q Write a program(C#) that prompts the user for her home planet.Based on theuser's input the program will display the following:Input: earthMessage: earth. You are an Earthling and you have 10...
- Q Given the following code below:public class Calculation{//method that returns cube of the given numberpublic intfindMax(int arr[]){   int max=0;   for(inti=1;i<arr.length;i++){       if(max<arr[i]){          max=arr[i];}    }    return max;  }//method that returns cube of the given number  public staticint cube(int n){       returnn*n*n;    }  }(5 points) Define...
- Q Hi there,Thanks for your quick response in Advance .Best,- Operating systems typically split functionality intolayers.- Explain what it means and how it works- Explain the advantages and disadvantages of the...
- Q in the c programming language input is given in the form Theinput will be of the form [number of terms] [coefficient k][exponent k] … [coefficient 1] [exponent 1] eg.5 ─3...
- Q in c++ >>When is beneficial to use entry condition loop(for loop) and when is it beneficial to use exit condition loop(while loop). Give an example for each loops.
- Q in C programmingAssume that we have a series that is find as follows:K1=1K2=2K3=3K4=K1+K2+K3Â Â Â ...K(n) = K (n-1) + K(n-2) + K(n-3)Here is the sequence:1, 2, 3, 6, 11, 20, 37, ...Write...
- Q write a java code to represent a sales class asfollows:1- The Sales class contains the names ofsellers (strings) and the sales/seller/day (matrix of integers).Assume the number of sellers is set...
- Q Question1. (lesson 2)In the following code we determine a number if its even or odd.Explain what logic is used for that?   section .text  global_start           ;must be declared for using gcc      _start:                    ;tell linker...
- Q Database SystemsLab ExercisesCreate a table Faculty based on the followingchart:ColumnData typeConstraintsFaculty_IdNumber (6)Primary Key => faculty_pkLast_NameVarchar2(15)Not NULLFirst_NameVarchar2(15)Not NULLDeptChar(3)Save the SQL statement as ex1.sql. Confirm and validatethe creation of the new table.Create...
- Q According to the course presentations, what is theoldest known military cryptographichardware device? How did it work?
- Q Visual Studio Basic1: Which string function you will be likely using to search fora certain pattern in a string?Describe your answer.2: If you are to find the occurrence of 4-letter...
- Q For the following schema, provide the following unique/distinctvaluesa) A suitable primary keyb) An example of a different candidate keyc) An example of a superkeyAccounts(account_id, account_type_code, customer_id,account_name, date_opened, date_closed, current_balance)
- Q Steganography is the technique of hiding secretmessages/information within other non-secret data/information. Onepopular way of steganography is hiding text (plaintext) withinimages (cover text). Each image is a collection of pixels, whereeach...
- Q I need a pseudocode and UML for this program.import java.util.Random;public class SortandSwapCount {  public static void main(String[] args) {     //Generate random array for testand copy that into 3 arrays  ...
- Q Now that Ned can keep track of the salespeople and the variouscalls they go on, he would like to begintracking his customers sales. Ned has indicated that a customer mayplace...
- Q In Assembly Language (Visual Studio 2017), create a procedurethat generates a random string of Length L, containing all capitalletters. When calling the procedure, pass the value of L in EAX,and...
- Q class SLinkedList:\"\"\"Singly linked list with access to front and end, and with storedsize.\"\"\"#-------------------------- nested _Node class--------------------------class _Node:__slots__ = '_element', '_next' # streamline memory usagedef __init__(self, element, next):self._element = elementself._next =...
- Q growth of wireless local area network
- Q Q22: Which one of the following statements is a correct inAccess Control?1. A user who is given permission to read a file is called anobject.2. A custodian of a data...
- Q Saad Aldeen’s Pastries and Catering (SAPC) is a small businessthat operates a retail bakery store and provides catering servicesfor weddings and other events. Based on a discussion with SAPC'sowner and...
- Q I need to be able to store 5000 names into an array. I currentlyhave a code that generates one random name. I just need to generatean array of 5000 the...
- Q Implement Heap Sort and Quick Sort in different programs withthe following specifications: 1. The input to the programs shouldbe ASCII characters 2. Your program should be able to handle upperand...
- Q Rars Rise V pleaseWrite a program that inserts a minus “-“ between all (!)double-consonants:Tunnel -> Tun-nel Busseat -> Bus-seatAnd so on..Howto:Write a program that lets you enter a string.Use ecall(12)...
- Q We continue from the two tables in lab3 part 2, and practice with functions and the GROUP BY statement.The data in each table should be as belowTable Product:PROD_IDPROD_NAMEPROD_PRICEPROD_VENDOR1101Table10021102Chair8031103Armchair9021104Nightstand11011105Bed20031106Dresser15031107Daybed19021108Ash Table12021109Cherry Table13021110Table...
- Q PYTHON CODE PLEASEEEE!!1. Implement ArrayStack, ArrayQueue and ArrayList covered in thelecture 2 (ArrayBased Lists). All the data structures should befully functional and must follow the logic presented in thelecture. When...
- Q a. Develop a divide-and-conquer algorithm to perform a parallelmerge sort of an array. Hint: After division, each process sortsits part of the array using an efficient algorithm. Then, thesubarrays are...
- Q I keep getting this error,Exception in thread \"main\"java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds forlength 0Â Â atsimpleInheritance/simpInher.Dwelling$DriverTest.main(Dwelling.java:146)Can someone help me fix it?import java.io.BufferedReader;Â Â import java.io.FileNotFoundException;Â Â import java.io.FileReader;Â Â import java.util.*;Â Â import java.io.*;Â Â ...
- Q JAVA - I am asking for the user to input their firstName andlastName but I want the method myMethod() to be able to print itwhen it is called. Is that...
- Q Draw UML diagramDefine a class named Document that contains a member variable oftype string named text that stores any textual content for thedocument. Create a function named getText that returns...
- Q The proliferation of mobile devices has made a large impact onsecurity in IT. IT professionals now have to be able to assess thesecurity risks of an employee using their personal...
- Q // Assignment06.cpp : Defines the entry point for the consoleapplication.//#include#include using namespace std;int main(){string s = \"this is a test, this is also a test, this is yetanother test\";int strLen...
- Q Write a program that prompts the user to enter a person’s dateof birth in numeric form such as 8-27-1980. The program thenoutputs the date of birth in the form: August...
- Q Design a 8-to-3 binary encoder, with priority in binary sequence(i.e. input line 0 has higher priority than input line 1 etc).There should also be an \"active\" output which is 1...
- Q Using Java create a program that does the following: Modify theLinkedList1 class by adding sort() and reverse() methods. Thereverse method reverses the order of the elements in the list, andthe...
- Q Suppose you have a project about developing a LearningManagement system software like Moodle.So, try to create WBS using only one of these methods:a) by product orb) by phases orc) by...
- Q Check off the equations below that are accurateA , B, C are numeric variablesA = 3, B= 2, C = 1note , the symbol == means a test for equality,...
- Q pythonclass Node():def __init__(self, value):passclass PostScript():def __init__(self):pass  def push(self, value):pass  def pop(self):return None  def peek(self):pass  def is_empty(self):passdef stack(self):pass  def exch(self):pass  def index(self):pass  def clear(self):pass  def dup(self):pass  def equal(self):pass  def depth(self):pass  stack = PostScript()def decode(command_list):for object in command_list:if object == '=':stack.equal()elif object ==...
- Q What is Windows boot process?What is boot setup?What does the BIOS do during boot up?What is the process tree?difference between systemd and init
- Q add the following numbers using 16-bit 2's complement.show all the steps and calculations.Please also show steps to verify that the answer is correct.-7493 and -6372
- Q Convert the hexadecimal number directly to base 4; then convertboth the original number and your answer to binary to check yourresult.Please show steps and explain
- Q Case Study Project –PART IOverviewThe purpose of the case study project is to get you acquaintedwith the security challenges of a real, complex, messy softwareproduct. In class, you will be...
- Q This Array implementation allows duplicates.Add a method that searches the array and remove all the valuesin the array that does not have a duplicate.void removeNoDups( ) ( 12 points)For example...
- Q Problem:Write a C++ program that will implement and test the fivefunctions described belowthat use pointers and dynamic memory allocation.The Functions:You will write the five functions described below. Then you willcall...
- Q Problem:Add a condition to the deposit method of the BankAccount class,restricting deposits to $100,000 (the insurance limit of the U.S.government). The method should block until sufficient money hasbeen withdrawn by...
- Q This is in MySQLPart one: Using the MySQL Workbench Data Modeler, construct adiagram that shows the table in 3rd Normal Form.Part two: Provide a summary of the steps you took...
- Q Define two C structures, one to represent rectangularcoordinates and one to represent polar coordinates. Rewrite therec_to_polar function to use variables declared using the newstructures.
- Q 2.Change the name of customer 842 to All Season Sport. Copy andpaste your constructhere. Then, display the customer table. Insert your query andresults here.======================================================Change the description of part BV06 to...
- Q Write a non recursive method to insert into an AVL tree inJava
- Q #Create a class called FrapOrder. FrapOrder should#have two attributes (instance variables): size and#extra_shots. Make sure the variable names match those#words. size will be a character, either \"S\", \"M\", or \"L\".#extra_shots...
- Q C# language. Answer in a discussion format.What is a loop? When do you use a loop versus a selectionstatement? What are some examples when an infinite loop isappropriate?Describe one of...
- Q Modify the included program to implement the strict alternationsolution to achieve mutual exclusion. It does not matter whetherThread 0 goes first or Thread 1, but it is important that thethread...
- Q 1. (Important: Assume RTS/CTS mechanism is used) Suppose thereare two ISPs providing WiFi access in the same café, with each ISPoperating its own AP.a. If each ISP has configured its...
- Q Please include all classes including driver.IN JAVASuppose that there is a big farm in California that supplies themajority of the Grocery stores in the twin cities with vegetablesand fruits. The...
- Q CASE STUDY ----->>> \"Sweet Tooth Cupcake andPastry HouseSweet Tooth has managed the company until now basicallyrunning on a single Excel spreadsheet to determine costs, payrollhasn't been much of an issue...
- Q This is python:#Imagine you're writing a program to calculate the class#average from a gradebook. The gradebook is a list of#instances of the Student object.##You don't know everything that's inside the...
- Q Modify the Encryption program so that it uses thefollowing encryption algorithm:Every letter (both uppercase and lowercase) converted toits successor except z and Z, which are converted to 'a' and 'A'respectively...
- Q This is python:#Write a function called count_positive_evens. Thisfunction#should take as input a list of integers, and return as#output a single integer. The number the function returns#should be the count of...
- Q Define a struct computerType to store the following data about acomputer: Manufacturer (50 character string), model type (50character string), processor type (10 character string), ram (int)in GB, hard drive size...
- Q Suppose you have ridden a bicycle from New York City to KeyWest, Florida. Your bicycle odometer shows the total miles you havetravelled thus far, which you make a note of...
- Q   Rental Processing  Enter Number of Rental Days:    Select Cat Type: Compact              Economy              Intermediate    Select Loss Damage Waiver: Yes                       No    ...
- Q Explain the value of data and informationData and information as assetsImportance of investing in security Relationship of data tocreating information Intellectual propertyTrademarks Copyright PatentsDigital productsData-driven business decisionsData capture and collection...
- Q (Reducing the the number of CIDR blocks is good because thelarger the the blocks allocated, the smaller the routing tables inupstream routers become. )can someone explain this please :(why is...
- Q 1. Assume you are writing code to serialize a group of Studentobjects to an XML document. What Java API method will you call toexecute the serialization process? NOTE: You must...
- Q Write a program in C++ that efficiently implements a skip listthat holds integers. Your program should: 1. Accurately implementthe skip list ADT using a random number generator and nodes thatcontain...
- Q What is the difference between  vMotion and svMotion?Why would you use vMotion or svMotion?
- Q #ifndef PROJ7_MYVECTOR#define PROJ7_MYVECTOR#include \"proj7-ContainerIfc.h\"template <class T>class MyVector : public ContainerIfc<T>{public:/*** MyVector** This is the default constructor that sets size equal* to 0 and capacity to 10.** Parameters: none** Output:* return:...
- Q Select four applications (not OSs) that you frequently use. Howdoes each of them address patch management? Visit their websites todetermine what facilities they must alert users to newvulnerabilities. Are the...
- Q Material covered:LoopsFunctionsData StructuresRandomnessNumpy arrays(python language)Problem statementA single amoeba sits in a pitri dish. Every 5 minutes one of twothings will happen to the amoeba:1.    There is a chance that the amoeba...
- Q Setup an AWS Instance for a fake business with billing alerts,compliance (document), server, Identity/Access Management, S3,monitoring, and services that match your business requirements(need to define). Take at least one screenshots...
- Q (5)When you pass an array to a function, the functionreceivesGroup of answer choicesa copy of the arraya reference to the arraythe data type of the array and the number of...
- Q Assignment1- Wi-Fi Site SurveyResearch WiFi site survey software.Download a free or evaluationversion of a software and create a heat map of a busy location(college,coffee shop, mall, business center etc.)Analyze the...
- Q Write a recursive function that finds the minimum value in anArrayList.Your function signature should bepublic static int findMinimum(ArrayList<Integer>)One way to think of finding a minimum recursively is to think“the minimum...
- Q Python:Solve following problems using Linked List Data Structure2. Create a Queue class. In the queue class create enqueue,dequeue, first, empty, len and resize methods. The class shouldsupport circular queue and...
- Q FOR PYTHON:Write a python program for a car salesperson who works a fiveday week. The program should prompt for how many cars were sold oneach day and then prompt for...
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!