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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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