Q5/ Write simple C++ program that create struct to read an informations of 20 Students (Name, 7 Degrees, age, Address and find Average) then print the name and degrees of any student that has the following Name starting with "A" or "D", successful in all degree, address in UK and average greater than 70.
Q: Brief explanation of a finite-state machine (FSM)
A: Finite State Machine: A finite state machine or finite automata is a numerical model that takes…
Q: Is it troublesome from a governance standpoint to migrate from on-premise servers to an IaaS…
A: Hardware as a Service - (HaaS) is another name for IaaS. It is one of the platform's layers for…
Q: 3) Assume SS-5000H, DS=6000H, ES=7000H, CS-9000H, BX=1000H, DI=2000H, SP-3000H, IP=4000H, SI=2000H,…
A: The answer is given in the below steps.
Q: What part does a foreign key play in ensuring the integrity of a database? What evidence do you have…
A: The answer is given in the below step.
Q: Explain briefly why non-formal standard software development methodologies won't be useful for…
A: Given: The non-formal technique of software development is a way where decisions are frequently made…
Q: In order to avoid any data loss, what are the four most common reasons databases fail that you want…
A: There are various forms of data failures: Failure of the MediaThis kind of failure happens when a…
Q: Functional programming contrasts with oops
A: the solution is an given below :
Q: Q4:-Complete the following program by writing its functions and class: C++ Main() { Stack A(10),…
A: In this question we need to implement stack class and its methods in C++.
Q: a stream of Suppose that a system generates upper case alphabetic characters and that the…
A: Suppose a system generates a stream of uppercase alphabetic character and all the character…
Q: 3) Assume SS-5000H, DS-6000H, ES=7000H, CS=9000H, BX=1000H, DI=2000H, SP-3000H, IP=4000H, SI=2000H,…
A: Here is the answer below:- Here the Given Instruction are: MOV [DI + 3000H], AL. -> Here MOV…
Q: What does computer science include, and how does it differ from other academic fields? What…
A: Given: Computer science is a field of study that looks at the hardware and software of computers. It…
Q: When converting from on-premises servers to an IaaS design, are there any governance challenges?
A: In this question we need to explain the governance challenges which are faced while converting from…
Q: What distinguishes structural from data independence?
A: When modifications to the file structure may be made without affecting the appliance program's…
Q: What else may the waterfall model of the SDLC mean? Explaintion?
A: The waterfall model is a sequential software development model in which development flows steadily…
Q: Where can you find malware? What makes worms distinct from viruses? By breathing in contaminated…
A: Given: Describe pathogens. Pathogens are organisms that infect the body and can harm health. They…
Q: Functional programming contrasts with oops
A: In the given question Functional programming is the programming technique that accentuates the…
Q: What does the word "computer" imply exactly?
A: Computers also store data for later uses in appropriate storage devices and retrieve whenever it is…
Q: What is the mechanism through which SaaS functions? Give more details on what you mean.
A: SaaS is also known as software as a service.
Q: What use does partitioning in Linux serve?
A: Use of partitioning in Linux Serve.
Q: Explain briefly why non-formal standard software development methodologies won't be useful for…
A: Definition A non-formal technique of software development is one that relies on the opinions of many…
Q: Can you kindly provide the most important SDLC stage with at least two examples or scenarios?
A: Important SDLC: It offers a useful methodology and structure for creating software applications. It…
Q: Suppose that a system generates a stream of upper case alphabetic characters and that the…
A: Question: Suppose that a system generates a stream ofupper case alphabetic characters and that…
Q: What is an interruption, exactly, and how are they used? Sort predicted hardware failures from…
A: A signal known as an interrupt can be sent by a computer program or a linked device. The operating…
Q: What benefits may a company or organisation expect from employing a life cycle model?
A: System development life cycle the System development life cycle is a systematic venture of the…
Q: Can you simply describe what software engineering is used for? What exactly are you trying to find?
A: Software Engineering: The area of computer science known as software engineering is responsible for…
Q: Which Stage of the Product Lifecycle Would You Describe?
A: The different phases of an Product's life cycle decide the way things are promoted to customers.…
Q: What is the database execution time Big O category? I will finish it if there is only one more…
A: The tightest upper bound of the function is Big O, which represents the worst-case time complexity…
Q: What should one keep in mind while switching from one system to another? Why don't you go into more…
A: Keep the following in mind while switching between several systems: It is impossible to…
Q: How do you choose the most crucial SDLC stage and back up your assertion with at least two…
A: The SDLC's most essential components are project planning and requirements. No software team can…
Q: What is the OS's resource allocation?
A: Introduction: The operating system of the a computer serves as an interface between the user and the…
Q: What function does MVC serve in the design of web applications? Which advantages come with utilising…
A: Model-view-controller: Model-view-controller (MVC) is an architectural style for software…
Q: Describe how you would define "motion input." List the applications of motion input in the medical…
A: Motion input can be defined as instructions which require multiple directional inputs to execute.…
Q: Explain the concept of "separation of concerns" in your own words. engineers in the software…
A: Introduction Separation of concerns: Separation of concerns is a software architecture design…
Q: Functional programming contrasts with oops
A: Functional programming: Functional programming, in general, refers to employing functions as…
Q: If true, how do time-sharing operating systems differ from distributed operating systems?
A: Operating system An OS goes about as a delegate between the client of a PC and PC hardware. The…
Q: What, then, does artificial intelligence really mean? Give at least one example, please. What other…
A: Introduction: Cognitive artificial is the emulation of human intelligence processes by machines,…
Q: What are the operating system differences between time-sharing and distributed systems? What is the…
A: Answer : time-sharing and distributed systems operating system : Time sharing operating system : It…
Q: What does the phrase "system testing" really mean? Describe the different testing methods that are…
A: Introduction: SYSTEM TESTING System testing is a software development approach for determining…
Q: What use does partitioning in Linux serve?
A: Operating system An OS is a program that controls the execution of application programs and goes…
Q: When shifting your IT operations to the cloud, where should you look for governance issues?
A: Clarification: What are some of the governance issues to be on the lookout for while switching from…
Q: What uses may a finite state system be put to?
A: the answer of the question is given below
Q: What use does the data dictionary serve in the DBLC process?
A: The data dictionary is an essential component of a relational database management system (RDBMS)…
Q: Should the analytical process be abandoned or at the very least drastically sped up when we choose…
A: Introduction: Outsourcing software development is the process of working with a team from another…
Q: take a moment to make a few brief notes on active and passive transformations?
A: An active transformation can change the number of rows that pass through the transformation.
Q: Suppose you have a RISC machine with a 2.7 GHz clock (i.e., the clock ticks 2.7 billion times per…
A: Solution in step 2:
Q: What does an SDLC demonstrate, and what does the abbreviation SDLC mean?
A: The answer to the question is given below:
Q: What concrete examples would you use to explain the software structure review procedure?
A: Software review is an important part of "Software Development Life Cycle (SDLC)" that assists…
Q: Consider many options for graphic and picture altering software.
A: Photoshop Fireworks Software called Macromedia Fireworks includes a vector graphic editor, a bitmap…
Q: Using python code find and plot the Fourier series frequency-domain representation Show your code…
A: the solution is an given below :
Q: - For the given IP address 128.168.0.1/20, calculate the Subnet mask, Network address, total number…
A: The question has been answered in step2
Step by step
Solved in 3 steps
- Solve the problem in C++ (Anagrams) Write a function that checks whether two words are anagrams. Two words are anagrams if they contain the same letters in any order. For example, “silent” and “listen” are anagrams. The header of the function is as follows: bool isAnagram(const string& s1, const string& s2) Write a test program that prompts the user to enter two strings and checks whether they are anagrams. Sample Run 1 Enter a string s1: silent Enter a string s2: listen silent and listen are anagrams Sample Run 2 Enter a string s1: split Enter a string s2: lisp split and lisp are not anagramsPlease Answer in C++ only A Rajesh teaches a cooking class. The course is attended by NN students, numbered 11 to NN. The cook must participate in the presence before each class, i.e. call out the names of the students one by one and indicate which students are present. Each student has a first and last name. To save time, Rajesh only wants to call up students' first names. However, if there are multiple students with the same first name, the Rajesh must call out the full names (first and last names) of all those students. For any student who does not share a first name with any other student, the cook can still only call that student's first name. Help the Rajesh decide for each student whether to call that student's full name or just their first name. Input 1 1 hasan jaddouh Output hasanWrite a complete C++ program that asks the user to input information for at least 10 students. Use structure for the information below: Name of the student, Matric No, Course No, Obtained Marks rogr The program should then display the information based upon marks in ascending and descending order. To solve ascending and descending order the program should have two functions that have an array of structure as a parameter and the functions should be called from the main function.
- DateType keeps only the integer representation of the month,day, and year. When a month is wanted in string form, the string iscalculated. An alternate approach would be to add a string field tothe date and calculate and store the string representation in theInitialize function. Which methods would have to bechanged? Would this change make the use of an if statement tofind the appropriate string more or less attractive? Write the code in C++for this if statement.Please answer in C++ Code Admission to college is just beginning and Chef has also just finished his high school. There are NN colleges, listed from 11 to NN, and listed from 11 to NN. Each college has only one seat left. To apply for a college, each student must submit the same examination, the result of which determines their future, that is, the best student (the highest scorer) gets the first choice of college. Each student has a list of favourite colleges. They will want to get to the top ranked college on their list. If they can't get into it, they'll want to get into a second-ranked college in the middle of their list, and so on. If one vacant college seat is filled, that year's admission closes at that college. Then, people who have applied for that college should look for a lower college in their preferred list as long as it still has vacancies. Looking at the information about MM students, about their exam scores (given as standards) and the college IDs they apply for, find…Can you write a new code in C language with the values I sent you, just like this output? There are two files named group1.txt and group2.txt that contain course information and grades of each student for each class. I will calculate each course average for each group and show in simple bar graph. Use "*" and "#"characters for group1 and group2, respectively. I will see the number -999 at the end of each line in the input files. This value is used for line termination and you can use it to verify that you have arrived at the end of the line. The averages of each group should also be calculated and printed at the end of the file. Group 1: CSC 80 100 70 80 72 90 89 100 83 70 90 73 85 90 -999 ENG 80 90 80 94 90 74 78 63 83 80 90 -999 HIS 90 70 80 70 90 50 89 83 90 68 90 60 80 -999 MTH 74 80 75 89 90 73 90 82 74 90 84 100 90 79 -999 PHY 100 83 93 80 63 78 88 89 75 -999 Group 2: CSC 90 75 90 75 80 89 100 60 80 70 80 -999 ENG 80 80 70 68 70 78 80 90 90 76 -999 HIS 100 80 80 70 90 76 88 90…
- Write a c++ function which is called GetCopy ans IsEqual(testing cannot be modified) charPtr getCopy(const charPtr s){ /* returns a new cstring that is a copy of the cstring s. That is a new cstring with as big memory as the size of the cstring s is created and then all the characters of s including the null char are copied to it. */ int lens = cstrlen(s); char *Array = new char[lens+1]; for(int i = 0; i < lens;i++) { Array[i] = s[i]; } Array[lens] = '\0'; return Array;} bool isEqual(charPtr s1, charPtr s2){ /* returns true if the cstring s1 is equal to the cstring s2 Definition: Two c-strings s1 and s2 are equal if they have the same length and characters of s1 and s2 at corresponding indexes are the same. */ } //Test getCopy function cout << endl << "Testing getCopy function"; cout << endl << "------------------------" << endl; char* s2 = getCopy("irregular"); cout…C++ Write a program that uses the function isPalindrome given in Example 6-6 (Palindrome). Test your program on the following strings: madam, abba, 22, 67876, 444244, trymeuemyrtModify the function isPalindrome of Example 6-6 so that when determining whether a string is a palindrome, cases are ignored, that is, uppercase and lowercase letters are considered the same. The isPalindrome function from Example 6-6 has been included below for your convenience. bool isPalindrome(string str) {int length = str.length(); for (int i = 0; i < length / 2; i++) {if (str[i] != str[length – 1 – i]) {return false;} // if } // for loopreturn true;}// isPalindromeYour program should print a message indicating if a string is a palindrome: madam is a palindromeWrite a C program which should handle books information for a book shop. It should be able to handle atleast 100 records. The program should store following information against a book. Note: Use only C-Programming for its solution (by using struct). Book Id (you may use index number as book ID) Book Code Book Name Author Name Publish Date Price No of copies in hand No of Copies sold Initialize 10 Books and initialize remaining with 0 and spaces. Create a menu, as given below, which should use above information to perform selected action from the given menu on the screen Add book (One book will be added. User will enter book id i.e. index number Record will be placed if code at that index is 0) Display book (Display Books in tabular format with nonzero codes only) Delete book (Place an empty record with 0 code and spaces at the selected index) Search book Sale book (First locate the book Id and check if code is not 0 then update No of Copies in hand and No of Copies sold accordingly)…
- C++ A word is considered elfish if it contains the letters: e, l, and f in it, in any order. For example,we would say that the following words are elfish: whiteleaf, tasteful, unfriendly, and waffles,because they each contain those letters.Write a function called elfish that recursively checks, given a word, if that word is elfish or not.here is my c++ problem I'm working on. I have to use recursion to find all possible anagrams of a word. for example Please enter a string for an anagram: artMatching word artMatching word ratMatching word tarPlease enter a string for an anagram: regardlessNo matches found the txt file consists of words from A to Z about 28,000 words need help finishing this problem. but may not use any of C++'s iteration constructs (do, while, for, and goto) or any STLalgorithms #include <iostream>#include <fstream>#include <istream>#include <cstring>using namespace std; const int MAXRESULTS = 20; // Max matches that can be foundconst int MAXDICTWORDS = 30000; // Max words that can be read in int loadWords(istream& dictfile, string dict[]);int recBlends(string word, const string dict[], int size, stringresults[]);void showResults(const string results[], int size);void printPermutations(string prefix, string rest); void loop(string prefix, string rest, int i, int max);…c++ A palindrome is a string that reads the same both forward and backward. For example, the string "madam" is a palindrome. Write a program that uses a recursive function to check whether a string is a palindrome. Your program must contain a value-returning recursive function that returns true if the string is a palindrome and false otherwise. Do not use any global variables; use the appropriate parameter.