Interview questions
System Security Engineer interview questions – page 21
881 questions. Tap “Show answer” to check yourself.
-
How we can declare & initialize more than two variable of same name & print their different values?
-
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...
-
Virtual functions allow you to
-
Given a byte, write code to swap every two bits in pair.
-
What is the function pointer? In which situation we need to use function pointer?
-
Set the highest significant bit of an unsigned integer to zero
-
How to find whether a machine is 32bit or 64 bit? Write code for this
-
What is a trap and trapdoor?
-
What are "collections"?...in which area these concepts will come?
-
What are The two tags for framesets
-
Belady's anomaly and scheduling algorithms (from OS)
-
Trade offs between a multi threaded and single threaded implementation ?
-
Floating point representation: Simple one If 23 bits are used for IEEE representation then whats the range of normalized nos. which can be represented?
-
What is Web Dynpro Trace Tool?
-
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.
-
Write a generic macro swap which can be used for any data types like integer, float, pointer... etc
-
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.
-
Program to flip all odd bits of an integer
-
Life cycle of thread
-
When is a system in safe state?
-
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.
-
What is busy waiting?
-
What is the difference between = and == in C?
-
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
-
How does malloc work?
-
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.
-
Code to flip the image horizontally.
-
How can we create VPN to connect to branch office of the same office. What would be the preliminary requirement?
-
Explain how congestion control works in the TCP protocol.
-
What is ISTP protocol?