Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger


Showing posts with label Matrix Paper. Show all posts
Showing posts with label Matrix Paper. Show all posts

Friday, 18 July 2008

Matrix Paper Technical - Java Paper - 3

Technical questions

1.output of the following code:
#define M 5+5
void main()
{ printf(“%d”, M*M);
}
2.*p+ + increment p or what it points to?
3.Find error with a given code:
{scanf("&",a)}
4.syntax of free func.
5.give output:
void main()
{
int x=0, y=1;
(x || printf(“printing x\n”));
(y|| printf(“printing y\n”));
}

6 write one major advantage & disadvantage of recursion.
7.what is hashing?
8. give output:
main()
{
int j=5;
printf(“%d %d %d”, + +j, j, j+ +);
}
9.give output:

main()
{
int static i=5, j=10;
for(i=1;i<=3;i++)
{
int j=10; j=j+1;
printf(“%d %d %d” j, j, j);
}
printf(“%d”, i);
}

10. why printf(“%d”, ‘A’); will not return the value 1?

11. preorder and postorder traversal of a binary tree is given, construct the binary tree.

12. a binary tree is given, draw postorder traversal.

13. what is the difference between char const* , char *const ?

14. correction of a given code

15. write a macro function to return the maximum of two numbers.

16. how a pointer to a function is called & declared?

17 write a program for double linked list & delete the last node.

18. write a program for binary search of N numbers.

19. program related to string.


Technical - Java Paper - 1

Technical questions

1.output of the following code:
#define M 5+5
void main()
{ printf(“%d”, M*M);
}
2.*p+ + increment p or what it points to?
3.Find error with a given code:
{scanf("&",a)}
4.syntax of free func.
5.give output:
void main()
{
int x=0, y=1;
(x || printf(“printing x\n”));
(y|| printf(“printing y\n”));
}

6 write one major advantage & disadvantage of recursion.
7.what is hashing?
8. give output:
main()
{
int j=5;
printf(“%d %d %d”, + +j, j, j+ +);
}
9.give output:

main()
{
int static i=5, j=10;
for(i=1;i<=3;i++)
{
int j=10; j=j+1;
printf(“%d %d %d” j, j, j);
}
printf(“%d”, i);
}

10. why printf(“%d”, ‘A’); will not return the value 1?

11. preorder and postorder traversal of a binary tree is given, construct the binary tree.

12. a binary tree is given, draw postorder traversal.

13. what is the difference between char const* , char *const ?

14. correction of a given code

15. write a macro function to return the maximum of two numbers.

16. how a pointer to a function is called & declared?

17 write a program for double linked list & delete the last node.

18. write a program for binary search of N numbers.

19. program related to string.

Matrix Test Pattern Paper - 2

Technical C-Programming Language.
Total 19 question.
Time – 1 hr.
marks- 35.
No negative marking.