Friday, 15 February 2013

[VUSR] 66217 CS610 QUIZ NO.4 FEB 15 2013

CS610 – Computer Network

Quiz No.4 FEB 15, 2012

 

technique is used to avoid routing loops.

Reverse path broadcasting

Forward path broadcasting

both a and b

none of the given

 

_____ includes a 32-bits address mask with each address, which allows the address to be classful, classless, or subnetted.

RIP

OSPF

BGP

None of the given

 

An area is

Part of an Autonomous System

Composed of at least two As's

Another term of an internet

A collection stub area

 

Which of the following protocols allows the sender and receiver to enforce polices.

RIP

OSPF

BGP

BGP and RIP

Which of the following are interior routing protocols?

RIP

ospf

BGP

RIP and OSPF

Interior Gateway Protocols (IGPs) and Exterior Gateway Protocols (EGPs) two broad classes of Internet Routing Protocol.

True

False

______ is a type of address used for collection of computers with same prefix.

Cluster

unicast

Multicast

none of the given

 

In dynamic routing, the routing table is initialized when system boots.

True

False

 

uses window mechanism to control the flow of data.

IP

UDP

TCP

 

 

The Source can configure outgoing datagram's to avoid

Segmentation

Defragmentation

Fragmentation

None of the given

 

 

IGPs stand for _________

Internal Gateway Protocols

Interior Gateway Protocols

Intermediate Gateway Protocols

None of the given

 

One application actively begins execution first and another application waits passively at prearranged location.

True

False

 

Network having short intervals has a large timeout and the network having large interval has short timeout.

True

False

 

ICMP message transport is acted upon by getting ICMP _________ in IP.

De-encapsulated

Encapsulated

Segmented

none of the given

 

Which is not the type of error messages defined by ICMP.

Source quench

Time exceeded

Destination unreachable

none of the given

 

Which of the following protocols allows the sender and receiver to enforce polices.

RIP

OSPF

BGP

RIP and OSPF

 

TCP stands for _______

Transport control protocol

Transmission control protocol

Terminal control protocol

none of the given

 

 

In IP routing, forwarding refers to ______ transfer.

Packet

Datagram

Message

None of the given

 

TCP uses _______ format for all messages.

Single

Double

Multiple

None of the given

_____ Protocol provides error reporting mechanism.

IGMP

SNMP

ICMP

none of the given

 

Router hosts are responsible for the propagation of Multicast routing.

True

False

 

All routers within a group exchange routing information.

True

False

 

UDP packet is encapsulated in ________ datagram.

IP

TCP

TCP/IP

None of the given

 

________ protocol uses distance vector algorithm.

IGP

BGP

RIP

none of the given

 

_________ is used to attach two autonomous systems.

BGP

IGP

EGP

none of the given

 

 

 

 

 

 

UPD is operating system independent.

True

False

 

_______ Protocol is used by the unix program mrouted and the Internet multicast backbone.

DVMRP

PRMVD

RPMDV

none of the given

 

 


--
Zindagi mein 2 Logo ka buhat khayal rahkoooo
Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo
(Father)
2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)
Regards,
Umair Saulat Mc100403250

--
--
Please visit http://vusr.net for Old and Latest Papers, Assignments, Quiz and GDBs.
 
http://VUSR.net The ultimate VU Study Resource
 
You received this message because you are subscribed to the Google
Groups "VUSR" group.
 
 
To unsubscribe
vusr+unsubscribe@googlegroups.com
To Visit Group Home Page
http://groups.google.com/group/vusr?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "VUSR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vusr+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

[VUSR] 66216 CS410 QUIZ NO. 4 DATED FEB 15 2013

CS410 – Visual Programming

Quiz No.4 Dated FEB 15, 2013

 

Which one of the following is very useful for localization?

Multithreading

Resource only DLLs NOT SURE

Multitasking

Icons

 

A child window is always appears within the client area of its parent window.

True

False

 

The _____ function associates a local address with a socket.

bind(…)

connect(…)

attach(…)

getSocket(…)

               

The window ______ is the color or pattern used to fill the client area before a window begins drawing.

Caption

Color Palette

Background

Foreground

 

The error code ______________ Indicates that the underlying network subsystem is not ready for network communication.

WSAEINPROGRESS

WSAEPROCLIM

WSASYSNOTREADY

WSAEFAULT

 

The state of a semaphore object is _______ when its count is greater than zero and ______ when its count is equal to zero

non-signaled, signaled

signaled, non-signaled

created, destroyed

destroyed, created

 

The DialogProc function is used to ________

Create a Dialog

Destroy a Dialog

Hide a Dialog

process messages sent to a modal or modeless dialog box

 

 

 

 

 

 

The ________ function sends data on a connected socket

dispatch(…)

transmit(…)

send(…)

broadcast(…)

 

Consider the following statements written in a DLL: __declspec (dllexport) int Factorial(int); int Average(int,int);

Factorial() and Average() are 2 public functions of the DLL

Average() is the only public functions of the DLL

Factorial()is the only public functions of the DLL

This DLL imports 2 functions. i.e. Factorial() and Average()

 

 

 

To create a thread which is initially in suspended state, we should:

Create thread by calling __beginthread function

Call ExitThread API immediately after creating thread

Give CREATE_SUSPENDED flag in CreateThread

It is impossible

 

When we use PostThreadMessage for a thread that has not message queue then:

Nothing will happen

It will cause a run time error

Thread will resume processing

Its message queue will be created

 

Virtual key code defined by

Kernel

Application

System

None of given

 

Whenever a window is resized, system sends "WM_SIZING" message to the application that owns the window

True

False

 

__________ handles user inputs and responds to user events independently.

User-Interface Thread

Worker Thread

Kernel Thread

None of given options

 

In Windows every running application is a _______________

Pointer

Process

Array

List

 

For showing Dialog we can use "ShowWindow(...)" function

True

Fal;se

 

The _______ function retrieves a handle to one of the stock pens, brushes, fonts, or palettes

GetStockGDI

GetStockDC

GetStockObject

None of the given options

 

__________, system sends the item's identifier to the owner window?

When the user chooses a command item from a menu

 

The _____ function releases a device context, freeing it for use by other applications.

FreeDC

GetDC

DeleteDC

ReleaseDC

 

________ function is used to invalidate a window or part of it

InvalidateRect

InvalidateWindow

InvalidateClient

InvalidateApp

 

HTML is a ______Language

Multiset Encryption

Mark-up

Micro Level

None of given options

 

Line can be drawn using _________ Functions

MoveToEx and LineTo

SelectPts and DrawLine

SelectPts and DrawPOLY

None of the giving options

 

 

 

 

Name of the three dimensional array is the address of __________________

First Row

First Element

First page

Last Page

 

If a window owns child Windows, and we destroy owner Window then _____________.

Only owner window will be destroyed

Only its owned window will be destroyed

Both owner and owned Windows will be destroyed

The application will be crashed

 

 

system sends the item's identifier to the owner window?

When the user chooses a command item from a menu

When the system chooses a command item from a menu

When the user click on any window area

When the system de-select the item menu

 

 

When a menu item is clicked, WM_COMMAND message is send and ID of this menu item is sent in:

wParam

lParam

hInstance

HWND

 

Which function is not used to handle a caret?

CreateCaret()

DestroyCaret()

SetCaretPos()

DenyCaret()

 

 

Graphical device interface communicates between application and _______ driver

Port

Operating System

Device

Kernel

 

_______ acts as a buffer between applications and output devices.

GDI

Kernel32

OS

CPU

 

 

 

When a thread terminates, the thread object attains _______ state

Signaled

Blocked

Resumed

Non-signaled

 

The ________ function establishes a connection to a specified socket.

Connect

Attach

Connectsocket

attachsocket

 

Static variables are made on ___________ memory location

Fixed

Stack

Pointer

Variable

 

We can undefine already defined preprocessor directive using

#undef

#unifdef

#unenddef

None of given

 

 

If we press a normal key from keyboard, the number of byte(s) sent to keyboard buffer

1

2 Not sure

3

4

 

All threads share the

Virtual Address space

Global variables

Operating system resources of their respective processes

All of given options

 

 

 

How many WM_CHAR messages will be generated when Shift+A key combination is pressed from keyboard and we haven't called TranslateMessage() before calling DispatchMessage() function?

 0

1

2

3

 

32-bit Microsoft Windows, there is very low chance of device drivers getting corrupted because:

Win-32 allows multi-threading

Each process cannot access the virtual address space of some other process

Each thread has its own stack

Context switching mechanism is very good

 

Consider the following statements written in a DLL: __declspec (dllexport) int Factorial(int); int Average(int,int);

Factorial() and Average() are 2 public functions of the DLL

Average() is the only public functions of the DLL

Factorial()is the only public functions of the DLL

This DLL imports 2 functions. i.e. Factorial() and Average()

 

 

