quiz cs610 kindly solve this quiz on urgent basis

1 view
Skip to first unread message

It's me

unread,
Aug 4, 2010, 5:58:14 AM8/4/10
to vu...@googlegroups.com, VU-Cafeteria", VU-CS-...@googlegroups.com, VU-Stud...@googlegroups.com, vu_a...@googlegroups.com, virtual-universit...@googlegroups.com, virtua...@googlegroups.com, vu-...@googlegroups.com, vu-it-...@googlegroups.com, vu_ex...@googlegroups.com, vu-comput...@googlegroups.com, vu...@googlegroups.com, vu...@googlegroups.com, virtual-...@googlegroups.com, new-virtual-uni...@googlegroups.com, vu_exp...@googlegroups.com, rt...@googlegroups.com, virtu...@googlegroups.com, virtual_univ...@googlegroups.com, virtual-unive...@googlegroups.com, vu-m...@googlegroups.com, vu-st...@googlegroups.com, Virtual_I...@googlegroups.com, VU...@googlegroups.com, virtual-univer...@googlegroups.com, virtual-univers...@googlegroups.com, vusu...@googlegroups.com, vustud...@googlegroups.com, vu-fall-2...@googlegroups.com, vu-spring2...@googlegroups.com, vubachelors, VU_discussion, vu-online, attock-vu-group, vu-fsd, plh...@googlegroups.com, le...@googlegroups.com, vu-islamaba...@googlegroups.com, vu-...@googlegroups.com, lako...@googlegroups.com, vuexpe...@googlegroups.com, mcs...@googlegroups.com, vu-7-sta...@googlegroups.com, vus...@googlegroups.com, vu-s...@googlegroups.com, vu2g...@googlegroups.com, bscs_v...@googlegroups.com, vu_ask...@googlegroups.com, vu--mit-...@googlegroups.com, vuup...@googlegroups.com, pak-...@googlegroups.com, vuzs-solu...@googlegroups.com, vu-m...@googlegroups.com, freig...@googlegroups.com
kindly help me and solve some mcqs. i have solved some mcqs but not sure is it correct? kindly solve these quizes.



Question No: 1 ( Marks: 1 ) - Please choose one


When an application
--------------- data, it makes a copy of the data available to all other computers on the network.


 Broadcasting Multicasting

 Unicasting

 None of the given



Ethernet uses a ------ bit static addressing scheme in which each device is assigned a unique address by the manufacturer.


 64

 48

32 page no. 85

 8



Question No: 4 ( Marks: 1 ) - Please choose one


A system with redundant bridges might have a problem with_______ in the system.


 Loop Filters

 Spanning Trees

 All given choices




Question No: 8 ( Marks: 1 ) - Please choose one


The process of using a routing table to select a next hop for a given datagram is called_________


 Encapsulation

 Reassembling

 Routing or forwarding

 None of the given



Question No: 20 ( Marks: 1 ) - Please choose one


We use the term _______ to refer t
o a measure of the path that routing software use when choosing a route.

 routing path

 routing metric

 routing

 switching




Question No: 1 ( Marks: 1 ) - Please choose one




Computer networks are often called -------------- because they use packet technology.



Ethernet


Switch networks


Packet networks


None of the given




Question No: 2 ( Marks: 1 ) - Please choose one



A network uses a ------arranges for computers to be connected in a closed loop.


Star Topology



Ring Topology
page no. 25

Bus Topology


None of the given

Question No: 3 ( Marks: 1 ) - Please choose one




An ------------method, the network hardware designers specify how type information is included in the frame and the value use to identify various frame types.




Explicit frame type
page no. 35



Ideal frame type


Implicit frame type


None of the given



Question No: 5 ( Marks: 1 ) - Please choose one




A Bridge forwards or filters a frame by comparing the information in its address table to the frame’s__________



Layer 2 source address


Source node’s physical address


Layer 2 destination address


Layer 3 destination address




Question No: 6 ( Marks: 1 ) - Please choose one



Most WAN systems include a mechanism that can be used to eliminate the common case of duplication routing is called___________


Hierarchal address


