Wipro Paper At Anna University
43. What is the difference between public and private inheritance?
(A) under the public inheritance ,public and protected members of the base class have the same status in the derived class.
(B)under private inheritance ,public and protected members of the base class all become private members of the derived class.
(C)both A &B
(D) none of these.
44.inheritance facilitates reusability because
(A) child object cannot be modified.
(B)the base class need not be modified to derive a new class.
(C)derived class objects inherit only the desirable feature of the base class.
(D) objects of the base class can be treated as objects of the derived class.
45.the ability for the processor to delegate its use by application is called?
(A) cooperative multitasking
(B) preemptive multitasking
(C) time slicing
46.a thread differs from a lightweight process in that :
(A)threads have a parent process
(B)threads share process?s resources but light weight process do not.
(D)threads run in user space ,but light weight thread run in kernel space.
47.the login prompt can be changed by changing the contents of the file
48.which command is used to delete all files in the current directory as well as all files and sub directories in its sub directory?
49. when all the elements above the main diagonal of a square matrix are zero ,then the matrix is said to be ?lower triangular matrix? .consider that such a matrix A is represented in an array A[1:n*(n+1)/2)], such that the elements aij are stored by rows in the array ,what is the addressing formula for element aij.(i.j=[1:n])
50.an algorithm for searching a large sorted array for a specific entry x compares every fourth item in the array to x until it finds one that is larger than or equal to x. whenever a larger item is found ,the algorithm examines the preceding three entries .if the array is sorted smallest to the largest ,which of the following describes all cases when this algorithm might use fewer comparisons to find x than would a binary tree search?
(A)it will never use fewer comparisons.
(B)when x is very close to the beginning of the array .
(C)when x is in the middle position in the array
(D)when x is very close to the end of the array
3i Infotech - AAI - ABACUS - ABB - Accel Frontline - Accenture - Aditi - Adobe - ADP - Agreeya - Akamai - Alcatel Lucent - Allfon - Alumnus - Amazon - Amdocs - AMI - Andhra Bank - AppLabs - Apps Associates - Aricent - Ashok Leyland - Aspire - Atos Origin - Axes - Bajaj - Bank of Maharashtra - BEL - BEML - BHEL - BirlaSoft - Blue Dart - Blue Star - BOB - BPCL - BPL - Brakes - BSNL - C-DOT - Cadence - Calsoft - Canara Bank - Canarys - Capgemini - Caritor - Caterpillar - CDAC - CGI - Changepond - Ciena - Cisco - Citicorp - CMC - Consagous - Convergys - CORDYS - Crompton - CSC - CTS - Cummins - Dell - Deloitte - Delphi-TVS - DeShaw - Deutsche - Dotcom - DRDO - EDS - EIL - ELGI - ELICO - ERICSSON - Essar - Fidelity - Flextronics - Freescale - FXLabs - GAIL - GE - Genpact - Geodesic - Geometric - Globaledge - GlobalLogic - Godrej - Google - Grapecity - HAL - HCL - Hexaware - Honeywell - HP - HPCL - HSBC - Huawei - Hughes - IBM - IBS - ICICI - iGate - Impetus - iNautix - Indian Airforce - Indian Airlines - Infosys - Infotech - Intec - Integra - Intergraph - IOCL - iSOFT - ISRO - Ittiam - JSW - Keane - Kenexa - L & T - L & T Infotech - LG Soft - Lifetree - LionBridge - Mahindra Satyam - Mastek - Maveric - McAfee - MECON - Microsoft - MindTree - Miraclesoft - Mistral - Motorola - Mphasis - MTNL - NIC - Nokia Siemens - Novell - NTPC - Nucleus - ORACLE - Patni - Perot - Polaris - Ramco - Robert Bosch - Samsung - SAP - Sapient - Sasken - SBI - Sierra Atlantic - Sonata - Sony India - Sutherland - Syntel - TCS - Tech Mahindra - VeriFone - Virtusa - Wipro - Zensar.