Programming Homework Help

Programming Homework Help. BIS 344 Indiana Wesleyan University Visual Basic Net Programming Project

 

  1. BIS-344: Visual Basic Net Programming
  2. Review the rubric to make sure you understand the criteria for earning your grade.
  3. 1.2 Assignment including “Your First Program” must be completed prior to attempting this assignment.
    1. One should also confirm the submission file has been created correctly.
  4. Read Chapter 2 in Introduction to Programming Using Visual Basic (11 Edition).
    1. Review section comments for summaries of key points.
  5. Complete programming exercises selected from Exercises 2.3 in the textbook.
    1. Per general requirement, provide a meaningful name for each exercise project.
    2. Exercises 35 and 37.
      1. Each exercise is a separate Visual Studio project. Start with New Project dialog.
      2. Complete the form visual layout based upon provided form and form control properties.
      3. Create Visual Basic code to address the requirements and behavior specified.
      4. Run and test to assure full compliance with the requirements.
    3. Exercise 40
      1. Start with New Project dialog.
      2. Create the form.
      3. Create Visual Basic code to address the requirements and behavior specified.
      4. Include a detailed comment responding to the question “How can one manage Tab Order beyond following the Hint provided in Exercise 40?” Include a textbook reference.
      5. Run and test to assure full compliance with the requirements.
  6. Create submission zip archive.
    1. Make a new folder including student name—“WorkshopOne LastNameFirstName” as in “WorkshopOne JenningsBartikJean”.
    2. Copy each exercise project folder to the submission folder.
    3. Create zip archive of the submission folder. In Windows Explorer, right click folder name, select “Send to” and “Compressed (zipped) folder.” Full details provided in 1.2 Assignment.

Programming Homework Help

Programming Homework Help

Programming Homework Help. Montana State University Bozeman C Programing Computer Science Task

 

A network address is made up of 4 sections – each an integer from 0-255. Each section is separated by a period (.) when shown to the user. Depending on the class of the address, one or more sections identify the network and one or more sections identify the host within the network. For an IP addresses from Class A, the first 8 bits (the first number) represent the network part, while the remaining 24 bits (last 3 numbers) represent the host part. For Class B, the first 16 bits (the first two numbers) represent the network part, while the remaining 16 bits (last 2 numbers) represent the host part. For Class C, the first 24 bits represent the network part (the first 3 numbers), while the remaining 8 bits (the last number) represent the host part. To idenfity which class a network is, we can look at the first number.

  • A: 0-127
  • B: 128-191
  • C: 192-223
  • D: 224-239
  • E: 240-255

For this assignment, you will read in a file of network addresses (using scanf and file redirection) and print out some statistics about the networks in the file. You should ignore Class D and Class E networks. Your program will also take in a command line argument indicating the number of network addresses to be processed.

The statistics you must compute are:

  • The number of Class A, Class B, and Class C networks
  • For each of Class A, Class B, and Class C, the network with the most hosts and the number of hosts it contains.

In order to help you develop your program, here is a rough idea of how you might structure your program.

  1. Convert the command line argument into an int. If there is no command line argument, print an error and end the program. This argument is the number of network addresses that will be in the file.
  2. Read each address into a 2 dimensional array of 4 unsigned chars. The size of the first array dimension is the command line argument. (Note: you can use the int data type instead, but you will lose 5 points. If you feel more comfortable with int, you could write your program with int first and change it to unsigned char after it is working.)
  3. Sort the array. (You will need to implement a sorting algorithm of your choice.)
  4. Use the sorted array to compute the information you need.

Sample input and output

There are a number of sample input files in the /public/pgm1 directory.

Here is what your output should look like when you run your program on the inp17.txt, inp2000.txt, inp5000.txt, and inp8000.txt sample files.

