Piece of code that only one thread can execute at a time is called


Options: Mutual Exclusion B. Critical Section C. Synchronization D. All of them

Ans:– B ,






More Operating System Related questions:


Operating system is also known as:
Options: a.database b. system software c. hardware d. printer

Ans:2 b.        ,2 b.       


The binary equivalent of the Hexadecimal number 7BD is
Options: 11110111101,    111010111101,    101110111101,    All of the above

Ans:A ,A


.Each array declaration need not give, implicitly or explicitly, the information about
Options: A)the name of array b.the data type of array c.the first data from the set to be stored d.the index set of the array

Ans:C,C


Which of the following input/output devices is not associated with personal computers?
Options: mice,    color monitors,    punched cards,    dot-matrix printers

Ans:C,C


. A ____ is a major database object used to display information in an attractive, easy-to-read screen format.
Options: a. form b. query c. report d. table

Ans:1 – a ,1 – a


Database locking concept is used to solve the problem of
Options: Lost Update B. Uncommitted Dependency C. Inconsistent Data D. All of the above

Ans:– D ,


Point out the error in the program? #include<stdio.h> int main() { struct emp { char name[20]; float sal; }; struct emp e[10]; int i; for(i=0; i<=9; i++) scanf("%s %f", e[i].name, &e[i].sal); return 0; }
Options: Error: invalid structure member,    Error: Floating point formats not linked,    No error,    None of above

Ans:B ,B


. The contribution of Konrad Zuse was long ignored because

Options: A) He made the computers secretly B) his computers were very complicated and it took time for the people to recognize its power C) of political reasons. He was German. D) All of the above

Ans:C,C


The primary job of the operating system of a computer is to
Options: command resources,    manage resources,    provide utilities,    be user friendly

Ans:B ,B


The complexity of Bubble sort algorithm is
Options: A)O(n) b.O(log n) c.O(n2) d.O(n log n)

Ans:C, O(n2)


When you copy a formula
Options: a. Excel erases the original copy of the formula b. Excel edits cell references in the newly copied formula c. Excel adjusts absolute cell references d. Excel doesn’t adjust relative cell references

Ans:#8211; b,#8211; b


Why does the data communication industry use the layered OSI reference model? It divides the network communication process into smaller and simpler components, thus aiding component development, design, and troubleshooting. It enables equipment from different vendors to use the same electronic components, thus saving research and development funds. It supports the evolution of multiple competing standards and thus provides business opportunities for equipment manufacturers. It encourages industry standardization by defining what functions occur at each layer of the model.
Options: 1 only,    1 and 4,    2 and 3,    3 only

Ans:B ,B


When did John Napier develop logarithm?
Options: 1416 B. 1614 C. 1641 D. 1804

Ans:– B ,


What is the best way to create another copy of a slide?
Options: a. Click the slide then press Ctrl+A and paste in new slide b. From Insert Menu choose Duplicate Slide c. Redo everything on a new slide that you had done on previous slide d. None of above

Ans: – B , – B


What is the default left margin in Word 2003 document?
Options:  A) 1", B) 1.25", C) 1.5", D) 2", 

Ans:-B,-B


. The selected design template can be applied
Options: a.  To current slide only b.  To all the slides c.  To all the new presentation you create d.  All of above

Ans:5 – D ,5 – D


A _____ means that one record in a particular record type is related to only one record of another record type.
Options: One-to-one relationship,    One-to-many relationship,    Many-to-one relationship,    Many-to-many relationship

Ans:A ,A


Getting data from a cell located in a different sheet is called….
Options: Accessing B. Referencing C. Updating D. Functioning

Ans:– B ,


. How can a user open the Expression Builder dialog box?
Options: a. By clicking the drop-down arrow on the Control Source property b. By clicking the drop-down arrow of the Input Mask property in the Data tab c. By clicking the Build button of the Input Mask in the Data tab d. By clicking the Build button of the Control Source property in the Data tab

Ans:2 – d ,2 – d


Computers are extremely fast and have fantastic memories. However, the only thing they can remember is
Options: Instruction,    Series of 1s and 0s,    Boolean algebra,    Logic theorems

Ans:B,B


. Who invented the microprocessor?
Options: A) Marcian E Huff B) Herman H Goldstein C) Joseph Jacquard D) All of above

Ans:A,A


A Personal Consultant knowledge base contain information in the form of:
Options: parameters,    contexts,    production rules,    All of the above

Ans:D ,D


What will be the output of the program? #include<stdio.h> int main() { typedef int arr[5]; arr iarr = {1, 2, 3, 4, 5}; int i; for(i=0; i<4; i++) printf("%d,", iarr[i]); return 0; }
Options: 1, 2, 3, 4,    1, 2, 3, 4, 5,    No output,    Error: Cannot use typedef with an array

