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

In your own words clearly distinguish between data and information within the context of computer-based information systems.


ii. for each of the two terms data and information, provide two practical examples in the field of business or engineering


For this problem, the prefilled code will contain a list of tuples. Write a program to replace the last number of each tuple in the list with the given number (N).

Consider the following Python function.

def mystery(l):
    if l == []:
        return(l)
    else:
        return(mystery(l[1:])+l[:1])

What does mystery([22,34,18,57,92,45]) return?




Static data members of a class occupy memory once whereas non static data members occupy members as per the number of objects created. Justify the statement by writing a program.


COVID-19 has triggered panic buying from Americans with the expectation that there will be declaration of lockdown after the closure of school across the
country. Retailer are increasing the prices of their goods on the shelf based on
the time it stays on the shelf. The management of “Brutus Stores” have decided on this price policy. The price of any item which is expected to sell within a week should be increased by 20%. However, if an item stays on the shelf after a week but less than or equal to two weeks the price should be increase by 15%.
The price of any other item that stays on the shelf for more than two weeks
should be increase by 2%. As a programmer you have been consulted to
develop a program that will:

a. Request for item name, current price in $, expected duration on shelf.

b. Compute the retail price of the item.

c. Display the results.

d. Explain your results
a. C++ is known to be an object-oriented program. Objects are also known
to exist in real life. You have been invited as a computer science student
to distinguish between real life objects and object found in object oriented
program OOP.

b. Write an OOP to compare the risk factor that will lead to high payment of
life insurance premium. The variables to consider are: age, weight, and
height
1. The program should request for the variables to be inputted from the
keyboard.

2. Premium should be high if age is greater than or equal to 60 years and
weight is greater than or equal 80kg and has greater than or equal 6.8 feet. Otherwise the premium should be low.

3. Critically explain how the program could be adopted by allied companies for their operations.

Diamond Crystal


Given an integer value N, write a program to print a diamond pattern of 2*N rows as shown below.


Input


The first line of input is an integer N.


Explanation


In the given example, the number of rows in the diamond is 2*5 = 10.

So, the output should be


    /\
   /  \
  /    \
 /      \
/        \
\        /
 \      /
  \    /
   \  / 
    \/

Sample Input 1


5


Sample Output 1


    /\
   /  \
  /    \
 /      \
/        \
\        /
 \      /
  \    /
   \  /
    \/

Sample Input 2


3


Sample Output 2


  /\
 /  \
/    \
\    /
 \  /
  \/

Refer to the document in the link below 


https://docs.google.com/document/d/1RBknUJ-BqOf7C-5nMxEFs4JxAUQo4_KSt07SSkS3Jak/edit?usp=sharing


Bob has an array of size n. He loves to play with these n numbers. Each time he plays with them, he picks up any two consecutive numbers and adds them. On adding both the numbers, it costs him k*(sum of both number). Find the minimum cost of adding all the numbers in the array.


Bob has an array of size n. He loves to play with these n numbers. Each time he plays with them, he picks up any two consecutive numbers and adds them. On adding both the numbers, it costs him k*(sum of both number). Find the minimum cost of adding all the numbers in the array.


LATEST TUTORIALS
APPROVED BY CLIENTS