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

)Create a class named 'Member' having the following members: Data members 1 - Name 2 - Age 3 - Phone number 4 - Address 5 - Salary It also has a method named 'printSalary' which prints the salary of the members. Two classes 'Employee' and 'Manager' inherits the 'Member' class. The 'Employee' and 'Manager' classes have data members 'specialization' and 'department' respectively. Now, assign name, age, phone number, address and salary to an employee and a manager by making an object of both of these classes and print the same.


Write a program to count the number of prime number elements in an array of 10 elements where array is allocated memory dynamically


Write the PHP script called remove.php and create an HTML form for your web page that removes lines of text from a given file, the file contains sentences, and it is called textfile.txt. Your we page contains a short form with a text box and text field where the customers or users can type only one word. Then the web page should provide the following behaviors: • The web page displays the current contents of the file text.txt as it appears in the file with its format.• The web page form submits back to the same page, remove.php, as a post request. • Display changes of the file to any future viewings of the web page and display how many sentences were removed from the textfile.txt. • Do not used browser's default styling. You are required to write any suitable CSS style. • Ensure that the results are displayed in red color and the number of sentences removed are displayed in green colour.


Create a Website a fulfil following requirements

contain 3- 5 pages

Implement both client side and server-side

integration of following technologies

Bootstrap framework

jQuery

Ajax

JSON for communication

CRUD operations via Mongodb



These are the theory questions about Compilers:


1. What is LL1 parsing? Define the meaning of each character of LL1.

2. Which part of a compiler needs to be modified if the precedence of operations changes?

3. Regular languages are closed under regular operations. What does this mean?

4. What is Subset Construction?

5. What is left factoring and why is it applied on Context-Free Grammars?



If the network is to be divided into four subnetworks having 50 machines each give a plan to do so. What additional devices will be needed? Give the IP address of each subnetwork and the address ranges for hosts in each subnetwork.


Q.1

(a) Generate data with the function y = ax3+ bx2+ cx + d in the range of x as it

varies from 0 to 2 with step increase of h . Assign suitable values of constants a, b, c and d.

Also assume the increment h to any value in between 0.1 to 0.25.


(b) Using the data obtained in (a), determine [dy/dx]x=p and [d2y/dx2]x=q

. Assign suitable values of p and q in the range 0.1 to 0.6.


(c) Compare your result with the original one and make a conclusion.


  • Analyze the time complexity of the following segments Analyze the time complexity of the following segments 
  • Program:
  • sum1=0;
  • for(k=1;k<=n;k*=2)
  • for(j=1;j<=n;j++)
  • sum1++
  • sum2=0;
  • for(k=1;k<=n;k*=2)
  • for(j=1;j<=k;j++)
  • sum2++

Generate data with the function y = ax3 + bx2 + cx + d in the range of x as it

varies from 0 to 2 with step increase of h . Assign suitable values of constants a, b, c and d.

Also assume the increment h to any value in between 0.1 to 0.25.


Analyze the time complexity of the following segments

Program:

sum1=0;

for(i=1;i<=n;i++)

for(j=1;j<=n;j++)

sum1++

sum2=0;

for(i=1;i<=n;i++)

for(j=1;j<=i;j++)

sum2++



LATEST TUTORIALS
APPROVED BY CLIENTS