Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a class named as Customer under package :package1, which contains following private variables/ attributes,




Member Field name




Type




id




Long




name




String




gender




Character (M/F)




email




String




contactNumber




String




Mark all the attributes as private




Create / Generate appropriate Getters & Setters.




When the "customer" object is printed, it should display the following details: (override to String method)




. Customer: name




. Customer contact details: contact Number, email



Refer Sample Input and Outputs.




HINT:




Please print customer id in the Main class.




The toString method should print as specified in the problem statement [Name and contact details alone]




Sample Input:




Enter Customer Details:




ID: 45




Name: John




Gender: M




Email: john@a.com



Contact number: +997-4854-7485965123




Sample Output:




Customer id 45




Customer: John




Customer contact details:+997-4854-7485965123,

Write a program to do the following tak





Four Strings are accepted through command line arguments.





Each string is passed to a function inPalindrome) that checks whether the string is a palindume or net and retums true or falser accordingly





If the string is a palindroene it is stored in a text file named "Palindrome.txt"





and print a user friendly message on console also

Bike Search

The goal of this coding exam is to quickly get you off the ground with HTML search input element and Bootstrap spinner

Use the below reference image

https://assets.ccbp.in/frontend/content/dynamic-webapps/bike-search-op.gif

HTML

<!DOCTYPE html>

<html>

  <head></head>

 <body>

  Your code

 </body>

</html>

Instructions

  • Add the id searchInput to the HTML input element
  • Add the id searchResults to the HTML container element

Achieve the design with HTML, CSS, and functionality with JS

  • When the page is opened or a value is entered in the HTML input element with id searchInput and press on Enter key
  • Make an HTTP Request (GET method) using Fetch with URL https://apis.ccbp.in/city-bikes?bike_name=
  • The value entered in the HTML input element with id searchInput should be the value for the query parameter of the given URL
  • Add the loading status with the Bootstrap component spinner while making HTTP Request (GET method) as shown in the image.

Design a class art that contain the details of artist, country and class info contain the details of year and art-tyoe(fancy, historic or modern) . Use a function for displaying the details by reading data from class art and info. The function used for displaying is not a member of any class.

Instruction:

Create a Java Program that will accept two values.

Determine if the two argument lists are identical or not.

Sample IO #1:

Sample Input:

Name1: Jose

Birthday: 1-1-2000

Name2: Jose

Birthday: 1-1-2000

Output:

IDENTICAL

Name: Jose

BirthDate: 1-1-2000

Name: Jose

BirthDate: 1-1-2000


Sample IO #2:

Sample Input:

Name1: Jose

Birthday: 1-1-2000

Name2: Jose

Birthday: 6-7-2012

Output:

NOT IDENTICAL

Name: Jose

BirthDate: 7-6-2000

Name: Jose

BirthDate: 6-7-2012


MyDate Class

Attribute/s: private int day, month, year;

Constructor/s:

public MyDate(int month, int day, int year)

Method/s:

Setters and getters, public boolean equals(Object o);

public int hashCode(); and

public String toString()



Person Class

Attribute/s: private String name; private MyDate dob;

Constructor/s:

public Person(String name, MyDate dob)

Method/s: Setters and getters,

public boolean equals(Object o);

public int hashCode(); and

public String toString()


Your Test class named TestPerson


The learners must create a C++ program using FUNCTIONS to compute the net salary of the employee based on the status. The program will allow the users to choose the status and using the functions, the program will ask the values needed to compute the net salary. There must be two functions to compute the net salary for Contractual and Regular. Please use contractual and regular as FUNCTION NAMES.

Write a function named add_value that has a single parameter. This parameter will be a list/array. Your function needs to add the value 21 to the parameter after its last entry. Because lists and arrays are mutable, your function does not have to return a value.



 

Intro Message:

 

This program tests if a triangle is valid by adding up the three angles.

 

Prompts and Input:

 

Enter the measurement of the first angle:   [user types: 50]

Enter the measurement of the second angle:  [user types: 100]

Enter the measurement of the third angle:   [user types: 30]

 

Output 1 (User types three numbers that DO add up to 180):

 

This is a valid triangle!

Would you like to run the program again (Y or N)? n

 

Output 2 (User types three numbers that do NOT add up to 180 and wants to try again):

 

This is an invalid triangle. Angles must add up to 180 degrees.

Would you like to run the program again (Y or N)? y

[* Repeat the Prompts and Input section *]


Write a program that will ask the user to enter the Atomic Number of an element and check if it is a precious metal according to the list below:

 

Atomic Number 47: Silver

Atomic Number 78: Platinum

Atomic Number 79: Gold

 

Output Possibility #1 (One of the three precious metals):

 

Enter an atomic number to see if it is a precious metal:   [user types: 47]

47 is the atomic number for Silver

 

Output Possibility #2 (NOT a precious metal):

 

Enter an atomic number to see if it is a precious metal:   [user types: 50]

50 is not an atomic number for a precious metal


students in the BIT Level 300 class obtained

various grades in a Mid sem exam. A

computer program is needed to find the

highest and lowest class score.

Create an algorithm for the computer

program needed to solve the above problem.


LATEST TUTORIALS
APPROVED BY CLIENTS