Indian Statistical Institute Kolkata Associate Scientist Computer Science Sample Paper Section II
Sample Questions on Computer Science for Online Test Scientis ISI Kolkata
Note – For each of the questions there are four suggested answers, of which only one is correct. You will score
4 marks for each correctly answered question,
0 mark for each incorrectly answered questions, and
1 mark for each unattempted question.
Indicate which one of the following IP address is a valid host address?
(a) 192.168.72.63/26
(b) 192.168.72.64/26
(c) 192.168.72.127/27
(d) 192.168.72.255/20
Consider the following C program segment
int num=11;
for (num–;num–;num–)
;
printf(“%d”,num);
The output of the program is
(a) -1
(b) 0
(c) 1
(d) None of these
Suppose a complete binary tree is represented with an array by placing the root node at index 0, and the left and right children of any arbitrary node at index i at the indices 2i+1 and 2(i+1), respectively. If the array elements are given as {2,3,5,7,11,9,13}, then the post-order traversal on this tree will yield
(a) 2,3,7,11,5,9,13
(b) 2,5,13,9,3,11,7
(c) 13,9,11,7,5,3,2
(d) 7,11,3,9,13,5,2
Multiplication of the two numbers 7 and -3 using the Booth’s algorithm, will return
(a) 00010101
(b) 10010101
(c) 01101011
(d) 11101011
The relocation register helps in
(a) providing more address space to processes
(b) Providing a different address space to each process
(c) protecting the address spaces of processes
(d) None of the above
What does the following command do?
sudo /usr/bin/du -sm./*>output
(a) Dumps the contents of all files in the current directory into one single file called output.
(b) Deletes all files and directories in the current directory and saves error messages in a file called output.
(c) Create a file called output containing the list of all files and directories in the current directory along with the space occupied by them.
(d) Create a directory called output containing duplicate copies of all files and directories in the current directory.
Suppose you need to transfer a single 16 GB file containing a high definition video. Which of the following would be the most appropriate for the task?
(a) A DVD-R with Dual Layer
(b) A pen drive of capacity of 16 GB in FAT32 format
(c) A pen drive of capacity of 32 GB in FAT32 format
(d) None of the above
Consider the following HTML code:
<p class=”isi” id=”Y1931″> There is a dinosaur named after Indian Statistical Institute (ISI) called <i> I sisaurus </i>.</p>
which includes the following CSS code:
.isi{color: green;}
#Y1931{color:red;}
p{color:blue;}
The color of the output of the above HTML code is
(a) Black
(b) Red
(c) Green
(d) Blue
Leave a Reply