Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

This answer was rated:

PDA TO-TO-LIST

1   ...

1


 


2


 


3


4


 


 


/**
hw2.c


Program supplied as a starting point for
ToDo List Manager


*/


#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>


#include "tdlist.h"


#define MAX_LINE 128
#define MAX_TEXT 4096


void print_help();
TDnode *get_node( void );
char *get_task( void );
char *get_notes( void );
int get_class( void );
void get_date( Date *d );
int scan_date( Date *d );
int date_ok( Date *d );


/**
Print the list of commands available to the user,
and a brief summary of what each command does.
*/
void print_help()
{
printf("\n");
printf(" A - Add item\n" );
printf(" F - move Forward\n" );
printf(" B - move Back\n" );
printf(" P - Print item\n" );
printf(" L - List items\n" );
printf(" R - Remove item\n");
printf(" T - change Task\n");
printf(" D - change Date\n");
printf(" C - change Class\n");
printf(" N - change Notes\n");
printf(" S - Search\n");
printf(" U - Undo\n");
printf(" Q - Quit\n");
printf(" H - Help\n");
printf("\n");
}


/**
allocate space for a new ToDo item and get the
task, date, class and notes from the user.
*/
TDnode * get_node( void )
{
TDnode * new_node;


new_node = (TDnode *)malloc( sizeof( TDnode ));
if( new_node == NULL ) {
printf("Error: could not allocate memory.\n");
exit( 1 );
}


printf("\n");
new_node->task = get_task();
get_date( &new_node->date );
new_node->class = get_class();
new_node->notes = get_notes();


return( new_node );
}


/**
Read one line of text from standard input,
store it in a string and return a pointer to the string.
*/
char * get_task( void )
{
char buffer[MAX_TEXT];
char *task;
int length;
int ch;
int i;


// prompt user for input
printf( "Task: " );
// skip any intial newline character
if(( ch = getchar()) == '\n' ) {
ch = getchar();
}
// read text initially into a buffer
i=0;
while((i < MAX_TEXT)&&(ch != '\n')&&(ch != EOF)) {
buffer[i++] = ch;
ch = getchar();
}
// allocate just enough space to store the string
length = i;
task = (char *)malloc((length+1)*sizeof(char));
if( task == NULL ) {
printf("Error: could not allocate memory.\n");
exit( 1 );
}
// copy text from buffer into new string
for( i=0; i<length; i++ ) {
task[i] = buffer[i];
}
task[i] = '\0'; // add end-of-string marker


return( task );
}


/**
Read several lines of text from standard input,
store them in a string and return a pointer to the string.
*/
char * get_notes( void )
{
char buffer[MAX_TEXT];
char *notes;
int length;
int ch;
int i;


printf("Notes: ");
ch = getchar();
i=0;
while(( i < MAX_TEXT )&&( ch != EOF )) {
buffer[i++] = ch;
ch = getchar();
// stop when you encounter a dot on a line by itself
if(( i > 1 )&&( ch == '\n' )&&( buffer[i-1] == '.' )
&&( buffer[i-2] == '\n')) {
ch = EOF;
i = i-2; // strip off the dot and newlines
}
}
length = i;
// allocate just enough space to store the string
notes = (char *)malloc((length+1)*sizeof(char));
if( notes == NULL ) {
printf("Error: could not allocate memory.\n");
exit( 1 );
}
// copy text from buffer to new string
for( i=0; i<length; i++ ) {
notes[i] = buffer[i];
}
notes[i] = '\0'; // add end-of-string marker


return( notes );
}


/**
Get class of item from user
*/
int get_class( void )
{
char s[MAX_LINE];
int class = 0;
int i;


printf("Class: "); // prompt user
fgets( s, MAX_LINE, stdin ); // scan a line of input


// keep scanning until class is successfully entered
while( class == 0 ) {


// scan input for first non-space character
for( i=0;( i<MAX_LINE )&&( isspace(s[i])); i++ )
;


switch( s[i] ) {
case 'h': case 'H': // High
class = 1;
break;
case 'm': case 'M': // Medium
class = 2;
break;
case 'l': case 'L': // Low
class = 3;
break;
case 'c': case 'C': // Completed
class = 4;
break;
}
if( class == 0 ) {
printf("Enter H,M,L or C: ");
fgets( s, MAX_LINE, stdin );
}
}
return( class );
}