<code>[program1]$ ./pg1 17 < inp17.txt 
Class A has 5 networks
Largest A network is 106 with 3 hosts
Class B has 5 networks
Largest B network is 137.249 with 2 hosts
Class C has 2 networks
Largest C network is 215.116.26 with 2 hosts
[program1]$ ./pg1 2000 < inp2000.txt 
Class A has 128 networks
Largest A network is 38 with 16 hosts
Class B has 484 networks
Largest B network is 129.74 with 2 hosts
Class C has 256 networks
All C networks have only 1 host
[program1]$ ./pg1 5000 < inp5000.txt 
Class A has 128 networks
Largest A network is 95 with 35 hosts
Class B has 1234 networks
Largest B network is 144.40 with 3 hosts
Class C has 640 networks
All C networks have only 1 host
[program1]$ ./pg1 8000 < inp8000.txt 
Class A has 128 networks
Largest A network is 106 with 50 hosts
Class B has 1961 networks
Largest B network is 141.175 with 4 hosts
Class C has 987 networks
Largest C network is 216.24.49 with 2 hosts

</code>

input files

inp10.txt, inp17.txt, inp2000.txt, inp500.txt, inp800.txt.i

inpa.txt

64.113.134.35

102.130.129.146

81.162.78.0

19.204.25.222

106.61.236.67

106.71.236.60

106.81.240.63

inpb.txt

168.12.110.25

137.249.183.201

168.14.111.27

168.17.111.27

137.249.111.202

137.246.111.202

inpc.txt

217.158.91.183

215.116.26.223

245.124.138.157

215.116.26.220

Hints

  • If you prefer, you can write your entire program in one single file and just separate it into four different files before you turn it in.
  • Print an unsigned char using the placeholder %hhu.
  • Start early!

Requirements

  • Write your program in a file called program1.c in your csci112-firstname-lastname/programs/program1/ directory.
  • You must use at least three functions in addition to main. Each should be stored in a separate file. (If you use more than four total functions, you can use four or more files.)
  • Since the network addresses are made up of integers between 0 and 255, use the unsigned char data type to store them instead of int. This way, they only take 1 byte (8 bits) instead of 4 bytes, meaning that your program will take only a quarter of the memory.
  • You must use a makefile to compile and link your separate files.
  • You may not use global variables.
  • Your output formatting must match the example. Use a tool like diffchecker to compare your output with the sample output. Don’t worry about trailing spaces.
  • comments explaining what your program does
  • code is indented so that it is readable
  • there are no global variables
  • compiles successfully with -Wall – no warnings
  • successfully reads in and uses a command line parameter
  • has error msg if no command line parameter
  • reads all input into a 2 dimensional array of size command line number x 4
  • the array is of unsigned char data type
  • compiles and links with makefile
  • four functions are stored in different files
  • computes the number of networks for class A, B, C correctly.
  • identifies the largest networks for class A, B, C correctly, prints the largest network, and prints the correct largest count
  • sorts addresses in order to count them
  • correctly implements a sorting algorithm

Programming Homework Help

Programming Homework Help

Programming Homework Help. University of California Floating Point Value Python Programming Solved Practice

 

2.1.2: Prompt user for input and then print that input as a string, an integer, and a floating‐point
value. What data types can be input that will print without generating any errors?
Answer this question at the end of your code by using a docscring comment.

2.1.3: Write a Python program that asks the user to enter an integer (n) and computes the value of
n+n*n+n*n*n+n*n*n*n = ?. The program must then print the formula, replacing the ‘n’
variables with the user input, and the ? with the calculation results. Numbers greater than
1,000 must have a comma separator. Print using a formatted string or the format function.
Example Output:
Please enter an integer: 5
5 + 5 * 5 + 5 * 5 * 5 + 5 * 5 * 5 * 5 = 780

2.1.4: One way to determine whether an integer is even or odd is to divide the number by two and
check the remainder. Write a three‐line program that (1) prompts for a number, (2)
converts the input to an integer and (3) prints the number 0 if the user input is even and the
number 1 if the user input is odd

