Other Programming & Computer Science Answers

Questions: 537

Answers by our Experts: 537

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

During program execution, which of the follwing statements are used when data is to be supplied

EXECUTE
STOP
LOOP
None of the above
Data movement instructions are used for ________ data from one storage location to another and for rearranging and changing of data elements in some prescribed manner.

moving
copying
transferring
all of the above
The END statements is used to indicate the __________ that there are no more BASIC statements for it to translate.

Memory
Processor
Compiler
Assembler
The BASIC programming language automatically assigns 11 element(s) to every _____-dimensional array

Three
two
one
Four
please help
Add the following 8-bit binary numbers
i. (01001110)2 + (00111100)2
ii. (10011101)2 + (10001111)2

Simplify the following Boolean function:
F = A’C + A’B + AB’C + BC, using K-map?
Consider the following implementation of a class Square:

public class Square
{
privateintsideLength;
privateint area; // Not a good idea

public Square(int length){
sideLength = length;
}
publicintgetArea(){
area = sideLength * sideLength;
return area;
}
}

Why is it not a good idea to introduce an instance variable for the area? Rewrite the class so that area is a local variable.
Suppose we have a problem that currently takes 100,000 hours of computer time using current technology to solve. Which of the following would give us the solution first:
(1) replace the algorithm used in the current solution by one that runs twice as fast and run it on the current technology, or
(2) wait 3 years, assuming Moore’s Law doubles the performance of a computer every 18 months, and find the solution using the current algorithm with the new technology?
I need pseudocode for a program that continuously accepts data about text messages until a sentinel value is entered, and displays details only about customers who send more than 100 text messages.
real life examples of single inheritance ,multiple ,multilevel,hierarchical, hybrid inheritance
Divide 0001010001001001 (BCD) by (1001)2 and express the result in octal equivalent .
LATEST TUTORIALS
APPROVED BY CLIENTS