/**
Get date from standard input;
if date is invalid, ask the user to re-enter it.
*/
void get_date( Date *d )
{
printf("Date: ");
while( !scan_date( d ) || !date_ok( d )) {
printf("Re-enter date in format dd/mm/yy: ");
}
}


/**
scan date in the format dd/mm/yy
*/
int scan_date( Date *d )
{
char s[MAX_LINE];


fgets( s, MAX_LINE, stdin );
return(
sscanf(s,"%d/%d/%d",&d->day,&d->month,&d->year)==3);
}


/**
Return 1 if date is valid; 0 otherwise.
*/
int date_ok( Date *d )
{
// INSERT CODE HERE


return 1;
}


// INSERT NEW FUNCTIONS, AS APPROPRIATE


int main( void )
{
TDnode *list = NULL;
TDnode *node;
int ch;
int op;


// enter a loop, reading and executing commands from the user
while( 1 ) {


printf("Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): ");


ch = getchar();
while( !isalpha(ch) &&( ch != '\n' )) {
ch = getchar();
}
op = ch;
// skip the rest of the line until newline is encountered
while( ch != '\n' ) {
ch = getchar();
}


switch( op ) {


case 'a': case 'A': // Add item
node = get_node();
// INSERT CODE HERE
break;


// INSERT CODE HERE


// TO IMPLEMENT OTHER COMMANDS


case 'h': case 'H': // Help
print_help();
break;


case 'q': case 'Q': // Quit
free_list( list );
printf("Bye!\n");
return 0;


}
}


return 0;
}


 


 


 


/*
list.c


 


Provides functions to perform standard list operations,
as described in lectures.
*/


#include <stdio.h>
#include <stdlib.h>


#include "list.h"


/*
Create a new node containing the specified data,
and return a pointer to this newly-created node.
*/
Lnode * makeNode( int data )
{
Lnode *new_node =(Lnode *)malloc( sizeof( Lnode ));
if( new_node == NULL ) {
fprintf(stderr,"Error: memory allocation failed.\n");
exit( 1 );
}
new_node->data = data;
new_node->next = NULL;
return( new_node );
}


/*
Search through list to find the first node with the
specified data, and return a pointer to this node.
If no such node exists, return NULL.
*/
Lnode * findNode( int data, Lnode *head )
{
Lnode *node = head; // start at first node in list


// keep searching until data found, or end of list
while(( node != NULL )&&( node->data != data )) {
node = node->next;
}
return( node );
}


/*
Push new node to front of list and
return the resulting (longer) list
*/
Lnode * push( Lnode *new_node, Lnode *head )
{
new_node->next = head;
return( new_node );
}


/*
Pop first item from list and
return the remaining (shorter) list
*/
Lnode * pop( Lnode *head )
{
Lnode *tmp;


if( head != NULL ) {
tmp = head;
head = head->next;
free( tmp );
}
return( head );
}


/*
Print all items in the list one by one
*/
void printList( Lnode *head )
{
Lnode *node = head;


// traverse the list printing each node in turn
while( node != NULL ) {
printf( "->%c", node->data );
node = node->next;
}
printf( "\n" );
}


/*
Delete all the items from a linked list.
*/
void freeList( Lnode *head )
{
Lnode *node = head;
Lnode *tmp;


while( node != NULL ) {
tmp = node;
node = node->next;
free( tmp );
}
}


Lnode * insert( Lnode *new_node, Lnode *head )
{
Lnode *next_node = head, *prev_node = NULL;
while( next_node && new_node->data > next_node->data) {
prev_node = next_node;
next_node = next_node->next; // find correct position
}
if( prev_node == NULL )
head = new_node;
else {
prev_node->next = new_node; // link new node into list
}
new_node->next = next_node;
return( head );
}


Lnode * excise( Lnode *node, Lnode *head )
{
if( node != NULL ) {
if( node == head )
head = head->next; // remove first item
else {
Lnode *prev_node = head;
while( prev_node && prev_node->next != node ) {
prev_node = prev_node->next;
}
if( prev_node != NULL ) { // node found in list
prev_node->next = node->next;
}
}
}
return( head );


}


 


 


 


/**
tdlist.c


 


Program supplied as a starting point for
Assignment 2: ToDo List Manager



*/


#include <stdio.h>
#include <stdlib.h>


#include "tdlist.h"


/**
free all the memory occupied by a
linked list of ToDo items.
*/
void free_list( TDnode *head )
{
TDnode *node;


while( head != NULL ) {
node = head;
head = head->next;
free( node->task );
free( node->notes );
free( node );
}
}


// INSERT NEW FUNCTIONS, AS APPROPRIATE


 


 


 


/**


   tdlist.h


 


 


 


   Program supplied as a starting point for


   Assignment 2: ToDo List Manager


 


*/


 


typedef struct  date  Date;


typedef struct tdnode TDnode;


 


struct date {


  int day;


  int month;


  int year;


};


 


struct tdnode {


  char *task;


  Date  date;


  int   class;


  char *notes;


  TDnode *next;


};


 


void free_list( TDnode *list );


 


// INSERT NEW FUNCTION PROTOTYPES, AS APPROPRIATE

Show More
Show Less
Ask Your Own Homework Question
Answered in 9 hours by:
10/20/2013
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5,471
Experience: B.Tech
Verified
Hello,
Welcome back!

I'm RRJha and I'd be glad to help with your project. Could you please send a link to the requirements and codes? You may zip requirements' document and code files, upload the zip file at wikisend.com or mediafire.com and post file download link here. Let me know.

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

OK,thank you, XXXXX XXXXX it right now.

Customer reply replied 4 years ago

This is the link address:http://wikisend.com/download/694956/Assign2.zip

 

For this project, you have to write comment for the function you write and It is important that you include a Makefile.

 

I use linux.

 

Thank you for helping my project, thank you a lots.

Received them. I'll review them and get back to you by tomorrow.
Ask Your Own Homework Question
Customer reply replied 4 years ago

Thank you a lots.

List.h is missing. Please send that too and make sure you've included all required files.

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

okok,right now

Customer reply replied 4 years ago

This the all the files: http://wikisend.com/download/636442/Assign2.zip


There is only tdlist.h, no Lish.h

Ok. Is it referencing to some previous assignment where you might have used list.h?
And one of the statements in tdlist.c is

int class;

Is class meant to be some other variable name? because this isn't correct.

Could you possibly send a link to the assignment if it's available online?
Ask Your Own Homework Question
Customer reply replied 4 years ago

http://mahler.cse.unsw.edu.au/webcms2/course/index.php?cid=2313

This is the link, hw2 on the left side.

Got it. That's all for now. I'll let you know if I need anything else.

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok, thank you .

Glad to help.
Ask Your Own Homework Question
Customer reply replied 4 years ago

Thanks a lots.

I've been working on it. It's no doubt very long task and can easily take a couple of hours and more. Let me know if you could add $50 extra for the effort. You may edit the price or add it as bonus after rating the answer.

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

Sure,you deserve it, can you send me the link, and really thank you a lots.

Sure, when I'm finished. I'll upload the file at box.com and send you the download link.
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok,thanks!!!!!

Ok (We must post a response as per our forum policy, otherwise we can't respond to other clients. So, please don't reply to this unless required).

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

I have already edited the price.

Thank you
Ask Your Own Homework Question
Customer reply replied 4 years ago

Hi RRJha, sorry to interrupt, I just want to know when you can finish my homework, so sorry to interrupt.

No problem. I've completed all but last two tasks. I'll finish it and send to you by tonight.
Ask Your Own Homework Question
Customer reply replied 4 years ago

wow, thank you so much!!

Anytime
Ask Your Own Homework Question
Customer reply replied 4 years ago

Hi,I just want to know how is going about the hw2?

Have implemented last task - Undo.
Working on second last task. It's half complete. I'll post the answer in about 2-3 hours. It's just too much of work I underestimated on first look.

Regards
Ask Your Own Homework Question
Customer reply replied 4 years ago

sure, thank you so much for your help, I really appreciate it, thank you so so much!!

You're welcome
Ask Your Own Homework Question
Hi Egbert,

It's complete. I've included the makefile, source and header files and sample input files.
You may remove pre-existing object files using command make clean
You make compile program by command make
Then you may run the program using command pdaList or use predefined inputs in s1.in (and others) using command pdaList < s1.in

https://app.box.com/s/g2mstr4z57l8gijls9zw

It was very long and challenging project. I hope you'll add a good bonus on rating.

