Need Help ?

Expert Answers

Total Points(100) Problem 1(10) Create a complete Java program in a class name ...

Total Points(100) Problem 1(10) Create a complete Java program in a class named Bday that declares four variables and assigns appropriate values to them. your birthday month (1-12) your birthday day (1-31) the birthday month of another student sitting near you today (1-12) the birthday day of that same student near you (1-31) Ask your neighbor for their name and for the proper numbers to store in the variables for his/her birthday. Then produce output in this format using your four variables: My birthday is 9/19, and Suzy's is 6/14.   Problem 2 : Syntax errors(10) The following program contains 9 mistakes! What are they? Copy and paste the following code into Jgrasp/Eclipse and correct the various mistakes.   public class Oops {     public static void main(String[] args) {         int x;         System.out.println("x is" x);           int x = 15.2;   // set x to 15.2         System.out.println("x is now + x");           int y;          // set y to 1 more than x         y = int x + 1;         System.out.println("x and y are " + x + and + y);     } }     Problem 3: (20) Write a for loop that produces the song Bottles of Beer on the Wall: 10 bottles of beer on the wall, 10 bottles of beer Take one down, pass it around, 9 bottles of beer on the wall   9 bottles of beer on the wall, 9 bottles of beer Take one down, pass it around, 8 bottles of beer on the wall   ... (output continues in the same pattern) ...   1 bottles of beer on the wall, 1 bottles of beer Take one down, pass it around, 0 bottles of beer on the wall   Problem 4: (20) Write a complete Java program that produces this sequence of numbers using a for loop: 8 11 14 17 20 23               Problem 5: (10)   Problem 6: (10)   Problem 7(20)  

READ MORE >>

This question uses the MARS MIPS simulator. The goal is to write a loop in assem ...

