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

Is the Fibonnaci sequence rising faster than the exponential function?
Write a loop that continually asks the user what pets the user has until the user enters rock, in which case the loop ends. It should acknowledge the user in the following format. For the first pet, it should say You have a dog with a total of 1 pet(s) if they enter dog, and so on.


Sample Run

What pet do you have? lemur

What pet do you have? parrot

What pet do you have? cat

What pet do you have? rock

Sample Output

You have a lemur with a total of 1 pet(s)

You have a parrot with a total of 2 pet(s)

You have a cat with a total of 3 pet(s)
Learners at a local basic school volunteered to sell fresh baked bread to raise funds to

increase the number of computers for their computer lab. Each student reported the number

of loaves of bread he/she sold. Write a C programme that will output the total number of

loaves of bread sold, the total revenue generated by selling the bread, and the average

number of loaves of bread sold by each student. The input data is provided in the following

form: studentIndexNo numOfBoxesSold
How 7AED would be stored using UTF-8 encoding in binary
Suppose that a customer in a store bought plates and cups. Write a program that reads

the number of the plates and the price of one plate, the number of the cups and the

price of one cup, and the amount the customer paid. The program should display the

change the customer got back.
.Using 8’s complement arithmetic compute the value of 6278-6758 and write your final answer in decimal
7.Compute 110101.01102-10110.10102 in octal number system.

8.Compute the value of E7BAD16-E5ACF16 in 15’s complement and write your final answer in binary.

9.Compute the value of 5510-4510 using 7-bit 2’s complement sign magnitude number
Explain the circumstances that would motivate the use of hexadecimal number systems in modern computation
7.Compute 110101.01102-10110.10102 in octal number system.

8.Compute the value of E7BAD16-E5ACF16 in 15’s complement and write your final answer in binary.

9.Compute the value of 5510-4510 using 7-bit 2’s complement sign magnitude number
Consider the following Python program.


fin = open('words.txt')

for line in fin:

word = line.strip()

print(word)


What is word?

Select one:

a. A file object

b. A list of characters

c. A list of words

d. A string that may have a newline

e. A string with no newline
LATEST TUTORIALS
APPROVED BY CLIENTS