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

Write a C code to convert a doubly linked list into a circular doubly linked list.


The Nobel peace prize. The process of selecting the winners for the various prices have been criticized as being biased especially from the side of the panel members. The committee of experts at a general council meeting decided to automate the selection process. On a trial bases, you have been engaged to develop a system that will automatically select a nominee as the winner of the award in two categories (peace and science). Your program should have the following functionalities.

a) Define a class named NobelAward. Your class must have two
functions, one of the functions should be named AwardCategory, and the
other function should be named AwardWinner. Your AwardCategory
must have a string argument and return the string when called. Your
AwardWinner function must contain two parameters, one should be a string called name and the other an integer called votes. When called (AwardWinner) it should return the name and highest votes as the winner for a particular category.

Consider the following relations from a Richfield database. Write relational algebra expression for each statement using symbolic notations.

Books (bid, title, publisher, year)

Students (sid, sname, major, age)

Authors (aid, aname, aaddress)

Borrows (bid, sid, date)

2.2.1 List the title & year of each book. (2)

2.2.2 Find all information about students whose major is Java. (2)

2.2.3 List all students with the books they can borrow. (2)

2.2.4 Obtain all the books published by McGraw-Hill before 2019. (2)

2.2.5 Rename aname in the relation Authors to name. 


Dictionary company started an app which does not store the words initially,and once a word comes it stores and shows the repeated one.need to write a function which returns the words that are repeated.if no words are present return"na" ,if present,return repeated woŕds in alphabetical order
Reverse a string count the position of character same after reversed a string
Ex:abdrxxhga
Reversed string:aghxxrdba
Axxa are same position so count is 4
Count:4

Denominations - 3

Write a program to find the minimum number of notes required for the amount M. Available note denominations are 500, 50, 10, 1.

Input

The first line is a single integer M.

Output

Print M in denominaitons.

Explanation

Given

M = 1543, it can be written as1543 = 3*(500) + 3*(50) + 0*(10) + 1*(3)Then the output should be

500: 3 50: 0 10: 4 1: 3

Sample Input 1

1543

Sample Output 1

500: 3 50: 0 10: 4 1: 3

Sample Input 2

1259

Sample Output 2

500: 2 50: 5 10: 0 1: 9




A chemical produces a certain energy at a constant, rate for every second showing the amount of energy generated for every second for a period of time s.
Ex.intial energy=2
Rate=4
Time(secs)=3

Denominations - 4

Write a program to find the minimum number of notes required for the amount M. Available note denominations are 2000, 500, 200, 50, 20, 5, 2, 1.Input

The first line is a single integer M.

Output

Print M in denominations.

Explanation

Given

M = 2257 Then 2257 can be written as

2000 * 1 + 500 * 0 + 200 * 1 + 50 * 1 + 20 * 0 + 5 * 1 + 2 * 1 + 1 * 0So the output should be

2000:1 500:0 200:1 50:1 20:0 5:1 2:1 1:0.

Sample Input 1

2257

Sample Output 1

2000:1 500:0 200:1 50:1 20:0 5:1 2:1 1:0

Sample Input 2

2345

Sample Output 2

2000:1 500:0 200:1 50:2 20:2 5:1 2:0 1:0




Total number of units of memory allocated/deallocated by the server?
Given a string needs to count the characters except number,small letters,ipper letters and spaces?
Eg i/p- ancSddhk#adjdl
O/p-3
LATEST TUTORIALS
APPROVED BY CLIENTS