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 ,


Description: mcqquestions

Asked in: KCC-2018   |   JOA 556-2018  |  HRTC JTO-2017

Hits Today: 16873 | Level: Moderate


******************************************************

Want to see where do you stand among other aspirants in "Computer" category?

Click Here to take quick 10 mins MCQ test to find out.




Got some suggestion about this question or to make this site better? Please leave your comments below.




More Operating System Related questions:


Memory
Options: is a device that performs a sequence of operations specified by instructions in memory.,    is the device where information is stored,    is a sequence of instructions,    is typically characterized by interactive processing and time-slicing of the CPU's time to allow quick response to each user.

Ans:B ,B


. In the relationships window, what does the appearance of symbols, such as 1 and the infinity symbol, at the endpoints of a relationship line mean?
Options: a. Referential integrity is enforced b. Referential integrity isn’t enforced c. An inner join is set d. An outer join is set

Ans:– a,– a


After coding a document into a digital signal, it can be sent by telephone, telex or satellite to the receiver where the signal is decoded and an exact copy of the original document is made. What is it called?
Options: Telex,    Word processor,    Facsimile,    Electronic mail

Ans:C ,C


You want to run the new 802.1w on your switches. Which of the following would enable this protocol?
Options: Switch(config)# spanning-tree mode rapid-pvst,    Switch# spanning-tree mode rapid-pvst,    Switch(config)# spanning-tree mode 802.1w,    Switch# spanning-tree mode 802.1w

Ans:A ,A


In SQL, which command is used to add a column/integrity constraint to a table
Options: ADD COLUMN,    INSERT COLUMN,    MODIFY TABLE,    ALTER TABLE

Ans:D ,D


To connect a computer with a device in the same room, you might be likely to use
Options: a coaxial cable,    a dedicated line,    a ground station,    All of the above

Ans:A ,A


Communication between computers using standard telephone service
Options: Requires a change to an anolog signal,    Is most efficient,    Produces little noise and few disturbances,    All of the above

Ans:A ,A


  Power Point presentation is a collection of ________
Options: Slides and Handouts B. Speaker’s notes C. Outlines D. All of the above

Ans:– D ,


In OSI network architecture, the dialogue control and token management are responsible of
Options: data link layer,    transport layer,    network layer,    session layer

Ans:D ,D


. What is defined by Handout Master?
Options: a. Slide Formatting b. Slide Transaction c. Layout of Handout d. Layout of Slide

Ans:6 – C ,6 – C


. Where can you change the vertical alignment?
Options: a. Formatting toolbar b. Paragraph dialog box c. Page Setup dialog box d. Standard toolbar

Ans:– C,– C


In the language of the computer profession, one thousand position of main storage is represented with the letter
Options: K,    L,    M,    C

Ans:A ,A


When typing in a word field manually, what must you press to insert the code’s braces?
Options: Ctrl + F6 B. Ctrl + F9 C. Alt + F11 D. Shift + F12

Ans:– B ,


Excel displays the current cell address in the ……….
Options: Formula bar B. Status Bar C. Name Box D. Title Bar

Ans:– C ,


. An operating system version designed for use with a tablet PC is Microsoft Windows XP
Options: a. Home edition b. Media center edition c. Tablet PC edition d. None of the above

Ans: c, c


Point out the error in the following program. #include<stdio.h> #include<stdarg.h> int main() { void display(int num, ...); display(4, 12.5, 13.5, 14.5, 44.3); return 0; } void display(int num, ...) { float c; int j; va_list ptr; va_start(ptr, num); for(j=1; j<=num; j++) { c = va_arg(ptr, float); printf("%f", c); } }
Options: Error: invalid va_list declaration,    Error: var c data type mismatch,    No error,    No error and Nothing will print

Ans:B ,B


. To create queries in access
Options: a. You can drag and drop fields on query builders b. You can type the sql command in sql view c. You can use query wizard or design view d. All of above

Ans:5 – d ,5 – d


Information is produced by processing data from which of the following sources?
Options: data provided by higher levels of management,    data provided by lower levels of management,    internally generated data,    externally generated data

Ans:E ,E


A transistor has how many doped regions?
Options: 1,    2,    3,    4

Ans:C ,C


In LISP, the function returns t if <integer> is even and nil otherwise:
Options: (evenp <integer>),    (even <integer>),    (numeven <integer>),    (numnevenp <integer>)

Ans:A ,A


A single transistor can be used to build which of the following digital logic gates?
Options: AND gates,    OR gates,    NOT gates,    NAND gates

Ans:C ,C


The central processor of a modern digital computer consists of
Options: control unit,    primary memory,    control unit and primary memory,    All of the above

Ans:C ,C


What command is used to copy a file?
Options: tar,    cpio,    cp,    copy

Ans:C ,C


In a database table, the category of information is called ____________
Options: a. tuple b. field c. record d. All of above

Ans:dash; b,dash; b


