Posts by Tag

c

Back to top ↑

swift

[Swift] Inheritance

Superclass and subclass parent class is super class child class is subclass child class can use all things of parent class single inheritance.

[Swift] Class

Property need the initial value. initial value Initialize to init optional variable, constant

[Swift] Loop

For loop for var i = 0; i < 10; i+=1 { print(i) } // error // C-style for statement has been removed in Swift 3 ```swift for i in 0..<10 { pri...

[Swift] Conditional

If var x = 10 if x > 5 { print("greater than 5") } If -else var x = 2 if x % 2 == 0 { print("even number") } else { print("odd number") }

[Swift] Data type

Data type basic Saving Numbers in a Swift Program var num : Int = 10 var num = 10 If there is an initial value as shown above, the com...

[Swift] Print

Print print(1, 2, 3, 4, 5) // 1 2 3 4 5 print(1, 2, 3, 4, 5, separator: "-") // 1-2-3-4-5 separator : print the string between each item

Back to top ↑

operating system

[OS]File System

Disk System Disk pack Sector Track Cylinder Platter Surface Disk drive Head Arm Positi...

[OS]Main memory management

Memory Background processor registers <-> (word) cache memory <-> main memory <-> (block) auxiliary storage(Disk)

[OS]Process Scheduling

Multi-programming Multiple processes exist in the system Select a process to allocate resources Scheduling Resource Management ...

[OS]Thread management

Thread Light Weight Process(LWP) Components Thread ID Register set Stack Benefits of Thread Responsiveness Resou...

[OS]Process management

Job vs Process Job / Program Programs + Data to run Status before the execution request to the computer system

Back to top ↑

os

[OS]File System

Disk System Disk pack Sector Track Cylinder Platter Surface Disk drive Head Arm Positi...

[OS]Main memory management

Memory Background processor registers <-> (word) cache memory <-> main memory <-> (block) auxiliary storage(Disk)

[OS]Process Scheduling

Multi-programming Multiple processes exist in the system Select a process to allocate resources Scheduling Resource Management ...

[OS]Thread management

Thread Light Weight Process(LWP) Components Thread ID Register set Stack Benefits of Thread Responsiveness Resou...

[OS]Process management

Job vs Process Job / Program Programs + Data to run Status before the execution request to the computer system

Back to top ↑

linux

Back to top ↑

basic command

Back to top ↑

control Statement

[Swift] Loop

For loop for var i = 0; i < 10; i+=1 { print(i) } // error // C-style for statement has been removed in Swift 3 ```swift for i in 0..<10 { pri...

[Swift] Conditional

If var x = 10 if x > 5 { print("greater than 5") } If -else var x = 2 if x % 2 == 0 { print("even number") } else { print("odd number") }

Back to top ↑

go

Back to top ↑

var

Back to top ↑

let

Back to top ↑

tuple

Back to top ↑

optional

Back to top ↑

Type Casting

Back to top ↑

conditional

[Swift] Conditional

If var x = 10 if x > 5 { print("greater than 5") } If -else var x = 2 if x % 2 == 0 { print("even number") } else { print("odd number") }

Back to top ↑

loop

[Swift] Loop

For loop for var i = 0; i < 10; i+=1 { print(i) } // error // C-style for statement has been removed in Swift 3 ```swift for i in 0..<10 { pri...

Back to top ↑

method

Back to top ↑

class

[Swift] Class

Property need the initial value. initial value Initialize to init optional variable, constant

Back to top ↑

closure

Back to top ↑

extension

Back to top ↑

inheritance

[Swift] Inheritance

Superclass and subclass parent class is super class child class is subclass child class can use all things of parent class single inheritance.

Back to top ↑

Conditional Statements

Back to top ↑

for in

Back to top ↑

for

Back to top ↑

unwrapping

Back to top ↑

operator

Back to top ↑