Tuesday, September 5, 2017

Kerala PSC HSST Computer Science Previous Questions - Set 2

Answers given at the end.

Q1. The solution to the count-to-infinity problem in which a router never advertises the cost of a destination to its neighbour N, if N is the next hop to that destination, is called:
(A) Triggered update
(B) Source tracing
(C) Split-horizon
(D) Path vector

Q2. A compiler which runs on one machine and produces target code for another is called a:
(A) Bootstrapping compiler
(B) Just-in-time compiler
(C) Cross compiler
(D) Optimizing compiler

Q3.Which among the following is an interior routing protocol?

Q4. The maximum length (in bytes) of an IP packet:
(A) 255
(B) 1023
(C) 32767
(D) 65535

Q5. Which among the following is not a type of HTTP request?

Q6. Which among the following is not a real time operating system?
(A) RT-Linux
(B) VxWorks
(C) Solaris
(D) Lynx

Q7. What is returned by a fork() call to the child process?
(A) 0
(B) Process-id-pf parent
(C) Process-id of child
(D) -1

Q8. The degree of multiprogramming is controlled primarily by?
(A) Short-term scheduler
(B) Medium-term scheduler
(C) Long-term scheduler
(D) Disk scheduler

Q9. Which of the following is a high-level synchronization concept?
(A) Interrupt
(B) Semaphore
(C) Mutex
(D) Monitor

Q10. Paging solves the problem of:
(A) Thrashing
(B) Page faults
(C) Internal fragmentation
(D) External Fragmentation

Q1: (C)
In computer networking, split-horizon route advertisement is a method of preventing routing loops in distance-vector routing protocols by prohibiting a router from advertising a route back onto the interface from which it was learned.

Q2: (C)
For example, a compiler that runs on a Windows PC but generates code that runs on Android smartphone is a cross compiler.

Q3: (A)

Q4: (D)

Q5: (C)

Q6: (C)

Q7: (A)
In child process fork() returns 0 whereas in parent process fork() returns the PID (process id) of the new process created.

Q8: (C)
Long Term Scheduler is also known as a job scheduler. Short Term Scheduler is also called CPU scheduler. and its main objective is to increase system performance.

Q9: (D)

Q10: (D)

1 comment: