Technical Questions

Q:

What would be the output of the following program, if the array beigns at address 65486?

main()

{

    int arr[] = {12,14,15,23,45};

    printf ("%u %u", arr, &arr);

}

Answer

65486  65486

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2059
Q:

What is the difference in writing the test cases for Integration testing and system testing?

Answer

Integration testing is done at module level when various modules are integrated with each other to form a system or sub-system. Its main purpose is to ensure that interfaces between various modules are working properly; i.e. modules which are working individually are also working correctly together.


System testing is done on a complete, integrated system to evaluate the system’s compliance with its specified requirements. It validates that the system meets its functional and non-functional requirements.


From these definitions, it is clear that the purpose of Integration and purpose of System Testing are different. Therefore, Integration test cases focus more on the interfaces between modules (interface integrity) - the data transfer and their interaction with each other. System test cases focus on testing the product as a whole; i.e. whether the functional, non-functional requirements of the System are met or not. Since System Testing is the final phase before delivery of the product, System test cases should pinpoint configuration related errors along with testing for performance, security, reliability etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

1 2059
Q:

C program to find whether a number is palindrome or not.

Answer

 #include<stdio.h>
int main(){
    int num,r,sum=0,temp;

    printf("Enter a number: ");
    scanf("%d",&num);

    temp=num;
    while(num){
         r=num%10;
         num=num/10;
         sum=sum*10+r;
    }
    if(temp==sum)
         printf("%d is a palindrome",temp);
    else
         printf("%d is not a palindrome",temp);

    return 0;
}

Sample output:
Enter a number: 131
131 is a palindrome

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2058
Q:

What is microprocessor?

Answer

Micro processor is a program-controlled device, which fetches the instruction from memory, decodes and executes the instructions. Most Micro Processor are single-chip devices.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2058
Q:

How to clear Computer Motherboard CMOS password?

Answer

To clear the CMOS password you just remove the CMOS Battery or else you can also use a jumper settings.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2058
Q:

What are the minimal cost and minimal risk solution?

Answer

In binary representation there are some states that believed to be never occurred due to some particular functionality of a given circuit. If zero output is assigned to such states then it is called minimal risk solution as  we are resetting the formidable states which could be occurred accidentally. Another approach is to assigned a don't care to them so it results in lesser logic and hence is called minimal cost solution.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2052
Q:

What is Marshalling?

Answer

The process of packaging and sending interface method parameters across thread or process boundaries.

Report Error

View answer Workspace Report Error Discuss

1 2047
Q:

Why the temporary registers W and Z are named so i mean we start from A, B, C, D, E then H and L coz H stands for higher bit and L for lower bit of the address pinted by memory pointer.. but wats W and Z for?

Answer

As W and Z alphabets are not widely used similarly as W and Z is internally used they would have been named so

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2044