Using class and objects write a C++ program which can read students' information (Name, Sex, Nationality, Age, Adress (village number and house number)) and: a) Display all the data in a tabular form b) Filter out only females and display the data in tabular form c) Filter out only students whose ages are less than 20 Remember that you should be using a C++ program that uses class and objects
Q: Prove this: Uniform cost search, an AI search algorithm, finds the best solution for each search…
A: The meadow of simulated intelligence makes use of an process called Uniform Cost Exploration (UCS)…
Q: Draw a picture illustrating the contents of memory, given the following data declarations: (You need…
A: Uniform Memory Access (UMA) :- Uniform Memory Access (UMA) is a computer architecture where all…
Q: The data bus, address bus, and control bus can all operate independently if necessary
A: The data bus, address bus, and control bus are three separate buses in a computer system that are…
Q: On a website, blog, or social networking site, anyone can put fake information. There are more fake…
A: As the internet continues to become more ubiquitous, it has become easier for anyone to create and…
Q: Why do you need to access BIOS/UEFI setup on a computer or BIOS settings on a VM before the…
A: Accessing the BIOS/UEFI setup on a physical computer or BIOS settings on a virtual machine (VM) is…
Q: What is meant by "heaP FIle organisation"?
A: Heap file organization is in database management systems where records are stored unordered. This…
Q: Explore the possibilities for OS evolution brought on by virtualization, and assess two such…
A: Begin by researching and understanding the current state of virtualization in operating systems.…
Q: What bearing do special needs have on portable computer selection?
A: A portable computer, also known as a laptop or notebook, is a personal computer that is designed for…
Q: How fast can information travel over an Ethernet connection?
A: Ethernet is a widely used technology for Local Area Networks (LANs). It is a standard for wired…
Q: T departments now have to deal with new challenges brought on by the BYOD trend, such as user…
A: Answer is given below
Q: Describe for matlab kde below;;-.
A: This is a MATLAB code that generates a discrete-time signal and plots it using a stem plot. Here's a…
Q: xplain quickly how transportation experts look at the risks their companies face.
A: Transportation experts play a crucial role in managing the risks that transportation companies face.…
Q: It is discussed in this chapter. WiMAX-related contemporary writing. Potential uses and commercial…
A: In this answer, we will be discussing contemporary writing related to WiMAX technology. We will…
Q: How has the introduction of Very Large Scale Integration (VLSI) technology contributed to the…
A: The performance of computer systems has been significantly improved because of the development of…
Q: Formal Methods employ logic. Propositional and predicate logics dominate philosophically. A…
A: Formal methods are mathematical techniques used to model and verify software systems. They employ…
Q: Why not simply force new hires to learn the new computer system instead of taking a theoretical…
A: When implementing a new computer system in the workplace it is important to ensure that employees…
Q: A men and women's assignment can be created using the postponed acceptance procedure. Members of one…
A: The matching technique known as the delayed acceptance algorithm (DA) is used to tackle the secure…
Q: Bob flips a fair coin 3 times. Let A be the event that all 3 flips come out Heads. Let B be the…
A: First, we need to determine the probability of A, which is the event that all 3 flips come out…
Q: How quickly can data move in a local area network based on Ethernet?
A: The speed of data transfer in a local area network (LAN) based on Ethernet can vary depending on the…
Q: A friend has approached you for assistance in setting up a computer network at his house. All…
A: You can find the answer below
Q: What are the advantages of using multithreading instead of multiple processes?
A: In the realm of programming, we frequently encounter circumstances in which we must accomplish…
Q: Examine the advantages and disadvantages of using wireless technology in comparison to wired…
A: In this question we need to explain the advantages and disadvantages of wireless technology in…
Q: Legislation imposes limitations on safeguarding confidential information, whereas ethical principles…
A: Privacy is a crucial concern in the digital age, where personal information is often collected,…
Q: Most computers lack OSI model hardware. Simpler layers need less care. Less layers—a problem?
A: The Open Systems Interconnection (OSI) model serves as a fundamental framework in the realm of…
Q: Who inside an organisation is tasked with deciding where in the hierarchy the information security…
A: Most of the time the decision of the security function does vary based on the various factors in the…
Q: The strategy that discs use to minimise the amount of time lost due to rotational delay is called…
A: Disc storage systems employ the technique of staggered addressing to minimize the Amount of time…
Q: How do you set up a connection across different virtual local area networks?
A: As businesses and organizations expand their networks, managing and segregating network traffic…
Q: shows how hidden Markov models turn continuous sound input into speech tokens using feature vectors.…
A: In the field of speech recognition, Hidden Markov Models (HMMs) have emerged as a prominent…
Q: Modify the iterator code in Stack to immediately throw a java.util.ConcurrentModificationException…
A: Change Stack's iterator code so that it always throws a…
Q: How concerned are network administrators with the morality of email encryption?
A: Some major concerns regarding email are as follows:- Fraudulent transactions By acquiring the…
Q: When using an Ethernet LAN, how quickly can information be transferred?
A: In conditions of wired data transmission, Ethernet LANs are standard. Data packet may be sent and…
Q: What exactly is meant by the term "distributed lock service" when applied to the larger context of…
A: In the context of "big data" and "cloud computing", a distributed lock service is a system that…
Q: Display the many different hardware resources that may be shared by a distributed system.
A: Distributed systems have become increasingly prevalent in today's computing landscape, allowing…
Q: What does it mean for an MSC to serve as the "anchor" of in a GSM network?
A: The MSC (Mobile Switching Center) is a vital component of a GSM (Global System for Mobile…
Q: 4.__________code following.
A: The main function takes two arguments: argc and argv. argc is an integer that specifies the number…
Q: An example may make any lesson easier to understand and remember. In the process of doing a network…
A: Social, transportation, and internet networks are all looked at by network analysis. Network…
Q: What are some similarities and differences that may be found between the waterfall and incremental…
A: Software development is approached in a linear and sequential manner using the waterfall technique,…
Q: How can you be sure that everything you save on the cloud is safe? When we have them protected, do…
A: Cloud providers take several security measures to ensure the safety and privacy of their users'…
Q: What is array in Java?
A: In Java, an array is a data structure that allows you to store a fixed-size collection of elements…
Q: Schools arrange lessons. A programme will determine the ideal scheduling for students when they…
A: This situation exemplifies the principle of utility, which refers to the idea of maximizing overall…
Q: Identify the sectors that make use of web technology and investigate the difficulties that are…
A: Here is your solution -
Q: What does DNS (Domain Name System) stand for? Please provide more details.
A: DNS stands for Domain Name System. It is a hierarchical and decentralized naming system for…
Q: Write a programme that draw a triangle tree using the user's height. A three-level tree looks like a…
A: Write a programme that draw a triangle tree using the user's height. A three-level tree looks like a…
Q: Why is doing medical research online preferable than traditional methods? What are the technical…
A: The growth of the Internet and the development of new technologies have resulted in they had…
Q: Is it justifiable to furnish a username and email address in return for gratis or nearly gratis…
A: Collecting personal information is a common thing in today's age, particularly in exchange for free…
Q: he following program fails to load the value 8 into $t0. In fact it creates an exception. Why? .text…
A: The original program attempted to load the value 8 from memory into the $a0 register using the…
Q: Why do some people commit crimes over the internet, and what can be done to prevent this from…
A: Hi check below for the answer of Why people commit crimes over the internet, and how it can be…
Q: Logic is used in formal methods. Conceptually, propositional and predicate logic are the most common…
A: Propositional and predicate logic can be useful in software testing to create test cases and verify…
Q: Is there a way to tell whether computing everywhere really works?
A: The phrase "computing everywhere" alludes to the idea of ubiquitous computing, in which computer…
Q: draw a simple diagram showing the agile model in software engineering
A: Agile is a term that means quick or adaptable. The "Agile process model" is an iterative method of…
Using class and objects write a C++
a) Display all the data in a tabular form
b) Filter out only females and display the data in tabular form
c) Filter out only students whose ages are less than 20
Remember that you should be using a C++ program that uses class and objects
Step by step
Solved in 5 steps with 5 images
- In C++ Important Coding Guidelines: Use comments, and whitespaces around operators and assignments. Use line breaks and indent your code. Use naming conventions for variables, functions, methods, and more. This makes it easier to understand the code. Write simple code and do not over complicate the logic. Code exhibits simplicity when it’s well organized, logically minimal, and easily readable. Write a program whose input is two integers, and whose output is the first integer and subsequent increments of 5 as long as the value is less than or equal to the second integer. Ex: If the input is: -15 10 the output is: -15 -10 -5 0 5 10 Ex: If the second integer is less than the first as in: 20 5 the output is: Second integer can't be less than the first. For coding simplicity, output a space after every integer, including the last.Question 2: Write a C Program A bank wants a program that determines the yearly interest earned on a guaranteed investment certificate (GIC), given a number of years. If the investment is for five years, the interest is 8.2% per year; if it is for one year, the interest is 5%. Print on the screen "Invalid data. Please try again later.", if the user enters any value other than 1 or 5 for the number of years of investment. Write a complete C program to determine the amount of interest earned per year Hint: Interest - amount * percentageAHPA #9:A Gas Station• You have been asked to create a C program to manage the gaspumps at a gas station. The station has four pumps connectedto four tanks with capacities: 100, 75, 50, and 150. Every timea car fills up it takes 10 gallons. You’ll know that a car hasarrived because the carArrived function will return with apump number. After a car has filled up, print out the currentcontents of all four tanks.• Write a C program that can track each of the four tanks. Updatethe amount of gas remaining in a tank when a car fills up.When a tank gets to less than 20 gallons of gas remaining,make a call to request a refill truck visit the station(refillRequest). This will cause the tank to berefilled automatically
- (Apartment problem) A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units should be rented to maximize the profit? Write a program in C++ that prompts the user to enter: The total number of units. The rent to occupy all the units. Amount to maintain a rented unit. The increase in rent that results in a vacant unit. The program then outputs: The number of units to be rented to maximize the profit The maximum profit Since your program handles currency, make sure to use a data type that can store decimals with a decimal precision of 2.C++ Programming Problem: To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number meaningful, companies might use more than seven letters. For example, 255-5466 can be displayed as CALL HOME, which uses eight letters. Write a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits. If the user enters more than seven letters, then process only the first seven letters. Also output the hyphen after the third digit. Allow the user to use both uppercase and lowercase letters as well as spaces between words. Moreover, your program should process as many telephone numbers as the user wants.PROBLEM: Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student. The following conditions must be observed: If the gradeinput is 96-100, the remarkis “ you performed an excellent job! Keep it up !” If the gradeinput is 91-95, the remarkis “ you performed a very satisfactory Job! Keep it up !” If the gradeinput is 86-90, the remarkis “ you have satisfactory performance, you can improve some more. ” If the gradeinput is 80-85, the remarkis “ your performance is fair, try harder” If the gradeinput is 75-79, the remarkis “ your performance needs Improvement, you can do it” If the gradeinput is below 75, the remark is “ we’re sorry but you failed, we know you can do better next time”
- PLease make this program work in C++ // This program has three functions: main, beep, and beeper #include <iostream>using namespace std;// Definition of function Beeper. This function displays a message. void Beeper(void) { cout << "I am now inside the function Beeper.\a\a\a\n"; } // Definition of function Beep. This function calls the function Beeper. void Beep(void) { cout << "I am now inside the function Beep.\a"; Beeper(); // Call function Beeper cout << "Now I am back in Beep.\a"; } void main(void) { cout << "I am starting in function main.\n"; Beep(); // Call function Beep cout << "Back in function main again.\n" }Define the function: int power (int base, int exp) {/*It accepts the arguments for base and exponent and returns power. The algorithm is to repeatedly multiply the value of the base to how many times the value of exponent. Test the function inside main(). Write the complete C program. */} For example: Intput. Result 2 32 5A C that adds two very large integers entered by the user on the keyboard write the program. Very large integers represent standard data types (long int, double, etc.) you cannot collect it using. Reading and adding numbers from the keyboard as a string As you learned the process in elementary school, starting from the units digit, you can add the mutual numbers one by one. you must realize by collecting. The numbers that the user has entered into a different number of digits. In order to have it, your program should work. The output of your program is the example below must be compatible with the program outputs. In the program output, as in the addition operation the numbers and the total should be written one under the other, with the mutual digits aligned.
- A C that adds two very large integers entered by the user on the keyboard write the program. Very large integers represent standard data types (long int, double, etc.) you cannot collect it using. Reading and adding numbers from the keyboard as a string As you learned the process in elementary school, starting from the units digit, you can add the mutual numbers one by one. you must realize by collecting. The numbers that the user has entered into a different number of digits. In order to have it, your program should work. The output of your program is the example below must be compatible with the program outputs. In the program output, as in the addition operation the numbers and the total should be written one under the other, with the mutual digits aligned. 1. Implementing the algorithm using standard data types 2. Identification of the situations where the result of the addition operation is calculated incorrectly: 3. The program does not work for numbers of different lengths: 4.…Using C++; Define a struct, fruitType, to store the following data about a fruit: Fruit name (string), color (string), fat (int), sugar (int), and carbohydrate (int). Write a program that declares a variable of type fruitType, prompts the user to input data about a fruit, and outputs the fruit data.Programing Language: C++ Your time machine is capable of going forward in time up to 24 hours. The machine is configured to jump ahead in minutes. To enter the proper number of minutes into your machine, you would like a program that can take a start time (in hours, minutes, and a Boolean indicating AM or PM) and a future time (in hours, minutes, and a Boolean indicating AM or PM) and calculate the difference in minutes between the start and future time. A time is specified in your program with three variables: int hours, minutes; bool isAM; // You can also use a char, i.e. A or P for example, to represent 11:50 PM, you would store: hours = 11,minutes = 50, isAM = false or if using a char, hours = 11,minutes = 50, isAM = 'A' This means that you need six variables to store a start and future time. Write a program that allows the user to enter a start time and a future time. Include a function named computeDifference that takes the six variables as parameters that represent the start…