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 script that asks users to input names in a text field. Sort the names and


display them in a seperate text area.


2. If the user enters an empty name, show the text field in red color. Also display an


alert box. Change the color to white when a non empty name is eneterd.


3. Add shortcut keys to text area. When user presses Ctrl+Enter, change the font style


of text in text area to italic. When user presses Shift+Enter, change the font style of


text area to normal.

Write a function that takes as input an array of current values 𝑥 and an array of parameters 𝑝𝑎𝑟𝑎𝑚s params and returns the probability density for each value of 𝑥

x based on a probability distribution that is the weighted sum of as many normal distributions as there are current levels in the data. We were given an array of current values of a single ion channel


UMT Registration System


1.      Press 1 to login

2.      Press 2 to register students

3.      Press 3 to see the list of fee defaulters

4.      Press 4 to see the CGPA of student

5.      Press 5 to see the pre requisite of a course.

6.      Press 6 to exit the system


Registration Window

Enter student ID

The student should not be a fee defaulter if yes then do not register student

The pre requisite of course should be passed. if fail do not register for the course

If the students CGPA is a above 3.0 register all courses.

If the CGPA is above 2.0 register 3 courses.

If CGPA less than 2.0 then register 2 courses with a warning.


Student information Window


The data should be saved in a file.

The student record may be deleted.

The student record may be searched based on the ID provided.

The student record may be updated in case if its phone no or house address changes.


Write a function that TAKES a list of numbers and RETURNS the addition of all its element

  • Quiz 1 (20 marks - 10% Weight),
  • Quiz 2 (20 marks - 10% Weight),
  • Class test (50 marks - 25% Weight),
  • Assignment (100 marks - 25% weight) and
  • Project (200 marks - 30% weight).

Design a program that will prompt the user for marks for each of the tests and calculate the overall marks (out of 100).


Create a function that will take the array as an argument and return the average of the quizzes.

Registration System


1.      Press 1 to login

2.      Press 2 to register students

3.      Press 3 to see the list of fee defaulters

4.      Press 4 to see the CGPA of student

5.      Press 5 to see the pre requisite of a course.

6.      Press 6 to exit the system


Registration Window

Enter student ID

The student should not be a fee defaulter if yes then do not register student

The pre requisite of course should be passed. if fail do not register for the course

If the students CGPA is a above 3.0 register all courses.

If the CGPA is above 2.0 register 3 courses.

If CGPA less than 2.0 then register 2 courses with a warning.


Student information Window


The data should be saved in a file.

The student record may be deleted.

The student record may be searched based on the ID provided.

The student record may be updated in case if its phone no or house address changes.



Triplet sum


Given an array n integers, find and print all the unique triplets (a,b,c) in the array which give the sum K.(a+b+c=K)


Input


The first line of the input will be space separated integers, denoting the elements of the array. The second line of the input will be an integer denoting the required sum K.


Output


The output should be multiple lines, each line containing a unique triplet. The elements of the triple must be sorted in increasing order and all the triplets printed must be sorted in increasing order. Print"No matching triplets found" if there are no triplets with the given sum.


Sample input


0 12 17 8 9 21


29


Sample output


(0, 8, 21)


(0, 12, 17)


(8, 9, 12)

You have to write a menu-driven program that asks the user to select a favorite color from the given colors. Keep asking the user three times for selecting the color from the list of the available colors. Do this with the help of a suitable loop and switch statement. Finally, you have to display the three favorite colors of the user.


Rotate matrix rings



Given a matrix of order M*N and a value K, write a program to rotate each ring of the matrix clockwise by K elements. If in any ring has less than or equal to K elements, then don't rotate that ring.



Input:



The first line of input will be two space separated integers, denoting the M and N. The next M lines will contain N space separated integers. The next line will contain an integer, denoting K



Output:



The output should be M*N matrix by K elements.



Sample input:



3 4



1 2 3 4



10 11 12 5



9 8 7 6



2



Sample output:



9 10 1 2



8 11 12 3



7 6 5 4

LATEST TUTORIALS
APPROVED BY CLIENTS