Questions: 856

Answers by our Experts: 763

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

A) It is late at night and you decide to get a glass of milk before bed. Try to write a pseudocode describing the process of going to the kitchen and getting the milk.

B) Draw a flowchart to illustrate the above program.

C) Define an algorithm of the above.
Write an algorithm/pseudocode for a movie rental company that wants to screen their customers from 18 years and above. The system should be able to deny access to customers that appear below 18 years.


B) Draw a flowchart to illustrate the above algorithm.


 1.     Distinguish between Management Information System and Executive Information System.

2.     Clearly distinguish between System owners and System users.

 


CS304

1.     Describe the four main elements of a computer system.

2.     Distinguish between two main categories of processor registers; and give examples to illustrate your answer.

 


1.     Clearly distinguish between Data structures and Algorithms; and give examples to illustrate your answer.

2.     Discuss the ways by which the following can be specified:

(i).  Data structures

(ii). Algorithms:


Assume you are preparing a coin price calculating machine. Prepare an Algorithm for calculating the total price of given coins (#Coins = n) of different Values (1 Rupee (size = 2 cm), 2 Rupee (3 cm), 5 Rupee (size 1 cm) and 10 Rupee (5 cm)). And compute the time and space complexity of your algorithm


a) How many number of rules can be made from the dataset which is given in Table 3?
b) Identify those item sets from which rules can be made. Also define the criteria of selection
c) Calculate the Support value of {Ketchup and Soda} and find the confidence value of all rules which can be possible by this item set.

Table 3.
Transaction ID Items
1 Ketchup, Hamburgers, Soda
2 Cereal, Milk, Diapers, Bread
3 Hot dogs, ketchup, Soda, Milk
4 Greeting card, Cake, Soda
5 Greeting Card, Cake, Milk, Cereal

Consider the following data:


Objective function to maximize: 300 X + 700 Y


Subject to Constraints:


150 X + 100 Y <= 2800

24 X <= 400

15Y <= 60


Find an optimal solution using:


Excel solver.

Corner point solution method.


Has to be solved using excel.


Let A, B, C, D, E, F, G, H be eight data items with the following assigned weights:

 

Data item: A B C D E F G H

Weight: 20 7 11 17 5 10 24 6

Construct Binary tree using Huffman Algorithm also find the path length of the tree.


Translate each infix expression into its equivalent prefix and postfix expression.

i) (A+B) / (D-C) ;

ii) (A+BꜛD)/(E-F)+G ;

iii) A *(B+D)/E(G+H/k)


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS