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

The Saffir-Simpson Hurricane Scale classifies hurricanes into five categories numbered 1 to 5.


Write a program that outputs a hurricane’s category based on the user’s input of the wind speed.


You may assume that wind speeds will be provided as integer values.


The categories are as follows:



252 km/h or higher-- 5


209 – 251 km/h --4


178 – 208 km/h --3


154 – 177 km/h-- 2


119 – 153 km/h --1



Any storm with winds of less than 119 km/h is not a hurricane


Write a program that asks a user for an IQ score. If the score is a number less than 0 or greater


than 200, issue an error message. Otherwise issue a message according to the following values:



Under 100 Below average


100 Average


Above 100 Above average

Write a program to find the sum of array elements


Write a python program that takes a string as an input from the user and then modifies the string in such a way that the string always starts with an uppercase letter and the case of each subsequent letter is the opposite of the previous letter (uppercase character followed by a lowercase character followed by an uppercase character and so on). Finally the modified string is printed to show the user.


You are given an array of N non-negative integers: A1A2, ..., AN. An alternating subsequence is a subsequence in which the indices of any two consecutive elements differ by exactly two in the original array. That is, if Ai1Ai2, ..., Aik is some subsequence, then for it to be an alternating subsequence, (i2 - i1 = 2), (i3 - i2 = 2), and so on should all hold true. Among all alternating subsequences, find the one which has maximum sum of elements, and output that sum.


Consider you are working as a developer in a software house “XYZ” and you have to develop a program that will detect the Real time objects by using the Camera. As a developer, you have to decide which programming paradigm would be feasible to design develop this system.


Identify the programming paradigm from the list given below and justify your answer with proper reasons.


Object Oriented Programming Paradigm

Procedural Programming Paradigm


1. How is the transfer of frames in ethernet similar to the transfer of frames in a packet-switching network? How is it different?


2. what are functions of session layer and presentation layer in the HTTP protocol.


3. Can a connection-oriented, reliable message transfer service be provided across a connectionless packet network? Explain. 


4. Does Ethernet provide connection-oriented or connectionless service? Justify your answer.



Modify the previous program to use the Do-While Loop instead of the While Loop. This version of the program will ask the user if they wish to enter another name and accept a Y or N answer. Remove the "exit" requirement from before.

 

Output:

Enter the full name of a person that can serve as a reference:  [user types: Bob Smith]

Bob Smith is reference #1

Would you like to enter another name (Y or N)?  [user types: y]

Enter the full name of a person that can serve as a reference:  [user types: Maria Garcia]

Maria Garcia is reference #2

Would you like to enter another name (Y or N)?  [user types: N]


You have a total of 2 references


 Write a program which takes a number n as input and prints YAYY if the sum of all digits except the rightmost digit is equal to the rightmost digit., otherwise print OOPS


Create a class called OneDimArray then create a private generic array of type Object inside class, initialize array using constructor then implement the following methods inside class, then create a driver class called OneDimArrayTest for testing your program. Test your program with integers.

 

·        + Boolean addItem(item)

·        + Boolean addItemAt(index, item)

·        + Object removeItemAt(index)

·        + Object removeItem(index, item)

·        + Object deleteItemIfOdd(item)

·        + Boolean isEmpty()

·        + Boolean isFull()

·        + Object getItemAt(index)

·        + Boolean setItem(index, item)

·        + void swapItems(index1, index2)



LATEST TUTORIALS
APPROVED BY CLIENTS