To write java program of prime numbers

you will generate a NON THREADED, SEQUENTIAL program.  This sequential program will take some input (you can grab this input from the user, or from a command line argument) that it will store in an integer.  (Therefore, there needs to be checks in place to make sure that the number being given can be stored adequately in an integer.  You do not need to use BigInteger or long for this, regular integersis fine.  This is more about design than about function).

Now that you have this number, you want to compute all the prime numbers that exist between 2 and that number (inclusive).

If a number is not prime, you will store that number and a List of its factors in a Map

If a number is prime you will store it in a List.  So, at the conclusion, we have a Map of non primes that contain factors of numbers and a list of primes.

You will time the runtime of your application so that we know how long it will take to build these two structures.  To time your application, simply generate a starting time as soon as you retrieve the number you want to use as the base of your iteration and then stop the timer when you are finished generating your structures.  Report back what the difference is. You can use System.currentTimeMillis(); to do this.

research week-4

 Select one type of cryptography or encryption and explain it in detail. Include the benefits as well as the limitations of this type of encryption 

Python Week 2

 

Instructions

Part I Instructions:

# This is the flower box and it should be at the beginning of each assignment
# You must add comments to your code
# Program name : Wk2P1_firstname_lastname.py
# Student Name : Ymmas Azaba
# Course : ENTD220
# Instructor : My Instructor
# Date : Any Day# Copy Wrong : This is my work

You are going to create the following:

A simple calculator to accept two numbers and print the addition, subtraction, multiplication and division of the two numbers.

You are required to store each input number in a separate variable.

Hints
1) You should also store each calculation in a variable
2) You will get an error if you divide by zero, you will address this problem next assignment

Sample output

This is my first programming assignment
Enter your First number —> 25
Enter your Second number —> 14

The Result of 25+14=39.0
The Result of 25-14=11.0
The Result of 25*14=350.0
The Result of 25/14=1.78571428571

Thanks for using our calculator!Submission Instructions:

Make sure that you save your code in a text file in this format. Check your file after the upload to see if they are readable. You can paste your code in the student submission text area.

W2P1_firstname_lastname.py

Part II Instructions:

# This is the flower box and it should at the beginning of each assignment
# You must add comments to your code
# Program name : Wk2P2_firstname_lastname.py
# Student Name : Ymmas Azaba
# Course : ENTD220
# Instructor : My Instructor
# Date : Any Day

# Copy Wrong : This is my work

You are going to enhance the prior assignment by doing the following:

1) Limit the input range from -100 to 100 for each input number
2) Prevent dividing by zero (Do not use try-except)

3) Instead of hard coding values from -100 to 100, let the user enter the range

Hints:

See sample output for messages.
Sample output

Enter your Lower range —> -100
Enter your Higher range —> 100
Enter your First number —> 50
Enter your Second number —> 20

The Result of 50+20=70.0
The Result of 50-20=30.0
The Result of 50*20=1000.0
The Result of 50/20=2.5

Thanks for using our calculator!
====================================

Enter your Lower range —> -50
Enter your Higher range —> 50
Enter your First number —> 20
Enter your Second number —> 0

The Result of 20.0+0.0=20.0
The Result of 20.0-0.0=20.0
The Result of 20.0*0.0=0.0
The Result of 20.0/0.0=You cannot divide by Zero

Thanks for using our calculator!

====================================

Enter your Lower range —> 10
Enter your Higher range —> 50
Enter your First number —> 5
Enter your Second number —> 60

The input values are out side the input ranges
Please check the numbers and try again
Thanks for using our calculator 

Project Management – IT Project Schedule

 Details on the Project:  IT Project Specifications v2.pdf 

Use this project schedule template for the assignment:  IT Project Schedule template.xlsx

When references and citations are included, you must apply and use the basic citation styles of APA. Do not claim credit for the words, ideas, and concepts of others. 

Use in-text citation and list the reference on your supporting source following APA’s style and formatting. 
Do not copy and past information or concepts from the Internet and claim it as your work. It will be considered Plagiarism and you will receive zero for your work.

A Mobile Network

 Assignment RequirementsYou are a digital forensics intern at Azorian Computer Forensics, a privately owned forensics investigations and data recovery firm in the Denver, Colorado area. The company’s lab manager wants to include some information on mobile networks in the company policy and procedures manual.The manager is specifically interested in a diagram that shows major components in a mobile network and arrows that show the flow of signals. This needs to be a simple diagram that’s easy to understand at a glance.For this assignment:

  1. Use the Internet to research how a mobile network is set up.
  2. Create a simple diagram using PowerPoint or the drawing program of your choice that includes:
    • A mobile device
    • Mobile switching center (MSC)
    • Base station system (BSS) with at least two base station controllers (BSCs) and base transceiver stations (BTSs)
    • Home location register (HLR)
    • Visitor location register (VLR)
    • Public Switching Telephone Network (PSTN)
    • Arrows that represent the flow of signals starting from the mobile device to the PSTN

Required Resources

  • Course textbook
  • Internet access

Format:Microsoft PowerPoint or the drawing program of your choice; file saved as a PDFLength:1-2 pages
Self-Assessment Checklist

  • I researched mobile network configurations.
  • I understood the process adequately and reflected my knowledge in a diagram or flow chart.
  • I followed the submission guidelines.

Discussion 250 -300 words

What protection does Section 230 of the Communications Decency Act provide? How does this act impact major tech companies such as Google and Facebook? 

database and tables from

  

1) Use the database and tables from last week’s assignment to write the following SQL queries .
a. Write a SQL query to increase all employees’ salaries with the selected EEO-1 classification by 10%. Use Update and include a join with Job_title.
b. Write a SQL query to increase all employees’ salaries by 5%. Use Update.
c. Write a SQL query that to select an employee from the Employee table and delete that employee.
Note: To delete or update a specific record you must specify the records primary key.
d. Deliverable: Save each SQL Statement you write in a Word file and post in your individual forum with your week 4 individual assignments.
 

2) Use the database and tables from last week’s assignment to write SQL statements that do the following:
a) Calculate the average salary for all employees.
b) Calculate the maximum salaries for exempt and non-exempt employees.
Use Group By and include a join with Job_title
c) Calculate the maximum salary for all employees.
d) Calculate the minimum salaries for exempt and non-exempt employees.Use Group By and include a join with Job_title
e) Calculate the minimum salary for all employees.
f) Deliverable: Save each query you write in a Word file and post in your individual forum with your week 4 individual assignments.