Pseudo Code

 

Assignment Overview

The Assignment will accomplish three tasks:

  • Demonstrate how to use pseudo code to help programming.
  • Use Scanner class to get user input from a keyboard (allow user interaction).
  • Demonstrate how to use class and objects (OOP concepts).

Case Assignment

Write a java program to help you calculate property tax. The program will perform the following tasks:

  1. Prompt the user to enter the property value of the house.
  2. Prompt the users for the property tax rate.
  3. Display the result. 

Your task:

  1. Write pseudo code based on your analysis.
  2. Write a Java application program based on your pseudo code.

 

Hint: in this program, you will need to put the following statement at the beginning of your program to allow user input.

import java.util.Scanner;

Assignment Expectations

The program needs to:

  • demonstrate the ability to use the selective and repetitive statements,
  • have no bugs, and
  • perform the five tasks (at least) specified in the assignment.

Drawing diagram

The questions are related to MIS report that I uploded

2.1 Requirement determination: Identify and define functional and non- functional requirements. Several data collection or fact finding techniques; such as interview, online research, on site observation, document analysis, structured questionnaires, and survey, can be utilized by the students to identify the functional and non-functional requirements for their proposed system.

2.2  Requirement structuring – Process modelling: Draw a DFD diagram (all the possible level) based on the identified function requirements.

2.3 Requirement structuring – data modelling: Draw a conceptual EER diagram.

Summary of a software engineering article

Select a recently published (5 years old MAX) article from an academic journal or academic conference related to software engineering.

1) Summarize the paper, do not just quote the opening summary.2) Describe the salient point that the author(s) researched or presented as “new”3) Check at least one source from the bibliography and describe specifically what the authors of your selected paper referenced.4) Describe any shortfalls or items the authors of your selected paper did not address5) List and describe at least one possible item left unanswered that could still be researched (this may be what the authors “left out”)6) You must cite the journal or conference7) This is NOT to be from a marketing web page, company whitepaper, or Wikipedia.

This must be in DOC or PDF format but should resemble a published article regarding font selection and size.  I do not expect it to be in 2-column format.

This is similar to 1/4 of a doctoral comprehensive exam, but you are not answering any specific question.  You should think ofthis as preparation for a one-hour presentation.  You are NOT presenting, nor are you creating a presentation.  This is just a paper that should be no longer than two (3 if needed) pages, single space 12pt text.  Images ARE allowed but should be similar in size to the original article.  No more than one half page of your entire paper should be images.

A bibliography should be included at the end of your paper, that is similar to the original article but should only have the fewarticles you examined & discussed.

CYS……..2

  – write and submit a lab report of a minimum of 3 pages on what you learned in the lab, with screenshots and analysis of the following labs in testout. Please follow the attach instructions.  

Systems Architecture

 

When we look at cloud usage the categories can include some of but is not limited to following:

·           SaaS: Software as a Service

·           PaaS: Platform as a Service

·           IaaS: Infrastructure as a Service

·           MaaS: Monitoring as a Service

Research cloud computing.  Complete a 2-3-page paper with an abstract and conclusion(plus cover sheet and reference page) that:

·           Describe at least 3 types of cloud computing service categories

·           What are the architecture considerations?

·           Give details of the function of the service with an example

·           What are the advantages and disadvantages of the service?

·           What are the security risk and protection considerations?

·           Do you see any impact on availability and performance?

Specific questions or items to address:

·           Describe at least 3 types of cloud computing service categories

·           What are the architecture considerations?

·           Give details of the function of the service with an example

·           What are the advantages and disadvantages of the service?

·           What are the security risk and protection considerations?

·           Do you see any impact on availability and performance?

CSCE 3110 – Project 1

 

CSCE 3110 – Project 1 

 

PROGRAM DESCRIPTION

In this programming assignment, you will (1) write a complete C++ program to

implement multiplication operations as directed and (2) perform an analysis with respect

to the theoretical and experimental running time complexity.

The following C++ code for the multiply function computes the product of two

operands using only addition: 

int multiply(int operand1, int operand2)