2.1.5: Body Mass Index (BMI) is a number calculated from a person’s weight and height.
The metric formula for BMI is: weight / height2
where weight is in kilograms and height is in meters.
Write a program that:
a. clearly prompts user for weight and height in one input
b. performs BMI calculation
c. prints BMI calculation with an appropriate description
Example Output:
Enter Weight in kilograms and Height in meters (separated by a space): 110.2 1.83
Body Mass Index (BMI) for Weight 110.2 and Height 1.83: 32.91

2.2.6: Using a ‘for loop’ , write a program that calculated and prints all the leap years from 1899 to
2021. Make sure that you understand the rules for determining a leap year and use the
modulo operator to manually calculate leap years. Do not use the calendar library.
Then perform this calculation a second time using a ‘while loop’.
For each looping method, print all the year results on one comma separated line.

2.2.7: Rewrite this following ‘for loop’ as a ‘while loop’ and create a working program:
(Note that X is upper case because it is defined as a constant)

X = 10

for i in range(1, X + 1):

if X % i == 0:

print(i)

Programming Homework Help

Programming Homework Help

Programming Homework Help. SWE 481 Colorado Technical University Customer Data Platform System Project

 

One of the first major tasks in the software development process is to develop the requirements. Requirements analysis and documentation is an area that seldom receives adequate attention, but it is potentially the most important step in a successful software development project.

For this assignment, you will identify the requirements for the project you selected in the first week. You will also perform a requirements analysis to help solidify the requirements and prepare the path for the design of the software. Finally, you will prepare the design based on the requirements.

The following are the project deliverables:

  • Update the software development plan document title page with a new date and project name.
  • Update the previously completed sections based on your instructor’s feedback.
  • Add the following new content:
    • Requirements:
      • Describe the approach that you will take to gather the requirements for the project.
      • Work through the steps in your requirements gathering process, and define the requirements for your project. Be sure to provide a sufficient number of high-level requirements (at least 10) to allow design of the application to proceed.
      • Describe the requirements elicitation process used and whether each requirement is functional or nonfunctional.
      • Requirements should be stated in measurable terms. At a minimum, the requirements should each include a description, rationale, measurement criterion, and priority.
      • Include an analysis of your requirements to ensure that the most important requirements are included, and summarize your conclusions.
    • Design:
      • Describe the overall architecture of your application.
      • Identify each of the major components of the application, and describe how they will work together. A component diagram should be used to illustrate the architecture, and a UML class diagram should be provided to show the class hierarchy and relationships for the application.
      • Provide at least 1 use case for each component to demonstrate how the component will be used in the application.
      • Prepare a visual design for the main screen of your application.
      • Address any data management requirements in your design.
  • Be sure to update your table of contents before submission.
  • Name the document yourname_SWE481_IP2.doc.
  • Submit the document for grading.
  • After the assignment has been graded, share your document with your team through the team area in the classroom. Your team should decide whether documents will be shared through the Discussion Board or the file uploads in the team area.

Please submit your assignment.

Programming Homework Help

Programming Homework Help

Programming Homework Help. Rutgers Debug the Code

 

db6-1. Fix the errors on the attached debug exercise 6-1. There could be syntax and logic errors. You want to check the validity of an inputted code. Pay particular attention to the array and the for loops. Save as db61.java, attach your completed file and submit.

/* d61.java

program accepts shipping codes (uppercase or lowercase)
and determines validity
*/
public class d61
{
	public static void main(String[] args) throws Exception
	{
		int i;
		boolean found = 0;
		char letter;
		char[] okaycodes = {A, C, T, H};
		System.out.printf("A - airnC - carnT - trucknH - hand delivern");
		System.out.printf("Enter shipping code:  ");
		letter = (char)System.in.read();
		for(i = 0; i < 5; i++)
		{
 			if(letter == okaycodes)
 			{
		      	System.out.println("Good code");
		      	found;
			}
	    	else
				System.out.println("Code not found");
		}
		if (!found)
   			System.out.println("Code not found");
	}
}

