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

Write a two dimensional arrays that searches a number and

display the number of times it occurs on the list of 12 input

values.

Sample input/output dialogue:

Enter twelve numbers:

15 20 12 30 35 40 16 18 20 18 20

Enter a number to search: 20

Occurrence(s): 3


Given a string in camel case, write a python program to convert the given string from camel case to snake case

Write a python program that prints a rectangle of size M (height/line numbers) and N (length/column numbers) using incrementing numbers where M and N will be given as input. Please look at the examples below for clarification.



Big-Bazaar wants an application for Billing.



Biller will enter the following details



Type of customer ( ‘R’ - Regular, ‘S’ - Special),



Product number,



Product cost per unit (greater than 10) and



Quantity purchased.(between 1 and 100)



Application should not accept any wrong entry other than as specified above.



Discount offered by shopping Mall



Gives 10% discount for Special customers.



If total billing amount is more than 1000, additional 5% discount is applied.



Application should apply all possible discount and Display Final Bill amount



All variables must have meaningful names(readable)



Variables should have proper data-types

How do I remove the extra "And" when I input 2 and 3 flavors? When I input, "Chocolate Vanilla" I don't get extra "And" but when I include, "Chocolate and Vanilla", I get the extra "And". 


Example: You have selected Chocolate and Vanilla flavors!

My Incorrect Output: You have selected Chocolate And and Vanilla flavors!


order = input("\n" + first_name.capitalize() + "," " " + "Which flavors would you like on your icecream today?\n\n" +
              "\n".join(["Chocolate", "Vanilla", "Strawberry"]) + "\n\n")

order = order.lower().split()
plural = "s" + "!" if len(order) > 1 else "" "!"
union = " and " if len(order) > 1 else ""
print("\nYou have selected" + " " + ", " .join(order[:-1]).title() + union + order[-1].title() + " " + "flavor" + plural)

First, read in an input value for variable numInput. Then, read numInput integers from input and output each on the same line with the character ": " between each value. End with a newline.

Note: ": " should not be at the beginning or end of the output.

Ex: If the input is 4 -40 -30 -100 40, the output is:

-40: -30: -100: 40


7. a) compare the TCP header and the UDP header. List the fields India the TCP header that are not present in UDP header. Give the reason for their absence.



9. Write short notes on:


a) Electronic mail


b) voice over IP


c) HTTP


d) FTP

9. Write short notes on:


a) Electronic mail


b) voice over IP


c) HTTP


d) FTP

9. Write short notes on:


a) Electronic mail


b) voice over IP


c) HTTP


d) FTP

LATEST TUTORIALS
APPROVED BY CLIENTS