Long chain of keywords in declaration can be shortened. Above line is the advantage of ______.

Typedef

Struct

Union

None of given

 

 


--
Zindagi mein 2 Logo ka buhat khayal rahkoooo
Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo
(Father)
2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)
Regards,
Umair Saulat Mc100403250

--
--
Please visit http://vusr.net for Old and Latest Papers, Assignments, Quiz and GDBs.
 
http://VUSR.net The ultimate VU Study Resource
 
You received this message because you are subscribed to the Google
Groups "VUSR" group.
 
 
To unsubscribe
vusr+unsubscribe@googlegroups.com
To Visit Group Home Page
http://groups.google.com/group/vusr?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "VUSR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vusr+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

..::VU-Pink::.. BSCS, BSIT, B.COM, BBA, BS PSYCO All Subjects FAQs, Glossary, Lecture wise question and answer and past final term solved paper


Asslam .o. Alaikum
Respected VU Fellows
 
We are preparing Faqs, Glossary, Lecture wise Questions and Answers, Solved Online Quiz, Solved Past Final Term Papers PDF files of All VU Subjects for Final Term Exam Preparation. Uploading of many Subjects files has been completed. Our purpose is to provide free help, guidance and good material to students for study.
 
It is humble request to you, That inform to your  campus students about virtualians social network.
 
Following are direct links of  all  subejcts files...Click any link and download file and all files will must help you in exam


CS101 Introduction to conputing All in One FAQ'S. Glossary. lecture wise question answers, solved online quiz and solve final term past paper




















CS610 Computer Network Lecture Wise Questions and Answers For Final Term Exam Preparation By Virtualians Social Network

CS610 Computer Network Faqs For Final Term Exam Prepartion

CS610 Computer Network Glossary For Final Term Exam Prepartion

CS614 Data Warehousing Glossary For Final Term Exam Prepartion

CS614 Data Warehousing Faqs For Final Term Exam Prepartion


CS615 - Software Project Management Solved Quiz No. 01 and Quiz No. 01 Fall 2012 For Final Term Exam Preparation By Virtualians Social Network


CS615 - Software Project Management Lecture Wise Questions and Answers For Final Term Exam Preparation By Virtualians Social Network

CS615 Software Project Management Faqs For Final Term Exam Prepartion

CS615 Software Project Management Glossary For Final Term Exam Prepartion


ECO401 Economics Faqs For Final Term Exam Prepartion

ECO401 Economics Glossary For Final Term Exam Prepartion


ECO402-MICRO ECONOMICS Lecture Wise Questions and Answers For Final Term Exam Preparation by Virtualians Social Network

ECO402 Microeconomics Faqs For Final Term Exam Prepartion

ECO402 Microeconomics Glossary For Final Term Exam Prepartion


ENG101 English Comprehension All in One Faqs. Glossary. lecture wise question answers, solved on line quiz and solve final term past paper

ENG101 English Comprehension Solved Papers Powered By Virtualians.pk

ENG101 English Comprehension Question answer Important Lecture discssion wise

ENG101 English Comprehension FAQ's and Glossary For Exam preparation


Eng201 Business and Technical English Writing Lecture Wise Question and Answers For Final Term Papers By Virtualians Social Network

ENG201 Business and Technical English Writing Glossary For Final Term Exam Prepartion

ENG201 Business and Technical English Writing Faqs For Final Term Exam Prepartion


ENG301 Business Communication Lecture Wise Questions and Answers For Final Term Exam Preparation

ENG301 Business Communication Faqs For Final Term Exam Prepartion

ENG301 Business Communication Glossary For Final Term Exam Prepartion


ISL201 Islamic Studies All in One Faqs. Glossary. lecture wise question answers, solved on line quiz and solve final term past paper



MCM301 Communication skills Faqs For Final Term Exam Prepartion

MCM301 Communication skills Glossary For Final Term Exam Prepartion

 




















Hopefully our efforts will help students for the preparation of their final term exams.
 
Thanks and Regards
Irfan Khan
Virtualians Social Network

--
--
...:::Group Rules:::...
http://groups.google.com.pk/group/vu-pink/web/group-rules
^^^^^^
You received this message because you are subscribed to the Google
Groups "vu pink" group.
To post to this group, send email to vu-pink@googlegroups.com
To unsubscribe from this group, send email to
vu-pink+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com.pk/group/vu-pink?hl=en
 
---
You received this message because you are subscribed to the Google Groups "vu pink" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vu-pink+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.