Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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

Using nested loops, write a C# application program that produces the following output.
& & & & & &
* & * * * *
* * & * * *
* * * & * *
* * * * & *
& & & & & &
Enter a word: Good
Enter a word: morning
Good morning
WAP to calculate an electricity bill using decision making. As every house has got electricity now a days, the chief in electricity board is in pressure of generating automated bills. So he approached your team to work for him. He explains to you all the cases to be considered to calculate the accurate bill.
For instance,
I. Bill paid within 15days of generation.
II. If reading is less than or equal to 200 units then each unit is charged Rs. 2.
III. If reading is more than 200 units but less than or equal to 400units then for first 200 units charges will be Rs.2 and other units are charged at Rs. 4
IV. If reading is more than 400 units then all the units will be charged Rs. 4.
V. Bill paid after 15days of generation: A surcharge of 10% on your bill amount has to be paid.
Now considering these cases help the chief in automating the billing system.
Your group visit a shop to get your assignment typed and printed. Draw a flowchart to calculate bill of a job work based on following rates.
• Rate of typing is Rs. 3/- per page
• Rate of Printing is Rs. 5/- per page
User should enter the number of pages in assignment and no. of print out copies your group want.
Add appropriate variables having descriptive names and comments for computing days and hours.
Add the statements to compute days and hours besides minutes and seconds using the initial total number of seconds.
One day has 86,400 seconds (don't use commas in C++ for numeric values).
One hour has 3,600 seconds.
Provide comments for days and hours calculations similar to those for minutes and seconds.
Enhance the output to include days and hours.
Design a high level network model showing connectivity structure starting from backbone ISPs and their router and down to local ISP and to local network including end systems, on each route mention suitable protocol to use and implement Autonomous Systems (AS) and define subnets for end users
Explain the following in the context of 8086 Microprocessor :
(i) Physical address calculation using CS:IP and SS:SP pairs
(ii) Processing of software Interrupts in 8086 microprocessor
(iii)Indirect Addressing modes of 8086 microprocessor

Assume that a disk has 256 tracks, with each track having 64 sectors and each sector is of size 4M. The cluster size in this system can be assumed to be 4 sectors. A file having the name MCS012.txt is of size 128 M. Assume that disk has 16 free - continuous clusters of 8sectors each. How can this file be allotted space on the disk? Also show the content of FAT after the space allocation to this file. You may make suitable assumptions.


Write, compile, and run a C++ program that inputs 10 double-precision numbers

in an array named raw. After these numbers are entered in the array, your program should cycle

through raw 10 times. During each pass through the array, your program should select the lowest

value in raw and place it in the next available slot in an array named sorted. When your

program is finished, the sorted array should contain the numbers in raw in sorted order from

lowest to highest. (Hint: Be sure to reset the lowest value selected during each pass to a very

high number so that it’s not selected again. You need a second for loop in the first for loop to

locate the minimum value for each pass.)


(Single Inheritance) Write a program to create a class CIRCLE with one field as radius, used

to calculate the area of a Circle. Create another class RECTANGLE used to calculate the area

of the rectangle which is a subclass of CIRCLE class. Use the concept of single inheritance

such that the radius of circle class can be re-used as length in rectangle class. Take necessary

data members and member functions for both the classes to solve this problem. All the data

members are initialized through the constructors. Show the result by accessing the area

method of both the classes through the objects of rectangle class

LATEST TUTORIALS
APPROVED BY CLIENTS