This question uses the MARS MIPS simulator. The goal is to write a loop in assembly that converts hexadecimal numbers into UTF-8 binary sequences. The details are as follows: You should copy-and-paste the file lab2.txt [which is pasted below] into the MARS editor, and then save the file as your own, for editing. Spend some time trying to see what it does. The parts that need to be changed in main are between the comment lines Your part starts here and Your part ends here. You should also add more lines to the register assignment table, to describe what you did. Additional comments will probably be helpful. There are also two character strings that need to be changed, to put your names in the output. Here are the Mars Messages and Run I/O panels, after assembling and running the starter program: Assemble: assembling /.../lab2.asm Assemble: operation completed successfully. Go: running lab2.asm Go: execution completed successfully. 0 0x00000000 0x00000003 00000000000000000000000000000000 00000000000000000000000000000011 1 0x00000024 0x00000003 00000000000000000000000000100100 00000000000000000000000000000011 2 0x0000007e 0x00000003 00000000000000000000000001111110 00000000000000000000000000000011 3 0x0000007f 0x00000003 00000000000000000000000001111111 00000000000000000000000000000011 4 0x00000080 0x00000003 00000000000000000000000010000000 00000000000000000000000000000011 5 0x000000a2 0x00000003 00000000000000000000000010100010 00000000000000000000000000000011 6 0x00000627 0x00000003 00000000000000000000011000100111 00000000000000000000000000000011 7 0x000007ff 0x00000003 00000000000000000000011111111111 00000000000000000000000000000011 8 0x00000800 0x00000003 00000000000000000000100000000000 00000000000000000000000000000011 9 0x000020ac 0x00000003 00000000000000000010000010101100 00000000000000000000000000000011 10 0x00002233 0x00000003 00000000000000000010001000110011 00000000000000000000000000000011 11 0x0000ffff 0x00000003 00000000000000001111111111111111 00000000000000000000000000000011 12 0x00010000 0x00000003 00000000000000010000000000000000 00000000000000000000000000000011 13 0x00010348 0x00000003 00000000000000010000001101001000 00000000000000000000000000000011 14 0x00022e13 0x00000003 00000000000000100010111000010011 00000000000000000000000000000011 15 0x0010ffff 0x00000003 00000000000100001111111111111111 00000000000000000000000000000011 16 0x89abcdef 0x00000003 10001001101010111100110111101111 00000000000000000000000000000011 All done! -- program is finished running – The idea behind UTF-8 is to augment a character code with some additional bits to protect against certain kinds of communication failures. Here is the standard diagram: The term "octet" means "8 bits", which everyone now thinks of as one byte. There were once computers whose byte size was not 8 bits, but they are all gone now. In the starter version provided, we used the variable j instead of code_point. Each case should compute n from j. It's going to be a lot easier if you sketch the solution in C, and then rewrite it into MIPS assembler, inserting the C version as a comment. Start with the if-then-else structure, and test that with some bogus values for n. Then, write each of the five cases separately; two of these are trivial, and the other three have a lot of features in common. The MIPS assembly code is slightly easier to write if all the tests are < instead of a mixture of < and <= . Also, treat the registers as if they contain unsigned integers (when using a numeric instruction) or simple bit strings (when using logical and shift instructions). In case 1, j fits in 7 bits, and it is expanded to 8 bits with a leading 0 bit, which yields the same value. In case 5, it's an error, so n is -1 or 0xFFFFFFFF; that's not the proper treatment of errors according to UTF-8, but it's certainly easier. The following comments describe how the bits of j are to be rearranged to form the bits of n. Here is the output from a correct solution, using MARS: You are finished when you are satisfied that your program works and runs efficiently. BELOW IS THE BASE CODE REFERENCED AT THE BEGINNING (lab2.txt): # CMPEN 331, Lab 2 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # switch to the Data segment .data # global data is defined here # Don't forget the backslash-n (newline character) Homework: .asciiz "CMPEN 331 Homework 2\n" Name_1: .asciiz "First Person's name\n" Name_2: .asciiz "Second Person's name\n" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # switch to the Text segment .text # the program is defined here .globl main main: # Whose program is this? la $a0, Homework jal Print_string la $a0, Name_1 jal Print_string la $a0, Name_2 jal Print_string # int i, j = 2, n = 3; # for (i = 0; i <= 16; i++) # { # ... j = testcase[i] # ... calculate n from j # ... print i, j and n # } # register assignments # $s0 i # $s1 j = testcase[i] # $s2 n # $t0 address of testcase[i] # $a0 argument to Print_integer, Print_string, etc. # add to this list if you use any other registers # initialization li $s1, 2 # j = 2 li $s2, 3 # n = 3 # for (i = 0; i <= 16; i++) li $s0, 0 # i = 0 la $t0, testcase # address of testcase[i] bgt $s0, 16, bottom top: lw $s1, 0($t0) # j = testcase[i] # calculate n from j # Your part starts here # Your part ends here # print i, j and n move $a0, $s0 # i jal Print_integer la $a0, sp # space jal Print_string move $a0, $s1 # j jal Print_hex la $a0, sp # space jal Print_string move $a0, $s2 # n jal Print_hex la $a0, sp # space jal Print_string move $a0, $s1 # j jal Print_bin la $a0, sp # space jal Print_string move $a0, $s2 # n jal Print_bin la $a0, nl # newline jal Print_string # for (i = 0; i <= 16; i++) addi $s0, $s0, 1 # i++ addi $t0, $t0, 4 # address of testcase[i] ble $s0, 16, top # i <= 16 bottom: la $a0, done # mark the end of the program jal Print_string jal Exit0 # end the program, default return status # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .data # global data is defined here sp: .asciiz " " # space nl: .asciiz "\n" # newline done: .asciiz "All done!\n" testcase: # UTF-8 representation is one byte .word 0x0000 # nul # Basic Latin, 0000 - 007F .word 0x0024 # $ (dollar sign) .word 0x007E # ~ (tilde) .word 0x007F # del # UTF-8 representation is two bytes .word 0x0080 # pad # Latin-1 Supplement, 0080 - 00FF .word 0x00A2 # cent sign .word 0x0627 # Arabic letter alef .word 0x07FF # unassigned # UTF-8 representation is three bytes .word 0x0800 .word 0x20AC # Euro sign .word 0x2233 # anticlockwise contour integral sign .word 0xFFFF # UTF-8 representation is four bytes .word 0x10000 .word 0x10348 # Hwair, see http://en.wikipedia.org/wiki/Hwair .word 0x22E13 # randomly-chosen character .word 0x10FFFF .word 0x89ABCDEF # randomly chosen bogus value # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Wrapper functions around some of the system calls # See P&H COD, Fig. A.9.1, for the complete list. .text .globl Print_integer Print_integer: # print the integer in register $a0 (decimal) li $v0, 1 syscall jr $ra .globl Print_string Print_string: # print the string whose starting address is in register $a0 li $v0, 4 syscall jr $ra .globl Exit Exit: # end the program, no explicit return status li $v0, 10 syscall jr $ra # this instruction is never executed .globl Exit0 Exit0: # end the program, default return status li $a0, 0 # return status 0 li $v0, 17 syscall jr $ra # this instruction is never executed .globl Exit2 Exit2: # end the program, with return status from register $a0 li $v0, 17 syscall jr $ra # this instruction is never executed # The following syscalls work on MARS, but not on QtSPIM .globl Print_hex Print_hex: # print the integer in register $a0 (hexadecimal) li $v0, 34 syscall jr $ra .globl Print_bin Print_bin: # print the integer in register $a0 (binary) li $v0, 35 syscall jr $ra # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

