User Profile
Collapse
-
Software Question..............
“Can we say that the Choice of the Programming Language and compiler plays an important role in Projects of high quality Software in view of software quality issues?” -
Assembly Language Question.............
“STACK is a LIFO data structure, but are we violating this rule by accessing STACK through BP register? Give your opinion with appropriate reasons.” -
Which is a better approach to implement generic algorithms?
Which of the following is a better approach to implement generic algorithms ; overloading or templates? Justify with the help of examples. -
Memory Management
What is the Role of Data Structure in Memory Management? Explain in detail. -
Software Engineering
Is it fair to say that a Preliminary user's manual is a form of Prototype? Please explain in detail. -
Linked List
Write a complete program to implement the link list operations as following.
a. Write a routine to make two lists L1 and L2 with 5 elements given by the user at run time. Or add two lists with its elements in the main function.
b. Write a routine to compute L1 ∩ L2 using only the basic list operations.
c. Print out L1, L2, and L1 ∩ L2.
For example if you have
L1 = {1, 3, 4, 6, 7}
L2 =... -
-
pointers to variable
Create a program that declares an integer array with five elements. Now store in that integer array five different elements (10, 20, 30, 40, 50) using a pointer variable only.
Hints
The identifier of an array is equivalent to the address of its first element, as a pointer is equivalent to the address of the first element that it points to.
If A [5] is an array then the expressions A[2] and *(A+2) designate... -
-
question
A peridic signal with bandwidth of 2000Hz is composed of two sine waves. The first one has a frequency of 100 Hz with maximum amplitude of 20 V. The second has a maximum amplitude of 5 V. Draw a frequency spectrum. -
Plz help mee.......
a) Use for loops to construct a program that displays a pyramid of numbers on the screen.
The pyramid should look like this:
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Ask the user to enter a digit...Leave a comment:
-
i have tried but i got struck at one place.....plz help me if u can....
i am writting the code.....when i compile.....it does not switch again when i enter "y".....plz help me as soon as possible.
#include <iostream.h>
main()
{
int choice;
float firstNum, secondNum;
char oper, y, Y, n, N;
do
{
cout<< "Please enter the first...Leave a comment:
-
Swapping in C++
Write C++ code to replace two variables A and B with each other.
Given A=2, B=1, you need to swap the values of A and B without using any third variable.
Hints
Assign the value stored in A to the variable B and the value stored in B to the variable A without using any third variable. -
Program
a) Use for loops to construct a program that displays a pyramid of numbers on the screen.
The pyramid should look like this:
1
2 2
3 3 3
4 4 4 4
... -
Code using C++
Create the equivalents of a four-function calculator. The program should request the user to enter a number, an operator, and another number. (Use floating point). It should then carry out the specified arithmetical operation: adding, subtracting, multiplying, or dividing the two numbers. Use switch case statement to select the operation. Finally display the result.
When it finishes the calculation, the program should ask if the user wants...
No activity results to display
Show More
Leave a comment: