Programming question and answers for July 15, 2023
- Q Flowchart + Python. Ask the user for a value. Then, ask the userfor the number of expressions of that value. Use While Loops tomake a program. So then, it should...
- Q This project requires the student to create a record (in C++called a struct). The record should contain several fields ofdifferent data types and should allow the user to search therecords...
- Q PHPThe database should have at least two tables with, at minimum,the following fields:Table customers: Fields:Table billing: Fields:customer_IDcustomer_IDcustomer_L_Namecustomer_L_Namecustomer_F_Nameservicecustomer_Title (Mr, Ms, Dr. etc,)customer_billstreet_Addressamt_paidcity_State_Zipbill_datecustomer_Phonedate_paidcustomer_EmailCreate a PHP page that will extract a customer’s bill...
- Q P3 – Page Replacement AlgorithmsCS3310 Operating SystemsPage Replacement:Complete the program that implements the FIFO and LRU algorithmspresented in the chapter and calculates the number of page faultsgenerated given a particular...
- Q This is JavaIn this problem we will write a program that asks the user toenter a) The user's first name and b) a series of integersseparated by commas. The integers...
- Q 1. Explain the difference between a General Support System,Major Application, and a Minor Application and explain how youdetermine the accreditation boundary?2. Explain each of the three different ways to assess...
- Q IntroductionIn this lab, we will look at various aspects of methods in Javaprogramming such as passing arguments to a method, use of localvariables, and returning a value from a method.Exercise-1:...
- Q Write a class called VLPUtility with the following staticmethods: Java Language1. concatStrings that will accept a variable length parameterlist of Strings and concatenate them into one string with a spacein...
- Q Please use python and run in IDLEQuestion 1Write functions that do the following:i) A function that takes 2 arguments and adds them. The resultreturned is the sum of the parameters.ii)...
- Q Matlab code problemsI have to write a code using functions to find out if a year isa leap year. I'm on the write track i feel like but I keep...
- Q Discuss your feelings on hacker culture, in general. Pleaseconsider and discuss what impact you think the media has in theportrayal of hackers and hacker culture.
- Q Please create an Event-Based JavaScript Program of your choice.Please write new code for this project (starting from scratch).Thank you!!
- Q Answer the questions below as indicated.Note that you have to complete these using Visual Studio2019.Upload the source code (.cpp) of your applications. Upload aseparate (.cpp) file for each question.1-Create a...
- Q The C function funsum below takes three arguments -- an integerval and two function pointers to functions f and g, respectively. fand g both take an integer argument and return...
- Q Which are the three control structures used in java programming.Which of these three control structures is used in every program orapplication
- Q asap please pythonUsing block diagram, design the architectural layout of thesimplified model of a symmetric Cryptosystem.Implement a cryptosystem columnar transposition technique witha 4 x 4 matrix arrangement. Test your code...
- Q Question: Including the initial parent process, how manyprocesses are created by the program? And what is the value of ibefore each process terminates? Please draw the parent-childprocess hierarchy to justify...
- Q Objective: Learning linked list.Problem Specification:           An employer would like to maintain a linked list for employees, thedata stored is·An employee number (a positiveinteger)·A yearly salary (a float).·Number of dependents (a shortpositive...
- Q with C# FizzBuzz is a group word game for children to teach themabout division. Players take turns to count incrementally,replacing any number divisible by three with the word fizz, anynumber...
- Q PLEASE READ VERY CAREFULLYwrite a client.py and server.py file for tic-tac-toe INPYTHON with the following restrictions (SO WRITE TWO FILES THATPLAY PYTHON THROUGH A SOCKET)Use a 5 x 5 grid...
- Q Let’s suppose that you have in charge the task of developinginterfaces for an interactive system (web site, mobile application,etc.).Sketch out the main steps that you would ultimately include inyour design...
- Q The interest rate paid on funds deposited in a bank isdetermined by the amount of time the money is left on deposit. Fora particular bank, the following schedule is used:Time...
- Q I understand most of this information is more suitable to C++but our instructor wants us to modify it to do it in Python. Aslong as you fufill the parameters the...
- Q with C# create a console application project that outputs thenumber of bytes in memory that each of the following number typesuse, and the minimum and maximum values they can have:...
- Q In C++, develop a menu program which reads in data from 4different input files - appetizers, entrees, desserts, and drinks.Then, record the item information ordered by the customer for eachitem...
- Q Write a java program that read a line of input as a sentence anddisplay: ï‚· Only the uppercase letters in the sentence. ï‚· Thesentence, with all lowercase vowels (i.e. “aâ€,...
- Q This C++ CODE has many functions that needs to be testedpiece by pieceFor example, you going to display each function with [ ]and a , separating each piece of data,...
- Q For C code: Do not use any function other than getchar, scanf,and printfQ2.A) Write a programto do the following: Read in two values intovariables XÂ Â and y from the keyboard...
- Q Programming Language: C++OverviewFor this assignment, write a program that will simulate a singlegame of Craps.Craps is a game of chance where a player (the shooter) will roll2 six-sided dice. The...
- Q Create a class called clsTextProcessor.java. Your program shoulddeliver the following:Asks the user for a location of a text file, with(FileNotFound) exception handling:Keep asking for a valid file name and locationIf...
- Q Write a java program that asks user to enter a set of positiveinteger values. When the user stops (think of sentinel value tostop), the program display the maximum value entered...
- Q Write a MIPS assembly language program that inputs afloating-point number and shows its internal 32-bit representationas a 8-digit hexadecimal representation. For example: 2.5 decimalis 10.1 binary, which normalized is 1.01x21...
- Q Write a java code to find the following. For numbers 501 to 999,how many numbers will have the sum of the digits equal to 10.501, sum of digits=6502, sum of...
- Q • Implement the codes must use the LinkedList implementation• Add an additional empty node (“dummy nodeâ€) that connects theend of the list with the beginning, transforming the list to acircular...
- Q Write a program to insert the following elements into a hash tableof size 17. The hash function is X mod 17 where X is the inputelement.  6, 12, 34, 29, 28,...
- Q 6-Microsoft SQL Server is a​ ________ for large mainframes andmidrange computers.A.SimpleDBB.MongoDBC.relational DBMSD.NoSQLE.distributed database16-SQL stands for​ ________.A.Structured Query LanguageB.Streamlined Question LanguageC.Structured Question LanguageD.Special Question LanguageE.Structured Questioning Language18-Which of the following is...
- Q Write most basic C++ program possible that calculates volume andsurface area of five shapes (Cube, Sphere, Prism, Cylinder, Cone),where each shape has its own class (with a volume function, surfacearea...
- Q Problem 2 (Save and Get Info) : Write a programthat asks for the user's name, phone number, and address. Theprogram then saves all information in a data file (each informationin...
- Q Write the following Python script:Imagine you live in a world without modules in Python! No numpy!No scipy! Write a Python script that defines afunction called mat_mult() thattakes two lists of...
- Q A. Describe situations in which it might be necessary to trimleading or trailing characters from string data input by theuser?B. Describe situations in which it might be necessary to padstring...
- Q In java program formatSubmit your completed UML class diagram and Java file.Part I: Create a UML diagram for this assignmentPartII: Create a program that implements a class called Dog thatcontains...
- Q Project DescriptionThe BlueMont chain hotels have 4 different types ofroom:Single room: $60/nightDouble room: $75/nightKing room:Â Â $100/nightSuite room: $150/nightThe size of the hotel chains in different locations may bedifferent in terms...
- Q Implement two functions in C language:stringLength() - Takes a pointer to a string, and a pointer toan int variable. It computes the length of the string and updatesthe int variable...
- Q Research to identify different virtualization platforms. Providea discussion of any resources that you find or of the advantages ofone over another (pros and cons, for instance of using VMWare vs.Virtualbox)....
- Q Explain what happens in the Lomuto partition when there is a lotof the same elements in the input and justify the consequences ithas for the time complexity of Quicksort.
- Q You must write the code in 80x86 assembly language andmust attach a screenshot of the output.#Pennies for PayWrite a program that calculates how much a person earns in amonth if...
- Q There are two different types of switching technologiesavailable in today's market. One lives on one layer, while theother resides in a different layer of the OSI model. Locate theseswitching technologies,...
- Q 26.5 Project 3: List & Queue ADTOverviewFor this project, you are to implement two abstract data types(ADTs). You will write a doubly linked list (Dll) and a queueclass. The queue...
- Q PYTHON (BEGINNER) program that allows the user to choose any of the three sports options described below and computes the relevant statistic in each case:Quidditch Score Total: Determined based on...
- Q Read an unsorted keywords file once to determine how many wordsare in the file.Allocate memory dynamically to store the unsorted keywords inan array of strings or an array of c-strings....
- Q A class variable is visible to and shared by all instances of aclass. How would such a variable be used in an application?Describe the difference between abstract classes and concreteclasses,...
- Q Internet ProgrammingProject #4:  XML, Schema and XSLT1.   Write a completeXML file named textbooks.xml, in which youdescribe at least a partial list of the textbooks you are usingthis semester. You should include at...
- Q 1.The followings are the performance measures generated frommultiple runs of the k-Means model on the same dataset withdifferent configurations. Which one presents the best k-Meansmodel.Select one:a. SSE: 303; Davies-Bouldin index:...
- Q Using the ListNode file. Write methods called min and max thatreturn the smallest and largest values in the linked list. Thesemethods will be added to your ListNode class. For example...
- Q PurposeTo learn how to use the JCF classes (HashSet, HashMap,TreeSet, TreeMap).You do not need to implement these classes.To practice using the StringBuilder class to reduce runtimewhen working with Strings.Time Estimate4-5...
- Q Write a program that allows the user to search the array to findthe number entered
- Q C)Â Â Â Explain MVC architectural pattern and itscomponents. Draw a diagram that describes the pattern. Describe thebehavior of MVC by using online shoppingapplication that has the following responsibilities:browse catalog, add item...
- 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 2. Create a C++ program that converts the number of Americandollars entered by the user into one of the following foreigncurrencies: Euro, British pound, German mark, or Swiss franc. Allowthe...
- Q Provide the instruction type, assembly language instruction, andbinary representation of the instruction described by the followingLEGv8 fields:op = 0x458, Rm = 14, Rn = 16, Rd = 18, shamt =...
- Q (1) What is the most common technique used for finding duplicateblocks/data?A. Bit-for-bit comparisons on all new blocksB. Hashing/fingerprintingC. EncryptionD. Storing all blocks in an content addressable object store(2) Which of...
- Q Objective: Using Java coding language,complete each \"TO-DO\" section for the followingclasses.Shape code (for reference, nothing to completehere):import java.awt.Color;import java.awt.Graphics;import java.awt.Rectangle;import java.io.RandomAccessFile;public abstract class Shape extends Rectangle {Â Â public int id;Â Â ...
- Q Submit:One python file __name__ == \"__main__\"Screenshot of sample outputBe sure to:Comment your code, classes and functions! Practice practicepractice!Use meaningful variablesIf you do not I will remove pointsDog Walker ProgramCreate a...
- Q in javaFile encryption is the science of writing the contents of a filein a secret code. Write an encryption program that works like afilter, reading the contents of one file,...
- Q Using an ArrayList, create a program which does the following:If the user enters quit, the program ends. If the user enters addfollowed by a string, program adds the string only...
- Q Create a C Program that reads a file and replaces every otherletter with an asterisk. The first integer 'num' is the number oflines.Include an \"Error\" Message and exit the program...
- Q A number of security devices can be placed at appropriate placesin the network architecture to address certain level of security.In reference to this context, explain how a switch can beconfigured...
- 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 A critical section problem can be solved by satisfying which ofthe following condition,a. Mutual Exclusionb. Progressc. Bounded Waitingd. All of the mentionedGive a logical reason with an example for it...
- Q This java program try to count all of the1 at the rim of the block of1 surrounded by0. Thetotal of the count also includes allthe 1 surrounded two pocketsof 0...
- Q 1. What are Coldeway’s quadrants, and which quadrant didColdeway consider the purest form of distanceeducation?2. If you were a primary school teacher, how would youuse computers to assist your students...
- Q A number of security devices can be placed at appropriate placesin the network architecture to address certain level of security.In reference to this context, explain how a switch can beconfigured...
- Q Discuss the differences between processes and threads. Includediscussion of the limitations of both multiple processes andmultiple threads, and give examples as to when you might want touse them.
- Q Modify the original code and add an additional function of yourchoice. The function should be unique and something you created forthis assignment. Support your experimentation with screen capturesof executing the...
- Q Discuss the differences between monolithic and micro kerneldesign, and identify some pros and cons of each design. You need todiscuss at least one pro and con for each design. You...
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!