CS2103: Lecture 3
CS2106: Tutorial 3
CS2105: Tutorial 2
CS2106: Lecture 6 - Interprocess Communication
There are different type of IPC- Shared memory- Message passing- Pipes- SignalsHard for cooperating process to share information due to the independent memory space.How can process talk?- IPC is neededShared memoryCommunication through read and writes to shared variablese.g Process 1 creates shared memory region M Process 2 attaches memory region M to...
[Read More]
CS2105: Lecture 4 - UDP, Reliable Protocol
Transport Layer ServicesTransport services and protocols- Provide logical communication between app processes running different hosts.They communicate though sockets- Run in end systemSend sides: Breaks app messages into segment passes to networkRCV side: Reassembles segments into messages passes to app layer.When the socket is called, the upper layer might be http...
[Read More]
CS2101: Tutorial 5
5 ways to listen better1. Making meaning from sound- Pattern recognition- We hear our names- Distinguish noise from signalDiscount the sounds that remain sames2. Culture, language, values , beivesare filters- Tell us what to listen to- listen to something that we are familiar to- Sound placees us in time, listening...
[Read More]
CS2101: Team A OP1
Active lisntening and nonverbal communication1. Show a negative example2. Yi JingThe importance of body language- The most important is hearing what isnt said- Body langagueFirst impression- It is important- Percieve- First impression creation by body language- 4 times the impact- Someone will mentally label youVerbal non verbal alighmnet- Approporiate body...
[Read More]
ST2334: Tutorial 3
CS2103T: Lecture 4
UML DiagramsMultiplicities0..1 = if its there then it is there, else it is not.NavigabilityIn the class diagram, [] ------- []does not show who knows whothus we use arrows[a]------>[b]class a{b someObj = new b();}class a knows about b but b does not know about a[A] --- | | | ...
[Read More]
CS2106: Tutorial 2
CS2101: Tutorial 5 - User Guide
User GuideA)1) What is gimp?- Image processing tool- Can do photo retouching, image reconstruction- Use for simple paint program- Image renderor- Image format converted2) What is GMU- Project to develop completely free os and software- GNU's not unix (glossary)3) Compression, how to to compress image- Export as jpeg- choose quality4)...
[Read More]
CS2105: Lecture 3 - Socket programming
Socket ProgrammingSocket: Door between application process and end to end transport protocolEach application is run as a process in the OS of the end host. For the two process to communicate with each other, they will need to read and write throguh a programming abstraction called a socket. The application...
[Read More]
ST2334: Chapter 2 - Concepts of Random Variables
A random variable takes on some number but on top of that we have to associate how likely it takes to occur.A variable has a probability of becoming one or another value.Random VariablesWhen an experiment is performed, we are interested mainly in some function of the outcome as oppose to...
[Read More]
ST2334: Tutorial 2
CS2105: Tutorial 1
TA: dcsmaxi@nus.edu.sg
CS2106: Lecture 3 - Process Scheduling
Questions from Archi- In a multi core archi, does each core have its own schedulerA: There is one for each core. Lab2 will build it.- If we use a code that does not import any lib, is path D still usee.g int main() {return 0;}(Ref to diagram)A: Not all syscall...
[Read More]
CS2101: Tutorial 4
Handling feedbackSBI method- Situation- Behavior- ImpactThe use of hedging, do not be too direct and becareful on how you give negative infomationEffective feedback- Focus on behavior and becareful on body language- Use softeners ("i was thinking")- Responding to feedback Do not take it personally - Thank - Clarify - Reflect ...
[Read More]