1. Write a java program that will "accept" a user given word if it contains at least 2 Uppercase letters, 2 Small case letters, 3 special letters and the length of the given word must be greater or equal to 8. Otherwise the program will output "not accepted". Consider ? @ #$ as special letters.
Q: Why do Network
A: The answer to the following question:-
Q: Describe the notion of inheritance and the links between items.
A: Inheritance: It encourages the reuse of software. It's a method for generating new classes from…
Q: Instructions A local biologist needs a program to predict population growth. The inputs would be: 1.…
A: We need to write a Python code to model the biological behaviour as mentioned.
Q: Write an overview of the utilization of agile approaches based on annual surveys and surveys funded…
A: Model of flexibility: Agile approach is a development and testing strategy that encourages…
Q: Do Scripts and stored procedures differ? What are the roles played by each of these? What are the…
A: Interview: A stored procedure is a SQL statement that is produced and kept on the database server so…
Q: On the basis of how a distributed database should be structured, how can we tell a local-area…
A: Start: Centralized and dispersed databases are two types of databases, with the former serving as a…
Q: In C++, how do you distinguish between simple and structured data types?
A: Introduction: Data type is a representation of the nature and type of data that will be used in…
Q: How does the data dictionary factor into each of the DBLC's six stages?
A: Dictionary of data: This is an essential part of a relational database management system (RDBMS)…
Q: Write a LMC program to implement this function. Use at least one label in your program. Must comment…
A: Hope this will help you, please feel free to ask if you have any issues with this. Answer: 1)…
Q: 1. 1. Draw the circuit for the following function: F-(A+B)(A+B')(A'+B). Then transform it using only…
A: NOR gata is a logic gate whose output is (A+B)'
Q: A database system is made up of five distinct parts. A row-level lock granularity is different from…
A: The question asks three questions: What are the five (5) elements of a database system? Explain the…
Q: Finding two peer-reviewed research articles on project management ethics and summarizing them is…
A: Bullying at Work: An Ethical and Leadership Dilemma for All Project Managers" is the title of the…
Q: How to Simulate a Gas Sensor Using Proteus Arduino
A: Introduction: As the name indicates, a gas sensor detects the presence of gas in the area where it…
Q: In microkernel architecture, how do system services and user applications interact? Using a diagram,…
A: Microkernel architecture: Because of the way of capabilities and functionality are added to a…
Q: Write an overview of the utilization of agile approaches based on annual surveys and surveys funded…
A: Introduction: Agile approach is a development and testing strategy that encourages continuous…
Q: Consider using WPA2 as your preferred wireless access technique. Why is this choice superior than…
A: WiFi- Protected Access 2 (WPA2): WPA2 stands for WiFi- Protected Access 2. This is a wireless…
Q: Calculate the Bresenham's circle drawing algorithm's decision parameter p. Bresenham's circle…
A: The Parameter: The whole population under investigation is described by a parameter. For instance,…
Q: Describe the public and private members of a class.
A: In step 2, I have provided brief explanation about public and private members of a…
Q: Determine the kind of data in a DNS record by categorizing it. Briefly describe each, including…
A: GIVEN: By classifying the data in a DNS record, you can figure out what sort of information it…
Q: According to us, Flynn's taxonomy should be expanded by one level. What is it about today's…
A: The Predecessors: Something that came before the present version is referred to as a precursor. Your…
Q: What is a function in Matlab, and why are functions crucial for coding in Matlab?
A: The answer to the following question:-
Q: What do you see as the cloud computing's future?
A: computing's future: Transistors constructed of materials other than silicon are helping to define…
Q: What is the difference between a TextBox and a MaskedTextBox? How can you make TextBox utilize all…
A: The Answer is in step-2.
Q: The "middle layer" is a term used to describe the layer that sits between the database and the…
A: The intermediate layer, as defined in this question, is the layer that lies between the database and…
Q: When it comes to copywriting, what is the difference between a shallow and deep copy?
A: In the given question Shallow Copy stores the references of objects to the original memory address.…
Q: Is there anything unique about HTML?
A: HTML stands for HyperText Markup Language. It uses simple tags to markup and format the contents It…
Q: What is the best way to configure a routing table for each individual router?
A: Setting up a routing table The first step is to access a router's configuration page. The username…
Q: Which features/language model/word representation model (e.g. NGram, TF-IDF, Bag of Words, Word2Vec)…
A:
Q: ost critical factors to keep in mind while doi
A: Below the most critical factors to keep in mind while doing data backups and recoveries
Q: The digital signature algorithm (DSA) is based on the standard for digital signatures in…
A: The Digital Signature Algorithm(DSA) is standard for digital signature, which depends on the…
Q: A Document Store is a good alternative to a Relational DB for a few reasons.
A: answer is
Q: Match the following. CBW [ Choose ] CDQ [ Choose ] CWD [ Choose ] [Choose] extends the sign bit of…
A: Introduction: The CBW (convert byte to word) instruction transfers the source operand's sign (bit…
Q: tems administration tools come in ha
A: Below two systems administration tools come in handy the most?
Q: A. Convert from Decimal to Binary (34)10= ()2 B. Convert from Binary to Hexadecimal…
A: Below is the answer to above question. I hope this will be helpful for you...
Q: Finding two peer-reviewed research articles on project management ethics and summarizing them is…
A: Articles about project management ethics: Article No. 1 The first essay is titled "Bullying at…
Q: When dealing with a data corruption issue, what is the first measure to take?
A: Let, first know about what causes the data corruption There are a number of reasons files can get…
Q: What's the difference between DLL and EXE in.NET?
A: .NET .NET is basically the developer platform which is made up of multiple tools and programming…
Q: The layer between the database and the client servers is referred to as the intermediate stage.
A: Introduction: The three-tier architecture is comprised of three layers: the display layer, the…
Q: If a database has values that may be changed without notice, demonstrate this. An error-detection…
A: Computer programming language used for adding: Longitudinal EquivalenceError-detecting codes like…
Q: Calculate the Bresenham's circle drawing algorithm's decision parameter p. Bresenham's circle…
A: Given that: Brenham's Circle Drawing Method is a circle creating algorithm that finds the closest…
Q: 6. Write a complete java code to compute the sum of the first n positive even intege
A: The answer to the following question:-
Q: e of cube using constructor an
A: Code: #include<iostream>using namespace std; class cube{ public: double side; double…
Q: Hive is an Apache Hadoop-based data warehouse tool for data query and analysis. The huge data that…
A: Introduction: Hive is a data warehouse application for data query and analysis developed on top of…
Q: Consider replacing F by an alternative set of functional dependencies G: AP-> IT I -> ATP Is the…
A: The Answer is in step-2.
Q: ᴜꜱɪɴɢ ᴍᴀᴛʟᴀʙ ᴜꜱᴇ ᴛʜᴇ ᴇɪɢ ꜰᴜɴᴄᴛɪᴏɴ ᴛᴏ ꜰɪɴᴅ ᴛʜᴇ ᴇɪɢᴇɴᴠᴇᴄᴛᴏʀꜱ ᴀɴᴅ ᴇɪɢᴇɴᴠᴀʟᴜᴇꜱ ᴏꜰ ᴀ. ᴜꜱᴇ ᴛᴡᴏ ᴏᴜᴛᴘᴜᴛꜱ, ᴠ…
A: Find the required code in matlab given as below and output :
Q: What is a function in Matlab, and why are functions crucial for coding in Matlab?
A: The Answer is in step-2.
Q: What exactly do you mean when you say "local variable"? Local variables are used in a few…
A: Ans:) Please find the answer below.
Q: Explain three things you can attempt if you've gone through the debugging procedure and stil can't…
A: Start: As we all know, there is no one-size-fits-all solution to fixing all of your code's flaws,…
Q: Data transformation may range from something as simple as changing the format or representation of…
A: Start: The process of converting data entails changing its format, structure, or values, among other…
Q: In terms of project success and quality, there are three reasons why you should start with…
A: Committed Project Sponsor. The project sponsor: System design is the phase of the SDLC that aids in…
Step by step
Solved in 4 steps with 3 images
- Design a program that applies encapsulation in java Write a program with which you can convert a human height given in feet and inches to centimeters. The program should ask the user to type in his or her height in two parts: first the height in feet and then the inches part for the height. (A person can say that his or her height is, for example, 5 feet and 9 inches. That would be 30.48 * 5 + 2.54 * 9 centimeters. There can be thus two separate input statements in the program. After the program has received the feet and the inches, it should calculate the corresponding value in centimeters and print it to the screen. You can input the values to int variables but the calculation results could be stored in variables of type double.Write a complete Java program that performs the following tasks: 1. Ask the user to enter the last two digits of his/her student ID. 2. Break the number into two digits using arithmetic operators, then store the first and second digits in integer variables named digitl and digit2 3. Find and print the following: Note: • The product of digit] and digit2. The sum of digit1 and digit2 • The average of digit1 and digit2 • The maximum of the two numbers; digit1 digit2 using a method from the class Math. Typical run of the program 03.java Compile Messages IGRASP Messages Run 1/0 Interactions End Clear Help -jGRASP exec: java 03 Enter the last two numbers of your student IDI 46 The first digit 4, the second digit -6 Product: 4 6 = 24.0 sum: 4 + 6 - 10.0 average 15.0 maximun is 6 GRASP: operation complete.Write a Java program correctly that generates a report of proof of vaccination against COVID-19 for the peoplewho received their dose of vaccination. Write a program which:1. Display a welcome message.2. Then prompts the user to enter the following:• First name, with first letter uppercase, which is then stores in a variable of type String.• Last name, with first letter uppercase which is then stores in a variable of type String.• Day of birth, set as a number between 1 and 31, which is then stores in a variable of typeint.• Month of birth, set as a number between 1 and 12, which is then stores in a variable of typeint.• Year of birth, set as a number between 1920 and 2006, which is then stores in a variable oftype int.• Day of vaccination, set as a number between 1 and 31, which is then stores in a variable oftype int.• Month of vaccination. set as a number between 1 and 12, which is then stores in a variableof type int.• Year of vaccination, set as a number between 2020 and 2021,…
- This question is for java. Write a program that plays the Hi-Lo guessing game withnumbers. The program should pick a random number between1 and 100 (inclusive), then repeatedly prompt the user to guessthe number. On each guess, report to the user that he or sheis correct or that the guess is high or low. Continue acceptingguesses until the user guesses correctly or chooses to quit. Usea sentinel value to determine whether the user wants to quit.Count the number of guesses and report that value when the user guesses correctly. At the end of each game (by quitting or a cor-rect guess), prompt to determine whether the user wants to play again. Continue playing games until the user chooses to stop.Java program:; User's name. Write a program that prompts for and reads the user's first and last name (separately). Then print a string composed of the first letter of the user's first name, followed by the first five characters of the user's last name, followed by a random number in the range 10 to 99. Assume that the name is at least five letters long. Similar algorithms are sometimes used to generate user names for new computer accounts. wwwJAVA Write a program that allows a user to enter a series of numbers and displays frequency of each number. Implement the following: 1. The user can enter a maximum of 20 numbers or enter-1 to end the series (i.e. they can enter less than 20 numbers by entering -1) 2. Only numbers between 0-9 is allowed (or -1 ); if the user enters a number outside the valid input, inform the user and ask them to enter a valid number; keep repeating till a valid input is entered. Implement reading and validation of user input in a class "UserInput" - it should have a static method getNextNumber() that returns a valid integer. In your main program, use UserInput.getNextNumber() to read a valid input. 3. Display the frequency of each number in the output, in the following format Number: Frequency For example, if the user input is 0,0,1,2,2,4,5,8,8,8,9,9, -1 the output will be: 0: 2 1; 1 2: 2 3: 0 4: 1 5: 1 6: 0 7: 0 8: 3 9: 2
- 1. Create a java program that accept Three (3) Student number with Three (3) Student Name. After inserting the Student Number and Student Name, the program ask the user to input the Periodical Grades of each Students (Prelim, Midterm, PreFinals and Finals Grades). Then the program display the Student Number(s), Student Names(s), Periodical Grade(s) and Equivalent Percentage(s), the GWA (General Weighted Average) and the Remarks of Passed or Failed. Formula for GWA GWA = (Prelim * 20%) + (Midterm * 20% ) + ( PreFinals * 20% ) + ( Finals * 40%)1. Write a program in Java to calculate and print the Electricity Generator Bill, the user should enter the The number of consumed KW and the Rate/KW and the month as a String value. Bill=number of KW Rate Then you have to add the amount of 90,000 LB as a fixed fee to the Bill. Using java Sample Run: Please enter the number of Kw: 100 Enter the rate/Kw: 9500 Enter the Month please: April You Bill for April is : 1040000Write a program in java which display the burger Sizes and its prices in tabular form as display below. Program display a message “Sir/Madam Welcome and Which type burger do you want to buy! Please press your choice” . If user want to buy only one burger the bill should be display according to given price, but when user want to buy more burgers , your java program will provide facility to user to buy more burgers and add prices of all burgers and display total price. If user don’t want to buy more burgers your program will display a message.(Thank you sir/Madam) .(Hint use switch and do while loop). Berger Price Press S for small 100 Press M for medium 200 Press L for large 500
- Please write a program which prints out the following story. The user gives a name and a year, which should be inserted into the printout. Please type in a name: Mary Please type in a year: 1572 Mary is a valiant knight, born in the year 1572. One morning Mary woke up to an awful racket: a dragon was approaching the village. Only Mary could save the village's residents. The story should change according to the input given by the user. Sample output 1In Java: Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input, and outputs yes if every character is a digit 0-9. Ex: If the input is: 1995 the output is: yes Ex: If the input is: 42,000 or 1995! the output is: no Hint: Use a loop and the Character.isDigit() function.In Java, a real estate office handles 50 apartment units. When rent is $600 per month, all the units are occupied. However, for each $40 increase in rent, one unit becomes vacant. 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 that prompts the user to enter: A. The number of apartment units B. The rent to occupy all the units C. The increase in rent that results in a vacant unit. D. Amount to maintain a rented unit. The program then outputs the number of unidts to be rented to maximize the profit