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

Find the sum of durations of the videos published by each channel in hours.

Note:

  • The output must contain the duration as number of hours.
  • Sort the output in the descending order of theno_of_hours

write a 

program which will accept one 

integer argument and returns 

count of digits of that argument 

using (((class to basic conversion.))))


Write a program in c++ to accept data dd:mm: yyyy format store these values in my drive classes with member as day ,month, year . convert this data into one variable duration of the current year .this duration means number of days passed in the current year since jan1


What are different file stream classes? Expain the syntax of opening the file in read and write mode .can while (fin) be replaced with if (fin1.eof()!=0) to process the file? Justify



1.    Create a class: “Prime” with private data members: upper_limit (int), lower_limit (int) and parameterized constructor, which initializes the values of both data members. Apart from initialization, this constructor also displays the count of prime numbers from upper_limit to lower_limit. [Example: upper_limit:15, lower_limit:10, count of prime numbers is:2 (11 and 13), also make sure the value of upper_limit should be greater than lower_limit].


 




1.    Create a class Student with following data members- name, roll no and marks as private data member. Create array of objects for three students, compare their marks using operator overloading, and display the record of the student who is getting highest score.




1.    Create a class Employee with the data members such as name, id and total salary. Create a file as “Employee_Data” as binary file and write the information of four employees to that file. Open that file in reading mode and only display the record of 2nd and 3rd employees.



I have two Tables Table1 and Table2 having fields CustID , Product, Price, VAddress in both tables. How to insert records of table2 into table1 if CustIDs are not Equal (Using VB)


Consider a file “data.txt” which contains several records. Each record contains ID(7chars), 1 space, First name (10 chars),1 space, Second name (8 chars), 1space, marks in physics( 3chars), 1space, marks in chemistry(3 chars), 1space, marks in mathematics(3 chars) and anewline character.  Sample file content is as shown below:

71723 Ram        Sen        70 72 75

91924 Raghubir Yadav     82 73 80

53425 Ram        Chauhan 93 81 86

44917 Ratan      Yadav    95 79 91

Write a shell program info.sh to achieve the following

i)       If the programis run without any argument ($./info.sh), it has to display the first name, second name and average score of each student in the file.


1. What are different file stream classes? Explain the syntax of opening the file in read and write mode. Can while(fin) be replaced with if(fin1.eof()!=0) to process the file? Justify.


LATEST TUTORIALS
APPROVED BY CLIENTS