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

1. Write a C code to split the original single linked list into two sub-lists, where the first and second sub-list contains the even position nodes and odd position nodes of the original list respectively, and then join the second sub-list at the end of the first sub-list. Example: If the list contains 3->4->2->1->7->9->8, then the function needs to produce 3->2->7->8->4->1->9.


I was given 4 inputs 10,9,8,7
Here compare one by one
[10] here max 10
[10, 9] here max 10
[10, 9,8] here max 10
[10, 9,8,7] here max 10
So I want output as
10
10
10
10
Faculty member at the university demonstrates a lackadaisical attitude toward work. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs 200 will be
deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300)
will be deducted, if a faculty member offends three times in a month GHs 900
(i.e. 200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e.
200+300+400+500). Assuming all faculty
members are on a flat salary rate of GHs 2500.

a. Write a program to request for the names of four faculty members and
number times he/she has absented him/herself from class. One of them
should have absented him/herself once, another twice, another three times
and another four times.

1.2 A lecturer wants to know if his statistics class has a good grasp of basic maths from matric level. Eleven students are chosen at random from the class and given a maths proficiency test. The lecturer wants the class to be able to score above 75 on the test to show that they had a good grasp of basic maths. The eleven students get scores shown below: 62 88 71 50 67 70 92 75 68 83 95 Can the lecturer be 95 percent confident that the students had a good grasp of basic maths? 


Craig bought a new point if sale system for his military surplus store. This system keeps track of his stock, allows him to process sales transactions and will allow him to generate various reports using the system. Craig has been experiencing several problems. He phones the system's customer care line. He mentions that he doesn't know whether the system is busy processing commands or whether the system is idle. On one screen the word 'Edit' is used and on another screen the word 'Modify' is used. He told the customer care department that some buttons look like labels and that there doesn't appear to be clear to navigate through the system. The system also doesn't inform him when transactions is successfully completed. If Craig has made a mistake, he can't undo the transaction. Every activity that Craig wishes to complete takes no less than seven steps and there are no shortcuts for him to use.


List four Design principles that were ignored by designers of the system and provide examples from the scenario.


Assume a text file “Test.txt” is already created. Using this file, write a

function to create three files “LOWER.TXT”, which contains all the

lowercase vowels and “UPPER.TXT” which contains all the uppercase vowels

and “DIGIT.TXT” which contains all digits.

Write a program to print the names of students by creating a

Student class. If no name is passed while creating an object of

Student class, then the name should be "Unknown", otherwise the

name should be equal to the String value passed while creating

object of Student class.


Suppose there is a list s1->s2->s3->.........->sn-1


->sn. given to you. Write the algorithm and the pseudo code to modify this list in


such a way that it will be s1->sn

->s2->sn-1

->s3->sn-2.......



Note: algorithm should be in place without modifying the values of the nodes.

Marking Scheme: Total 10 marks ( Algorithm explanation + Pseudo-code + runtime and data

structure used)


What is the value of pairs after the following assignment?

pairs = [ (x,y) for x in range(5,1,-1) for y in range(4,1,-1) if (x+y)%3 == 0 ]

1.Prepare an example of resource sharing algorithm (preferably Max-Min).

2. How APIs are used to provide ML capability for cloud services?

3.Think about some AI examples for Manufacturing industry and search for any cloud support.


LATEST TUTORIALS
APPROVED BY CLIENTS