Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

SAP

1. State the difference between DBMS and RDBMS


2. What is static and use of it?
3. Give a real life example of static where you would use it?
4. What are public, private called in C++?
5. What is a class and object in C++. Explain by taking an example.
6. What is the use of access specifiers? For whom would it be useful users or developers?
7. What is difference between authorization and authentication?
8. What is difference between Abstraction and encapsulation?
9. How is Encapsulation implemented and an example?
10. What is use of inheritance?
11. Write a program to find second largest number in an array?
12. What is time and space complexity?
13. What is mySql?
14. What are triggers. How to use them?
15. Why do we need a foreign key when we have a primary key?
16. What is index in SQL?
17. What is use of joins?
18. Find Min and Max of an array in only one traversal
19. State the Difference between deep and shallow copy.
20. What’s “preinitialization” ?
21. What is the use of Use Recursion?
22. Tell me about Different versions of polymorphism, how to solve the problem of multiple
inheritance.
23. What do you mean by Template classes?
24. Given a tree, WAP such that a matrix is generated so that:
1
Tree:
1
/ \
2 3
| /\
4 5 6

123456
1011111
2000100
3000011
4000000
5000000
6000000
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.

35.

36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.

You might also like