READ MORE >>

You will be assigned a corporation from the "Company Profiles" website, located ...

You will be assigned a corporation from the "Company Profiles" website, located in the Course Materials, by the instructor. Examine the corporate profile. Create a network diagram to include separate subnets for all major departments in your corporation. If you do not have access to Microsoft Visio, you can use an online tool such as Creately. Include the following information for your diagram: Subnet appropriately to account for all workstations, printers, and servers for each network and subnet, as well as corporate growth. Ensure that each subnet is labeled with both an IPv4 and IPv6 network address. Include inside and outside addresses for each router in your diagram. Ensure that all manufacturing systems are appropriately air gapped by including a separate router and VLAN for those departments. https://lc.gcumedia.com/itt115/company-website-profiles/v2.1/namaste-taste/#/  link to my company

READ MORE >>

You must combine my already prepared products and combine them with what I haven ...

You must combine my already prepared products and combine them with what I haven't done to complete this assignment today in the next 10 hours at 2200 EST. If you cannot make this deadline PLEASE do not accept the assignment. I will supply you what what I have done via private message. This must be run through turn it in plagarism checker and must not come back any higher than 25 percent including references, so if you are going to rewrite what others have done you need to be exceptional at it.   Rules of Engagement (from Deliverable 1) --COMPLETE Reconnaissance Plan (from Deliverable 2)-- COMPLETE Scanning Plan (from Deliverable 2)-- COMPLETE  Gaining Access Plan (from Deliverable 3) Not done Maintaining Access Plan (New) Not Done Covering Your Tracks Plan (New) Not Done

READ MORE >>

Please follow the template that is given and should be in that format and also r ...

Please follow the template that is given and should be in that format and also read the instructions in pdf and template before starting the project. Please follow and use the same excel template that is given by the professor.

READ MORE >>

