ComputerScience Quiz 6

A function object:
(A) is an instance of a class for which operator () is a member function.
(B) is an instance of a class for which operator → is a member function.
(C) is a pointer to any function
(D) is a member function of a class
Answer: A

Polymorphism means:
(A) A template function
(B) Runtime type identification within a class hierarchy
(C) Another name for operator overloading
(D) Virtual inheritance
Answer: B

An example of a connective which is not associative is:
(A) AND             (B) OR
(C) EX-OR        (D) NAND
Answer: D

Essential hazards may occur in:
(A) Combinational logic circuits
(B) Synchronous sequential logic circuits
(C) Asynchronous sequential logic circuits working in the fundamental mode
(D) Asynchronous sequential logic circuits working in the pulse mode
Answer: C

Match the following
(a) Disk scheduling                 (1) Round robin
(b) Batch processing               (2) Scan
(c) Time sharing                       (3) LIFO
(d) Interrupt processing          (4) FIFO
(A) a-3, b-4, c-2, d-1    
(B) a-4, b-3, c-2, d-1
(C) a-2, b-4, c-1, d-3   
(D) a-3, b-4, c-1, d-2
Answer: C

Which of the following are language processors?                  
(A) Assembler    (B) Compiler
(C) Interpreter    (D) All of the above
Ans: (D)

Virtual memory can be implemented with
(A) Segmentation                         (B) Paging
(C) None                                       (D) all of the above   
Ans: (D)

Recognition of basic syntactic constructs through reductions, this task is performed                                                                       
 by
(A)  Lexical analysis                       (B) Syntax analysis
 (C)  Semantic analysis                    (D) Structure analysis
Ans: (B)

What kind of hub would be used to connect both COAX and UTP?
a. Active
b. Passive
c. Hybrid
d. Translation
ans:C

What inexpensive device can be used to connect a Token Ring network to an Ethernet network?
a. bridge
b. switch
c. hub
d. router
ans:A

What device would be used to convert IP protocol to IPX protocol?
a. bridge
b. switch
c. hub
d. router
ans:D


What utility is used to see how many hops there are between a host and a remote destination?
 a. TRACERT
b. PING
c. ARP
d. TELNET
ans:A

Which ping do you use to determine the number of echo requests to send?
a. ping -a
b. ping -r
c. ping -n
d. ping -t
ans:C


The Internet model consist of ----------- layer
Ans ... Five.

which of the following is an application layer service ..
A) mail system
B) File Transfer
C) Remote Log In
SHARE

About df

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment