The Linux [ans1] command can be used to delete a file from the network file system. Assume: assume the command is being executed from a terminal that has Linux commands enabled and that the file path and name exist and that the user has permission to delete the file. Include only the command name and not any additional options or the file name.
Category: Uncategorized
Congratulations on finishing your first CS 354 midterm exam!…
Congratulations on finishing your first CS 354 midterm exam!One last question. (Integer answers in range [0-10] earn full credit here) How many of the Live Q&A sessions were you able to attend? MAKE SURE TO SUBMIT YOUR QUIZ.
Given: Catalog and Widget types as shown, select correct COD…
Given: Catalog and Widget types as shown, select correct CODE replacements so that printWidget? will print a Widget item. To avoid a limitation in Canvas, array code below has an extra space before the index. typedef struct { char code[ 5]; int pages; } Catalog ; typedef struct { char item[ 15]; Catalog *cat; float price; } Widget ; void printWidget(Widget w) { printf( ” item: %s\n”, [CODE1] ); printf( ” cat: %s (%i pages)\n”, [CODE2] ); printf( “price: $%f\n”, [CODE3] ); }…
Given: typedef struct { int MM; int SS; } Time ; void main()…
Given: typedef struct { int MM; int SS; } Time ; void main() { Time t[2] = {{7,45},{16,30}}; Which of the following statements will print the two item Time array as a start and end time: Start: 7:45 End: 16:30 Note: “%02i” is the printf format string that will zero pad an integer to fill two digits so it gives 04 in stead of 4 . printf(“Start: %2i:%02i End: %2i:%02i \n”, t[0]->MM, t[0]->SS, t[1]->MM, t[1]->SS ); printf(“Start: %2i:%02i End: %2i:%02i \n”, (t+0)->MM, (t+0)->SS, (t+1)->MM, (t+1)->SS ); printf(“Start: %2i:%02i End: %2i:%02i \n”, t[0].MM, t[0].SS, t[1].MM, t[1].SS ); printf(“Start: %2i:%02i End: %2i:%02i \n”, (*t).MM, (*t).SS, (*(t+1)).MM, (*(t+1)).SS );
What is the output of this program?
What is the output of this program?
Part IV Constructed Response Questionsfill in the blank, sh…
Part IV Constructed Response Questionsfill in the blank, short answer 6 points each, 2 questions + 1 survey question [17 points max] These will be manually reviewed to give partial credit. After viewing this information, select next and then select okin the message box that appears since there is no answer to be entered.
What is returned by mystery(b,3,1)? Given: int **b points to…
What is returned by mystery(b,3,1)? Given: int **b points to a 2D array of integers on the heap with these values. int mystery(int **b, int n, int i) { int a[n+1]; for (int i=0; i n) return 0; if (v && a[v] ) return 0; a[v]++; } return 1; }
Which of these 32-bit hex values could be an address returne…
Which of these 32-bit hex values could be an address returned by alloc() from a heap allocator that maintains double-word alignment? 0xF7F72500 0xF7EF6108 0xF7FC781C 0xF7F0A330
What is the correct replacement for [ANS1] in this program?…
What is the correct replacement for [ANS1] in this program?
Part III Multiple Choice Questions may include:multiple cho…
Part III Multiple Choice Questions may include:multiple choice – select best answerfill-in-blank — follow instructionsmatching — may have extra choicesmultiple drop down — answer all partsmultiple select — choose all correct, selecting incorrect options counts against selecting correct options. 3 points each, 12 questions [36 points max] You can earn partial credit for correctly answering parts of some multi-part questions. After viewing this information, select next and then select okin the message box that appears since there is no answer to be entered.