Ans:A ,A


. Which of the following views enables users to create and modify the sections of a form?
Options: a. Datasheet b. Design c. Form d. Layout

Ans:9 – b ,9 – b


. Which OS deos not support networking between computers?
Options: a. Windows 3.1 b. Windows 95 c. Windows 2000 d. Windows NT

Ans: a, a


. when working in the page break preview, you can
Options: a. view exactly where each page break occurs b. add or remove page breaks c. change the print area d. all of above

Ans:– d,– d


What is meant by quad-density (QD) diskette?
Options: It is double-sided disk,    It is double density disk,    It has double the number of tracks per inch,    All of the above

Ans:D,D


Which option is not available in Insert Table Autofit behavior?
Options:  A) Fixed Column Width, B) AutoFit to Contents, C) Autofit to Window, D) Autofit to Column,

Ans:-D,-D


Which of the following TCP/IP protocol is used for transferring files from one machine to another?
Options: RARP,    ARP,    TCP,    FTP

Ans:D ,D


Pipeline implement
Options: A . fetch operand B . calculate operand C . execute instruction D . all of above

Ans:D, all of above


On-line data entry is most suitable in the case of
Options: updating payroll master,    entering monthly journal entries,    Processing payment of cheque in a bank,    All of the above

Ans:C ,C


. The _____ Symbol Smart Tag launches Microsoft Explorer and obtains a stock quote.
Options: a. MSN Money b. Portfolio c. Financial d. Stock

Ans:7 – c ,7 – c


During the MIS development process, progress reporting meeting are held
Options: daily,    weekly,    monthly,    all of the above

Ans:B ,B


Which of the following data transmission media has the largest terrestrial range without the use of repeaters or other devices?
Options: Hardwiring,    Microwave,    Satellite,    Laser

Ans:C ,C


. Which of the following is not the user file extension?
Options: a. .ppt b. .xls c. .sys d. .#do

Ans:7 – c ,7 – c


A proportional plus integral contro¬ller can:
Options: has no transient response,    can compensate for lag,    can increase the system type,    both (b) and (c)

Ans:D ,D


Which one of the following statements is true for the voltages in a series RC circuit?
Options: The total voltage is equal to the sum of the voltages across the resistance and capacitance,    The voltage always has the same amplitude and phase for every part of the circuit,    The total voltage is less than the sum of the voltages across the resistance and capacitance,    The total voltage is greater than the sum of the voltages across the resistance and capacitance

Ans:C ,C


. Which is the largest computer?
Options: A) Mainframe Computer B) Mini Computers C) Micro Computers D) Super Computers

Ans:A,A


Establishing a virtual connection is functionally equivalent to
Options: Connecting as virtual memory,    Physically connecting a DTE and DCE,    Placing a telephone call prior to a conversation,    Placing a modem prior to a conversation

Ans:C ,C


. Disk label name can be up to ….characters
Options: a. 8 b. 9 c. 11 d. 255

Ans:9 – c ,9 – c


Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
Options: chmod -R a+x progs,    chmod -R 222 progs,    chmod -1 a+x progs,    chmod -x a+x progs

Ans:A ,A


Special software to create a job queue is called a
Options: Drive,    Spooler,    Interpreter,    Linkage editor

Ans:B ,B


Which of the following is not a communication command.
Options: write,    mesg,    mail,    grep

Ans:D ,D


You can edit a cell by
Options: a. Clicking the formula button b. Double clicking the cell to edit it in-place c. Selecting Edit>Edit Cell from the menu d. None of above

Ans:#8211; b,#8211; b


. Tabs stop position cannot be the following alignment
Options: Decimal Alignment B. Center Alignment C. Bar Alignment D. Justify Alignment

Ans:– D ,


Which of the following statement is correct prototype of the malloc() function in c ?
Options: int* malloc(int);,    char* malloc(char);,    unsigned int* malloc(unsigned int);,    void* malloc(size_t);

Ans:D ,D


An indexed file offers the facility of a Random file and the access method of a
Options: Sequential file,    indexed file,    direct access file,    random access file

Ans:A ,A


Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. &&
Options: 1, 2,    1, 3,    2, 4,    1, 2, 3

Ans:D ,D


. Excel uniquely identifies cells within a worksheet with a cell name
Options: a. Cell names b. Column numbers and row letters c. Column letters and row numbers d. Cell locator coordinates

Ans:– c,– c


The way a particular application views the data from the data base that the application uses is a :
Options: module,    relational model,    schema,    subschema

Ans:D ,D

www.000webhost.com