CPCB Scientist B Paper 2018 Information Technology/ Computer Sciecne

CPCB Scientist B Paper | Central Pollution Control Board Scientist B Old Paper for Information Technology/ Computer Science

(Every Correct answer 1 mark, every wrong answer – 0.25 mark as a negative marking)

How will you print \n on the screen?
(a) echo “\\n”;
(b) printf(“/n”);
(c) printf(‘\n’);
(d) printf(“\\n”);

Disadvantages of File systems to store data is
(a) Difficulty in accesssing data
(b) Data redundancy and inconsistency
(c) Data isolation
(d) All of the above

How to combine following two statements into one?
Char *p;
P=(char*)malloc(100);
(a) Char p=*malloc(100);
(b) Char*p=(char)malloc(100);
(c) Char*p=(char*)malloc(100);
(d) Char*p=(char*)(malloc*)(100);

The assembler directive EQU, when used in the instruction : Sum EQU 200 does _____
(a) Finds the first occurrence of Sum and assisgns value 200 to it
(b) Replaces every occurrence of Sum with 200
(c) Re-assigns the address of Sum by adding 200 to its original address
(d) Assigns 200 bytes of memory starting the location of Sum

A computer system supports 32-bit virtual addresses as well as 32-bit physical addresses. Since the virtual address space is of the same size as the physical address space, the operating system designers decide to get rid of the virtual memory entirely. Which one of the following is true?
(a) Efficient implementation of multi-user support is no longer possible
(b) The processor cache organization can be made more efficient now
(c) Hardware support for memory management is no longer needed
(d) CPU scheduling can be made more efficient now

If all page frames are initially empty, and a process is allocated 3 page frames in real memory and references its pages in the order 1 2 3 2 4 5 2 3 2 4 1 and the page replacement is FIFO, the total number of page faults caused by the process will be ______
(a) 7
(b) 10
(c) 8
(d) 9

Airline reservation systems and inventory control system are the examples of ______ system.
(a) indexed sequential file
(b) sequential file
(c) pile
(d) indexed file

What does the following Declaration mean?
In(*ptr)[10];
(a) ptr is array of pointers to 10 integers
(b) ptr is a pointer to an array of 10 integers
(c) ptr is an pointer to array
(d) ptr is an array of 10 integers

In SQL, which command(s) is (are) used to change a table’s storage characteristics?
(a) ALTER TABLE
(b) CHANGE TABLE
(c) MODIFY TABLE
(d) All of the above

Computer SOAP is
(a) format for sending message
(b) designed to communicate via internet
(c) an independent platform
(d) All of these

Which is the main function of transport layer?
(a) Synchronization
(b) End to end delivery
(c) Node to node delivery
(d) Updating and maintaining routing tables

If private members are to be called outside the class, which is good alternative?
(a) Call a public member function which calls private function
(b) Call a private member function which calls private function
(c) Call a protected member function which calls private function
(d) Not possible

Which is more memory efficient?
(a) Structure
(b) Union
(c) Both use same memory
(d) Depends on a programmer

Which operator tests column for the absence of data?
(a) EXISTS operator
(b) NOT operator
(c) ISNULL operator
(d) None of these

Stack cannot be used to –
(a) Evaluating of expression in Postfix form
(b) Reversing String
(c) Allocating Resources and Scheduling
(d) Implementation of Recursion


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *