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

What will be the output of the following:
i) int x=5; cout<<(x=10)<<" "<<(x==10)<<endl;
ii) cout<<(100<20)<<" "<<(100>20);
iii) int x=5; cout<<(x + 2 < x / 10)<<endl;
iv) bool x =192;cout << x;
Mention all the errors in the following code:
#include <iostream>
using namespace std;
int main()
{
const int x;
x = 10;
cin >> y;
int y = 10;
cout << x << " " << y;
return 0
}
Write a program which takes as input an integer from the user, and displays the corresponding character. For example if the user enters 65, 'A' would be shown on the screen. The program should also take as input a lowercase character and then displays the uppercase form of it. For example if the user enters 'a', 'A' would be shown on the screen. The program should also make a beep sound before ending.
Each part of this problem addresses an aspect of computer organization.
a. List the components that are part of the CPU.
b. List the components that are part of the system bus.
c. Reorder the list of data storage elements below according to computer system
memory hierarchy, from closest to the CPU to farthest from the CPU.
hard disk, level 1 cache, DVD ROM, level 2 cache, registers, level 3 cache, and
main memory
All the banks operating in India are controlled by RBI. RBI has set a well defined guideline (e.g. minimum interest rate, minimum balance allowed, maximum withdrawal limit etc) which all banks must follow. For example, suppose RBI has set minimum interest rate applicable to a saving bank account to be 4% annually; however, banks are free to use 4% interest rate or to set any rates above it.

Discuss the concept of parameters. What are parameters for? What is the difference between formal parameters and actual parameters? Give an example in Java code that illustrates formal parameters and actual parameters.


Convert the following decimal numbers into equivalent binary numbers and then convert the binary answer back into equivalent decimal Show all the steps of conversions

479

8735

Solve the given Boolean Expression by using truth table,
After having successfully completed the AI course, you get a job in another town (as an AI expert of course), and you have to move out of your apartment. You have already packed all your belongings in nine moving boxes, scattered around the apartment, now all you have left to do is to move these boxes into the moving truck, which is parked just outside of the apartment. The boxes are too big to carry, so you have to push them between the rooms. The following graph shows the four rooms in the apartment, the truck, how many boxes are initially in which rooms, and how the rooms are connected:

On each turn, you can either move or push a box into an adjacent location, in any direction: north, south, east, west. When this story begins, you have just parked the truck.
Implement the given scenario & Formulate this problem as a search problem, i.e.:
• Design suitable representation of the search states?
• Design a method of initial state
• Set goal state
• Calculate path cost at each step.
1. There are 10 employees in the organization
2. There are 2 employees of level-A, 3 employees of level-B, 5 employees of level-C.
3. The information about their salaries is given below.
a) The salary of level-A employee is Rs.1, 25,000.
b) The salary of level-B employee is Rs.80, 000.
The salary of level-C employee is Rs.45, 000.
4. Rs.600 is deducted from the salaries of all employees against staff welfare fund.
5. If ANNUAL salary of an employee is more than Rs.600, 000, 1% tax is deducted from salary each month.
1) Total monthly tax deduction for all employees
Each part of this problem addresses an aspect of computer organization.
a. List the components that are part of the CPU.
b. List the components that are part of the system bus.
c. Reorder the list of data storage elements below according to computer system
memory hierarchy, from closest to the CPU to farthest from the CPU.
hard disk, level 1 cache, DVD ROM, level 2 cache, registers, level 3 cache, and
main memory
LATEST TUTORIALS
APPROVED BY CLIENTS