( I wrote the whole thing so you can have an idea abou the question as a whole. ...

( I wrote the whole thing so you can have an idea abou the question as a whole. i just need answer for question number 4)   Capstone case:New century wellness group         New Century Wellness Group offers a holistic approach to healthcare with an emphasis on preventive medicine as well as traditional medical care. In your role as an IT consultant, you willhelp New Century develop a new information system. Background       Based on your earlier recommendations, New Century decided to continue the systems development process for a new information system. Now, at the end of the systems analysis phase, you are ready to prepare a system requirements document and give a presentation to the New Century associates. Many of the proposed system's advantages were described during the fact-finding process. Those include smoother operation, better efficiency, and more user-friendly procedures for patients and New Century staff.     You also must examine tangible costs and benefits to determine the economic feasibility of several alternatives. If New Century decides to go ahead with the development process, the main options are to develop the system in-house or purchase a vertical package and configure it to meet New Century's needs. You have studied those choices and put together some preliminary figures.     You know that New Century's current workload requires six hours of office staff overtime per week at a base rate of S15 per hour. In addition, based on current projections, New Century willneed to add another full-time clerical position in about six months. Neither the overtime nor the additional job will be needed if New Century implements the new system. The current manual system also causes an average of three errors per day, and each error takes about 20 minutes to correct. The new system should eliminate those errors. You estimate that by working full-time you could complete the project in a bout 12 weeks. Your consulting rate, which New Century agreed to, is $35 per hour. If you design the new system as a data base application, you can expect to spend about $2,500 for a networked commercial package. After the system is operational and the staff is t rained, New Century should be able to handle routine maintenance tasks without your assistance. As an alternative to in-house development, a vertical software package is available for about $12,000. The vendor offers a lease-purchase package of S4,000 down, followed by two annual installments of $4,000 each. If New Century buys the package, it would take you about four weeks to install, configure, and test it, working full-time. The vendor provides free support during the first year of operation, but then New Century must sign a technical support agreement at an annual cost of S600. Although the package contains many of the features that New Century wants, most of the reports are pre-designed and it would be difficult to modify their Iayouts.     No matter which approach is selected, New Century probably will need you to provide about10 hours of initial training and support each week for the first three months of operation. After the new system is operational, it will need routine maintenance, file backups, and updating. These tasks will require about four hours per week and can be performed by a clinic staff member. In both cases, the necessary hardware and network installation will cost about S12,500.     In your view, the useful life of the system will be about five years, including the year in which the system becomes operational.      You are scheduled to deliver a presentation to New Century next week, and you will submit a system requirements document at that time. To prepare yourself, you reviewed the skills described in Part A of the Systems Analyst's Toolkit, and you listed tips to remember, as follows: Presentation Tips • Use suitable visual aids. • Use presentation software, if possible. • Distribute handouts before, during, or after the presentation. • Follow the guidelines in Part A of the Systems Analyst's Toolkit. • Keep your presentation to 30 minutes, including 5 minutes for questions. System Requirements Document Tips • Follow the guidelines in Part A of the Systems Analyst's Toolkit. • Include charts, graphs, or other helpful visual information in the document. Also include other material to help the audience understand the new system and decide on the next step. • Spell check and carefully proofread the entire document. • For readability, t ry to keep the Flesch Reading Ease score above 60, and aim for a FleschKincaid Grade Level of 8.0 to 9.0.   Tasks 1. Provide an overview of the proposed system, including costs and benefits, with an explana· tion of the various cost-benefit types and categories. 2. Develop an economic feasibility analysis, using payback analysis, ROI, and present value (assume a discount rate of 10%). 3. Prepare a context diagram and diagram 0 for the new system. 4. Provide a brief explanation of the various alternatives that should be investigated if development continues, including in-house development and any other possible strategies.

READ MORE >>

Need done ASAP. Doesnt need to be long responses just needs to be right  ...

Need done ASAP. Doesnt need to be long responses just needs to be right 

READ MORE >>

  Guided Project 7-2 In this project, you complete the purchase order for Blu ...

  Guided Project 7-2 In this project, you complete the purchase order for Blue Lake Sports by adding a data validation list and check box form controls. You protect the sheet and the workbook, save it as a template, and share it for testing.   File Needed: BlueLakeSports-07.xlsx (Student data files are available in the Library of your SIMnet account) Completed Project File Names: [your initials] Excel 7-2Template.xltx, [your initials] Excel 7-2User1.xlsx, [your initials] Excel 7-2User2.xlsx, and [your initials] Excel 7-2Merged.xlsx Skills Covered in this Project Set data validation to use a list. Use an error alert for data validation. Insert a check box form control. Unlock worksheet cells and protect a worksheet. Save a workbook as a template. Create a new workbook from a template. Share a workbook and track changes. Accept or reject changes. Open the BlueLakeSports-07 workbook from your student data files. Save the workbook as a template. Click the Save As button [File tab] and choose This PC. Click the More Options link. Type the file name [your initials] Excel 7-2Template in the File name box. Verify that the Save Thumbnail box is selected or select it. Choose Excel Template from the Save as type drop-down box. Click Save. Set data validation with an error alert to use a list. Click the Purchase Order sheet tab, select B17, and click the Data Validation button [Data tab, Data Tools group]. Click the Allow arrow and choose List on the Settings tab. Click the Source entry box. Click the Departments worksheet tab and select cells A2:A14. Click the Error Alert tab. Verify that the Show error alert after invalid data is entered box is selected. Use Stop for the Style to prohibit an invalid entry. Click the Title box and type Wait!. Click the Error message box and type Please choose from the list. Click OK. Display the Developer tab and the Compare and Merge Workbooks button. Select the Options command [File tab] and click Customize Ribbon in the left pane. Select the Developer box in the Main Tabs group. Click Quick Access Toolbar in the left pane. Choose All Commands from the Choose commands from list. Click Compare and Merge Workbooks in the commands list. Click Add and click OK. Insert a check box form control. Click the View tab and check the Gridlines box in the Show group to draw and position controls with gridlines visible. Click the Insert Controls button [Developer tab, Controls group] and click the Check Box (Form Control) button. Draw a control directly over cell B15. page E7-476Click the Properties button [Developer tab, Controls group]. Verify that the Unchecked radio button is selected on the Control tab. Select the 3-D shading box. Click the Protection tab and deselect the Locked box. Click OK. Click two times near the word “Check” with the control to place an insertion point. Delete Check Box 1, press Spacebar, and type Yes Click cell E15 to deselect the control. If you accidentally placed a check mark within the control, point and click to remove it. Copy a check box form control. Point to the check box control label Yes and right-click. Choose Copy from the menu and then press Ctrl+V to paste the control. Point to any border of the copied control to display a move pointer. Drag the copy to cell C15. Press Ctrl and right-click while pointing to the first check box control to select both controls (Figure 7-65).7-65 Two controls selected Click the Align button [Drawing Tools Format tab, Arrange group] and choose Align Middle. Select cell E15 to deselect both controls. Right-click the copied control and choose Edit Text to place an insertion point. Delete Yes and type No (Figure 7-66).7-66 Controls are aligned Select cell E15. Remove check marks that were accidentally entered. Protect the worksheet and the workbook structure. Select D7. Press Ctrl and select cell D9, cells B11:D13, cell B17, and cells A20:D28. Click the Format button [Home tab, Cells group]. Select Lock Cell to remove the Locked property. Click cell D7. Click the Protect Sheet button [Review tab, Changes group]. Allow the options to select locked and unlocked cells. Do not use a password. Click OK. Click the Protect Workbook button [Review tab, Changes group]. Do not use a password and click OK. Save and close the template. Create a workbook from a template. Click the New button [File tab] and click PERSONAL near the top of the gallery. Click [your initials] Excel 7-2Template to create a workbook. Type BLS00120 in cell D7 and press Tab. page E7-477Type =to in cell D9, press Tab to select TODAY, and press Enter. Type the following in cells B11:B13: Outdoor Apparel, Inc 4232 South Water Street Omaha, NE 68107 Select the check box control for Yes. Select cell B17, click the data validation arrow, and choose Apparel. Save the workbook as an Excel workbook named [your initials] Excel 7-2User1 in your usual location for saving files. Inspect the workbook. Click the File tab. You cannot inspect a worksheet that is protected. Click Unprotect in the Protect Workbook area  Click the Check for Issues button and choose Inspect Document. Choose Yes to save the document before inspection. Click Inspect in the Document Inspector dialog box. Click Remove All to remove all personal information and document properties. Click Close. Check compatibility. Click the Protect Workbook button [Review group, Changes group]. In order to generate a compatibility report, the Protect Workbook property must be disabled. Click the Check for Issues button [File tab, Info group] and choose Check Compatibility. Click Copy to New Sheet. Click the Purchase Order sheet tab. Share the workbook. Click the File tab. Click Allow this information to be saved in your file in the Inspect Workbook group. This property was activated when you removed metadata; it prohibits sharing the workbook. Return to the Purchase Order sheet and click the Share Workbook button [Review tab, Changes category]. Select the Allow changes by more than one user at the same time box. Click the Advanced tab and set the Keep change history for option to 15 days. Click OK to close the Share Workbook dialog box. Click OK to resave the shared workbook. Make a copy of the shared workbook in the same folder. Click the File tab and choose Save As. Select This PC and click the More Options link. Navigate to and choose your folder and save the workbook as [your initials] Excel 7-2User2. page E7-478Type the following in cells A20:D20: Ladies Parka?LP10Blue?4?87 Save and close the workbook. Open [your initials] Excel 7-2User1 and select cell A21. In cells A21:D21, type the following: Men’s Parka?MP16Black?4?98 Save the workbook and leave it open. Merge copies of the shared workbook. Click the Compare and Merge Workbooks button. (Save the file if prompted.) Navigate to the folder with [your initials] Excel 7-2User2 in the Select Files to Merge Into Current Workbook dialog box. Select [your initials] Excel 7-2User2 and click OK. Accept or reject changes. Click the Track Changes button [Review tab, Changes group] and choose Accept/Reject Changes. Verify that Not yet reviewed displays as the When option. Click OK. The first edit is cell A21. Click Accept to locate the next edit. Click Accept All and then press Ctrl+Home. Save the workbook as [your initials] Excel 7-2Merged in your folder and close it    Move the template from the default folder. Click the File tab, select Open, and click Browse. Expand the Quick access list in the left pane and select Documents. Double-click Custom Office Templates. Right-click [your initials] Excel 7-2Template and choose Cut. In the left pane, navigate to and select the folder for saving files. Right-click an unused area of the dialog box and choose Paste. Click Cancel to close the dialog box. Remove the Compare and Merge Workbooks button and the Developer tab. Select the Options command [File tab] and click Quick Access Toolbar in the left pane. Click Compare and Merge Workbooks in the list on the right. Click Remove. Click Customize Ribbon in the left pane. Deselect the Developer box in the Main Tabs group and click OK.

READ MORE >>

Instead of assigning a traditional exam for your “Final Exam”,  you will de ...

Instead of assigning a traditional exam for your “Final Exam”,  you will demonstrate your understanding of the importance of the final  two phases of the Data Analytics Lifecycle: Communicating the Results  and Operationalizing. You have studied various analytic methods, along  with surveying various available tools and techniques. But as a Data  Scientist, you must also communicate what your team has accomplished. For your Final “Exam”, you will create a Final Sponsor  Presentation. You have been hired by Aetna to use big data to improve  patient health. The case study you will use can be found at: https://gigaom.com/2012/11/20/how-aetna-is-using-big-data-to-improve-patient-health/ . Your assignment is to take this case study and create a  PowerPoint Presentation of the Final Sponsor Presentation, as described  in Chapter 12 of your text. (Make sure to use the format presented in  Chapter 12.)   You will submit a PowerPoint Presentation file (ppt or pptx) with  at least the following slides: (You can submit more, but I'm mainly  looking for these six slides)   Title (Your name + other info) Situation and Project Goals Executive Summary Approach Method Description Recommendations Note: There is no direct information in the case study that  covers the specific analytics methods used. You will extrapolate from  the provided information in the case study and provide your own  interpretation of the method (or methods) the Data Science team used.  Draw from what we have covered this semester and map what you learned to  what that team probably did. There is no rubric for this assignment. I  want you to be as creative as possible. Tell the story. Inspire your  sponsors.      

READ MORE >>

Explain the difference between how fork() and vfork() UNIX system calls calls wo ...

Explain the difference between how fork() and vfork() UNIX system calls calls work, from Virtual memory management prospective. i.e., explain how the way these system calls work affects how the memory management system deals with them. (relevant to Section  9.1-3) Assume the following page reference sequence. (1, 2, 3, 5, 6, 2, 3, 4, 5, 6, 1, 2, 1, 6, 7). Calculate the number of page faults as well as the content of the memory frames at the end of the references for the following 6 cases (scenarios): the memory system contains 1, 2, 3, 4, 5, or 6 frames. Draw curve that show Number of Frames on the X axis and number of page faults on the Y axis. Show your work in a separate page of paper? (relevant to Section  9.4)                                                                                                               Please i need the solutions the whole i want you show the work as it says in the questions. and i need the aswers from the book as it says in the book and same definition. the work i want it looks like student's work, looks like the student did it. if need the book i got copy if want email the pages sure.

READ MORE >>
QUICK ORDER

Place a Quick Order

Our verified writers got you covered. Let us help you balance between studies, work, and family.

We provide our assistance to the numerous clients looking for a professional writing service.

Order Now
Designed and developed by Brian Mubichi (mubix)
WhatsApp