Country Code

A company wants to contact each of its customers regarding the policy changes. They have international customers, but their database does not…

Python: Shape Classes with Area Method

Implement two classes: Rectangle: The constructor for Rectangle must take two arguments that denote the lengths of the rectangle’s sides. The class…

CSS Multiple Choices

1. CSS Animation Which of the following would create the below animation? Moving the mouse over the div should double its size, and…

Javascript: Employee Inheritance

The goal of this problem is to use prototypal inheritance in Javascript. Implement inheritance as described below- Create a function Employee that takes a…

JavaScript: User Transactions

Implement a function getNumTransactions(). It takes a username and it returns either the number of transactions associated with username, or a string “Username Not Found” if no…

JavaScript: Data Finder

Implement the function dataFinder such that: it takes a single argument data, an array of integers. it returns a new function that is called find. find takes 3 arguments: minRange…

JavaScript: Country Codes

In this challenge, the given REST API contains information about countries. Given a two-letter unique country code, the task is to use…

5 Multiple Choices of Java

1. The Adder Class There are different kinds of calculators which are available in the market for different purposes. Sam wants to…

Maximum Cost of Laptop Count

A company manufactures a fixed number of laptops every day. However, if some defect is encountered during the testing of a laptop,…

R: Calculate the Average Temperature in Cities by Dates

Given the data set of temperatures of different cities and their timestamps, report the average temperature of the cities per day. More…