Problem 2 (Save and Get Info) : Write a program
that asks for the user's name, phone number, and address. The
program then saves all information in a data file (each information
in one line) named list.txt. Finally, the program
reads the information from the file and displays it on the
screen in the following format:
Name: User's Name
Phone Number: User's Phone Number
Address: User's Street Address
User's City, State, and Zip Code
In: Computer Science
I want to write java program to implement the indexing concept
so as an example we have file named Students this file contains information like this
112233445 ahmed
222442211 saeed
112453345 john
this program should search for the student name by its number so as an output example:
enter the student number
112233445
name found : ahmed
also i want to print the index number of where does the student name exists
In: Computer Science
Identify 3 important systems associated with boiling water reactors and named the primary purpose of each.
Name the systems that removes impurities from the reactor water
Name the purposes of the off gas system
Identify the plant system designed to maintain or restore core submersion in the event of loss of coolant accident
Identify the source of high radiation levels in the RHR system during system shut down
Name the purposes of the automatic depressurization system
In: Operations Management
Course name object oriented programming.
3) Define the following methods:
- constructors: create two constructors with and without parameters.
- setName: this method sets the name of the School.
- getName: this method returns the name.
- setPhone: this method sets the phone number.
- getPhone: this method returns the phone number.
- setType: this method sets the type of the school.
- getType: this method returns the type of the school.
- toString: this method returns a string the contains the full information about a school.
In: Computer Science
Minerals question i have named all 16 minerals already i just need the function Major or trace ,Food Source,Name of deficiency or symptoms of deficiency,and toxicity and yes or No answer.
There will be a total of 16 minerals (7 major & 9 trace) Minerals
|
Name – both name and number if given |
Function Major or trace if minerals |
4 food sources |
Name of deficiency or symptoms of deficiency |
Toxicity Yes or no |
|
1.Calcium |
||||
|
2.Magnesium |
||||
|
3.Potassium |
||||
|
4.Sodium |
||||
|
5.Sulfer |
||||
|
6.Phosphorous |
||||
|
7.Chloride |
||||
|
8.Zinc |
||||
|
9.Iron |
||||
|
10.Copper |
||||
|
11.Iodine |
||||
|
12.Selenium |
||||
|
13.Manganese |
||||
|
14.Chromium |
||||
|
15.Floride |
||||
|
16.Molybdenum |
In: Nursing
1.) According to the UML Class Diagram, these are the mutator and accessor methods that you need to define:
1a.) +setName(value:String):void
1b.) +setGPA(value:double):void
1c.) +setID(value: String):void
1d.) +getName(): String
1e.) +getLastName():String
2.) Working with constructors
2a.) +Student() : This is the default constuctor. For the Strings properties, initialize them to null. The order is String ID, String name, String lastName, and double GPA.
2b.) +Student(value:String) - This constructor receives just the ID.
2c.) +Student(value:String, var: String) - This constructor receives the ID and name in that order.
2d.) +Student(value:String, var: String, change: String) - This constructor receives the ID, name, and last name in that order.
In: Computer Science
Please write in Python 3.7.4 or Higher.
The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following: <last name> <hours worked> <hourly wage>
Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period.
An example of the program input and output is shown below:
Enter the file name: data.txt Name Hours Total Pay Lambert 34 357.00 Osborne 22 137.50 Giacometti 5 503.50
In: Computer Science
Create a Database from blank (scratch) for a manager and name it. Create and design a table and name it. For each fields click and choose proper a data type such as short text and name the field. Make at least three fields. Enter your records. Make sure to add your name as a record.
Similarly create two more tables. By design tool, make a relationship between each of two tables at a time and drag a primary key one table to a secondary key of another table. For example one to one, one to many, many to one or many to many)
Run at least 5 queries of different important tasks on the data base
For this question I was given no data
In: Computer Science
In: Computer Science
When a user signs in for the first time to a website, the user must submit personal information, such as last name, first name, email address, and so on. Typically, there are two fields for passwords, requiring the user to enter the password twice, to ensure that the user did not make a typo in the first password field.
Write a class encapsulating user with the following attributes:
UserID
Password
Reentered password
Email address
Last Name
First Name
Zip
You will store these values as strings.
Write the following methods in your class:
1. A constructor which will initialize the 7 attributes listed above.
2. Accessor, mutator, toString methods
3. A method returning the user id consisting of the first letter of the first name, last two letters of the last name and the first three nambers of the zip code and a random number (between 0 and 999)
4.. A method checking if the two Strings representing the password fields are the same, if they are return true, otherwise false.
Write a test class to create 2 user objects (using your constructor) and test all the methods in your class.
Remember to submit all your .java files, .class files and screenshots of your code and output and psuedocode
In: Computer Science