Quiz
OS session
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (81)
1A computer system consists how many basic types of components:
- A2
- B3
- C4
2Hardware components
- Aprocessors
- Bmemory modules
- Ckeyboard
- Dscreen
- Eapplications
3Software components
- Aapplications
- Bmemory modules
- Cscreen
- Dother programs
- Eoperating system
4What is an Operating Systems?
- Ais a device that can be instructed to carry out arbitrary sequences of arithmetic or logical operations automatically
- BIt acts as an intermediary between a user and the computer system
- CA collection of software that manages computer hardware resources and provides common services for computer programs
- Dis a handheld personal computer with a mobile operating system and an integrated mobile broadband cellular network connection for voice, SMS, and Internet data communication; most if not all smartphones also support Wi-Fi
- EThe OS is a vital component of the system software in a computer system
5What is an Operating System?
- Aa set of utilities to simplify application development
- Bis an output device which displays information in pictorial form. A monitor usually comprises the display device, circuitry, casing, and power supply
- Ca software layer to abstract away and manage details of hardware resources
- Dis a computer program that is the core of a computer's operating system, with complete control over everything in the system
6Application benefits
- Asimplicity
- Befficiency
- Csafety
- Dportability
7User benefits
- Asimplicity
- Bsafety
- Cefficiency
- Dportability
8Spooling.Disks were much faster than card readers and printers
- ARichtig
- BFalsch
9What stand for SPOOL?
- ASimultaneous Peripheral Operations On-Line
- BSimultaneous Perfection Operations On-Line
- CSimultaneous Peripheral Operations On-Lfe
10Peer-to-peer (p2p) systems
- ANapster
- BMacOS
- COracle Solaris
- DGnutella
11OS interfaces
- A1
- B2
- C3
12OS interfaces
- AGraphical User Interface (GUI),Command line interface,Hardware level
- BGraphical User Interface (GUI),Command line interface,OS level
- CGraphical User Interface (GUI),Command line interface,System level
13Categories of process management
- AMultiprogramming,Multiprocessing
- BMultiprogramming,Multiprocessing,Distributed processing
14Concurrency
- Ait differs from parallelism, which offers genuine simultaneous execution
- Binterleaving of processes in time to give the appearance of simultaneous execution
- CIt is the requirement that when a process P is accessing a shared resource R, no other process should be able to access R until P has finished with R
- DExamples of such resources include files, I/O devices such as printers, and shared data structures
15Mutual Exclusion
- AExamples of such resources include files, I/O devices such as printers, and shared data structures
- BIt is the requirement that when a process P is accessing a shared resource R, no other process should be able to access R until P has finished with R
- Cinterleaving of processes in time to give the appearance of simultaneous execution
- Dit differs from parallelism, which offers genuine simultaneous execution
16semSignal(x)
- Aincrements the value of the semaphore x
- Btests the value of the semaphore x
17semWait(x)
- Aincrements the value of the semaphore x
- Btests the value of the semaphore x
18Conditions for deadlock
- AMutual exclusion
- BHold and wait
- CNo preemption
- DCircular wait
- EPrevention
- FAvoidance
19Dealing with deadlock.3 approaches
- AAvoidance
- BMutual exclusion
- CDetection and recovery
- DPrevention
- ENo preemption
20Deadlock Prevention
- A1 policy.1)open policy
- B3 policies.1)indirect policy 2)direct policy 3)open policy
- C2 policies.1)indirect policy 2)direct policy
21Whitespace character (space, tab, new line)
- A\s
- B\S
- C\w
22By default, a regular expression
- ACase insensitive
- BCase open
- CCase sensitive
23“(?i)” what is it do?
- Anothing
- Bmake insensitive
- Cmake sensitive
24@yearly or @annually
- A0 0 1 0 *
- B0 0 1 1 *
- C0 0 * * 0
25@reboot
- ARun two times,at startyp and end
- BRun at end
- CRun once,at startup
26By default variable is global
- ARichtig
- BFalsch
27It is possible to name a function as the same name as a command you would normally use on the command line
- ARichtig
- BFalsch
28-z string
- AThe lenght of string is not zero
- BThe lenght of string is zero(empty)
29-n string
- AThe length of string is more than zero
- BThe length of string is zero(empty)
30-s file
- Afile exists and size is equal to zero
- Bfile exists
- Cfile exists and size is more than zero
31$#
- Agives a single word containing all the parameters passed to the script
- Breturns the name of shell script running as well as its location in the file system
- Cis the number of parameters passed
32$0
- Agives an array of words containing all the parameters passed to the script
- Breturns the name of shell script running as well as its location in the file system
- Cthe process ID of the current script
33$*
- Ais the number of parameters passed
- Bthe username of the user running the script
- Cgives a single word containing all the parameters passed to the script
34$@
- Agives an array of words containing all the parameters passed to the script
- Bgives a single word containing all the parameters passed to the script
- Creturns the name of shell script running as well as its location in the file system
35$$
- Athe process ID of the current script
- Bgives a single word containing all the parameters passed to the script
- Cgives an array of words containing all the parameters passed to the script
36$USER
- Agives an array of words containing all the parameters passed to the script
- Bgives a single word containing all the parameters passed to the script
- Cthe username of the user running the script
37Netstat (Network Statistic)
- Acommand display connection info, routing table information etc
- Bused to find name to IP or IP to name in IPv4 or IPv6 and also query DNS records
- Ccommand allows you to view IP Address and Hardware / MAC address
38host
- Acommand display connection info, routing table information etc
- Bcommand allows you to view IP Address and Hardware / MAC address
- Cused to find name to IP or IP to name in IPv4 or IPv6 and also query DNS records
39traceroute
- Acommand display connection info, routing table information etc
- Bnetwork troubleshooting utility which shows number of hops taken to reach destination also determine packets traveling path
- Cused to find name to IP or IP to name in IPv4 or IPv6 and also query DNS records
40ifconfig (interface configurator)
- Anetwork troubleshooting utility which shows number of hops taken to reach destination also determine packets traveling path
- Bcommand allows you to view IP Address and Hardware / MAC address
- Ccommand display connection info, routing table information etc
41ping
- Ais used to check if the remote server is reachable or not
- Bcommand allows you to view IP Address and Hardware / MAC address
42-c
- A- is used to check if the remote server is reachable or not
- Blimit packets to send
43Hostname
- Ais used to check if the remote server is reachable or not
- Bnetwork troubleshooting utility which shows number of hops taken to reach destination also determine packets traveling path
- C- is used to view the hostname of the machine and to set the hostname or to set a new hostname for the machine
44domain name system (DNS)
- Ais used to view the hostname of the machine and to set the hostname or to set a new hostname for the machine
- Bis chiefly used to translate hostnames into numeric IP addresses
- Cis used to check if the remote server is reachable or not
45host number
- Awhich specifies a specific network
- Bwhich specifies a particular machine in that network
46network address
- Awhich specifies a specific network
- Bwhich specifies a particular machine in that network
47Protocol
- AFormat and the order of messages exchanged between two or more communicating entities (hosts)
- Bis used to view the hostname of the machine and to set the hostname or to set a new hostname for the machine
- CA machine and its software that serve as a special gateway to a network, protecting it from inappropriate access
48TCP (Transmission Control Protocol)
- AA machine and its software that serve as a special gateway to a network, protecting it from inappropriate access
- Bsoftware breaks messages into packets, hands them off to the IP software for delivery, and then orders and reassembles the packets at their destination
- Csoftware deals with the routing of packets through the maze of interconnected networks to their final destination
49IP (Internet Protocol)
- Asoftware deals with the routing of packets through the maze of interconnected networks to their final destination
- BThe actions taken on the transmission and/or receipt of a message or other event
- Csoftware breaks messages into packets, hands them off to the IP software for delivery, and then orders and reassembles the packets at their destination
50Network
- AA machine and its software that serve as a special gateway to a network, protecting it from inappropriate access
- BA computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources
- CFormat and the order of messages exchanged between two or more communicating entities (hosts)
51Any device in the network is called
- Anode or host
- Bprotocol or host
- Cnetwork or host
52The speed with which data is moved from one host to another is called
- ATransmission Control
- BUser Datagram
- CData Transfer Rate
53filter
- AUsed to alter packets that create a new connection
- BThe default table for handling network packets
- CUsed for specific types of packet alteration
54nat
- AUsed to alter packets that create a new connection
- BUsed for specific types of packet alteration
- CThe default table for handling network packets
55mangle
- AUsed to alter packets that create a new connection
- BThe default table for handling network packets
- CUsed for specific types of packet alteration
56Filter chains
- AINPUT
- BPREROUTING
- CFORWARD
- DPOSTROUTING
- EOUTPUT
57Mangle chains
- APREROUTING
POSTROUTING - BPREROUTING
POSTROUTING
OUTPUT INPUT - CPREROUTING
POSTROUTING
OUTPUT INPUT
FORWARD
- APREROUTING
58Nat chains
- APREROUTING
POSTROUTING
OUTPUT INPUT - BPREROUTING
POSTROUTING
OUTPUT - CPREROUTING
POSTROUTING
- APREROUTING
59Filter Queue function
- ANetwork address translation
- BPacket filtering
- CTCP Header Modification
60Mangle Queue function
- ATCP Header Modification
- BNetwork address translation
- CPacket filtering
61Filter FORWARD
- AFilters packets originating
from the firewall - BFilters packets to servers
accessible by another NIC
on the firewall. - CFilters packets destined to
the firewall.
- AFilters packets originating
62Filter INPUT
- AFilters packets destined to
the firewall. - BFilters packets originating
from the firewall - CFilters packets to servers
accessible by another NIC
on the firewall.
- AFilters packets destined to
63Filter OUTPUT
- AFilters packets originating
from the firewall - BFilters packets destined to
the firewall. - CFilters packets to servers
accessible by another NIC
on the firewall.
- AFilters packets originating
64Mangle Chain function
- AFilters packets to servers
accessible by another NIC
on the firewall. - BFilters packets originating
from the firewall - CModification of the TCP
packet quality of service
- AFilters packets to servers
65Nat PREROUTING
- ANetwork address translation for
packets generated by the
firewall - BAddress translation occurs
before routing. - CAddress translation occurs after
routing
- ANetwork address translation for
66Nat POSTROUTING
- AAddress translation occurs
before routing. - BNetwork address translation for
packets generated by the
firewall - CAddress translation occurs after
routing
- AAddress translation occurs
67Nat OUTPUT
- AAddress translation occurs after
routing - BNetwork address translation for
packets generated by the
firewall - CAddress translation occurs
before routing.
- AAddress translation occurs after
68 filter • INPUT
- AApplies to network packets that are targeted for the host.
- BApplies to network packets routed through the host.
- CApplies to locally-generated network packets.
69filter • OUTPUT
- AApplies to network packets routed through the host.
- BApplies to network packets that are targeted for the host.
- CApplies to locally-generated network packets.
70filter • FORWARD
- AApplies to locally-generated network packets.
- BApplies to network packets that are targeted for the host.
- CApplies to network packets routed through the host.
71nat • PREROUTING
- AAlters locally-generated network packets before they are sent out.
- BAlters network packets before they are sent out
- CAlters network packets when they arrive.
72nat • OUTPUT
- AAlters network packets when they arrive.
- BAlters locally-generated network packets before they are sent out.
- CAlters network packets before they are sent out
73nat • POSTROUTING
- AAlters network packets when they arrive.
- BAlters network packets before they are sent out
- CAlters locally-generated network packets before they are sent out.
74mangle • INPUT
- AAlters network packets targeted for the host.
- BAlters network packets routed through the host.
- CAlters incoming network packets before they are routed.
75mangle • OUTPUT
- AAlters network packets routed through the host.
- BAlters locally-generated network packets before they are sent out.
- CAlters network packets before they are sent out.
76mangle • FORWARD
- AAlters incoming network packets before they are routed.
- BAlters network packets targeted for the host
- CAlters network packets routed through the host.
77mangle • PREROUTING
- AAlters network packets before they are sent out.
- BAlters incoming network packets before they are routed.
78mangle • POSTROUTING
- AAlters network packets before they are sent out.
- BAlters incoming network packets before they are routed.
79Targets ACCEPT
- A• iptables stops further processing
• the packet is handed over to the end application or the operating system for processing - B• iptables stops further processing
• the packet is blocked - C• Works like the DROP target, but will also return an error message to the host sending the packet that the packet was blocked
- A• iptables stops further processing
80target • DROP
- A• iptables stops further processing
• the packet is blocked - B• iptables stops further processing
• the packet is handed over to the end application or the operating system for processing
- A• iptables stops further processing
81target • REJECT
- A• iptables stops further processing
• the packet is blocked - B• iptables stops further processing
• the packet is handed over to the end application or the operating system for processing - C• Works like the DROP target, but will also return an error message to the host sending the packet that the packet was blocked
- A• iptables stops further processing
Informationen
- Beschreibung
- Computer Science Quiz am OS session, erstellt von Saken Bolatzhanuly am 13/12/2017.
- Autor
- Saken Bolatzhanuly
- Sprache
- English
- Aufrufe
- 0
- Verlauf
- Erstellt am 13 Dez 2017 · aktualisiert am 13 Dez 2017
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz