基础知识

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.

 

 

1.What do you mean by the term optimization?
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 pipelining?
What is hyper threading technology?
What do you mean by cache miss?
What is capacity miss?
What is a decoder?


 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值