Default route


Shortest path


None of the given



Question No: 9 ( Marks: 1 ) - Please choose one




________is called an end-to-end protocol because it provide a connection directly from an application on one computer to an application on a remote computer.




IP


UDP


TCP


None of the given



Question No: 18 ( Marks: 1 ) - Please choose one

The general form of an IP datagram is with a header followed by data. The header contains information that controls where and how the datagram is to be sent.


True


False

Question No: 19 ( Marks: 1 ) - Please choose one




To save traffic, an EGP does not summerize routing information from the autonomous system before passing it to another autonomous system.



True


False


Question # 8 of 10 ( Start time: 11:34:15 AM ) Total Marks: 1
______ layer Provides reliable delivery of datagram.
Select correct option:


Network

Transport

Datalink

none of the given



Question # 7 of 10 ( Start time: 11:39:24 AM ) Total Marks: 1
________ field of header indicates whether a datagram is a fragment or a complete datagram.
Select correct option:


FLAGS

FLAGMENT OFFSET

IDENTIFICATION

None of the given




Question # 5 of 10 ( Start time: 11:44:51 AM ) Total Marks: 1
________ field is used to identify a specific path through the network
Select correct option:


FLOW LABEL

TRAFFIC CLASS

Both a and b page no. 111

none of the given

On Sat, Jul 31, 2010 at 6:14 PM, ЀVÏ£ JÍÑ <waqas...@gmail.com> wrote:


1-What is Static Polymorphism? Write its alternative name with a simple example.

 

Sol,

IDEA 1:

Static polymorphism refers to an entity existing in different physical forms simultaneously. Static polymorphism involves binding of functions based on the number, type, and sequence of arguments. The various types of parameters are specified in the function declaration, and therefore the function can be bound to calls at compile time. This form of association is called early binding. The term early binding stems from the fact that when the program is executed, the calls are already bound to the appropriate functions.

The resolution of a function call is based on number, type, and sequence of arguments declared for each form of the function. Consider the following function declaration:

void add(int , int);

void add(float, float);

When the add() function is invoked, the parameters passed to it will determine which version of the function will be executed. This resolution is done at compile time.


IDEA 2:

Static polymorphism is obtained by creating function or class templates. If a class can be thought of as a mold for an object, a class template can be thought of as being a mold for a class, which is then used to create an object. Creating and using class and function templates is a good way to write reusable source code - as long as it's done right.

In this article I will show you how to declare and implement a template class and its methods. I'll use a fairly extensive example so you can get a feel for the power designing with template classes and static polymorphism has to offer.

 

 

2-What is Dynamic Polymorphism? Write its alternative name with a simple example

Sol,

Dynamic polymorphism is obtained through the use of abstract base classes, base class pointers and virtual function calls. Designers cast their application architecture in terms of abstract classes and the interfaces they provide and then substitute derived class object addresses where base class object addresses are expected. Virtual function calls are resolved with the aid of a virtual function table.

 

3- What is the main difference between Data Hiding and Data Abstraction? How we achieve it in Inheritance? (Be specific: don’t write detailed theory: give it in your own words after study

 

Sol,

Data Abstraction:

Data Abstraction increases the power of programming language by creating user defined data types. Data Abstraction also represents the needed information in the program without presenting the details.


Data abstraction is the process of refining data to its essential form.

 

Data abstraction is the process of refining data to its essential form.

Data hiding:

Data hiding is a property when the internal data structure of an object is hidden from the rest of the program

 

 











--
****************************************************************************************
You received this message because you are subscribed to the Google
Groups "vuZs" group.
**
To join this group visit http://groups.google.com/group/vuZs/subscribe?hl=en
**
To post a new message on this group, send email to vu...@googlegroups.com
**
Posting Rule: Please Start your subject line with subject code (like MGT501, MGT402)
**
For old Papers, online Quizzes, Assignments, visit
==> vuzs.net
**
To unsubscribe from this group, send email to
vuZs+uns...@googlegroups.com
**
For more options, visit this group at
http://groups.google.com/group/vuZs

Reply all
Reply to author
Forward
0 new messages