NPTEL CC Assignment0
NPTEL CC Assignment0
Cloud Computing
Assignment- Week 0
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following ports is a registered port in network paradigm?
a) 20
b) 1020
c) 36255
d) 58628
Correct Answer: (c)
Detailed Solution: Ports with numbers 0–1023 are called system or well-known ports, ports with
numbers 1024 – 49151 are called user or registered ports, and ports with numbers 49152 – 65535
are called dynamic, private or ephemeral ports. Here only the port with number 36255 is a
registered port.
QUESTION 2:
Which device uses a logical addressing system?
a) Hub
b) Router
c) Bridge
d) Switch
QUESTION 3:
Which of the following is FALSE?
a) Kernel level threads cannot share the code segment.
b) User level threads are not scheduled by the kernel.
c) Context switching between user level threads is faster than context switching between
kernel level threads.
d) When a user level thread is blocked, all other threads of its process are blocked.
switching between user level threads is faster as they have no actual context-switch, nothing is
saved while for kernel level threads, Registers, PC and SP must be saved and restored. So, C is
TRUE. When a user level thread is blocked, all other threads of its process are blocked. So, D is
TRUE.
QUESTION 4:
In classful addressing, the IP address 192.2.255.255 belongs to which class?
a) Class A
b) Class B
c) Class C
d) Class D
QUESTION 5:
Consider a system with 2 level caches. The access times of Level 1 cache, Level 2 cache, and main
memory are 2 ns, 25 ns, and 200 ns, respectively. The hit rates of Level 1 cache, Level 2 cache and
main memory are 0.6, 0.8 and 1, respectively. What is the average access time of the system,
ignoring the search time within the cache?
a) 20.5 ns
b) 25.2 ns
c) 24 ns
d) 22.5 ns
Correct Answer: (b)
Detailed Solution: Average access time = [H1*T1]+[(1-H1)*H2*T2]+[(1-H1)(1-H2)*Hm*Tm]
H1 = Hit rate of level 1 cache = 0.6
T1 = Access time for level 1 cache = 2 ns
H2 = Hit rate of level 2 cache = 0.8
T2 = Access time for level 2 cache = 25 ns
Hm = Hit rate of Main Memory = 1
Tm = Access time for Main Memory = 200 ns
QUESTION 6:
Increasing the RAM of a computer typically improves performance because:
a) Larger RAMs are faster
b) Fewer page faults occur
c) Fewer segmentation faults occur
2
NPTEL Online Certification Courses
Correct Answer: (b)
Detailed Solution: When RAM size is bigger, the page table would have more entries of pages,
which increases the probability of a page being present in the page table, hence the number of page
faults is lower.
QUESTION 7:
Match the following columns for the TCP/IP protocol stack:
1. IP A. Transport Layer
2. UDP B. Application Layer
3. SMTP C. Data link Layer
4. PPP D. Network Layer
QUESTION 8:
Consider a system with byte-addressable memory, 32-bit logical addresses, 8 Kilobyte page size
and page table entries of 4 Bytes each. The size of the page table in the system is:
a) 1 MB
b) 512 KB
c) 4 MB
d) 2 MB
QUESTION 9:
The transport layer protocols used for real time multimedia, file transfer, DNS and email,
respectively are:
QUESTION 10:
In OSI network architecture, the routing is performed by:
a) Network Layer
b) Transport Layer
c) Data Link Layer
d) Session Layer