Program 03 1. Winclude 2. using namespace std; 3. int main() 5. char select; 6. 7. do( 8. cout<<"\nH1, this is test 1."; 9. cout<<"\n\nDo you want to display above line 10. again? (Y or N): ; 11. cin>select; 12. Juhile(select 'Y' || select "y'); 13. 14. cout<<"\n\nThank You! \n"; 15. 16. return e; 17.
Q: How does PC stand for something
A: Frequently Used Abbreviations: PC refers to a kind of technology that we use on a daily basis at…
Q: Design a combinational circuit that detects the inputs not divisible by 2 or 5 in 4-bit data (0 is…
A:
Q: Computer science Short answer Write a note on the directory structure in the UNIX OS and its…
A: Introduction: Unix is a kind of computer operating system.Multitasking and multi-user features are…
Q: Does Moore's law apply to supercomputers, grids, and other distributed computing systems?
A: Introduction: Moore's Law is a computing phrase that states that computer processing power will…
Q: What exactly is a base class access specification?
A: Intro the above question is about What is the definition of a base class access specification
Q: t is the 2's comp
A: Solution - In the given question, we have to find the 2's complement of the given binary number.
Q: Write C++ program to produce output as Figure Q1. Output Console Computer Programming "BEEA1343 I…
A: As given, we need to write a C++ program to produce the given output. Given output - Computer…
Q: Make a list of five things a layer can do.Is it possible that two (or more) layers could accomplish…
A: Introduction: `Five jobs that a layer can do
Q: Do you know the age of the original USB flash drive?
A: Intro A USB flash drive, also known as a USB stick, USB thumb drive, or pen drive, is a…
Q: Explain why it is worthwhile to learn assembly language programming.
A: Introduction: Learning assembly language aids in the comprehension of processor and memory…
Q: Computer science What is the best way for a user to connect to a cloud storage system?
A: Introduction: A cloud storage system is one in which digital data is saved on the internet rather…
Q: A data file that is electronically sent to the customer's computer when other requested materials…
A: a. a cookie
Q: Computer science Which has the higher efficiency, synchronous TDM or statistical TDM?
A: Introduction: Each input connection is separated into units in Synchronous TDM, and each input fills…
Q: e in managi
A: An operating system (OS) is system software that oversees computer equipment, software assets, and…
Q: Computer science Discuss the impact of technological change in the business environment.
A: Technological change has impacted almost all the industries including the business environment as…
Q: The GRANT statement should be detailed, as well as how it relates to the security of the system.
A: Disclaimer: “Since you have asked multiple questions, we will solve the first question for you. If…
Q: Do you know what it means to call something a "personal computer?"
A: In the mid-1960s and into the 1970s, computers occupied entire rooms and were only affordable to…
Q: What are the strategic choices for the evolution of legacy systems? When would you generally replace…
A: Introduction: Some systems' hardware or software, or both, are obsolete, but nevertheless continue…
Q: Computer scienceExplain the basic read/write principles involved in a hard/disk.
A: Introduction: A read/write head is a physical component of a hard disc that is responsible for…
Q: What is HTML5 all about? What are some of its other capabilities that HTML lacked?
A: Introduction HTML5 is an abbreviation that stands for Hyper Text Markup Language, and it is a…
Q: In this video, we'll talk about intents and how they're used in Android development. In your…
A: The purpose of intents in an Android application: An intent is a kind of object that is capable of…
Q: In software design and development, what is the relati and coupling in terms of how things work…
A: Introduction Two significant terms in software engineering are cohesion and coupling. Both are…
Q: What do you mean by avoiding deadlocks
A: Answer :
Q: What exactly is a computer database?
A: Computer Database: Database is the organized collection of related data elements. It is used to keep…
Q: When it comes to software development, how closely are cohesion and coupling associated with one…
A: Software Developer: A software developer achieves the goal by developing computer code. It does,…
Q: 1) Write a program to find the sum of two arrays . Enter number of elements in first array: 5 Enter…
A: The complete solution is given below:-
Q: Consider the idea of an impenetrable database system. Is a recovery manager required for this…
A: In the case of a failure, a database's proper (consistent) state must be restored, Restoring a…
Q: Briefly define what exactly is the term address of operator.
A: Address-of Operator (&): In C++, the operator used for returning the memory address of a…
Q: What is the RAND Corporation's report about? Is there any purpose for it to exist? What was in RAND…
A: Introduction: The results of RAND publications are based on extensive study and impartial analysis,…
Q: Write a query to list the first name and last name of the employee with the highest salary in the…
A: T-SQL is a procedural language used by microsoft in SQL server. It adds declared variables,…
Q: 1 + import mailbox + def mboxFile_reader(mboxFilePath)->list: We should include a type annotation…
A: A type annotation is an optional notation that specifies the type of a parameter or function result.…
Q: What's the connection between cohesion and coupling in software development?
A:
Q: To understand the ARP Protocol using Wireshark, what's the point?
A: To understand the ARP Protocol using Wireshark, what's the point below step
Q: There are three types of shared memory organisations. What are they, exactly?
A: The big category of the multiprocessors are being made by the Shared memory systems. Shared memory…
Q: What are the similarities and differences between databases and ISS? What impact does it have on…
A: Introduction: Habitation, the Crew Health Care System (CHeCS), Extravehicular Activity (EVA), the…
Q: In what situations would it be beneficial to employ temperature monitoring systems?
A: Temperature Monitoring: Temperature monitoring of coolers, freezers, and heaters is critical for…
Q: What is the link between cohesion and coupling in the context of software design?
A: Cohesion shows the relationship within the module.
Q: What exactly is a foreign key?
A: Intro Foreign keys are columns or groups of columns in a relational database table that serve as a…
Q: In computer science, what is the full form of DDS?
A: The answer to the following question:-
Q: What are some real-world instances of how computers are being used?
A: INTRODUCTION: Here we need to give examples of how computer are being used.
Q: Is there a connection between man's physical and cultural advancement and his or her learning…
A: Introduction: When attempting to understand human nature and ability, sociocultural, evolutionary,…
Q: The distinction between restarting and reloading a service is discussed further below.
A: Introduction: The distinction between restarting and reloading a service is as follows, Let us first…
Q: Could you kindly clarify the difference between Harvard and von Neumann computer architectures?
A: Hello student Greetings Hope you are doing great. Thank You!!!
Q: Exactly where do computers save their data?
A: let us see the answer:-' Introduction:- All data on storage media, including hard disc drives…
Q: How would you define multimedia in your own language?
A: Definition:- Multimedia, as the name implies, is a collection of several sorts of media such as…
Q: What are the implications of computerised information systems for higher education?
A: Intro Technology has revolutionized college campuses, but as with most things in existence,…
Q: Explain why UDP is tougher to scan than TCP (TCP). Describe the differences and applications of…
A: Answer:- The protocol properties of UDP make port scanning innately more complicated than with TCP,…
Q: Cache memory is an essential component of modern computers. Explain the function of cache memory and…
A: Intro Cache memory is a chip-based computer component that helps to retrieve data from a computer's…
Q: Computer science What is the purpose of a buffer?
A: Introduction: The basic objective of a buffer solution is to resist pH changes so that the pH of the…
Q: What basic set of programmes governs the internal functioning of the computer's hardware?
A: Intro The operating system is the fundamental set of programs that control the internal operations…
Step by step
Solved in 3 steps with 2 images
- Hi, i have a problem with this code, which is it only takes the last scores entered by the user when i want to take all the scores of each student and do the avrage calculation and display them like the output ill post with the question. The code: #include <iostream>#include <string>using namespace std; void readStudentInfo (string [],int,double[]); void calcAvg (double[],int); char getGrade (char[],int, double); void printResults(string[],double[],double[],int); void line(){ cout << "--------------------------------";} const int N=2; // Number of studentsconst int S=5; // Number of tests int main(){ string StName[N]; double StScore[S]; printResults(StName,StScore,StScore,N); } void readStudentInfo(string names[],int students,double Average[],double Score[]){ for (int i=0; i<students;i++) { cout << "Please enter student name (" << i+1 << "): "; getline(cin, names[i]); cout << "\n";…I'm getting an error message where the FindText() is returning 0 instead of the proper amount of parameters. Here is the code #include <iostream> #include <string> using namespace std; char print_menu(string); int GetNumOfNonWSCharacters(string); int GetNumOfWords(string); void ReplaceExclamation(string&); void ShortenSpace(string&); int FindText(string, string); int main() { char opt; string tx, ph; cout << "Enter a sample text:\n\n"; getline(cin, tx); cout << "You entered: " << tx; do { opt = print_menu(tx); } while (opt == 'Q' || 'q'); // system("pause"); return 0; } char print_menu(string tx) { char ch1; string ph; cout << "\n\nMENU\n"; cout << "c - Number of non-whitespace characters\nw - Number of words\nf - Find text\nr - Replace all !'s\ns - Shorten spaces\nq - Quit"; cout << "\n\nChoose an option:\n"; cin >> ch1; switch (ch1) { case 'q': case 'Q': exit(0); case 'c': case 'C': cout << "\nNumber of…Hello, I have an assignment in the python program. Professor gives me a text like this: January.txt 217283921200.5619.18,29.15,78.75,212.10100,20,410.29 The first line is an account number, the second line is the beginning balance, the third line is withdrawn and the last line is deposits. How can I separate every single line to read them. Can I use the loop function? Below is the assignment direction. Thank you very much ___________________________________________________________ Complete the following program: a) Read in and store the data from the file called “January.txt”. This file includes the customer’s account number, beginning balance, withdrawals, and deposits. (In that order) Note: Make sure you look at the file before you begin the project! b) Prompt the user for his/her name and age. c) Convert the customer’s name to a username that consists of the first letter of the first name, the first 5 digits of last name, and the customer’s age.(All letters should be lowercase)…
- The program is missing the ability to test for all 25 shifts as stated in the program requirements, the program isn't able to run with a error with the code also please fix this. #include<iostream> #include<stdio.h> #include<string.h> #include<conio.h> using namespace std; class Substition// Substitution cipher class { char str[500]; public : void sgetstring(void); //method to get input string and key void senscryption(void); //ecryption method for substitution cipher void sedecryption(void); // decryption method for substitution cipher }; void Substitution : : sgetstring() { int size=500; cout<<"\n Enter the Input String: "; cin.getline(str,size,'\n'); } void Substitution: :sencryption() { int key,i,t1; char c; cout<< "\n Enter Key:"; cin>> key; cout<<"\n Encryption :"; //Encryption for(i=0;i<strlen(str);i++) { c=str[i]; if(c==-1) break; if(isupper(c)) { t1=(int)c - (int) 'A'; t1=(t1+key)%26; t1=t1+(int) 'A'; cout<<…Please i need it ASAP i will give you a thumbs up and thank you! Q7: A. What gets printed from the following program? #include <iostream> using namespace std; void f (int); int main () { f(3); return 0; } void f(int n) { static int x = 1; if (n <=1) return 0; f (n-1); x++; f (n-2); x++; cout << "x = " << x << " n = " << n << endl; return 0; } B. What is the difference between ++a and a++? C. What is a nested loop?In Chapter 4, you created a program that generates a random number, allows a user to guess it, and displays a message indicating whether the guess is too low, too high, or correct. Now, create a modified program called GuessingGame2 in which the user can continue to enter values until the correct guess is made. After the user guesses correctly, display the number of guesses made. Recall that you can generate a random number whose value is at least min and less than max using the following statements: Random ranNumber = new Random(); int randomNumber; randomNumber = ranNumber.Next(min, max);
- Why is this program not working properly? The result is not printed out. Please help. The C code is written below #include <stdio.h>#include <stdlib.h> struct Wstation {int id;double latitude;double longitude;int capacity;char url[100];}; struct Wstation *stations; int read_ws(const char *fname) {FILE *fp = fopen(fname, "r");if (!fp) {printf("not found %s\n", fname);return 0;}int num;fscanf(fp, "%d", &num); stations = malloc(num * sizeof(struct Wstation)); for (int i = 0; i < num; i++) {fscanf(fp, "%d, %lf, %lf, %d, %s", &stations[i].id, &stations[i].latitude, &stations[i].longitude,&stations[i].capacity, stations[i].url);}free(stations);fclose(fp); return num;} int cmp(const void *p1, const void *p2) {struct Wstation s1 = *(struct Wstation *)p1;struct Wstation s2 = *(struct Wstation *)p2;return s1.capacity - s2.capacity;} int main(void) {int N;N = read_ws("./waters-1.txt"); qsort(stations, N, sizeof(struct Wstation), cmp); printf("The stop with the…: Write a java Script program that ask the user to enter a valid test grades, your program******insearted with html file******should calculate the average, display the result on the screen and check the user enter a valid testgrade.• Declare and initialize the necessary variables. • Aske the user to enter the ID. • Display the average using header2. • Use a function to ensure the user enter a valid test grade (0 to 100), otherwise print amessage’ the grade is not valid. • Use a loop to aske the user to enter the test grades, -1 to stop the loop. • Print the output on a table. • Add page title with your id. • Your output should be as the following.please help me make a program using C Programming only about this problem plssS. PLEASE KINDLY EXPLAIN ALSO the logic or algorithm of the c program code because we are tasked to explain it orally in virtual class please... I promise to give helpful rating after. And please copy paste the code and send the screenshot too please.PROBLEM:write A program that will compute for n! (n factorial) which is the product of all numbers from 1 to n. NOTE: C PROGRAMMING ONLY AND USE FOR LOOP ONLY PLEASEEEEEE IM POSTING THIS QUESTION 3RD TIME ALREADY... HUHUHUATTACHED PICTURE IS AN EXAMPLE IN USING FOR LOOP . THAT IS HOW WE SHOULD DO ALSO THE PROBLEM
- What will be the value of AH after executing the following code mov al, 0F3H mov ah, 0F3H mov ecx, 3 shifting : shr al, cl loop shifting shr ah, clWhat is the problem in this source code? #include <iostream> using namespace std; int service1();int service2();int service3();int service4();int service5(); int main(){char cont1;char cont2;char cont3;char cont4;char cont5;while(1){cout << "Do you prefer a Consultation Service?" <<endl;cout << "[y/n] ";cin << cont1;service1();if((cont == 'n') || (cont == 'N')){continue;break;} cout << "Do you prefer a Clinical Laboratory Services?" <<endl;cout << "[y/n] ";cin << cont2;service2();if((cont == 'n') || (cont == 'N')){continue;break;} cout << "Do you prefer a MRI?" <<endl;cout << "[y/n] ";cin << cont3;service3();if((cont == 'n') || (cont == 'N')){continue;break;} cout << "Do you prefer an Emergency Room Service?" <<endl;cout << "[y/n] ";cin << cont4;service4();if((cont == 'n') || (cont == 'N')){continue;break;} cout << "Do you prefer a Consultation Service?" <<endl;cout…Please do in python Use try and except . Create a program that uses a loop to provide a k ? k times table similar to the one below. You do not need to include lines (borders), but try to use the \t keyword or center string method in your string to clean the table up. Input specifications:The input will be an integer such that 0 < k ≤ 10. The try/except is if, for example, you put a letter when you ask for what number you want the multiplication table to go up to normally it would crash (value error) so you would need to have something that stops that and anticipates it Modules allowed: MATH and RANDOMForbidden concepts: arrays/lists (data structures), recursion, custom classesYou do not need to test for inputs beyond what the input specifications specify.