In this company where a total of 5 people work, it is requested to distribute and place a table so that there is only one person at each time interval. You are expected to write an application that will provide a 10x5 two-dimensional array of this table and a layout similar to the one below when these people are assigned. 1)Information on which days and at what intervals an employee works can be printed on the screen if requested
Q: Write a Java GUI application that will keep track of student results at a local college and save the…
A: Solution: Given, Write a Java GUI application that will keep track of student results at a…
Q: You need to create a report using the pictureFrame.txt sequential access file. The report should…
A: b. declare a StreamReader variable for the input file
Q: You need to create a class called Car that implements the Comparable interface and load the data…
A: /****************************Task2Exercise.java*****************/ import java.io.File;import…
Q: ss called 'Matrix' containing constructor that initializes the number of rows and number of columns…
A: Lets see the solution.
Q: The Superfast Car Rental company has decided to perform enhancements to the current version of their…
A: According to the question we have to write HTML code for following or to create webpage for car…
Q: Javascript createSelectOptions function The function createSelectOptions should exist. The…
A: Answer: our instruction is answer the first three function from the first question.
Q: zy 4.4. Multi-element row array inde X b My Questions | bartleby G how to screenshot on windows A…
A: Change the indexing values as follows: attendanceValues(1:3)=attendanceValues(2:1:4);…
Q: 4. In this question your task is to design the following GUI. In this GUI, you are required to enter…
A:
Q: Please help to respond to the below using the VBA Excel and the screenshot with information attached…
A: Using, user defined data type CustomerPurchase, which is made using structures in C++, we can store…
Q: Use Arrays to create a Java Program that takes in from the user the grades of a student (until…
A: The program is below implemented in java:
Q: an ndarray of shape (4, 4) whose values range from 0 to 15 Create a 6 × 6 identity matrix Create a…
A: Define module numpy needed to work with the arrays Define arr1 of shape 8,8 with the data 2.5 Define…
Q: java application that will store three different details for a local car dealership the vehicle…
A: Here, I am attaching the Java Program to the car dealership. Java Program: "CarDealership.java"…
Q: Write a Java GUI application that will keep track of a user’s contact list. The application must…
A: Actually, Java is a general-purpose also class-based, object-oriented programming language designed…
Q: In this last assignment, you will be playing with ISO-3166 content. This assignment will focus on…
A: In java, util package has various collection of frameworks, classes, event models and also the data…
Q: Your program will read in "game scores" from the user. Each score consists of a score for YOUR team…
A: The Program effectively uses the 2D arrays to strore and retrieve values from. When user enters…
Q: A C++ project must be developed for managing a banking profile of a client with different types of…
A: //Accounts.cpp#include <iostream>#include <iomanip>#include <string>#include…
Q: Create a program named student2.java This program will differ from program 1 in that it will use…
A: Given requirement, Create a program named student2.java This program will differ from program 1 in…
Q: Need a class which will contain: Student Name Student Id Student Grades (an array of 3 grades) A…
A: The answer given as below:
Q: the photo attached program should be able to sort by clicking In this assignment, you are asked to…
A: import java.util.Comparator;public class Course { // Instance variables private String code;…
Q: Write an application named CollegeList that declares an array of four “regular” CollegeEmployees,…
A: Actually, array is a collection of elements.
Q: Design a Java application that will allow a user to search for sunglasses details in stock at a…
A: An array is a collection of some kind of data type values stored in sequential memory locations…
Q: (java)Case2: A company in Oman must maintain a huge database of its customers. The maintenance…
A: The underneath code contains different strategies including twofold search,quick sort,merge sort and…
Q: re listed. In this problem, generate a struct array called astronauts. This array should cons f…
A: According to the question we have to write MATLAB Code with the moon.mat extension for following…
Q: Write a small application to maintain contact information about people. For each person in your…
A: used to create computer programs. An example program of C++ is : #include <iostream> using…
Q: Q.1.11 When the user selects to view a report, display the product report generated from the arrays…
A: The code for the above program is a menu driven code written in C++. The getter setter methods are…
Q: Write a Java application on netbeans to display the six top home fitness equipment that was sold…
A: Use 2 arrays one to store equipment data and one to store sales data
Q: For each of the exercises below, assume you are starting with the following people array. and use…
A: 1. Write the command that gives the indexOf where "Mary" is located. people.indexOf("Mary");…
Q: Javascript createSelectOptions function The function createSelectOptions should exist. The…
A: I wish undefined was a function in JavaScript.” There are four ways a function can be created in…
Q: Design a class named Location for locating a maximal value and its location in a two-dimensional…
A: The required Java code: import java.util.Scanner;class Location { // instance variable public…
Q: garage
A: Answer is in given below:-
Q: Create 10 accounts in an array with id 0, 1, ..., 9, and an initial balance of $100. The system…
A: Actually, given information; Create 10 accounts in an array with id 0, 1, ..., 9, and an initial…
Q: Here you are required to draw a bar chart of batchwise strength of Avionics Department with…
A: import matplotlib.pyplot as plt import numpy as np fig, ax = plt.subplots() Batch =…
Q: An organization is going to design a small database to store the records of students. They hire you…
A: Program approach:- Using the header file. Using the standard namespace I/O. Student structure. This…
Q: create an array of 3 Circle object references with radius = 1, 2 and 3 respectively. it should look…
A: class objectArray{ public static void main (String args[]) { circle obj[3] = new circle[3]; obj[0]…
Q: CHALLENGE 6.6.3: Arrays. АCTIVITY Jump to level 1 Assign each element in the array userVals with the…
A: CODE AND OUTPUT:
Q: The logic will allow the user to: Load a single dimensional array of size 50 with a random number…
A: Header file #include<stdlib.h> included for srand function.Char ch declared to hold ‘Y’ or ‘N’…
Q: The PHP function header() is used to ___________. a. redirect a user to a different page. b. deny…
A: We are asked a basic question on PHP function header( )
Q: [Choose] VA piece of code that requires inpt from elsewhere and returns an outp a type of variable…
A: 1) Functions are a set of instructions/program bundled together to achieve a specific outcome bases…
Q: Create a new javascript file called cart.js and make a product object for each of your products and…
A: given data Create a new javascript file called cart.js and make a product object for each of your…
Q: 1.) What is wrong in the given statement below? fmName.text = 123 Select one: a. text should be…
A: b. 123 should be “123”
Q: Build an application that shows the use of a TableView and the navigation. The app should implement…
A: According to the question, we have to Build an application that shows the use of a TableView and the…
Q: Tic Tac Toe Simulator Create a GUI application that simulates a game of tic tac toe. Figure 13-35…
A: Answer : Please find the code below: TicTacToeBoard.java package graphichal; import…
Q: Create a visitors application that prompts the user for the number of visitors each day for the past…
A: PL/SQL program for average number of visitors
Q: Commands Show/hide help * Set the Fibonacci number to calculate. n = 10; our own script - turn it…
A: Code: function fn = fib(n)if n<=2fn=1;elseF=ones(1,n);for…
Q: Challenge: How many candy types are in the array? We want to know how many candy types we have in…
A: Its just a one line function. I have written comments in the code to explain what it does.
Q: Suppose that the application requires you to model students. A student has a name and an address.…
A: 1. Create class Student 2. Add all the given data member 3. Add all the the getter and setter 4.…
Q: Need a class which will contain: Student Name Student Id Student Grades (an array of 3 grades) A…
A: Code: import java.util.Scanner; //create a class class Student { //declare attributes…
Q: Task#1 Create a class called 'Matrix' containing constructor that initializes the number of rows and…
A: In the code, class Matrix is created with number of rows, columns and array matrix. Methods…
Q: Read the following program named myArray.cpp carefully. Complete all missing code as indicated by…
A: #include <iostream>#include <cstdlib>#include <ctime>using namespace std; template…
Q: Create a js file called cart.js and make a product object for each of the products and store them in…
A: We can create cart.js by adding 2 functions. One for add to cart and other for remove from cart…
In this company where a total of 5 people work, it is requested to distribute and place a table so that there is only one person at each time interval. You are expected to write an application that will provide a 10x5 two-dimensional array of this table and a layout similar to the one below when these people are assigned.
1)Information on which days and at what intervals an employee works can be printed on the screen if requested.
Step by step
Solved in 2 steps with 2 images
- Create a contacts application that stores the names, emails and countries of up to 10 different people and allows the user to lookup an address based on its number. DELIVERABLES Required elements of application Use a multidimensional array to store each person’s name, email and country, each with their own index. Create 8 entries with the following contact details Joseph Grant, j.grant@gmail.com, Switzerland Katie Jerad, katie@jeradsolutions.com, France Reuben Drake, r.drake@gmail.com, Germany Terry Wayne, terry@wayneenterprises.com, South Africa Angela Kobin, kobin@kobincrafts.com, Indonesia Tommy Baxton, t.baxton@baxmedia.co.uk, England Diane Leonard d.leonard@gmail.com, USA Tim Folley, folley.t@yahoo.com, USA The user should be able to ask the program (using an index value) to display a listed contact Create a form that allows the user to input a new contact (update array) There should be a maximum of 10 contacts allowed Create appropriate error messages for input fields that…Usingwindos appication in Visua basic programming create a contacts application that stores the names, emails and countries of up to 10 different peopleand allows the user to lookup an address based on its number. DELIVERABLESRequired elements of applicationUse a multidimensional array to store each person’s name, email and country, each withtheir own index.Create 8 entries with the following contact details1 Joseph Grant, j.grant@gmail.com, Switzerland2 Katie Jerad, katie@jeradsolutions.com, France3 Reuben Drake, r.drake@gmail.com, Germany4 Terry Wayne, terry@wayneenterprises.com, South Africa5 Angela Kobin, kobin@kobincrafts.com, Indonesia6 Tommy Baxton, t.baxton@baxmedia.co.uk, England7 Diane Leonard d.leonard@gmail.com, USA8 Tim Folley, folley.t@yahoo.com, USAThe user should be able to ask the program (using an index value) to display a listed contactCreate a form that allows the user to input a new contact (update array)There should be a maximum of 10 contacts allowedCreate…Please help to respond to the below using the VBA Excel and the screenshot with information attached to create the excel. The file purchase 1.xlsx contains a small dataset on computer purchases. Write a program that creates a user-defined type called CustomerPurchase with an item (of the appropriate type) corresponding to each data column: Customer, Email, Cell, Date, Amount. The type definition should be defined at the beginning of the module. Write a sub called test to create an array purchase where each element of array is of type CustomerPurchase and fill this array with the data in the file. Finally, display the information about Sam Lafferty in a message box.
- You have been hired at an open-air mine. You are to write a program to control a digger. For your task, you have been given a 'map' of all the underground resources in the mine. This map comes as atwo-dimensional integer array. The array has n rows and k columns. Each integer is between zero and one hundred (inclusive). This array represents a grid map of the mine – with each row representing a different height level. Each square in the grid can contain valuable resources. The value of these resources can go from zero (no resources) to 100 (max resources). The grid maps the resources just below the surface, and down to the lowest diggable depths. The digger starts at the surface (so, just on top of the topmost row in the grid)—at any horizontal position between 1 and k. The digger cannot dig directly downwards, but it can dig diagonally in either direction, left-down, or right-down. In its first time-step, it will dig onto the first row of the grid. In its second time-step, it'll hit…Create a NetBeans project for this activity. Project Name: MP1_<lastname_firstname> Example: MP1_Blanco_Maria Compress the NetBeans project into .rar or .zip format and then upload to the link provided in the LMS. Program Specification: Use two-dimensional array with size 7 columns and 5 rows. Seat numbers are populated during run-time and not hard-coded. User is asked to input a seat number. The chosen seat number is replaced by the letter X. Program displays a remark “Seat successfully reserved” when reservation is done. The class name should be SeatReservation_<lastname>. Assessments Example: SeatReservation_Blanco Week005 – Machine Problem 1 Only NetBeans project will be accepted. Non-compliance will require resubmission. The highest score for resubmission is 50%. The user is not allowed to reserve a previously reserved seat. Display “Seat is taken” remarks. The user is not allowed to enter an invalid seat number.…Here are the programming instructions for this project:• Create a project and class named Project3 in BlueJ.• Download the files "names.txt" and "wins.txt" and store it in your project folder. • Declare a two-dimensional (2D) String array with 10 rows and 2 columns. This array will be for the first and last names of each coach.• Declare a two-dimensional (2D) integer array with 10 rows and 2 columns. This array will be for the number of career wins and Stanley Cup championships of each coach.• Declare two Scanner objects, one associated with the names.txt file and the other associated with the wins.txt file.• Call the following methods: setNamesArray() - This method has two integer parameters (one for the rows of a two-dimensional array and the other for the columns of a two-dimensional array) and a Scanner parameter. The method will return a two-dimensional array of Strings with rows and columns given by the parameters. Each row of the array will have each coach’s first name in the…
- You have been hired at an open-air mine. You are to write a program to control a digger. For your task, you have been given a 'map' of all the underground resources in the mine. This map comes as a two-dimensional integer array. The array has n rows and k columns. Each integer is between zero and one hundred (inclusive). This array represents a grid map of the mine – with each row representing a different height level. Each square in the grid can contain valuable resources. The value of these resources can go from zero (no resources) to 100 (max resources). The grid maps the resources just below the surface, and down to the lowest diggable depths. The digger starts at the surface (so, just on top of the topmost row in the grid)—at any horizontal position between 1 and k. The digger cannot dig directly downwards, but it can dig diagonally in either direction, left-down, or right-down. In its first time-step, it will dig onto the first row of the grid. In its second time-step, it'll hit…Right now we have a CourseListType that will hold a static 50 courses. Now we need to make that a little more flexible. To do that we want to change the static array to a dynamic array. So, what do we need to do? Modify CourseListType so that it contains a pointer to a CourseType rather than an array of CourseType. Modify the CourseListType constructor to create a dynamic array allocating space for a specific number of CourseType elements rather than always using 50. (Note: This is still not totally flexible, but is much better than a static limit.) Finally, we need to create a destructor to for CourseListType to deallocate space whenever a declared object goes out of scope.) //courseListType.h file #ifndef COURSELISTTYPE_H_INCLUDED#define COURSELISTTYPE_H_INCLUDED #include <string>#include "courseType.h" class courseTypeList { public:void print() const;void addCourse(std::string);courseTypeList(); private:static const int NUM_COURSES = 50;int courseCount;courseType…Write a console-based app in C# called LectureRooms that meets the requirements listed below:1. Create a 2-D array for two floors and three rooms.2. Add the following data in the created 2-D array.• Floor 1: Computer Lab, Resource Center, Board room. •Floor 2: IT Lecture Room, Commerce Lecture Room, Study Room. Display the queried floor, the room checked, and the name of the room.
- NEED HELP DEBUGGING THE FOLLOW JS CODE JS CODE /* JavaScript 7th Edition Chapter 3 Project 03-05 Application to generate a horizontal bar chart Author: Date: Filename: project03-05.js*/ // Array of phone models sold by the companylet phones = ("Photon 6E", "Photon 6X", "Photon 7E", "Photon 7X", "Photon 8P"); // Units sold in the previous quarterlet sales = (10281, 12255, 25718, 21403, 16142); // Variable to calculate total saleslet totalSales = 0; // Use the forEach() method to sum the sales for each phone model and add it to the totalSales variablesales.forEach(addtoTotal); // For loop to generate bar chart of phone salesfor (let i = 1; i <= phones.length; i++) { let barChart = ""; // Variable to store HTML code for table cells used to create bar chart // Calculate the percent of total sales for a particular phone model let barPercent = 100*sales/totalSales; let cellTag; // Variable that will define the class of td…For each of the exercises below, assume you are starting with the following people array. and use javascript var people = ["Greg", "Mary", "Devon", "James"]; Write the command that gives the indexOf where "Mary" is located. Write the command that gives the indexOf where "Foo" is located (this should return -1 as “Foo” not exist). Redefine the people variable with the value you started with. Using the splice command, remove "Devon" from the array and add "Elizabeth" and "Artie". Your array should look like this when you are done ["Greg", "Mary", "Elizabeth", "Artie", "James"]. Create a new variable called withBob and set it equal to the people array concatenated with the string of "Bob". Display the elements in both ascendant and descendant orders.For each of the following exercises, you may choose to write a console-based or GUI application, or both. Write a program named CheckZips that is used by a package delivery service to check delivery areas. The program contains an array that holds the 10 zip codes of areas to which the company makes deliveries. Prompt a user to enter a zip code, and display a message indicating whether the zip code is in the companys delivery area.