Programming Homework Help

Programming Homework Help. Cascading Style Sheets HTML Project

 

(Cascading Style Sheets Part 2)

Complete the following exercises. Save the solution to each question as a separate file. Before submitting, archive all the files together into one zip file/folder and name this file using the following convention. lastname_firstname_css2.zip so for example, mine would be

hammad_eman_css2.zip

Here is the assignment.

Complete the following exercises from the Deitel textbook (5th edition):

Chapter 5
Exercises 5.7, 5.9, 5.12, 5.14

Programming Homework Help

Programming Homework Help

Programming Homework Help. ENTD200 B001 American Public University System Wk 6 Python Problem

 

I’m trying to study for my Python course and I need some help to understand this question.

You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this www.python.org

You will code the following and submit it in one file. Use the information in the Content area for this week to assist you. Save it as a python file (.py) and upload it into the Assignments area.

1. Include comment block on line1 of your code with the following information:

“””

Your Name

Course Name, Section (example: ENTD200 B002 Spr18)

Instructor name

Week #

Date completed

“””

2. Create a Python programs based on week 6 flowchart and requirements. You must use loops, do not use function call

Sample output of the list should be something like this

Get the supermarket name —> Apus food store

Get item –> Keto bites

more items (y/n) y

Get item –> Coconut drink

more items (y/n) n

Item 1 is keto bites

Item 2 is Coconut drink

Now, let’s say the list has [“Keto bites”, “Coconut drink”]

What is your name (Shopper name) –> Sambaz <<< must be hardcoded with your name

What is the supermarket name –> Apus food store <<< must be hardcoded with your supermarket name

Shopping date –> 12/12/2021 <<< must be hardcoded with assignment due date

Enter price for Keto bites –> 3.50

Enter Quantity for keto bites –> 2

Total For Keto bites = 7

Do you want another calculation? (y/n) y

Enter price for Coconut drink –> 1.50

Enter Quantity for Coconut drink –> 2

Total For Coconut drink = 3

Do you want another calculation ? (y/n) n

What type of commute did you use –> taxi

How much the cost –> 5.00

Expense report for Sambaz

Apus food store

12/12/2021

Item Price Qty Total

Keto bites 3.5 2 7.0

Coconut drink 1.5 2 3.0

Commute expenses 5.0

Total 15.0

Thanks for the expense calculator

You need to submit the output of your code (results of code run and not the code itself). I will accept an image or text.

The filename should be week8_{yourlastName}.py

Programming Homework Help

Programming Homework Help

Programming Homework Help. Southern New Hampshire C Programming Unit Testing with Google Test Question

 

// Uncomment the next line to use precompiled headers

#include "pch.h"
// uncomment the next line if you do not use precompiled headers
//#include "gtest/gtest.h"
//
// the global test environment setup and tear down
// you should not need to change anything here
class Environment : public ::testing::Environment
{
public:
  ~Environment() override {}

  // Override this to define how to set up the environment.
  void SetUp() override
  {
    //  initialize random seed
    srand(time(nullptr));
  }

  // Override this to define how to tear down the environment.
  void TearDown() override {}
};

// create our test class to house shared data between tests
// you should not need to change anything here
class CollectionTest : public ::testing::Test
{
protected:
  // create a smart point to hold our collection
  std::unique_ptr<std::vector<int>> collection;

  void SetUp() override
  { // create a new collection to be used in the test
    collection.reset( new std::vector<int>);
  }

  void TearDown() override
  { //  erase all elements in the collection, if any remain
    collection->clear();
    // free the pointer
    collection.reset(nullptr);
  }

  // helper function to add random values from 0 to 99 count times to the collection
  void add_entries(int count)
  {
    assert(count > 0);
    for (auto i = 0; i < count; ++i)
      collection->push_back(rand() % 100);
  }
};

// When should you use the EXPECT_xxx or ASSERT_xxx macros?
// Use ASSERT when failure should terminate processing, such as the reason for the test case.
// Use EXPECT when failure should notify, but processing should continue

// Test that a collection is empty when created.
// Prior to calling this (and all other TEST_F defined methods),
//  CollectionTest::StartUp is called.
// Following this method (and all other TEST_F defined methods),
//  CollectionTest::TearDown is called
TEST_F(CollectionTest, CollectionSmartPointerIsNotNull)
{
  // is the collection created
  ASSERT_TRUE(collection);

  // if empty, the size must be 0
  ASSERT_NE(collection.get(), nullptr);
}

// Test that a collection is empty when created.
TEST_F(CollectionTest, IsEmptyOnCreate)
{
  // is the collection empty?
  ASSERT_TRUE(collection->empty());

  // if empty, the size must be 0
  ASSERT_EQ(collection->size(), 0);
}

/* Comment this test out to prevent the test from running
 * Uncomment this test to see a failure in the test explorer */
