Interview questions

System Security Engineer interview questions – page 21

881 questions. Tap “Show answer” to check yourself.

  1. How we can declare & initialize more than two variable of same name & print their different values?

  2. Which of the following languages over {0, 1} is regular? a) 0i1j such that i j b) 0iw1j such that w {0, 1} and i 0 c) All strings of 0s and 1s such that every pth character is 0 where p is prime d) None...

  3. Virtual functions allow you to

  4. Given a byte, write code to swap every two bits in pair.

  5. What is the function pointer? In which situation we need to use function pointer?

  6. Set the highest significant bit of an unsigned integer to zero

  7. How to find whether a machine is 32bit or 64 bit? Write code for this

  8. What is a trap and trapdoor?

  9. What are "collections"?...in which area these concepts will come?

  10. What are The two tags for framesets

  11. Belady's anomaly and scheduling algorithms (from OS)

  12. Trade offs between a multi threaded and single threaded implementation ?

  13. Floating point representation: Simple one If 23 bits are used for IEEE representation then whats the range of normalized nos. which can be represented?

  14. What is Web Dynpro Trace Tool?

  15. How to check if binary representation of a number is a palindrome or not? For eg. binary representation of 5 is 101 and is a palindrome.

  16. Write a generic macro swap which can be used for any data types like integer, float, pointer... etc

  17. Write a function int findn(int n, int x); The function must return the nth number in the sequence of binary numbers with exactly x ones.

  18. Program to flip all odd bits of an integer

  19. Life cycle of thread

  20. When is a system in safe state?

  21. Write a function F(x, p, n, y) such that it returns x with the n bits that begin at position p (from LSB) set to the rightmost n bits of y.

  22. What is busy waiting?

  23. What is the difference between = and == in C?

  24. Find the value of n the following code: int F(int n) if( n!=0& !(n&(n-1))) printf("%d",n) n is i. Even no ii. Odd nos iii. Non zero numbers iv. Number with power 2

  25. How does malloc work?

  26. There is an array of size 'n' containing 0s and 1s. Find in O(n) and constant space the maximum sub sequence which has equal number of 1s and 0s.

  27. Code to flip the image horizontally.

  28. How can we create VPN to connect to branch office of the same office. What would be the preliminary requirement?

  29. Explain how congestion control works in the TCP protocol.

  30. What is ISTP protocol?

Companies that ask System Security Engineer questions