Programming Homework Help

Programming Homework Help

Programming Homework Help. Software Development Question

 

Now that your individual app idea has been approved and somewhat planned, you will start to visualize the UI and UX of the app. In your canvas you should have articulated which models, views and controllers may be utilized. For this milestone, you must visualize your individual app through a sample storyboard wireframe in Xcode. This should show the utilization of 2 – 5 features as well as so the proper control flows going between screens.

Programming Homework Help

Programming Homework Help

Programming Homework Help. Bitcoin Miner Simulation Mining & Receiving Transactions Simple C Programming Exercise

 

Write a program that simulates a bitcoin miner. Your program must be compiled to an executable called
miner. The program will read in a sequence of four kinds of events

(i) mine a block (mine),

(ii) receive a
transaction and add it to the mempool (transaction),

iii) receive a block that was mined by another miner
(block), and

(iv) end the simulation (end). For each of these events your program will need to perform a
specific action as described below. These events correspond to actual events experienced by a real miner.
For example, the transaction and block events correspond to the miner receiving transactions and blocks
from the peer-to-peer network, and the mine event corresponds to the miner deciding to begin the creation of a new block.
On a mine event, your program must
1. select transactions from its mempool in the order that the transactions were added
2. create a new block from the selected transactions
3. remove the selected transactions from the mempool
4. print out the created block On a transaction event, your program must
1. decode the transaction in the event
2. add the transaction to the mempool
3. print out the transaction
On a block event, your program must
1. decode the block. In the event
2. remove any transactions in the mempool that were listed in the block
3. print out the removed transactions in the order they were listed in the block
On an end event, your program must
1. exit
Note: the simulator will focus on the high-level operations. It will not need to perform any cryptographic
functions or verify the correctness of a block or transaction

Programming Homework Help

Programming Homework Help

Programming Homework Help. Northern Virginia Community College Converting Access Jet Schemas to MySQL iTD256 Exercise

 

In this assignment, you will be creating the DDL SQL code (create database + create table statements) to re-create the Access schema (Jet DB engine, file-based) in your MySQL RDS instance.

This assignment is FOR A GRADE based on ACCURACY. I will not be able to give you hints or substantial help on this, so do your best and submit your code before the due date. The good news is that you can actually RUN your code to see if it works. If you don’t do that, then expect to lose points on syntax errors at minimum. Don’t just make this up…

  1. Download the following Access file (DO NOT USE ANY OTHER FILE): AnnandaleCupcakes_v03.accdb download
  2. Using the Access design view for the tables, go through every table and write the equivalent SQL DDL code to create that table in MySQL.
    1. You will need to choose the correct data types and constraints, since Access (Jet) data types are different from MySQL data types (e.g. there is no “Short Text” in MySQL, but varchar(50) would be an example equivalent). Below is a chart of equivalent data types. Also remember to use auto_increment and primary key constraints on the PK.
      • Access-MySQL Data Type Equivalents.png
  3. SUBMISSION: Simply copy your SQL DDL code and paste it into the text-only submission box. DO NOT submit a screenshot of your code or schema.
  4. Make sure to actually RUN YOUR CODE in MySQL Workbench against your GCP MySQL instance TO ENSURE THAT IT WORKS.
  5. To get you started, below is the code to create the new database schema as well as the customer table. You must complete the code for the rest of the tables (customer_note, event, payment, product, sale, and sale_item).
create database annandale_cupcakes;
use annandale_cupcakes;

create table customer (
customer_id int primary key auto_increment,
first_name varchar(50),
last_name varchar(50),
phone_number varchar(20),
email varchar(30),
street varchar(100),
city varchar(50),
state varchar(25),
zip varchar(10),
notes varchar(255),
created_at datetime,
updated_at datetime
);

Programming Homework Help