Let me know if I could help with any other projects. Just add 'For RRJha' at the start of question and I'll get back to you.

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

Hi,RRJha, Thank you so much for your help, definitely I will add bonus on rating, it's just when I uploaded to school server, it shows these problems for every test, they are all same problems, can you help me fix it up?


1


 

Ok, checking it.
Ask Your Own Homework Question
Customer reply replied 4 years ago

thank you!!

Seems makefile error, working on it.
Ask Your Own Homework Question
Customer reply replied 4 years ago

thank you.

I've update them. Please download it again from answer link above and try those set of files.
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok.

Please download them again, updated a newline character, as I'm seeing in model output.
Ask Your Own Homework Question
Customer reply replied 4 years ago

Hi, RRJha, sorry to interrupt again, it's just shows problems again.


 


 


 


It's still have problems for all test.


 


 


 


 


 


Submission compiled successfully.



Testing your program...


========================


** Test 1 **


Test: ./hw2 < s1.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d6


< ToDo:


44,60c10


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------


** Test 2 **


Test: ./hw2 < s2.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d6


< ToDo:


44,60c10


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------


** Test 3 **


Test: ./hw2 < s3.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d6


< ToDo:


43a10,14


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Date: Class: Notes:


> 01/02/00 H buckle my shoe


> 03/04/00 L knock at the door


> ->05/06/00 M pick up sticks


45,62c16,19


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< ** 117 lines skipped **


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task: buckle my shoe


< Date: 01/02/00


< Class: H


< Notes:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> 01/02/00 H buckle my shoe


> ->03/04/00 L knock at the door


> 05/06/00 M pick up sticks


63a21,24


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> ->01/02/00 H buckle my shoe


> 03/04/00 L knock at the door


> 05/06/00 M pick up sticks


65,82c26,29


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task: knock at the door


< Date: 03/04/00


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: buckle my shoe


> Date: 01/02/00


> Class: High


84a32,36


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: knock at the door


> Date: 03/04/00


> Class: Low


> Notes:


86,101c38


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------


** Test 4 **


Test: ./hw2 < s4.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


21a5,8


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Date: Class: Notes:


> 01/04/75 H Make sure the Prince doesn't leave the room


> ->02/04/75 L Keep him in the room


23,36c10,14


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Date: Class: Notes:


> 01/04/75 H Make sure the Prince doesn't leave the room


> ->02/04/75 M Stay in the room


> 02/04/75 L Keep him in the room


38c16


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d17


< ToDo:


41a19,30


> ->01/04/75 L Stop him entering the room


> 02/04/75 M Stay in the room


> 02/04/75 L Keep him in the room


>


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> 01/04/75 H Make sure the Prince doesn't leave the room


> ->02/04/75 M Stay in the room


> 02/04/75 L Keep him in the room


>


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> 01/04/75 H Make sure the Prince doesn't leave the room


> 02/04/75 M Stay in the room


43a33,36


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Class:


> 01/04/75 H Make sure the Prince doesn't leave the room


> ->02/04/75 H Keep him in the room


> 02/04/75 M Stay in the room


45,56c38,41


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< ** 160 lines skipped **


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> ->01/04/75 H Make sure the Prince doesn't leave the room


> 02/04/75 H Keep him in the room


> 02/04/75 M Stay in the room


58,59c43


< Enter you choice: Notes:


< ToDo:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Date:


63a48,51


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Notes:


> 02/04/75 H Keep him in the room


> 02/04/75 M Stay in the room


> ->03/04/75 H Make sure the Prince doesn't leave the room


65,82c53,56


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task: Make sure the Prince doesn't leave the room


< Date: 03/04/75


< Class: H


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Make sure the Prince doesn't leave the room


> Date: 03/04/75


> Class: High


85,101c59


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------


** Test 5 **


Test: ./hw2 < s5.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d6


< ToDo:


43a10,14


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Date: Class: Notes:


> ->01/02/03 H Rock-a-bye, baby


> 04/05/06 M Sing a song of sixpence


> 07/08/09 L Row, row, row your boat


45,51c16,20


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< ** 36 lines skipped **


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Search text:


> Task: ROck-a-bye, baby


> Date: 01/02/03


> Class: High


> Notes: on the tree-top.


55,57c24,26


