1.What are complier optimization techniques?
1.Ans: Compiler optimization techniques are optimization techniques that have been programmed into a compiler. These techniques are automatically applied by the compiler whenever required. For example, you can tune the compiler for performing database read and write operations.
2.How do threaded applications increase or decrease the performance of an application?
2.Ans: Threaded applications divide complex tasks into simpler subtasks. This increases the speed of the application and the system resources are utilized in a better way. However, an increase in the number of threads in an application can lead to an additional overhead. A large number of threads in an application lead to large amount of context switching.
3.What do you mean by alignment?
3. Ans: Alignment refers to the property of the memory address. It is expressed as the numeric address modulo power of two. The CPU executes the instructions that operate on the data.
4.What do you mean by system call?
4.Ans: System call refers to the mechanism used by an application program to request service from the operating system. System call often uses a special machine code instruction which causes the processor to change code.
5.What do you mean by floating-point operation?
5.Ans: Floating-point operation is any mathematical operation (such as +, -, *, /) or assignment that involves floating-point numbers. Floating-point numbers have decimal points in them. Floating-point operations involve floating-point numbers and typically take longer to execute than simple binary integer operations.
2.State one advantage of unrolling loops in your application?
3.State one disadvantage of unrolling loops in your application?
4.Give two examples of sentinel values.
5.What is the time complexity of binary search algorithm?
What is hyper threading technology?
What do you mean by cache miss?
What is capacity miss?
What is a decoder?