Homework

Homework Questions? Ask a Tutor for Answers ASAP

Connect one-on-one with {0} who will answer your question

Related Homework Questions
2-4 Intro to Java Problem 4 - Sieve of Eratosthenes A prime
2-4 Intro to JavaProblem 4 - Sieve of Eratosthenes A prime number is ***** integer greater than 1 that's evenly divisible only by itself and 1. The Sieve of Eratosthenes is a method of finding prime n… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
C++ A little. Question – Name the program file college.cpp
Question – Name the program file college.cpp Step 1- Define a class named Student with the following member variables:  firstName (a string)  lastName (a string)  studentID (a string)  phoneNumber (a string with this format(###) ###-####  gpa (a double number) Member functions include:  5 accessor and 5 mutator functions  the default constructor which sets all string member variables to a string with one space in it (“ “) and gpa to 0  a constructor with all five parameters  input function  output function that displays the member variables of a student No other function is necessary for this class. Step 2- Define a class named Course with the following member variables:  code: Course code (a string like CMPT1020)  section: Section number (an integer)  capacity: Max number of students (an integer)  numStudents: Actual number of students (an integer)  list: An array that stores the info for the students in the course , as a pointer to a Student object (defined in part 1) Member function include:  4 accessor functions (for the first four member variables)  2 mutator functions ( for code and section)  Default constructor that sets: code=CMPT1020, section=1, capacity=35, numStudents=0 and allocates memory for list (35 students)  A constructor that accepts: code, section number, and capacity. It set numStudents=0 and allocate memory for list (capacity students)  A destructor to free memory  A function named add which adds a student  A function named display (to display all students), this function has no input argument  A function named void displayByFirst(string): that accepts a string for firstName and displays the entire info for the student with given firstName  A function named void displayByLast(string): that accepts a string for lastName and displays the entire info for the student with given lastName  A function named void displayByID(string): that accepts a string for studentID and displays the entire info for the student with given studentID  A function named void displayByPhone(string): that accepts a string for phoneNumber and displays the entire info for the student with given phoneNumber  A function named remove that accepts one string for phone number, this function removes one of the students with given phone number.  A function named sortByFirstAsc: sorts the list based on first names in ascending order  A function named sortByFirstDes: sorts the list based on first names in descending order  A function named sortByLastAsc: sorts the list based on last names in ascending order  A function named sortByLastDes: sorts the list based on last names in descending order  A function named sortByIDAsc: sorts the list based on IDs in ascending order  A function named sortByIDDes: sorts the list based on IDs in descending order  A function named sortByPhoneAsc: sorts the list based on phone numbers in ascending order  A function named sortByPhoneDes: sorts the list based on phone numbers in descending order  A function named sortByGPAAsc: sorts the list based on GPAs in ascending order  A function named sortByGPADes: sorts the list based on GPAs in descending order Step 3- Write a main function to define a Course object and test the functions you defined in the previous steps. … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
You are to create a library for basic array manipulations
You are to create a library for basic array manipulations called ArrayLib. This library will evolve over time as we begin to learn more and more about what we can with arrays. For now, you will do the… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
How was your experience with LogicPro today? Glad to hear
Hi there! How was your experience with LogicPro today? Glad to hear it! Do you have any follow-up questions about the homework or would you like help with other assignments? It's included! Good, as al… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
Using C programming 3.2 Write a method called readFromFile()
using C programming3.2 Write a method called readFromFile() that will receive the array and number of elements as parameters. Read the data from the text file into the array. The Facebook hours must b… read more
Expert
Expert
Python's list method .sort() includes the keyword argument
Python's list method .sort() includes the keyword argument reverse, whose default value is False. The programmer can override this value to sort a list in descending order.Modify the selectionSort() f… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
Other devices? What do you mean? I need to write a
I need to write a JavaScript function that should order elements by asc or desc depending on the parameter.… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
Java language. Create a method and name it “InsertionSort”.
Java language. Create a method and name it “InsertionSort”. The method should take an integer array as an input parameter. Use the Insertion Sort algorithm to sort the given integer array in ascending… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
For RRJha Complete the following coding exercises in Python.
For RRJhaComplete the following coding exercises in Python. Exercise 1: Create a function that accepts a single array as an argument. Given an array of integers, x, sort x and split the integers into … read more
R.R. Jha
R.R. Jha
Bachelor's Degree
6,909 satisfied customers
I need help with a pseudocode problem not language specific.
I need help with a pseudocode problem not language specific … read more
drivenjesus
drivenjesus
CEO
Bachelor's Degree
2,158 satisfied customers
Write a program, which will ask the user how many integer
Write a program, which will ask the user how many integer numbers they wish to enter. The program will then read that many numbers, print them in the order they were entered, sort them in order by dec… read more
aitizaz
aitizaz
Software Engineer
Bachelor's Degree
1,512 satisfied customers
1. Elementary Data Structures Suppose you created a video
1. Elementary Data Structures Suppose you created a video project that has two data structures—an array of strings and a ListView control. You used the Sort() method of the array class to put the film… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
1. Write a program that reads integers from the keyboard. If
1. Write a program that reads integers from the keyboard. If any of the numbers are negative, it returns a negative number. If all the numbers are positive, it returns their average. 2. Write a progra… read more
ehabtutor
ehabtutor
C.E.O
Bachelor's Degree
75 satisfied customers
I have to implement a program using C/UNIX to sort an array
I have to implement a program using C/UNIX to sort an array A of n integers (ascending order) by the use of multi-threaded programming using POSIX threads and odd-even transposition sort. While implem… read more
Seanna
Seanna
Writer, tutor, editor, job coach
2,681 satisfied customers
4)Horizontal Bar Charts: Selection Sort In this assignment:
4)Horizontal Bar Charts: Selection Sort In this assignment: Write a program that produces a horizontal bar chart. Initialize an array of twenty integers with values that must fall in the range 0 to 13… read more
R.R. Jha
R.R. Jha
Bachelor's Degree
6,909 satisfied customers
3) Elementary Data Structures Suppose you created a video
3) Elementary Data Structures Suppose you created a video project that has two data structures—an array of strings and a ListView control. You used the Sort() method of the array class to put the film… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
20,030 satisfied customers
c++ language Write a function that dynamically allocates an
c++ language Write a function that dynamically allocates an array of integers. The function should accept an integer argument indicating the number of elements to allocate. The function should return … read more
namstech
namstech
Software Development Engineer
Master's Degree
365 satisfied customers
A palindrome consists of a word or deblanked, unpunctuated
A palindrome consists of a word or deblanked, unpunctuated phrase that is spelled exactly the same when the letters are reversed. Write a recursive function that returns a value of 1 if its string arg… read more
ehabtutor
ehabtutor
C.E.O
Bachelor's Degree
75 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

Scott

Scott

MIT Graduate

5,697 satisfied customers

MIT Graduate (Math, Programming, Science, and Music)

LogicPro

LogicPro

Engineer

20,030 satisfied customers

Expert in Python,Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,843 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,852 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,280 satisfied customers

Experience with chartered accountancy

Jaun

Jaun

Teacher

1,965 satisfied customers

Masters in Business Administration.

< Previous | Next >

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x