< Task: ROw, ROw, ROw your boat


< Date: 07/08/09


< Class: L


---


> Task: ROw, ROw, ROw your boat


> Date: 07/08/09


> Class: Low


62,80c31,34


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task: Rock-a-bye, baby


< Date: 01/02/03


< Class: H


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Rock-a-bye, baby


> Date: 01/02/03


> Class: High


85,101c39


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------


** Test 6 **


Test: ./hw2 < s6.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d6


< ToDo:


44,61c10


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


< ToDo:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


63a13,16


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Date: Class: Notes:


> 01/02/03 M put your left hand in


> ->05/06/07 C shake it all about


65,91c18


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


< ** 92 lines skipped **


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


< ToDo:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


92a20


> 05/06/07 C shake it all about


94,111c22


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


< ToDo:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


114a26,27


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> ->01/02/03 M put your left hand in


116,129c29,31


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> 01/02/03 M put your left hand in


> ->05/06/07 C shake it all about


131c33


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------


** Test 7 **


Test: ./hw2 < s7.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


1,17c1


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


19d2


< ToDo:


22,38c5


<


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


40d6


< ToDo:


43a10,12


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task:


> 06/05/04 M add milk


> ->06/05/04 L add honey


45,74c14,20


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task:


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> 06/05/04 M add milk


> ->06/05/04 L add sugar


>


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Date:


> ->03/02/01 L add sugar


> 06/05/04 M add milk


76,77c22


< Enter you choice:


< ToDo:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


81,92c26,32


< ** 156 lines skipped **


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task: add milk


< Date: 06/05/04


< Class: M


< Notes:


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Class:


> ->06/05/04 H add sugar


> 06/05/04 M add milk


>


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> 06/05/04 M add milk


> ->06/05/04 L add sugar


93a34,38


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add sugar


> Date: 06/05/04


> Class: Low


> Notes: one lump or two?


95,112c40,49


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


<


< Enter you choice: Task: add sugar


< Date: 06/05/04


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Notes:


> Task: add sugar


> Date: 06/05/04


> Class: Low


> Notes: not too much!


>


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add sugar


> Date: 06/05/04


> Class: Low


114a52,56


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add milk


> Date: 06/05/04


> Class: Medium


> Notes:


116,129c58,62


< A - Add item


< F - move Forward


< B - move Back


< P - Print item


< L - List items


< R - Remove item


< T - change Task


< D - change Date


< C - change Class


< N - change Notes


< S - Search


< U - Undo


< Q - Quit


< H - Help


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add sugar


> Date: 06/05/04


> Class: Low


> Notes: one lump or two?


131c64


< Enter you choice: Bye!


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Bye!


--------------------------------



You have Passed 0 demo tests.



If you have Not passed Any tests, then correct the problem(s)


and re-submit, otherwise you will get no marks from the autotest.



 

Reviewing it.
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok,thank you!!!

Try these four files

https://app.box.com/s/g2mstr4z57l8gijls9zw

Please try running one test at a time and send output when first error occurs.

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok

Alright.
Ask Your Own Homework Question
Customer reply replied 4 years ago

it passed two test. first 2. the rest failed.


 


 


 


 


 


 


Testing your program...


========================


** Test 1 **


Test: ./hw2 < s1.in


** Test passed


--------------------------------


** Test 2 **


Test: ./hw2 < s2.in


** Test passed


--------------------------------


** Test 3 **


Test: ./hw2 < s3.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


26,28c26,29


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: buckle my shoe


< Date: 01/02/00


< Class: H


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: buckle my shoe


> Date: 01/02/00


> Class: High


31,33c32,35


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: knock at the door


< Date: 03/04/00


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: knock at the door


> Date: 03/04/00


> Class: Low


--------------------------------


** Test 4 **


Test: ./hw2 < s4.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


53,55c53,56


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: Make sure the Prince doesn't leave the room


< Date: 03/04/75


< Class: H


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Make sure the Prince doesn't leave the room


> Date: 03/04/75


> Class: High


--------------------------------


** Test 5 **


Test: ./hw2 < s5.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


16,18c16,19


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Search text: Task: ROck-a-bye, baby


< Date: 01/02/03


< Class: H


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Search text:


> Task: ROck-a-bye, baby


> Date: 01/02/03


> Class: High


23,25c24,26