TEST_F(CollectionTest, AlwaysFail)
{
  FAIL();
}

// TODO: Create a test to verify adding a single value to an empty collection
TEST_F(CollectionTest, CanAddToEmptyVector)
{
  // is the collection empty?
  // if empty, the size must be 0

  add_entries(1);

  // is the collection still empty?
  // if not empty, what must the size be?
}

// TODO: Create a test to verify adding five values to collection
TEST_F(CollectionTest, CanAddFiveValuesToVector)
{
  add_entries(5);
}

// TODO: Create a test to verify that max size is greater than or equal to size for 0, 1, 5, 10 entries

// TODO: Create a test to verify that capacity is greater than or equal to size for 0, 1, 5, 10 entries

// TODO: Create a test to verify resizing increases the collection

// TODO: Create a test to verify resizing decreases the collection

// TODO: Create a test to verify resizing decreases the collection to zero

// TODO: Create a test to verify clear erases the collection

// TODO: Create a test to verify erase(begin,end) erases the collection

// TODO: Create a test to verify reserve increases the capacity but not the size of the collection

// TODO: Create a test to verify the std::out_of_range exception is thrown when calling at() with an index out of bounds
// NOTE: This is a negative test

// TODO: Create 2 unit tests of your own to test something on the collection - do 1 positive & 1 negative

Programming Homework Help

Programming Homework Help

Programming Homework Help. California University Big data analytics with R exercise Questions on a RMD File

 

  1. What does it mean to “calculate a statistic of interest for each level of a factor”?
  2. What does the read.table.ffdf() function do to enable R to work with large data sets? Describe the resulting data structure
  3. Compare read.table() with read.table.ffdf() in terms of speed, size of output, usage of ram
  4. Errata:
      • be sure to set your temp dir inside your working director and identify it for R with the options() function.
      • if your R can’t find any functions that end in .ffdf, prepend those functions with ff::: like so ff:::dimnames.ffdf()
  5. Calculate the mean departure delay for each city of origin.

Since study pool does not allow to add csv the files to work on this and code are found here: https://github.com/PacktPublishing/Big-Data-Analyt…

Select the airline_id CSV and flights_sep_oct15.zip from the link above, I cannot just copy-paste the code as given in the text since it will show 100% copied. https://github.com/PacktPublishing/Big-Data-Analyt…

Work your magic and answer all the questions above.

Please note a previous tutor without asking anything cancelled this request stating “Student did not send necessary information for me to complete the answer.” While I had written the same thing with all the necessary. So do not request more days other than the requirement. This is a simple exercise and let me know if you have any questions. Thank you!

Programming Homework Help

Programming Homework Help

Programming Homework Help. COP 3337 Florida International University Programming Netbeans Project 1

 

I need help with the attached computer programming assignment. I’m so lost in this class already! I will attach the zip file after you reply as it would not upload in the initial screen. Thank you so much! Instructions below and SPECIFIC instructions attached. Thank you!

This is your Programming Assignment 1 . When you have completed the assignment please ZIP you ENTIRE Netbeans project and upload it using the assignment upload link. Note, you must upload the entire Netbeans project in a zipped file; because, I check all your code to see if it runs. Remember that you must upload the assignment before it’s due date to get credit. Otherwise, you will receive a zero for the assignment grade.

The project instructions can be found here:

Actions

Netbeans Project 1 shell project (download this file and unzip it): COP3337-Project1-ClassCode.zip download

Super Important:

Do not copy someone’s code. You may be randomly selected to explain your code. If you cannot explain your code, you will get a zero for the project grade. If you are stuck please ask me. I will gladly help you. Remember the goal is to learn.

Important:

Do not copy someone’s code. You may be randomly selected to explain your code. If you cannot explain your code, you will get a zero for the project grade. If you are stuck please ask me. I will gladly help you. Remember the goal is to learn.

Uploads – Important

If you upload not your entire Netbeans project you will get a zero. If this is the case and you reload your project after you got a zero 20% will be automatically taken off you grade. So please make sure you are uploading the correct files.

Programming Homework Help

Programming Homework Help

Programming Homework Help. Computing and Printing the Average of The Numbers in A Text File Program

 

I need support with this Python question so I can learn better.

Write a program that computes and prints the average of the numbers in a text file. You should make use of two higher-order functions to simplify the design. Ask the user for the name of the .txt file that contains the list of numbers.

Programming Homework Help

Programming Homework Help

Programming Homework Help. NYU Java Script Program Array and Loop Question

 

Script 1: create a JavaScript program that defines, as an array, a list of 10 of your favorite things.

Then, using any loop that you wish (i.e. for, forEach, do/while, etc) print each item from the array to the console.

Script 2: with the same script, add an if statement to test if you are on item #3, if so, print out “Wonderful, made it to item 3!”, and then continue with the loop as normal.

Programming Homework Help