. which of the following is not a database object?
Options: a. Tables b. Queries c. Relationships d. Reports

Ans:9 – c ,9 – c


The term "remote job entry" relates to
Options: batch processing,    realtime processing,    transaction processing,    distributed processing

Ans:A ,A


Name the two persons who were the first to develop a model of the microprocessor chip.
Options: Marcian Ted Hoff,    Victor Poor,    Harry pyle,    Both (b) and (c)

Ans:D,D


What is the first thing you could do to check for damage to a printer after receiving it?
Options: Run MSD diagnostics,    Attach it to a PC and print something,    Check the cables,    Unbox it and examine it for physical damage

Ans:D ,D


A communications medium that uses pulses of laser light in glass fibers. Select the best fit for answer:
Options: Fiber optic cables,    Cellular phone systems,    Telecommunications processors,    Telecommunications software

Ans:A ,A


A relation in this form is free of all modification anomalies.
Options: First normal form,    Second normal form,    Third normal form,    Domain/key normal form

Ans:D ,D


Computer is free from tiresome and boardoom. We call it
Options: A) Accuracy B) Reliability C) Diligence D) Versatility

Ans:-C,-C


Suppose that you have a customer who has a central HQ and six branch offices. They anticipate adding six more branches in the near future. They wish to implement a WAN technology that will allow the branches to economically connect to HQ and you have no free ports on the HQ router. Which of the following would you recommend?
Options: PPP,    HDLC,    Frame Relay,    ISDN

Ans:C ,C


The advantage of Purchase Option is (are)
Options: No financing is requird. The risk of system obsolescence is shifted to the lessor,    the flexibility of modifying the system at will,    Insurances, maintenance, and other expenses are included in the rental charge,    All of the above

Ans:B ,B


Which of the following is the original purpose of SQL?
Options: To specify the syntax and semantics of SQL data definition language,    To specify the syntax and semantics of SQL manipulation language,    To define the data structures,    All of the above.

Ans:D ,D


A standard multimeter is ideal for measuring a monitors high voltage output.
Options: True,    False,    ,    

Ans:B ,B


. One of a class of storage device devices that can access storage locations in any order is

Options: A) DTE B) DASD C) DDE D) DDE

Ans:B,B


Which type of entity represents an actual occurrence of an associated generalized entity?
Options: Supertype entity,    Subtype entity,    Archetype entity,    Instance entity

Ans:D ,D


What will be the output of the program? #include<stdio.h> #define str(x) #x #define Xstr(x) str(x) #define oper multiply int main() { char *opername = Xstr(oper); printf("%s\n", opername); return 0; }
Options: Error: in macro substitution,    Error: invalid reference 'x' in macro,    print 'multiply',    No output

Ans:C ,C


A lockbox service is used for
Options: depositing cash when bank is closed,    paying bank customer bills automatically,    storing papers in a bank vault,    depositing payments to bank customers

Ans:D ,D


. The subject of cybernetics deals with the science of
Options: A) Genetics B) Control and communication C) Molecular biology D) Biochemistry

Ans:B,B


. The appropriate Data Type to store Time in MS Access?
Options: a. Date/Time b. Time Only c. Time d. Time cannot be stored

Ans:– a,– a


WRAM is used on a
Options: modem,    video card,    motherboard,    ata connector

Ans:B ,B


During system study, data can be collected through
Options: questionnaires,    interviews,    on-site observations,    All of the above

Ans:D ,D


  To draw the Square box in the slide by selecting rectangle tool A.  Holding CTRL & Draw B.  Holding ALT & Draw C.  Holding SHIFT & Draw D.  All of the above
Options:

Ans:– C ,


. In Datasheet View, what appears at the top of each column?
Options: a. Data type b. Description c. Field name d. Primary key

Ans:2 – c ,2 – c


Consider the following program and what will be content of t? #include<stdio.h> int main() { FILE *fp; int t; fp = fopen("DUMMY.C", "w"); t = fileno(fp); printf("%d\n", t); return 0; }
Options: size of "DUMMY.C" file,    The handle associated with "DUMMY.C" file,    Garbage value,    Error in fileno()

Ans:B ,B


Inheritance is which of the following?
Options: When a supertype entity inherits values of the subtype attribute,    When a subtype entity inherits values of the supertype attribute,    When a supertype entity inherits values of another supertype attribute,    When a subtype entity inherits values of another subtype attribute

Ans:B ,B


What is the total resistance of a series circuit that contains four resistors having values of 220W, 470W, 1W, and 1.2W?
Options: 692.2 Ohm,    844.5 Ohm,    3890 Ohm,    1234 Ohm

Ans:A ,A


. Excel displays the current cell address in the ……….
Options: a. Formula bar b. Status Bar c. Name Box d. Title Bar

Ans:– c,– c


. Which command brings you to the first slide in your presentation?
Options: a. Next slide button b. Page up c. Ctrl + home d. Ctrl + end

Ans:5 – C ,5 – C

www.000webhost.com