< Task: ROw, ROw, ROw your boat


< Date: 07/08/09


< Class: L


---


> Task: ROw, ROw, ROw your boat


> Date: 07/08/09


> Class: Low


30,32c31,34


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: Rock-a-bye, baby


< Date: 01/02/03


< Class: H


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: Rock-a-bye, baby


> Date: 01/02/03


> Class: High


--------------------------------


** Test 6 **


Test: ./hw2 < s6.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


18,22c18


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


< 01/02/03 M put your left hand in


< ->05/06/07 C shake it all about


<


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


--------------------------------


** Test 7 **


Test: ./hw2 < s7.in


** Test failed. Output difference:


(Student output above "<", model solution below ">")


10c10,14


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task:


> 06/05/04 M add milk


> ->06/05/04 L add honey


>


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


30,32c34,37


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: add sugar


< Date: 06/05/04


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add sugar


> Date: 06/05/04


> Class: Low


35,37c40,43


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Notes: Task: add sugar


< Date: 06/05/04


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Notes:


> Task: add sugar


> Date: 06/05/04


> Class: Low


40,42c46,49


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: add sugar


< Date: 06/05/04


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add sugar


> Date: 06/05/04


> Class: Low


45,47c52,55


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: add milk


< Date: 06/05/04


< Class: M


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add milk


> Date: 06/05/04


> Class: Medium


50,52c58,61


< Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help): Task: add sugar


< Date: 06/05/04


< Class: L


---


> Enter command (A,F,B,P,L,R,T,D,C,N,S,U,Q, H for Help):


> Task: add sugar


> Date: 06/05/04


> Class: Low


--------------------------------



You have Passed 2 demo tests.

Checking
Ask Your Own Homework Question
Customer reply replied 4 years ago

kk.

It's impossible to make anything out from this output. Delete all code files, and then run the test. Then it should give a clean model output which can be interpreted.

(And please don't reply to my post if it's not necesasry (like ok, kk.), as our forum policy locks us from replying to other clients ).

Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago

Iet me try again.

Customer reply replied 4 years ago

I did every step you told me, it still show the same mistakes I post last time, first two pasted ,the rest failed.

Put in this makefile and check. I want all tests to fail identifical to first time when it couldn't find hw2. Then it would give a clean model output.

https://app.box.com/s/yrb7237ba04e95av5was
Ask Your Own Homework Question
And please don't copy paste the output directly here. The thread is getting messier. Instead put the output in a txt or word document and attach here. To attach file in reply, type up file name and select the text, then use the link icon (just right of smiley) to upload file.
Ask Your Own Homework Question
Customer reply replied 4 years ago

I don't know why, I just can not reply you.

You just did :)
If you've problem attaching document, you may upload it at wikisend.com and post file download link here. It's quite simple and cleaner way to send lengthy information.
Ask Your Own Homework Question
Customer reply replied 4 years ago

This is the output link: http://wikisend.com/download/412682/output.docx

Thanks. This is what I needed and should have provided in the first place by the instructors. I'll modify all output and send to you. The program is working all fine, it's just the way it prints the output which is generating these error.
Ask Your Own Homework Question
Customer reply replied 4 years ago

I get it, thank you for your patience, thanks a lots!!!!

No problem
Ask Your Own Homework Question
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5,471
Experience: B.Tech
Verified
R.R. Jha and 87 other Homework Specialists are ready to help you
Ask your own question now
Customer reply replied 4 years ago

Thank you so so much!!!!!!!!!!!!!!!!!!!!!


It passed all test this time!!!

I'm so relieved!!

Let me know when you need help with any other projects. Just add 'For RRJha' at the start of question and I'll get back to you. When you post it, please send the requirements, codes etc. via wikisend.com to keep thread clean.

Thanks and have a good day!
Ask Your Own Homework Question
Customer reply replied 4 years ago

Sure, thank you so much again!!


Have a nice day!!

Was this answer helpful?
Ask R.R. Jha Your Own Question
R.R. Jha
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5,471
5,471 Satisfied Customers
Experience: B.Tech

R.R. Jha is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

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:

LogicPro

LogicPro

Engineer

