Programming Skills Test Assignment

Assignment Help Other Subject
Reference no: EM132479461

Programming Skills Test Assignment -

1. Introduction - With the programming skills test, we will assess your knowledge and experience in the environments that you will work in: C#, .NET and Microsoft SQL Server.

You can do these tests at home and use any references you like to complete them. Rather than testing your memory and book knowledge, we will confront you with programming challenges that are representative of the kind of work you will encounter when working for Outperform.

The tests are divided into two sections.

i. C# programming

ii. SQL modeling and programming

2 C# Questions - This section contains three C# related questions.

2.1 Mail Merge

Objective: Write a mail merge method that takes a template text file, substitutes specially marked up text blocks with data entries from an XML file and writes files with substituted text to an output directory. You are free to include other private implementation methods as needed.

2.2 Sparse Arrays

A sparse array is an array with a lot of elements, most of which have the same value (usually zero). Such an array might have millions of logical elements but only a few hundred that are non-zero.

Objective: Implement a class for sparse arrays of double precision numbers that is optimal in memory requirements as well as in the performance of its methods.

Constructors:

Constructors take the length of the array as an argument and uses 0 as the default value.

Constructor that takes length and a default value.

Properties:

Length: Get the logical length of the array

Indexed properties to get and set the element values.

Methods:

Sum(): returns the logical sum of values;

Average(): returns the logical average of values;

Sort(): sorts the elements of the array in ascending order.

Reverse(): Turns the array upside down. Applying Sort() and then Reverse() is the same as sorting in descending order.

Operators:

Vector addition, such that (a+b)[i] == a[i] + b[i]. Include checks and exceptions for arrays that don't fit each other.

Scalar multiplication by double number, such that (a*x)[i] == a[i] * x.

Include its symmetric counterpart.

3. SQL Questions - This section contains four SQL questions, related to a single use case: A company sells computers on line to end customers. These computers consist of a base model that can be customized with specific parts, such as a faster hard disk, CPU or video controller. Parts may fit into several but not all base models.

An order placed by a customer consists of one or more items; each item has one base model with zero or more custom parts.

3.1 Data Model

Describe a data model for this domain with customers, base models, parts, sales orders and items. Provide each entity with a minimal set of attributes that you would expect in such a model. (See follow-up questions for hints.) You can describe this model in text form or in a diagram. In the latter case, submit your diagram as PNG, JPEG or GIF image.

3.2 Tables and constraints

Provide an implementation of the data model in the form of SQL DDL statements. Include primary and foreign key constraints as well as constraints like "an order item may only contain parts that fit in its base model", using the most appropriate DDL constructions.

3.3 Total Recall

The company detects that a particular part has a defect and decides to replace that part for free for all customers that recently ordered a model with that custom part.

Write a SQL query that returns a list of all customers that placed such an order in the past three months, with their name and address and for each customer; the number of items ordered with that part; and the total sales price for those items (including the price of the base model, the defective part and any other custom parts).

3.4 Loyalty Bonus

The company decides to reimburse a purchased item to their most loyal customers every month.

Write a SQL query that lists, for each month of the past twelve months, the customer who ordered the most that month (in amount of money spent); together with the order and item number of the cheapest item they bought that month.

Attachment:- Programming Skills Test Assignment File.rar

Reference no: EM132479461

Questions Cloud

Confidence interval estimate of the mean amount : A food safety guideline is that the mercury in fish should be below 1 part per million? (ppm). Listed below are the amounts of mercury? (ppm) found in tuna sush
What is the standard deviation of x : The random variable X is a binomial random variable with n=10 and p=0.3. What is the standard deviation of X? Round your answer to two decimal places.
Develop relevant artifacts including business requirements : Develop relevant artifacts including business requirements (BRD), use cases, process flow diagrams, target operating models to effectively rationalize business.
What is the financial advantage processing one t-bone steak : What is the financial advantage (disadvantage) of further processing one T-bone steak into filet mignon and New York cut steaks?
Programming Skills Test Assignment : Programming Skills Test Assignment - Write a mail merge method that takes a template text file, substitutes specially marked up text blocks with data entries
Should andretti close the plant for two months : How much total fixed cost will the company avoid if it closes the plant for two months? Should Andretti close the plant for two months?
Describe distinct uses for a file sharing server : Find and describe 2 distinct uses for a File Sharing Server which uses the sharing protocol named NFS (at least one of these must be a use specifically.
Explain the family members of nosql database : List and explain the family members of NoSQL database? Why is NoSQL an ideal database type for Big Data Analytics? Provide examples.
Explain how the case impacted ediscovery : Use Internet research to find a legal case about eDiscovery (other than Zubulake v. UBS Warburg). In your own words, summarize the case.

Reviews

len2479461

3/26/2020 12:05:00 AM

3 tasks: First 2 tasks need to be written in C sharp WITH UNIT TESTS. The code needs to compile in VS .NET Core Environment 2019. I need clean code for steps are well explained. Also not bad coding practices. I need clean code with good practices. 3) last Tasks needs to be carried out in MS SQL Server environment. Its DB Modelling and two queries against the DB that he/she will be creating. Also, the DB needs to be populated with data so that we can test the sql queries. Deadline is 26 midnight but if he needs Friday too then that's ok. Kindly note, that I need a good job on this one. I'm a software engineer myself and this is an interview coding exercise and I have ZERO time in doing that.

Write a Review

Other Subject Questions & Answers

  Determine submarine''s course-speed to prepare for aircraft

Two surface ships on maneuvers are trying to determine a submarine's course and speed to prepare for an aircraft intercept. Ship A is located at (4,0,0), whereas ship b is located at (0,5,0). All coordinates are given in thousands of feet.

  What aspects are most relevant to your own specialization

Reflecting on what you have learned about lifespan development theories and research in early and middle childhood, identify what aspects are most relevant.

  What is the purpose of the exclusionary rule

Does the rule deter law enforcement from conducting illegal searches and searches in violation of the U.S. Constitution and the Fourth Amendment?

  Why do many people seem to have negative feelings

Why do many people seem to have negative feelings toward elders? What do you think that they fear when interacting with or touching older people?

  An important public health problem

What disparities do we know exist for this disease? Why do these disparities exist? What explanations have been offered or supported?

  The concept of tying performance to organizational goals

What are the advantages and disadvantages of individual versus group-level performance recognition?

  Describe the ten commandments based on the article

Review: Review Exodus 20. Then, as a class, you will read and report on your findings on each of the Ten Commandments based on the article.

  What has been going on in the middle-east in recent years

What has been going on in the middle-east in recent years? -- What has been the nature of the controversy in Egypt, Libya, and Syria?

  Creating professional development session on educational law

This week you will create a detailed outline that will serve as the foundation of your assignment in Week 6. In the final week of this course you will use.

  Discuss the internal company dynamics associated with change

Identify a company who is either adding to their product line, reducing their company size or making changes in their executive management.

  Analyze how your hospital will follow the requirements

Read the Patient Safety and Quality Improvement Act of 2005, and review the information on the Measures web page of The Joint Commission website.

  What had the greatest effect on you

Write a 350- to 700-word summary of what you learned this week. Reflect on the following questions: What ideas, readings, discussions, or activities stood out to you? Why? What had the greatest effect on you? What were you surprised about?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd