Monday 11 July 2011

Re: [Pak Youth] plz someone ans these MCQz

wo kaisy

?
 explain this plz



On Mon, Jul 11, 2011 at 12:00 PM, Haya <luckasma123@gmail.com> wrote:
Aik mnt meerub sis actually main na kam kr rhe hon so dekhte hon so zehan main nahe arha tah ab yaad agay.

 Consider the following function:

void test_a(int n)

{

cout << n << " ";

if (n>0)

test_a(n-2);

}

 

What is printed by the call test_a(4)?

       ► 4 2

       ► 0 2 4

       ► 0 2

       ► 2 4


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] plz someone ans these MCQz

Aik mnt meerub sis actually main na kam kr rhe hon so dekhte hon so zehan main nahe arha tah ab yaad agay.

 Consider the following function:

void test_a(int n)

{

cout << n << " ";

if (n>0)

test_a(n-2);

}

 

What is printed by the call test_a(4)?

       ► 4 2

       ► 0 2 4

       ► 0 2

       ► 2 4


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] Re: plz someone ans these MCQz



On Mon, Jul 11, 2011 at 10:24 PM, meerub hayat <meerubhayat@gmail.com> wrote:

 Consider the following pseudo code                                                                                               

declare a stack of characters
        while ( there are more characters in the word to read )
        {
           read a character
           push the character on the stack
        }
        while ( the stack is not empty )
        {
           pop a character off the stack
           write the character to the screen
        }
      
What is written to the screen for the input "apples"?
       selpa

       selppa  is correct

       apples

       aaappppplleess


On Mon, Jul 11, 2011 at 10:21 AM, meerub hayat <meerubhayat@gmail.com> wrote:

For compiler a postfix expression is easier to evaluate than infix expression?

       True

       False


--
{ALLAHA  is great}




--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--

on the way to 

Master of Computer Science (MCS)

2nd Semester and Proud to be a Virtualian

Off course

after Muslim and Pakistani


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] plz someone ans these MCQz



On Mon, Jul 11, 2011 at 10:21 PM, meerub hayat <meerubhayat@gmail.com> wrote:

For compiler a postfix expression is easier to evaluate than infix expression?

       True TRUE IS CORRECT

       False


--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--

on the way to 

Master of Computer Science (MCS)

2nd Semester and Proud to be a Virtualian

Off course

after Muslim and Pakistani


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] plz someone ans these MCQz

or bhi howay tu  main mail ker doo gi
 ok


On Mon, Jul 11, 2011 at 11:52 AM, meerub hayat <meerubhayat@gmail.com> wrote:
or third ka

?


On Mon, Jul 11, 2011 at 11:50 AM, Haya <luckasma123@gmail.com> wrote:

For compiler a postfix expression is easier to evaluate than infix expression?

       ► True

       ► False

 Consider the following pseudo code                                                                                               

declare a stack of characters 
        while ( there are more characters in the word to read ) 
        { 
           read a character 
           push the character on the stack 
        } 
        while ( the stack is not empty ) 
        { 
           pop a character off the stack 
           write the character to the screen 
        } 
       
What is written to the screen for the input "apples"? 
       ► selpa

       ► selppa

       ► apples

       ► aaappppplleess

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--
{ALLAHA  is great}




--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] plz someone ans these MCQz

or third ka

?


On Mon, Jul 11, 2011 at 11:50 AM, Haya <luckasma123@gmail.com> wrote:

For compiler a postfix expression is easier to evaluate than infix expression?

       ► True

       ► False

 Consider the following pseudo code                                                                                               

declare a stack of characters 
        while ( there are more characters in the word to read ) 
        { 
           read a character 
           push the character on the stack 
        } 
        while ( the stack is not empty ) 
        { 
           pop a character off the stack 
           write the character to the screen 
        } 
       
What is written to the screen for the input "apples"? 
       ► selpa

       ► selppa

       ► apples

       ► aaappppplleess

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] Morning Attendance Register

welcome brother.

Mehar koe bat nahe late hain but aa tu gaen na 

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] plz someone ans these MCQz

For compiler a postfix expression is easier to evaluate than infix expression?

       ► True

       ► False

 Consider the following pseudo code                                                                                               

declare a stack of characters 
        while ( there are more characters in the word to read ) 
        { 
           read a character 
           push the character on the stack 
        } 
        while ( the stack is not empty ) 
        { 
           pop a character off the stack 
           write the character to the screen 
        } 
       
What is written to the screen for the input "apples"? 
       ► selpa

       ► selppa

       ► apples

       ► aaappppplleess

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

[Pak Youth] CS601 Quiz No. 4 Solved


If the ASCII character G is sent and D is received, what type of error is this

Single Bit

Multiple Bit 

Burst

Recoverable

 

The number of bit positions in which two code words differ is called

Checksum distance

Hamming Distance

CRC distance

Parity distance

 

Which error detection method cannot detect a burst error?

VRC

LRC

CRC

Hamming Code


If odd parity is used for ASCII error detection, the number of 0's per 8 - bit symbol is

Even

ODD

Indeterminate

42

 

If the data unit is 111111,the divisor 1010,what is the dividend a the transmitter?

111111000

1111110000

111111 

1111111010

 

If the data unit is 111111, the divisor 1010, and the reminder 110, what is the dividend at the receiver?

111111011

11111110

1010110

110111111

 

If source machine sends independent frames to destination machine without having acknowledgment, this service is _ _ _ _ _ _ _

Unacknowledged connection oriented   

Unacknowledged connection less

Acknowledged connection oriented 

Acknowledged connection less

 

A path which connects DLL and Network layer on source to DLL and Network layer on the destination is _ _ _ _ _ _ _ _ _ _ path

Actual

Critical

Vertical Virtual

 

When the receiver sees five consecutive incoming '1' bits followed by a '0' bit it automatically dyestuffs _ _ _ _ _ _ _ _ _ in bit stuffing

'1' bit 

'0' bit

'01' bit

'10' bit   

 

In the data link layer, each frame begins and ends with a special bit pattern _ _ _ _ _ _ _ _, called a flag byte

01110110

01111110

01011010

10101010

 

The data link layer must use the service provided to it by the _ _ _ _ _ _ _ _ layer

Data Link

Physical

Transport

Session

 

 

 

 

 

 

Each frame begins and ends with a special bit pattern called _ _ _ _ _

Char Stuffing

Flag

Bit Stuffing

Char Count

 

 

Unacknowledged connection less service is adopted when _ _ _ _

Error is very low   

Error rate is very high

Long length is required

Error rate is very high

 

____ Technique requires more redundancy bits.
Select correct option:

Error detection
Error correction
Both of the given
None of the given

 

Error control in the data link layer is based on _______________.
Select correct option:

automatic repeat request
automatic repeat acknowledgment
automatic send acknowledgment
automatic send request

 

Question # 5 of 10 ( Start time: 11:27:46 PM )  Total Marks: 1  
CRC must have ____ qualities to be valid.  
Select correct option:  



5
 


Which error detection method involves polynomials?
Select correct option:

Simple parity check
Two-dimensional parity check
CRC
Checksum

 

In Go-Back-N ARQ, if frames 4, 5 and 6 are received successfully, the receiver may send an ACK _________ to the sender.  
Select correct option:  




Any of the given 

 

VRC and LRC are based on?
Select correct option:
Addition
Multiplication
Subtraction
Division

 

If the primary wants to receive data, it asks the second-arise if they have anything to send, this is called  
Select correct option:  

POLLING 
SELECTING 

 

 

________ ARQ, if a NAK is received, only the specific damaged or lost frame is retransmitted.  
Select correct option:  
Stop and Wait 
Go-Back-N 
Selective repeat         
 Stop-and-wait & Go-back-N
 

--
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

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

Re: [Pak Youth] Morning Attendance Register

g kal ho ga. inshallah 

Niya zmaana naey subah shaam paeda kar. 
Niya register niya page create kar. 
                            iqbal 


On Mon, Jul 11, 2011 at 11:32 AM, sono pari <sonopari07@gmail.com> wrote:
logic bahi new register na shi new thread to creat ho sakti ha na???


On Mon, Jul 11, 2011 at 11:30 AM, And-or-Logic <bc100400662asad@gmail.com> wrote:
anyway app kiya karti hoo? 
itni late ho gai hai app soo jao. rest karo ab 



On Mon, Jul 11, 2011 at 11:29 AM, And-or-Logic <bc100400662asad@gmail.com> wrote:
acha g sweet app yeh btani aye hoo k app ho ?? 

On Mon, Jul 11, 2011 at 11:28 AM, *Sweet Girl* <iramslm@gmail.com> wrote:
bhai register change ho na ho
per page tau change hona chahiye na?
subha fresh page mai attendence laina


On Mon, Jul 11, 2011 at 11:24 AM, And-or-Logic <bc100400662asad@gmail.com> wrote:
thanks for replying 

On Mon, Jul 11, 2011 at 6:58 AM, Haya <luckasma123@gmail.com> wrote:
Sorryyyyyyyyyyyyyyyyyyyy bahi for late rply i was so so busy thats way unable to rplying.
bahi apka consept teekh hia jee main nai zra logically defien kiya tah well corhen ur thinking is well

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--

Take your soul out of the way from cheristanity 
Asad Ali
Senior Embedded Developer at (Code Guru)

BSc (Semester-02) 

City.Gujranwala


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--


"I'm not Miles away, Just a 'mail' away"
Fun & Info @ Keralites.net


----
Fun & Info @ Keralites.net
apni taqdeer mai tau kuch aisy he silsily likhy hain WASSI
koi apna kar bhool gaya , kisi ny bhool kar apna lia..


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--

Take your soul out of the way from cheristanity 
Asad Ali
Senior Embedded Developer at (Code Guru)

BSc (Semester-02) 

City.Gujranwala





--

Take your soul out of the way from cheristanity 
Asad Ali
Senior Embedded Developer at (Code Guru)

BSc (Semester-02) 

City.Gujranwala


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--

Take your soul out of the way from cheristanity 
Asad Ali
Senior Embedded Developer at (Code Guru)

BSc (Semester-02) 

City.Gujranwala


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.