PEOCSN2
W OPNET wyróznia sie trzy poziomy modelowania. Sa to:
Siec, wezeł, I proces
LAN, MAN, WAN
Siec, łacze, protokół
Protokół, łacze, pakiet
Do opisu symulacji w OPNET uzywa sie jezyka:
VHDL
Protel
Proto-C
C/C++
Wyniki symulacji prezentowane sa w postaci:
Tablic
Wektorów
List
Skalarów
Aby wizualnie zgrupowac wiele elementów sieciowych do pojedynczego stosuje sie:
Netmask (maska sieciowa)
Subnet (podsiec)
Toolbox (przybornik)
Scenario (scenariusz)
Uzupełnij kod: compmodule #1 { submodules: submod1:#2; submod2: #2; #3: submod1.port --> submod2.port; }
1. Network 2. Submodule 3. topology
1. Module 2. Submodule 3. topology
1. Module 2. Submodule 3. connections
1. Network 2. Node 3. connections
Uzupełnij kod: FFGenerator::#1(cMessage *msg) { #2 *m = new #2("packet"); m->setBitLength(par("msgLength")); #3(m, "out"); scheduleAt(simTime() + deltaT, sendMessageEvent); }
1. receiveMessage 2. cMsg 3. send
1. handleMessage 2. cMessage 3. Send
1. handleEvent 2. cMessage 3.Receive
1. handleEvent 2. cMsg 3. Receive
FES (lub FEL) w Omnecie to:
Kolejka zawierajaca zdarzenia przyszłe
Kolejka zawierajaca zdarzenia, które juz wystapiły od poczatku symulacji
Tablica zawierajaca wszystkie moduły symulatora
Tablica zawierajaca wszystkie połaczenia miedzy modułami
Która sekwencja wykonywania metod jest prawdziwa dla klasy cSimpleModule?
CSimpleModule(); initialize(); finish(); ~cSimpleModule();
CSimpleModule(); initialize(); ~cSimpleModule(); finish();
Initialize(); cSimpleModule(); ~cSimpleModule(); finish();
Initialize(); cSimpleModule(); handleEvent(); ~cSimpleModule(); finish();
Mamy system kolejkowy, w którym czas pomiedzy zadaniami jest wykładniczy ze srednia 1. Zamieniamy rozkład czasu pomiedzy zadaniami na jednostajny uniform(0.1, 1.1), pozostawiajac reszte systemu bez zmian. W nowym systemie srednia długosc kolejki bedzie:
Wieksza niz poprzednio
Mniejsza niz poprzednio
Nie zmieni sie
Do wyswietlania przebiegów czasowych wykorzystujemy w Omnecie klase:
CLongHistogram()
CProcessDisplay()
C0utVector()
CStdDev()
Metoda pobierajace wynik (dana) do histogramu cDoubleHistogram() to:
Collect()
Take()
Record()
Set()
Zadna z powyzszych
System PlanetLab to zbudowany jest w oparciu o:
Superkomputer
Klaster komputerów umieszczony w osrodku badawczym w jednym osrodku naukowym
Komputery (wezły) rozproszone w róznych rejonach swiata w wielu osrodkach
Komputery spiete w system za pomoca wirtualnej sieci
Uzytkownik korzystajacy z systemu PlanetLab moze sie zalogowac do poszczególnych wezłów sieci PlanetLab za pomoca narzedzia:
FTP
SSH
Telnet
Winlogon
Wybierz zdania prawdziwe dotyczace systemu PlanetLab:
Aby uzytkownik mógł zalogowac sie do wezła sieci PlanetLab wezeł musi nalezec do slice przypisanego uzytkownikowi
Slice to zbiór zaalokowanych zasobów rozproszonych na PlanetLab
Uzytkownik systemu PlanetLab nigdy nie jest zwiazany z zadnym slice
Kazdy uzytkownik systemu PlanetLab ma swój własny slice, w którym pracuje
How does a host that has sent TCP data know that the data was received?
A TCP acknowledgement is sent from the receiver
An ICMP echo reply is sent from the receiver
An incremented TCP sequence number is sent from the receiver
A SYN/ACK is sent from the receiver
Which of the following best characterizes TCP versus UDP (in most cases)?
TCP is less reliable and quicker
TCP is slower, more reliable and requires more overhead
TCP is faster, more reliable and more streamlined
TCP is less reliable and connection-oriented
The ISO/OSI model consists of ... layers.
3
5
7
8
The TCP is a ... protocol.
Reliable
Connection-oriented
Both of the above
None of the above
The slice is a ....
Set of allocated resources distributed across PlanetLab
Set of allocated resources on a single PlanetLab node
Physical location where PlanetLab nodes are located
Dedicated server that runs compmonents of PlanetLab services
The sliver is a ....
Set of allocated resources distributed across PlanetLab
Set of allocated resources on a single PlanetLab node
Physical location where PlanetLab nodes are located
Dedicated server that runs compmonents of PlanetLab services
TCP typically begins a session with:
The three-way handshake of client to server with SYN set, the server reposnse of SYN/ACK and the client acknowledgement of ACK.
The three-way handshake of server to client with SYN set, the client reposnse of SYN/ACK and the server acknowledgement of ACK.
TCP is note connection oriented so no handshake is required
A handshake consistinig of the client request to the server with SYN set and a server response of a SYN (...)
To run the Omnet++ executable, you need an:
Omnetpp.ini
Omnetpp.inf
Omnetpp.txt
Omnetpp.vec
What is the output of the Omnet++ simulation?
The simulation results are recorded into output scalar (.sca) file
The simulation results are recorded into output vector (.vec) file
The simulation results are recorded into output vector (.vec) and output scalar (.sca) files
None of the above
What is the function of a router?
It determines the entire route for an IP packet from source to destination host
It uses ARP to route the packet to the next hop
It uses DNS to route the packet to the next hop
It attempts to move the IP packet one hop closer to the destination
Parameters applied to the simulation may be submitted in:
Configuration file, e.g. *.ini
Topology file, e.g. *ned
In the simulation code *.cpp
In the other way
The following languages are used for description of a simulation:
Protel
VHDL
Proto-C For OPNET
C/C++ For OMNET++
Results of the simulation are saved as:
Arrays, lists and scalars
Vectors and scalars
Vectors, scalars and animations
Arrays, vectors and lists
Fill spaces in the code: network #1 { #2: submod1: Node; submod2: Node; #3: submod1.port --> submod2.port; }
1. Network 2. nodes 3. topology
Module 2. networks 3. topology
1. Topology 2. submodules 3. connections
1. Network 2. submodules 3. connections
Fill spaces in the code: void FFGenerator::#1(cMessage *msg) { #2 *m = new #2("cPackage"); m->setBitLength(par("msgLength")); #3(m, "out"); scheduleAt(simTime() + deltaT, sendMessageEvent); }
1. handleMessage 2. cMessage 3. send
1. handleMessage 2. cPackage 3. send
1. handleEvent 2. cMessage 3.receive
1. handleEvent 2. cPackage 3. receive
To visually aggregate many network elements into a single element, the following elements are used:
Netmask
Subnet
Toolbox
Scenario
Which sequence is correct for the cSimpleModule class?
CSimpleModule(); initialize(); finish(); ~cSimpleModule();
CSimpleModule(); initialize(); ~cSimpleModule(); finish();
Initialize(); cSimpleModule(); ~cSimpleModule(); finish();
Initialize(); cSimpleModule(); handleEvent(); ~SimpleModule(); finish();
{"name":"PEOCSN2", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"W OPNET wyróznia sie trzy poziomy modelowania. Sa to:, Do opisu symulacji w OPNET uzywa sie jezyka:, Wyniki symulacji prezentowane sa w postaci:","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
More Quizzes
Blau Varadero 2018
1050
FS Registration quiz
1050
CyberSec Training Quiz
10517
Explore the World of James Cook
5225
What Boeing or Airbus Aircraft Character Are You?
740
Function of Dashboard Components Quiz
940
How well do you know me ?
1050
Math Quiz Bowl
100
Quiz on cholesterol and the pathophysiology (ILO7)
1265
IAHL Quiz 2017
15813
Nuclear Energy
320
Quiz
420