Write a program that reads from a student his/her name and his/her ID whic program should display the day of registration and the starting hour of registration according to the below
Q: 1.how mcafee antivurus work?
A: Sorry for that as per the bartleby guidelines we can solve only one question for you if you want to ...
Q: Declare a structure named TempScale, with the following members:
A: In this question, we are asked to write a C++ program to write two structures and output desired res...
Q: To create a JSON for Population census with objects and arrays Scenario: XYZ Census Company is mai...
A: sample.json { "Country":"India", "State":"Bihar", "YearOfSurvey":2015, "TotalPopulation":800...
Q: Give two reasons why various software-based systems may fail in the same way.
A: Introduction: A computer system that uses software to allow components to communicate with one anoth...
Q: What is the process of making an HTTP request?
A: What is a request? -> A way to exchange data between a client and server -> Client sends the r...
Q: Make a suggestion on how the SimplelnterestCalculator service could be made RESTful.
A: The Answer is given below step.
Q: Give two reasons why various software-based systems may fail in the same way.
A: IT outages, Ransomware attacks and data leakages that have impacted millions of customers and the wo...
Q: What is the definition of risk management? What is the best way to keep track of risks? Give some ex...
A: What is the definition of Risk Management? What is the best way to keep track of risks? give some ex...
Q: Let A = {1,2,3}, B = {2,3,4,5) and C = {1,3,5,7}. What is the cardinality of the set (A- B) UC?
A: As given, we need to find out the cardinality of the set (A-B) ∪ C.
Q: What is the difference between refactoring and software reengineering?
A: Refactoring consists of improving the internal structure of an existing program's source code, while...
Q: 1. What does the following program print? А. #include int main ( void ) • { int x = 1; int y = 0; w...
A:
Q: Why is data encryption critical to your business or organization?
A: Introduction: the Encryption is a process of altering data in such a manner that it is incomprehensi...
Q: Block Address : 192.168.16.0/24 LAN1 Usable #of Hosts: 100 Users Network Address: ? Pont to Point Li...
A: Below is the answer to above question. I hope this will meet your requirement...
Q: Know the big O notation for linear search, binary search, selection sort, and merge sort. Be able ...
A: Introduction: Here we are required to explain the Big O notation for linear search, binary search, s...
Q: Assume you are a college professor and have to average grades for 10 students. Write a program that ...
A: Step-1: Start Step-2: Declare an array arr of size 10 Step-3: Declare two variables sum and avg Step...
Q: Write program to copy a block of 8 bytes of data to RAM locations starting at 50H from RAM locations...
A: Assembly language: Assembly language is a low level programming language. It is used to tell directl...
Q: Void methods can accept arguments. O True O False
A: We are going to learn if void methods can accept arguments.
Q: Create a UEmployee class that contains member variables for the university employee name and salary....
A: Java Program: class UEmployee{private String employeeName;private double salary;//store and return e...
Q: How can I make a fact table with only one process?
A: Introduction: A fact table may include either measurement or event data in it. Both forms of data ca...
Q: What does the word "data leaking" imply precisely?
A: According to the question data leaking issue are normally comes in the big organization where the bi...
Q: Develop a C++ program working as a soda vending machine. The program should show the product menu wi...
A: Introduction: Here we are required to develop C++ program working as a soda vending machine, with t...
Q: -Problem -2 When you execute your program it should ask user to input any number then check if the n...
A: The solution to the given problem is below. **Note: As programing language is not mentioned in the...
Q: Define a real-time operating system with the help of examples. Describe how it differs from a standa...
A: The real-time operating system is an operating system that guarantees a certain capability within th...
Q: Create the structure employee which composed of name with 50 characters, years of service which is a...
A: Algorithm: 1.create an employee structure 2.create required methods 3.create a Function to read emp...
Q: Please construct the truth table of the following, thank you. a) [p-ql A [-p-a] b) [-p-q]-[p-q] c) [...
A:
Q: Write a Python program that will generate 1000 random numbers between 1 and 100 inclusive from the r...
A: Here I have defined the function to generate random numbers and then retune the generated number. Ne...
Q: Explain how the size of the organisation and the size of the programme have an impact on software pr...
A: Introduction: Effective project management may also benefit a firm by assisting in the growth of the...
Q: SELECT CName, cPhoneNo FROM CUSTOMER WHERE CNo IN (SELECT CNo FROM BOOKING WHERE rNo IN (SELECT rNo ...
A: Due to company policies I am compelled to solve only one part and that is the first part. Please pos...
Q: What does it mean to be a privileged individual?
A: In general, a privileged individual is one who enjoys a special right or advantage that most people ...
Q: What exactly is a database?
A: Let's understand step by step : Database : Database is a collection of data stored in a computer l...
Q: Give two reasons why various software-based systems may fail in the same way.
A: Introduction: Software-based interconnection of components in a computer system is referred to as a ...
Q: Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns let...
A: 1. Taking variable i and x for iterating in loops . 2. Using the for loop and checking if i is less ...
Q: Given Galois field GF(2^3) with IP = x^3 + x +1. (a) List the elements of the field. (b) Is (x^2+1) ...
A: I have answered the question in second step.
Q: 2. You have to write a program to input two strings x2, x2 from the user and print the string x1x2 i...
A: Required:- 2. You have to write a program to input two strings X1, and X2 from the user and print th...
Q: -Problem -3 -Create a flowchart design that depicts the solving of the following problem: Asks user ...
A: We have to create a flowchart for the program in which we will take input from the user of three num...
Q: Explain why all versions of a system built to accommodate software diversity could fail in the same ...
A:
Q: Write a GUI based program that converts Fahrenheit temperature measurement to Celsius temperature me...
A: In this program we to create java program using GUI to convert temperature from Fahrenheit - Celsi...
Q: Write a C++ program to add, subtract, mulitply and divide two fractions and display the result fract...
A: Note: The program result is in the fractional form not in the reduced/simplified form. If required k...
Q: How many times will the value of the variable i be assigned the value 5 when the given code fragment...
A: The output of the program is shown by using comments in the next step.
Q: The logical character of Boolean functions may be expressed in three distinct ways
A: Introduction: There are several Boolean functions with three or more inputs. AND, OR, XOR, NAND, NOR...
Q: What do you mean by Rate Limiting?
A: From above question that is meaning of rate limiting is answered below step.
Q: Find the sop (sum of Porduct) of this following Exprestion. F(x%;Z)= Em[012, 3,5,6)
A: This question comes from Digital Electronics which is a paper of Computer Science. Let's discuss it ...
Q: Computer Science Objective: To create a JSON for Population census with objects and arrays Scenar...
A: sample.json { "Country":"India", "State":"Uttar Pradesh", "YearOfSurvey":2015, "TotalPopulat...
Q: A Moving to the next question prevents changes to this answer. Question 1 When sorting 6, 2, 5, 4, 3...
A: By Insertion sort 6,2,5,4,3 first step: 2,6,5,4,3 IV Second Step: 2,5,6,4,3 I Third Step: 2,4,5,...
Q: Using python programming, Simulate a bouncing ball using Pygame.
A: The Code is in step-2.
Q: Why is it necessary to create a virtual base class while using hybrid inheritance?
A: Introduction: Inheritance by hybridization is a mixture of multiple inheritance and multilevel inher...
Q: Explain the difference between (compile time) checked and (runtime) unchecked exceptions. When would...
A: Checked exceptions A checked exception is an exception that occurs at the compile time, these are al...
Q: (a) AND-OR (b) NAND-NAND F(X,Y,Z) = Em(0,6). %3D
A: F(X, Y, Z) = m(0, 6) Here we need to use Kmap to find the boolean expression or we can directly con...
Q: How does the kernel communicate (deliver) a signal to a target process?
A: The answer is given below.
Q: Why is it necessary to create a virtual base class while using hybrid inheritance?
A: A class is derived from two classes as in multiple inheritance.
Step by step
Solved in 3 steps with 2 images
- In java Write a program that computes the average of 5 students grades which are entered by the user.Control structures: In Java only please. Output the position of the largest number and the largest number in the squence a0, a1, a2....ak. For example, the largest number of the squence is 75, 226, 113, 340, 170, 85, 256, 128, 64, 32, 16, 8, 4, 2, 1 is 340, and it's position is 4. Test your program for the following values of x: 75, 111, 678, 732, 873, 2048, and 65535. Thank you6. Write a Java program that takes age from the keyboard as_ and prints the age description corresponding to the age using chained if- else statements. Use the following table. Age Age Description Senior From To 65 100 Adult 18 64 Teenager Boy/Girl Toddler 12 17 4 11 1 3
- in Java, Write a program that reads student scores, gets the best score, and then assigns grades based on the following scheme:• Grade is A if score is ≥ best − 10• Grade is B if score is ≥ best − 20;• Grade is C if score is ≥ best − 30;• Grade is D if score is ≥ best − 40;• Grade is F otherwise.The program prompts the user to enter the total number of students, then prompts the user to enter all of the scores, and concludes by displaying the grades. Here is a sample run: number of students: 4 scores are: 40.0, 55.0, 70.0, 58.0 Student 0 score is 40.0 and grade is C Student 1 score is 55.0 and grade is B Student 2 score is 70.0 and grade is A Student 3 score is 58.0 and grade is BJava program At a certain university, students have to submit their exams online. The administration decides that for each minute of late submission, 5 points are deducted. Write a program that asks the user for his initial grade and the late submission time (in minutes), and then displays the final result. Sample Run 1: Enter your initial grade: 82 Enter the late submission time (in minutes): 6 Your final grade is 52 Sample Run 2: Enter your initial grade: 115 Grades should be between 0 and 100 Sample Run 3: Enter your initial grade: 43 Enter the late submission time (in minutes): 10 Your final grade is 0 Sample Run 4: Enter your initial grade: 72 Enter the late submission time (in minutes): -2 Time should be positiveWrite a Java program that inputs three integer variables (called a, b, and c) that represent the length of the sides of a triangle. Your program should store the type of the triangle in an enumeration variable (called type), and display the value of the variable type. Here are the steps to follow: 1- Defines an enumeration to represent the different triangle types: EQUILATERAL, ISOSCELES, SCALENE, and ERROR. The type ERROR is added in case that the value of any triangle sides is less than or equal to zero. 2- Declare then input the three integer variables a, b, and c using a scanner object called keyboard. 3- Declare the enumeration variable type. 4- Determine the type of the rectangle (i.e. Assign a value to the variable type) 5- Print the value of the variable type. NOTE: If all sides are equal, the rectangle is EQUILATERAL. If only two sides are equal, the rectangle is ISOSCELES, otherwise the rectangle is SCALENE. Note that the type of the rectangle should be ERROR if the length…
- In Java Write a java program to draw a triangular-shaped figure that is based on the user’s input. Yourprogram should ask the user for a number between 1 to 9. If the user inputs a number out of thespecified range, the program should display an error and prompt the user for a valid input.Sample Run:Please enter a number between 1 to 9: 99Invalid EntryPlease enter a number between 1 and 9:• The triangular shaped figure for an input of 1 is:1• The triangular shaped figure for an input of 2 is:1 21• The triangular shaped figure for an input of 3 is:1 21 321• The triangular shaped figure for an input of n is:1 21 321...n…. ... 1JAVA Programming Problem: In this week's task you have to find if it's possible that a string containing alphabet can be reorder in such a way that there exists a string with prefix "NEWS" and suffix "SWEN". Print "YES" if possible and "NO" if not possible. Input: 1 NEWSPOSWEN Output: YESIn JAVA ASSIGNMENT DESCRIPTION: A half-life is the amount of time it takes for a substance or entity to fall to half its original value. Caffeine has a half-life of about 6 hours in humans. Given caffeine amount (in mg) as input, output the caffeine level after 6, 12, and 24 hours. Output each floating-point value with two digits after the decimal point, which can be achieved as follows:System.out.printf("After 6 hours: %.2f mg\n", yourValue); Ex: If the input is: 100 the output is: After 6 hours: 50.00 mg After 12 hours: 25.00 mg After 24 hours: 6.25 mg Note: A cup of coffee has about 100 mg. A soda has about 40 mg. An "energy" drink (a misnomer) has between 100 mg and 200 mg. THE CODE I HAVE SO FAR: import java.util.Scanner; public class LabProgram { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); double caffeineMg; // "double" supports floating-point like 75.5, versus int for integers like 75. caffeineMg = scnr.nextDouble(); System.out.printf("After…
- Write a program in Java to take an infix mathematical expression. The expression will contain single- or double-digit numbers, ‘+’, ‘-‘, ‘*’, and ‘/’ operators, and parenthesis. First check the validity of the expression with respect to the position of opening and closing parenthesis. If the expression is not valid then display appropriate message, otherwise, convert that infix expression to corresponding postfix expression, evaluate that postfix expression and print the final result. You can use relevant Java built-in classes in your code. The sample inputs/ outputs are given below: Sample inputs and outputs: (User’s inputs are shown in bold) Sample 1 Enter the mathematical expression: 15*(8–3*2)+16/4) The expression is invalid Sample 2 Enter the mathematical expression: 15*(8–3*2)+16/4 The postfix expression: 15 8 3 2 * - * 16 4 / + The final result: 34Write a program in Java to take an infix mathematical expression. The expression will contain single- or double-digit numbers, ‘+’, ‘-‘, ‘*’, and ‘/’ operators, and parenthesis. First check the validity of the expression with respect to the position of opening and closing parenthesis. If the expression is not valid then display appropriate message, otherwise, convert that infix expression to corresponding postfix expression, evaluate that postfix expression and print the final result. You can use relevant Java built-in classes in your code. The sample inputs/ outputs are given below: Sample inputs and outputs: (User’s inputs are shown in bold) Sample 1 Enter the mathematical expression: 15*(8–3*2)+16/4) The expression is invalid Sample 2 Enter the mathematical expression: 15*(8–3*2)+16/4 The postfix expression: 15 8 3 2 * - * 16 4 / + The final result: 34 Sometimes your deliver code is not showing. Please look up this issuesLANGUAGE: JAVA Equal numbers: Given three integers, determine how many of them are equal to each other. Theprogram must print one of these numbers: 3 (if all are the same), 2 (if two of them are equal toeach other and the third is different) or 0 (if all numbers are different).