5,731 satisfied customers

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

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 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,636 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,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
Children may be exposed to toxic chemicals from paints, carpet
Children may be exposed to toxic chemicals from paints, carpet and cleaning supplies used in classroom environments. Question 1 options: A) True B) False Save Question 2 (1 point) Question 2 Unsaved L… read more
FiveStarLaw
FiveStarLaw
Attorney
Doctoral Degree
477 satisfied customers
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that stand for amounts are called: A. digits. B. numbers. C. numerals. D. numerics. Reset Selection Mark for Review What's This? Question 2 of 20 … read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
trace a water molecule as it moves through the urinary system
trace a water molecule as it moves through the urinary system and is excreted from the body. starting point:the water molecule enters a kidney in the blood plasma traveling through the renal artery. e… read more
Dr. Chip
Dr. Chip
M.D.
13,058 satisfied customers
I just need some help with my math homework. Maximum,
Hi there, I just need some help with my math homework … read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
Looking for psycology homework help. Somethibg along these
Looking for psycology homework help. Somethibg along these lines.These videos are specifically targeted to teens and young adults. The focus of this question is identity formation and emotional develo… read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
Need help with some data communication/networking homework
Need help with some data communication/networking homework questions. The priority is question 1 and 2e. Thanks… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
My son is sick and I have homework to get done and no time
My son is sick and I have homework to get done and no time to finish … read more
judybailey61
judybailey61
Bachelors degree
196 satisfied customers
For this homework, you are to make a Form that will hold
For this homework, you are to make a Form that will hold input fields for allowing a user to set the begin and end dates of a potential tour. This form will submit the information to a Servlet, which … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I'm working on a program for a homework assignment and I
I'm working on a program for a homework assignment and I can't figure out why it's not working. I've tried finding help online but am not having any success. … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I have some production and operations homework.. can you
Hi! I have some production and operations homework.. can you help me? … read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
PYTON homework. Write a function that counts the number of
Write a function that counts the number of alphabetic characters (a through z, or A through Z) in your text and then keeps track of how many are the letter ‘a'. Your function should print an analysis of the text like this: Your text contains 232 alphabetic characters, of which 24.8% are 'a'.2. [10 points] Write a function that implements a substitution cipher. In a substitution cipher one letter is substituted for another to garble the message. For example A -> Q, B -> T, C -> G etc. your function should take two parameters, the message you want to encrypt, and a string that represents the mapping of the 26 letters in the alphabet. Your function should return a string that is the encrypted version of the message.For example, if your text is 'abc Franklin Student', and your mapping is 'abcdefghijklmnopqrstuvwxyz' to 'bcdefghijklmnopqrstuvwxyza' which means a is going to be replaced by b, b is going to be replaced by c and so on. Same rules apply for upper case letters. A is going to be replaced with B, and so on.Your program should print the encrypted version of 'abc Franklin Student', which is: bcd Gsbolmjo Tuvefou … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
NOTE: This question is a homework given by the same
NOTE: This question is a homework given by the same professor. It does not violate any honor code because same question is repeatedly asked different students. DO NOT FLAGCase Study #1: Technology & P… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Create a probability distribution using the data which shows
Create a probability distribution using the data which shows how many cartons of the wine cooler were bought per customer in a month. Calculate the mean and the standard deviation of your probability … read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
Sons are encouraged to engage in _____ behavior, whereas daughters
Sons are encouraged to engage in _____ behavior, whereas daughters are encouraged to engage in _____ behavior. … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Pittman company is a small but growing manufacturer of
Pittman company is a small but growing manufacturer of telecommunications equipment. The company has no sales force of its own; rather, it relies completely on independent sales agents to markets its … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Penn Foster Bookkeeping
M. Castillo… read more
Kara T
Kara T
Expert Homework Tutor
Bachelor's Degree
288 satisfied customers
The scientific method includes all of the following EXCEPT:
The scientific method includes all of the following EXCEPT: (Points: 5) observation. hypothesis making. testing. the application of knowledge gained. 2. 2. A control group differs from an experimental… read more
R.R. Jha
R.R. Jha
Tutor
5,471 satisfied customers
For BusinessTutor Only Hello, Im
"For BusinessTutor Only" Hello, I'm requesting your assistance once again. Exercise: Rizio co. purchases a machine for $12,500, terms 2/10, n/60, FOB shipping point. the seller prepaid the $360 freigh… read more
Manal Elkhoshkhany
Manal Elkhoshkhany
Tutor
4,551 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.

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