# 计算机基础/操作系统面试题.md

## 1、操作系统如何管理内存的？

## 2、进程调度？

[更详细的内容可点击这里](https://www.cnblogs.com/wawlian/archive/2012/02/17/2356398.html)

## 3、说下Linux进程和线程的区别；进程调度优先级，和cpu调度进程关系。

## 4、你知道怎么看Linux中内存、cpu、文件的句柄吗？

## 5、你能解释一下Linux的软链接和硬链接吗？

## 6、安卓权限管理，为何在清单中注册权限，安卓APP就可以使用，反之不可以？

此题考查Android的权限管理在Android的安全架构中的作用。

Android 是一个权限分隔的操作系统，其中每个应用都有其独特的系统标识（Linux 用户 ID 和组 ID）。系统各部分也分隔为不同的标识。Linux 据此将不同的应用以及应用与系统分隔开来。

其他更详细的安全功能通过“权限”机制提供，此机制会限制特定进程可以执行的具体操作，并且根据 URI 权限授权临时访问特定的数据段。

Android 安全架构的中心设计点是：在默认情况下任何应用都没有权限执行对其他应用、操作系统或用户有不利影响的任何操作。这包括读取或写入用户的私有数据（例如联系人或电子邮件）、读取或写入其他应用程序的文件、执行网络访问、使设备保持唤醒状态等。

由于每个 Android 应用都是在进程沙盒中运行，因此应用必须显式共享资源和数据。它们的方法是声明需要哪些权限来获取基本沙盒未提供的额外功能。应用以静态方式声明它们需要的权限，然后 Android 系统提示用户同意。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://adark0915.gitbook.io/android/ji-suan-ji-ji-chu/cao-zuo-xi-tong-mian-shi-ti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
