iOS面試考題

Ame
Ame
Aug 24, 2017 · 1 min read

紀錄一下 之前看到的考題 應該是沒有語言限制

  1. Declare a function pointer with int return.Define a type in above function pointer and use it as a callback

func x()->int{}

func x(compted: @escaping()->void){}

2. What’s hash table?Make an application example for Hash Table

enum fruit

{

case Apple

case Banana

}

3. What’s race condition/critical section in Operation System,how to solve it?

GCD ,Priority

4. What’s Polymorphism,make 2 difference exapmples to implement polymorphism in JAVA or other language

class People{}

class Super:People{}

class Spider:People{}

5. Explain HTTP protocol as possible as you can and describe the difference of session in TCP and HTTP

error,sent,token

6. Please describe your experience of using 3rd party library/SDK, ex FB/twitter/google/apple and so on? If you have any experience/idea to provide your own library or SDK,please also describe it.

7. Describe How RSA and HTTPS/TLS work?

8. Explain grub and rootFS, Cramfs in Linux system

9.Illustrate any network protocol and how it wroks, more protocols are better

protocol Network

{

var data:Any?

var token:String?

var error:String?

}

10 What’s difference among a standalone Linux server, VM and Container?

)

Ame

Written by

Ame

Junior iOS & food https://tor-f.idv.tw/blog/

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade