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

A protocol using sliding window starts sending packets to a receiver. SWS = RWS = 10. Sender must send 25 unique packets to the receiver and 15 sequence numbers are available (0-14). During transmission ACKs of 8th,9th and 10th packet are lost.Will the transmission end normally or there will be errors during the transmission?


About assignment of c++



In put

Each Student name

Each Student father name 

Each Student id number 

Number of students

Number of subject

Each subject

Each subject credit hours

Each subject grade


Then calculate GPA


Out put

Student name

Student father name 

Student Id number 

GPA

If grade is F the student is fail.



The program must be display if you ask one student information.




Sum of Non-Primes




Write a program to print the sum of non-primes in the given N numbers. The numbers which are not primes are considered as non-primes.Input






The first line of input will contain a positive integer (N).




The following N lines will contain an integer in each line.Output






The output should be the sum of non-primes in the given numbers.Explanation






For example, if the given number is 5, then read the inputs in the next 5 lines and print the sum of non-primes in the given five numbers. If the given input integers in the next five lines are 8, 11, 96, 49, and 25 the output should be 178.





5. Find the total number of elements present in the below set: S={1,2,3,4,4,4,5,6}


Find the total number of elements present in the below set: S={1,2,3,4,5,6}


write c++ programming input each student name each student father name each student id no each subject credit hour each subject grade then calculate gpa output student name


4. Create two tuples named numeric_tuple consisting of only integer values 10,20,30,40,50 and my_tuple which will have 30,60,50,’tup’ values

a. Find the minimum value from the numeric_tuple.

b. Concatenate my_tuple with numeric_tuple and store the result in r1.

c. Duplicate the tuple named my_tuple 2 times and store that in ‘newdupli’.


5. Find the total number of elements present in the below set:

 

6. Create an array with whole numbers values from 0 to 10 and find what is the command to extract the elements in the following sequence - 

array ([7,4,1])


7. Create a NumPy array having user input values and convert the integer type to the float type of the elements of the array. For instance:

Original array [1, 2, 3, 4] 

Array converted to a float type: [ 1. 2. 3. 4.]




Write a c program to pass an entire array to a user defined function and multiply each element by 3 inside the function and print the elements of the array in main

1. Write a program which calculate the employee meal allowance, medical allowance, house rent allowance and calculate the gross salary.



35% meal allowance.



10% medical allowance.



55% house rent allowance.




Write a class representing any Vegetable described by a color passed in the constructor. Write a class Carrot derived from Vegetable, which in the constructor assumes the price per kilogram. Write Buy method (which takes the number of kilograms as the parameter) in such a way that it is possible to write the code: Vegetable r = new Carrot (15, "red"); // 15 PLN / kg, color: red double toPay = r.Buy (0.5); // Returns the price of 0.5 kg of the carrot


LATEST TUTORIALS
APPROVED BY CLIENTS