1. Write a program that takes a two digit number and prints the number backwards.
Q: 1. Write a program that prints "You have passed" if a student gets a score of 50 and above, and prin...
A: QUESTION 1 PART 1 import java.util.*;public class HelloWorld{public static void main(String []args){...
Q: an evaluation matrix for 3 different tpes of ticketing systems
A: 1.TICKET VOLUME 2. Ticket volume by support channel 3. Support tickets opened vs. solved 4.TICKET D...
Q: Ciphers use many bitwise operations for cryptography. Write an ARM assembly program to use ciphers. ...
A: Solution: Encryption is the method by which information is converted into secret code that hides the...
Q: DESCRIPTION: 1) Input a sentence from the keyboard ending in a period 2) Change all whitespace chara...
A: I give the code in c++ along with output and code screenshot
Q: ● Write TCP client and server that can communicate to each other saying “Hello I am client and My id...
A: The following code performs the above actions:
Q: Find the C program language Cornered! by CodeChum Admin Attention again soldier! Our men have been c...
A:
Q: ou are to use the started code provided with QUEUE Container Adapter methods and provide the impleme...
A: //used headesr#include<iostream>#include<string>using namespace std; //queueu structstru...
Q: ve an example of activities of the last network construction. (A must finish before B can start, and...
A: Lets see the solution.
Q: __________ languages are close to the level of humans in terms of readability.
A: Lets see the solution.
Q: Increasing the degree of pipelining reduces the amount of work done at each pipeline step, enabling ...
A: There are two ways to increase the performance of a CPU: 1) Add quicker circuits to the hardware. 2)...
Q: __________ languages are close to the level of the computer.
A: Lets see the solution in the next steps
Q: Explain the operations carried out by the preprocessor, compiler, and linker
A: Lets see the solution.
Q: °Mouses with an optical sensor that can tell when the mouse moves.
A: According to the question every optical mouse has own CMOS sensor which they used to draw the pictur...
Q: Race.RaceDate is not nullable Questions: Question 10 What constraints would the following command vi...
A: Here i give answer one by one(According to guidelines we solve first three): =======================...
Q: The history of evolution and computer systems in terms of technology and trends should be given in a...
A: Introduction: In combination with technological improvement, the history of technology has seen the ...
Q: Perform Selection sorting algorithm using the given array elements: 20, 12, 10, 15,...
A:
Q: 1. In a binary coded decimal (BCD) system, 4 bits are used to represent a decimal digit from 0 to 9....
A: In BCD decimal BCD value 0 0000 1 0001 2 0010 3 ...
Q: Is it possible to use a laptop computer without a docking station?
A: Introduction: Laptop computers are portable computers: Laptops are portable computers with an input ...
Q: Why were computer programming languages invented?
A: Introduction: Why were computer programming languages invented? Understanding technology may be aide...
Q: Which of the following is T(n)=4T(n/2) + log n A) 0 (n2) B) 0(n² log n) C) 8 (2") D) 0 (n!)
A: T(n) = 4T(n/2) + n² ---- (1) Now, T(n/2) can be further divided as T(n/2) = [4T(n/4) + n²/4] So, equ...
Q: Let S be a set of n lines in the plane such that no two are parallel and no three meet in the same p...
A: Let S be a set of n lines in a plane such that notwo are parallel and no three meet in the same poin...
Q: Explain what is stored in a source file, an object file, and an executable file.
A: Lets see the solution.
Q: The three primary activities of a program are __________, __________, and __________.
A: Introduction: System software refers to the programmes that control and manage the basic functions o...
Q: 1. Why are packet analyzer tools/appliances important in Networking? 2. List 3 prominent packet ana...
A: INTRODUCTION: Since you have asked multiple questions that are not interlinked, only the first will ...
Q: Determine whether there is a feasible schedule for the following set of periodic processes. If yes, ...
A: Given Determine whether there is a feasible schedule for the following set of periodic processes. If...
Q: What is a run-time error?
A: Lets see the solution.
Q: Since computers can’t be programmed in natural human language, algorithms must be written in a(n) __...
A: Introduction: It's tough to grasp, yet it's the only thing the computer can operate with. All progra...
Q: Write a Pandas program to calculate the total of the examination attempts and the mean score in data...
A: Here is the complete program with all your specified details. Hope you will like it. If you do, plea...
Q: Are read, write, and execute permissions sufficient for controlling access to web applications? Why ...
A: I have answered this question in step 2.
Q: In what ways are computer structure and computer function distinguished from one another
A: INTRODUCTION: COMPUTER ENGINEERING: Electronic and computer science are intertwined in the disciplin...
Q: What was the first supercomputer ever built?
A: Introduction: Supercomputers are computers with performance that significantly surpasses general-pur...
Q: Explain when to use different types of fileorganizations to store computer files.
A: Let's see the solution in the next steps
Q: dentify and fix the errors in the following code: public class Test { public void main (string[] arg...
A: There are some error in code
Q: In what way can you describe Android Pie?
A: In what way can you describe Android Pie?
Q: When and where was the computer invented by Charles Babbage?
A: Here is the answer:-
Q: explain what is secure application development and explain why is it important
A: Let's see the solution in the next steps
Q: Java programming Question. Try to find the root mean speed from the velocities of ten particles(in m...
A: Given The answer is given below.
Q: Both main memory and secondary storage are types of memory. Describe the difference between the two.
A: Lets see the solution.
Q: What is the relationship between the primarykey of a relation and the functional dependencies among ...
A: Introduction: The main key of a table is used to form associations with other tables. This is accomp...
Q: Perform Quick sorting algorithm using the given array elements: 1, 3, 9, 8, 2, 7, 5 where the pi...
A: # Quick sort in Python # function to fin # Quick sort in Python # function to find the partition p...
Q: Subject: Big Data Analytics and Technologies Topic: Big Data in Media and Entertainment. Question: E...
A: Apache Hive is a data repository software application built using Apache Hadoop as a supporting fram...
Q: using the little man in the computer instructions. Show a sequence of instructions that will cause a...
A:
Q: What are the benefits and drawbacks of using the cloud?
A: Cloud Computing: When we talk about "cloud storage," we're talking about internet services that allo...
Q: a single-player puzzle game created by Gabriele Cirulli1. It is played on a 4×4 grid that contains i...
A: the program is an given below :
Q: In what ways does Android Pie differ from previous versions?
A: Android is an open-source and Linux based operating system to develop mobile apps. When a device isn...
Q: urpose of a "fat binary"?
A: given - What was the purpose of a "fat binary"?
Q: Create a web page and split the web page in the following format using frames. Frame(1,1) Frame(2) F...
A: Code: dy.html(main page): <html> <head> <style> frame{ ...
Q: Write ARM assembly language to find the average of 5 pass marks. If the student passed the class put...
A: Start. Reserve two-byte memories Initialize the data segment. Set AX as 00. Add the numbers in AL re...
Q: __________ is the only language computers really process.
A: Lets see the solution.
Q: What is a hierarchy chart?
A: Lets see the solution.
Java...run with eclipse
Step by step
Solved in 4 steps with 2 images
- Write a program that reads from the user a character (*q' or 'c'). If the character is 'c', the program reads from the user the radius r of a circle and prints its area. If the user enters 'q', the program asks the user to enter the length and width of a quadrilateral. We assume the quadrilateral is either a square or rectangle. You should print if the quadrilateral is square or rectangle. Otherwise, it prints "Wrong character" PS: Use the following formulas : area of circle=3.14*r? IWrite a program that generates a plate number based on the user's answer to the following questions: 1. What is your favorite color of the rainbow (ROYGVIB)? a. Use the first letter of the chosen color as the first character of the plate number. b. Display "Invalid Input" and ask the user to re-enter his/her answer if the answer is not a valid color of the rainbow. 2. What is your month of birth? a. Use the last letter of the month as the second character of the plate number. b. Display "Invalid Input" and ask the user to re-enter his/her answer if the answer is not a valid month. 3. What is your first name? a. Use the third letter of the first name as the third character of the plate number. No need to include the second name if you have a second name. Make sure to use "cout" and "cin" to collect the necessary inputs from the user. For the number section: 1. Ask the user his/her age and use the age as the first and second digits of the plate number. a. Display "Invalid Input" and ask…Airline companies apply baggage restrictions for their passengers. An airline company has decided to apply a 10kg limitation for passengers' hand luggage and 20kg for their normal baggage. When passengers arrive, they enter their hand and normal luggage weight from the keyboard. If passengers exceed their normal baggage allowance of 10 dollars per gram, they pay 12 dollars per kg. Accordingly, write the program that calculates the baggage price of the airline they will go to according to the baggage values entered by the arriving passenger and keeps this from closing the program for each passenger. Note: If hand and normal baggage allowances are stretched below the maximum value, the payment amount will be considered not negative. An example printout is given on the right. Geri bildirim gönder
- 6. A palindrome is a number or text phrase that reads the same backwards or forwards. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. Write a program that reads a 5 digit integer and determines whether it is a palindrome. Hint: One way to do this is to use division (/) and modulus (%) operators to separate the number into individual digits.Three numbersa. Write a program that reads three numbers and prints “all the same” if they are allthe same, “all different” if they are all different, and “neither” otherwise.b. Write a program that reads three numbers and prints “increasing” if they are inincreasing order, “decreasing” if they are in decreasing order, and “neither”otherwise. Here, “increasing” means “strictly increasing”, with each value largerthan its predecessor. The sequence 3 4 4 would not be considered increasing.c. Repeat part b. but before reading the numbers, ask the user whetherincreasing/decreasing should be “strict” or “lenient”. In lenient mode, thesequence 3 4 4 is increasing and the sequence 4 4 4 is both increasing anddecreasingWrite a program that computes and displays the charges for a patient's hospital stay. First, the program should ask if the patient was admitted as an inpatient or an outpatient. If the patient was an inpatient, the following data should be entered: • The number of days spent in the hospital • The daily rate Hospital medication charges • Charges for hospital services (lab tests, etc.) The program should ask for the following data if the patient was an outpatient: • Charges for hospital services (lab tests, etc.) • Hospital medication charges The program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the inpatient data, while the other function accepts arguments for outpatient information. Both functions should return the total charges and display it for the user. After the total charges have been calculated and displayed, write the result to a file, PatientReport.txt. You can use the techniques you learned in Chapter…
- Python Write a program that receives a number from a user and checks if it's float or integer.In case of being float, print for the user that his/her number is float with integer part andfractional part. In case of being integer, print to the user that his/her number is aninteger and odd/even numbeRf. A laborant in a laboratory does a number of antigen tests in one day. Write a program that simulates the number of antigen tests done in a day in a laboratory, displays the number of positives and negatives, and calculates the % of positives in one day. Your program needs to first generate a random number that will show the number of tests done in a day. One laboratory in a day cannot do more than 100 tests and less than 1 (they do at least one). Then for each of the tests, your program needs to generate a random number to show whether they are positive or negative. In order to write this program, you need to have the following three functions used by the main function: test result (void): This function generates a test result. It should randomly return either one or zero. 1 means positive test result and 0 means negative test result. float positive percentage (int,int) : This function takes the total number of positives and the total number of tests and returns the % of positives.…Write a program that calculates and prints the volume of a pyramid given the base (b) and the height (h) of the pyramid. The formula to calculate the volume is: Volume = (1/3) *b * h Enter the base of the pyramid: 3 Enter the height of the pyramid: 2 The volume is 1.9998
- Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an in-patient or an out-patient. If the patient was an in-patient the following data should be entered: • The number of days spent in the hospital• The daily rate• Charges for hospital services (lab tests, etc.)• Hospital medication charges.If the patient was an out-patient the following data should be entered:• Charges for hospital services (lab tests, etc.)• Hospital medication charges.Use a single, separate function to validate that no input is less than zero. If it is, it should be re-entered before being returned.Once the required data has been input and validated, the program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the in-patient data, while the other function accepts arguments for out- patient data. Both functions should return the total charges.1. Write a pyrhon program that prints out a classic hangman stick figure. The program should ask the user to enter a number from 1-6 and the corresponding hangman should be printed. The value the user inputs corresponds to the number of incorrect guesses in a real hangman game and so the completeness of the hangman will correspond to the number of ‘incorrect guesses’ inputted by the user (e.g., if the user enters 1, then only the head of the hangman will be printed; full example below). Example:Enter a number from 1-6: 1O Enter a number from 1-6: 2O|Enter a number from 1-6: 3O\||Enter a number from 1-6: 4O\|/|Enter a number from 1-6: 5O\|/|/Enter a number from 1-6: 6O\|/|/ \ 2. Modify your program from problem 1 so that the user input is checked to be a validsingle digit (1-6) before printing the corresponding hangman. If the input is not valid, theninstead of a hangman the following message should be printed “Invalid input: you must enter asingle number from 1-6.” Example:Enter a…Write a program that reads from the user a character ('q' or 'c'). If the character is 'c', the program reads from the user the radius rof a circle and prints its area. • If the user enters 'q', the program asks the user to enter the length and width of a quadrilateral. We assume the quadrilateral is either a square or rectangle. You should print if the quadrilateral is square or rectangle. • Otherwise, it prints "Wrong character" PS: Use the following formulas: area of circle=3.14*r Sample Run1: Enter a character (q or c): q Enter the Length and Width: 80 150 |It is a rectangle Sample Run2: Enter a character (q or c): q Enter the Length and Width: 80 80 It is a square Sample Run3: Enter a character (q or c): c Enter the radius: 2 The area of the circle is 12.56 Sample Run4: Enter a character (q or c): d Wrong character