{

 int multiplier   = (operand1 < operand2) ? operand1 : operand2;

 int multiplicand = (operand1 > operand2) ? operand1 : operand2;

 int product = 0;

 for (int i = 0; i < multiplier; i++)

 { 

  product += multiplicand;

 }

 return product;

This function as given runs in �(���(��������, ��������)), which is a linear time

algorithm. We would, however, like for this algorithm to run faster, which can reduce the

time complexity to �(���(��� �������� , ��� �������� )) by using only addition, bit

shifting, and possibly the bitwise & operator. Therefore, your objective for this

programming assignment is to write a new function called bitMultiply, accepting the

same two parameters, to reduce the time complexity of this operation. 

Some background on bit shifting: For some variable operand and number n, a bit shift

is written as either operand = operand << n; or operand = operand >> n;,

where the << operator left shifts the bits in operand by n bits and fills in the opened

positions with 0’s while the << operator right shifts the bits in operand by n bits,

throwing away the lower order n bits and replacing higher order bits with 0’s. The <<

operator corresponds to multiplying the number by 2

!

, while the >> operator 

corresponds to dividing the number by 2

!

. For example, the decimal value 10 is 

represented internally by the bit string 1010, so if we left shift 10 by 2 bits, we obtain

101000, which can be verified to be 10 × 2

!

. As another hint, C++ supports the bitwise 

& operator that performs a bitwise “and” of two integers that can be helpful in inspecting

the bits of an integer. 

To show this improvement in time complexity, we define the requirements for this

program: 

• You will prompt for and read in two operands as positive integers (i.e., > 0). Since 

we are using bit shifting, you will limit the resulting product to the maximum 

positive value supported by integers, so that if the product exceeds this value you

will print an error message and terminate the program. If the user enters a nonpositive

value,

you

will

simply

continue

to

re-prompt

the

user

until

he/she

enters

a

 

 

 

CSCE 3110 – Project 1 

 

Due: 11:59 PM on Wednesday, May 29, 2019

valid positive integer. You may assume that the user enters an integer, though

possibly out of range, for this assignment. 

• For the multiplication operation provided by the multiply function, you will

perform this operation 10 times, calculating the amount of time in nanoseconds

that it takes to complete each time, and then find the average of all 10 of the

passes. 

• You will then write a new function called bitMultiply, accepting the same two

operands as parameters, and compute the product of the two operands using

only bit shifting, addition, and perhaps use of the bitwise & operator. Similarly,

you will perform this operation 10 times, calculating the amount of time in

nanoseconds that it takes to complete each time, and then find the average of all

10 of the passes. 

ANALYSIS REQUIREMENTS

Perform several runs of your program, ranging from product calculations using small

integers to product calculations using large integers (but not overflowing the integer

data structure). If your bitMultiply program was done correctly, you should see a

significant improvement in the amount of time needed to perform the calculations, but

did it improve by the expected amount? Include a screen shot (or typescript) of your

program performing several runs with various inputs and write a one or two paragraph

analysis of your results that describes whether or not you achieved the results you

expected. Plot your results on the same graph, where the size can be used for the xaxis

and

the

running

time

in

nanoseconds

can

be

used

for

the

y-axis.

Since

the

values

are

fairly large (i.e., in nanoseconds), you may wish to plot your results using the

logarithmic values as needed. Provide some explanation or justification on why your

results did or did not meet the expected performance metrics. 

SAMPLE OUTPUT (input shown in bold):

$ ./a.out

Enter first  positive integer: 3847849

Enter second positive integer: 9573535

Error: Product results in integer overflow.

$ ./a.out

Enter first  positive integer: 134

Enter second positive integer: 8531

Multiplication using only ADDITION:

Product: 1143154

Pass  1: 0 seconds 25371 nanoseconds

Product: 1143154

Pass  2: 0 seconds 2528 nanoseconds 

Product: 1143154 

Pass  3: 0 seconds 2295 nanoseconds

Product: 1143154

Pass  4: 0 seconds 2428 nanoseconds 

 

 

 

CSCE 3110 – Project 1 

 

Due: 11:59 PM on Wednesday, May 29, 2019

Product: 1143154

Pass  5: 0 seconds 2219 nanoseconds

Product: 1143154

Pass  6: 0 seconds 2446 nanoseconds

Product: 1143154

Pass  7: 0 seconds 5348 nanoseconds

Product: 1143154

Pass  8: 0 seconds 2247 nanoseconds

Product: 1143154

Pass  9: 0 seconds 2227 nanoseconds

Product: 1143154

Pass 10: 0 seconds 2334 nanoseconds

Average: 0 seconds 4944.3 nanoseconds

Multiplication using only ADDITION and BIT SHIFTS:

Product: 1143154

Pass  1: 0 seconds 2384 nanoseconds

Product: 1143154

Pass  2: 0 seconds 1908 nanoseconds

Product: 1143154

Pass  3: 0 seconds 1992 nanoseconds

Product: 1143154

Pass  4: 0 seconds 2065 nanoseconds

Product: 1143154

Pass  5: 0 seconds 1848 nanoseconds

Product: 1143154

Pass  6: 0 seconds 1887 nanoseconds

Product: 1143154

Pass  7: 0 seconds 2278 nanoseconds

Product: 1143154

Pass  8: 0 seconds 2123 nanoseconds

Product: 1143154

Pass  9: 0 seconds 1866 nanoseconds

Product: 1143154

Pass 10: 0 seconds 1892 nanoseconds

Average: 0 seconds 2024.3 nanoseconds

$ ./a.out

Enter first  positive integer: 0

Enter first  positive integer: 3834852

Enter second positive integer: -3481

Enter second positive integer: 348721

Multiplication using only ADDITION:

Product: 1558595236

Pass  1: 0 seconds 922810 nanoseconds

Product: 1558595236

Pass  2: 0 seconds 960872 nanoseconds 

 

 

 

CSCE 3110 – Project 1 

 

Due: 11:59 PM on Wednesday, May 29, 2019

Product: 1558595236

Pass  3: 0 seconds 967389 nanoseconds

Product: 1558595236

Pass  4: 0 seconds 975816 nanoseconds

Product: 1558595236

Pass  5: 0 seconds 916739 nanoseconds

Product: 1558595236

Pass  6: 0 seconds 939650 nanoseconds

Product: 1558595236

Pass  7: 0 seconds 942581 nanoseconds

Product: 1558595236

Pass  8: 0 seconds 974544 nanoseconds

Product: 1558595236

Pass  9: 0 seconds 947730 nanoseconds

Product: 1558595236

Pass 10: 0 seconds 903583 nanoseconds

Average: 0 seconds 945171 nanoseconds

Multiplication using only ADDITION and BIT SHIFTS:

Product: 1558595236

Pass  1: 0 seconds 4188 nanoseconds

Product: 1558595236

Pass  2: 0 seconds 3368 nanoseconds

Product: 1558595236

Pass  3: 0 seconds 6116 nanoseconds

Product: 1558595236

Pass  4: 0 seconds 3206 nanoseconds

Product: 1558595236

Pass  5: 0 seconds 3203 nanoseconds

Product: 1558595236

Pass  6: 0 seconds 4097 nanoseconds

Product: 1558595236

Pass  7: 0 seconds 4066 nanoseconds

Product: 1558595236

Pass  8: 0 seconds 3302 nanoseconds

Product: 1558595236

Pass  9: 0 seconds 5067 nanoseconds

Product: 1558595236

Pass 10: 0 seconds 5433 nanoseconds

Average: 0 seconds 4204.6 nanoseconds 

REQUIREMENTS

• Your code should be well documented in terms of comments. For example, good

comments in general consist of a header (with your name, course section, date, 

 

 

assignment help

Answer  each these questions in a paragraph with at least five sentences:  Include the question and number your responses accordingly. Provide a  citation for each answer.

1. What kind of speech was the First Amendment written to protect?

2. Does the First Amendment apply only to spoken words?

3. What does it mean that laws regulating speech must be content neutral?

4. Why are common carriers prohibited from controlling the content of the material they carry? 

5. How does the Supreme Court determine whether material is obscene?

6. Why have attempts to censor the Internet failed in the US?

7. Why not just ban spam? 

8. Why did Facebook ban Alex Jones and Louis Farrakan?

9. Should websites that show how to 3d print guns be banned? 

10. According to the Supreme Court ‘anonymity is a shield from the tyranny of the majority’. What does that mean?