Instructions To Candidates: Common Course End Exam (CCEE) - August 2013
Instructions To Candidates: Common Course End Exam (CCEE) - August 2013
INSTRUCTIONS TO CANDIDATES
Candidate should read the following instructions before attempting the question paper.
2. Candidate should check his/her name and extended enrollment Number (enrollment
number prefixed with 20) being displayed on the screen. In case of any discrepancy, it
should be reported to Invigilator immediately.
3. Candidate should ensure that he/she has marked attendance on the attendance sheet and
also ensure that session id has also been recorded. Any other session id which has not been
mentioned in the attendance sheet would not be considered and all responses on that
session id would be treated as null and void.
4. Do not start the exam (do not click Next button) before instructed to do so by the
Invigilator.
5. Every Section has 40 objective-type questions. Each objective-type question has four
choices of which only one is correct. Candidate should select the radio button, given below
the question, corresponding to his/her correct choice.
7. Duration of each Section is ONE hour. No candidate will be allowed to leave the
examination hall before the completion of exam duration.
8. On clicking the Next button given at the bottom of the Instructions page, candidate will
be directed to the question display screen.
9. Candidate should note down the Session ID that is displayed on the question screen after
clicking on Next button.
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
a. Candidate should not close the browser. In case the browser is closed accidentally,
it SHOULD BE reported to the Invigilator immediately.
b. Candidate should not open any other software application on the computer system.
c. Candidate should neither shut down the machine nor fiddle with allocated hardware
or software.
d. In case of any problem it should be reported to Invigilator.
11. Candidate can navigate through questions using scroll bar or directly through the question
number grid.
12. CCEE screen contains the following buttons with the below specified functionality:
Button Functionality
Examination This link will open the instructions for the exam. After reading the
Instruction instructions candidate has to click on Back button to move back to the
questions interface.
Mark for In case a candidate is not sure about the answer, then he/she can use this
Review Button to mark the question for a visit later. It will be shown with
a ? against the question (in the question number grid) if the question has
not been answered but has marked it for review. In case candidate has
answered the question and marked it for review, then √? will be displayed
against the question in the question number grid.
Clear Answer This button will clear the option marked and the question will be shown
as un-answered.
13. Each candidate will be provided one A4 size sheet for rough work. Candidates have to
record their Name, hall ticket number and session ID on the rough sheet. They have to
return the rough sheet to the Invigilator before leaving the exam hall.
14. Calculators, mobile phones, pagers and electronic gadgets in any form are not allowed to be
used in the Exam Hall.
1. What will the output after executing the following code of segment?
main()
fork();
fork();
fork();
printf("Hello");
A. 3
B. 4
C. 6
D. 8
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
2. Relocatable programs
3. Preemption is
A. forced de allocation of the CPU from a program which is executing on the CPU
A. 0
B. 1
C. 2
A. program counter
B. stack
6. To avoid race condition, the number of processes that may be simultaneously inside their
critical section is
A. 8
B. 1
C. 16
D. 0
9. The interval from the time of submission of a process to the time of completion is termed as
A. waiting time
B. turnaround time
C. response time
D. throughput
10. Which of the following is page replacement policy using this strategy “Replace the page that
hasn‟t been used for the longest period of time” ?
A. shared memory
B. pipe
C. message queue
D. sockets
13. What is the return value of read system call when end of file occurs?
A. 0
B. a positive number
C. -1
D. none of these
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
A. stack
B. system crash
C. program switch
16. Using optimal page replacement algorithm calculate the number of page faults in
referencing the following string of page numbers with the number of frames 3
7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1
A. 6
B. 8
C. 9
D. 10
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
17. Thrashing
18. Using priority scheduling algorithm, find the average waiting time for the following set of
processes waiting time for the following set of processes given with their priorities in the
order:
P1 10 3
P2 1 1
P3 2 4
P4 1 5
P5 5 2
A. 8
B. 8.2
C. 7.75
D. 3
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
C. binding two addresses together to form a new address in a different memory space
20. If the resources are always preempted from the same process, …………. can occur.
A. deadlock
B. system crash
C. aging
D. starvation
A. deadlock prevention
B. deadlock avoidance
C. deadlock detection
D. deadlock recovery
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
C. segment length
23. With the FIFO page replacement policy and enough space for storing 3 page frames, the
memory page reference string „ABCABDDCABCD‟ would produce:
A. 5 page faults
B. 6 page faults
C. 7 page faults
D. 8 page faults
24. When the valid – invalid bit is set to valid, it means that the associated page:
A. is in the TLB
B. has data in it
25. Situation where two or more processes are reading or writing some shared data and the
final result depends upon who runs precisely is called?
A. race condition
B. critical section
C. mutual exclusion
D. message passing
A. child‟s pid
B. 0
C. 1
D. -1
A. pthread_create
B. pthread_join
C. pthread_self
D. pthread_exit
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
28. Which semaphore API function provides a number of control operations on semaphore
A. semctl()
B. semget()
C. semop()
D. semstat()
main()
int p[2];
pipe(p);
fork();
D. the pipe will not be shared by both the parent and child processes
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
A. map
B. unmap
C. block
D. unblock
A. minimal
B. maximum
C. zero
A. preemptive kernel
B. non-preemptive kernel
C. depends on implementation
34. Time duration required for scheduling dispatcher to stop one process and start another is
known as
A. process latency
B. dispatch latency
C. execution latency
D. interrupt latency
D. none of these
Paper Code
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING
36. A task executing in the ready state cannot be moved into which of the following states?
B. running state
C. dormant state
37. The ......................... scheduling algorithm schedules periodic tasks using a static priority
policy with preemption.
B. rate monotonic
D. priority
C. protection of memory