Wednesday, November 21, 2012

.::VULMSIT::.eNoxel.com CS410 - Quiz No.1 Dated 21-11-2012

CS410 Visual Programming

Quiz No.1 Dated 21- 11- 2012

 

 

Ptr -> age is equivalent to _______________

Select correct option:

*ptr.age

ptr.age

(ptr).age

(*ptr).age

 

___________ is used to check the predefined identifiers.

Select correct option:

 #include

 #ifdef

 #def

 #elif

 

_________ is the handle to icon associated with Window Class.

Select correct option:

hIcon

hCursor

HINSTANCE

UINT

 

Specific memory areas where parameters are copied are ______________

Select correct option:

Stacks

Arrays

Queues

Lists

 

Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1)

Select correct option:

OR (I)

XOR

AND (&)

NOR

 

Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1)

Select correct option:

OR (I)

XOR

AND (&)

NOR

 

We can undefine already defined preprocessor directive using

Select correct option:

#undef

#unifdef

#unenddef

None of given

 

 

We can create a window using ______________

Select correct option:

RegisterClass ( )

WNDClass

CreateWindow ( )

DestroyWinndow( )

 

 

Specific memory areas where parameters are copied are ______________

Select correct option:

Stacks

Arrays

Queues

Lists

 

______________ inserts a WM_QUIT message in the program's message queue.

Select correct option:

PostQuitMessage (0)

WM_TIMER

KillTimer ()

DispatchMessage ()

 

GDI is implemented through ____________________

Select correct option:

GDI.dll

Win32.dll

GDI32.dll

Kernel

 

Identifier is not replaced if it appears

Select correct option:

In a comment

With in a string

As a part of a long identifier

All of given

 

Struct Person { char name[30]; //30 bytes int age; //4 bytes float height; //4 bytes }; struct Person abc, *ptr; ptr = &abc; ptr = ptr + 1; How many bytes will skip this statement?

Select correct option:

38

40

39

Nothing will skip.

 

 

_________ is unique identifier of the registered window class return by Registeredclass ()

Select correct option:

Handle

Cursor

Object

ATOM

 

Static variables are made on ___________ memory location

Select correct option:

Fixed

Stack

Pointer

Variable

 

___________ is used to check the predefined identifiers.

Select correct option:

#include

#ifdef

#def

#elif

 

Preprocessor directive starts with _________ symbol.

Select correct option:

#

&

*

%

 

Name of the three dimensional array is the address of __________________

Select correct option:

First Row

First Element

First page

Last Page

 

_________ is the handle to icon associated with Window Class.

Select correct option:

hIcon

hCursor

HINSTANCE

UINT

GDI is implemented through ____________________

Select correct option:

GDI.dll

Win32.dll

GDI32.dll

Kernel

 

 

Specific memory areas where parameters are copied are ______________

Select correct option:

Stacks

Arrays

Queues

Lists

 

___________ is used to check the predefined identifiers.

Select correct option:

 #include

 #ifdef

 #def

 #elif

 

There cannot be multiple _________________ messages in message queue.

Select correct option:

WM_ PAINT

WM_TIMER

WM_QUIT

WParam

 

Identifier is not replaced if it appears

Select correct option:

In a comment

With in a string

As a part of a long identifier

All of given

 

[______________ inserts a WM_QUIT message in the program's message queue.

Select correct option:

 PostQuitMessage (0)

 WM_TIMER

 KillTimer ()

 DispatchMessage ()

 

We can create a window using ______________

Select correct option:

RegisterClass ( )

WNDClass

CreateWindow ( )

DestroyWinndow( )

 

 

 

 

 

Struct Person { char name[30]; //30 bytes int age; //4 bytes float height; //4 bytes }; struct Person abc, *ptr; ptr = &abc; ptr = ptr + 1; How many bytes will skip this statement?

Select correct option:

 38

 40

 39

 Nothing will skip.

 

Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1)

Select correct option:

OR (I)

XOR

AND (&)

NOR

 

What kind of messages can be display using messagebox function?

Select correct option:

Long messages

Short messages

Null values

None of the given

 

*(a+i) can also be written as ________________

Select correct option:

a [i]

a[i+1]

*a

*a+1

______________ inserts a WM_QUIT message in the program's message queue.

Select correct option:

PostQuitMessage (0)

WM_TIMER

KillTimer ()

DispatchMessage ()

 

What will be the entry point to a Windows program?

Select correct option:

WinMain

Main

Java.main

System.main

DOS boxes are also called ___________

Select correct option:

Main Window

Console Window

Dialogue Box

Arrays

 

Name of the three dimensional array is the address of __________________

Select correct option:

First Row

First Element

First page

Last Page

 

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

Select correct option:

Typedef

Struct

Union

None of given

 

Static variables are made on ___________ memory location

Select correct option:

Fixed

Stack

Pointer

Variable



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

--
--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.eNoxel.com
http://www.enoxelit.tk
http://www.geniusweb.tk
 
and Please do Share this group with your Friends and Class Fellows so that our Circle would expand and can be more useful for other Students.
 
Thanks, n Best of Luck......
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "vulms" group.
Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
 
 

Re: .::VULMSIT::.eNoxel.com LMS is working or not?

hmmmmmmmmm.... good........
Mera alhamduLiLLAH 3.25cgpa hey and have passed out.


On Tue, Nov 20, 2012 at 9:34 PM, adeel kharal <adeelkharal@gmail.com> wrote:
not working

On 11/20/12, Umar Farooq <omi.umar@gmail.com> wrote:
> CGPA kam tha 2.47, MGT201 repeat kar raha hon. aik subject. :P
> n what about your?
>
>
> On Tue, Nov 20, 2012 at 9:29 PM, AbDuL <abdul.grw@gmail.com> wrote:
>
>> salam........... umar bhai apka BS complete nai hwa?
>>
>>
>> On Tue, Nov 20, 2012 at 9:27 PM, Umar Farooq <omi.umar@gmail.com> wrote:
>>
>>>
>>> Dear All,
>>> AoA
>>>
>>> My LMS is not working, please tell me your status.. ur lms is working or
>>> not???
>>>
>>>
>>> --
>>>
>>>
>>>
>>> Best Regards,
>>>
>>>
>>> M. Umar Farooq
>>> BSCS 8th Semester
>>>
>>>
>>>  --
>>> --
>>> Virtual University of Pakistan*** IT n CS Blog
>>> ================================
>>> http://www.eNoxel.com
>>> http://www.enoxelit.tk
>>> http://www.geniusweb.tk
>>>
>>> and Please do Share this group with your Friends and Class Fellows so
>>> that our Circle would expand and can be more useful for other Students.
>>>
>>> Thanks, n Best of Luck......
>>>
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "vulms" group.
>>> To post to this group, send email to vulmsit@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> vulmsit+unsubscribe@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/vulmsit?hl=en?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups
>>> "vulms" group.
>>> Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
>>>
>>>
>>>
>>
>>
>>
>> --
>>
>>
>>   * **
>>      /\/\/\/\|** **
>>  AbduL|/\/\/\/\     .
>> *
>> *
>> *
>>
>>  --
>> --
>> Virtual University of Pakistan*** IT n CS Blog
>> ================================
>> http://www.eNoxel.com
>> http://www.enoxelit.tk
>> http://www.geniusweb.tk
>>
>> and Please do Share this group with your Friends and Class Fellows so
>> that
>> our Circle would expand and can be more useful for other Students.
>>
>> Thanks, n Best of Luck......
>>
>>
>> You received this message because you are subscribed to the Google
>> Groups "vulms" group.
>> To post to this group, send email to vulmsit@googlegroups.com
>> To unsubscribe from this group, send email to
>> vulmsit+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/vulmsit?hl=en?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "vulms" group.
>> Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
>>
>>
>>
>
>
>
> --
>
>
>
> Best Regards,
>
>
> M. Umar Farooq
> BSCS 8th Semester
>
> --
> --
> Virtual University of Pakistan*** IT n CS Blog
> ================================
> http://www.eNoxel.com
> http://www.enoxelit.tk
> http://www.geniusweb.tk
>
>  and Please do Share this group with your Friends and Class Fellows so that
> our Circle would expand and can be more useful for other Students.
>
> Thanks, n Best of Luck......
>
>
> You received this message because you are subscribed to the Google
> Groups "vulms" group.
> To post to this group, send email to vulmsit@googlegroups.com
> To unsubscribe from this group, send email to
> vulmsit+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/vulmsit?hl=en?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "vulms" group.
> Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
>
>
>

--
--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.eNoxel.com
http://www.enoxelit.tk
http://www.geniusweb.tk

 and Please do Share this group with your Friends and Class Fellows so that our Circle would expand and can be more useful for other Students.

Thanks, n Best of Luck......


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





--

 
     /\/\/\/\|
 
AbduL|/\/\/\/\     .


--
--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.eNoxel.com
http://www.enoxelit.tk
http://www.geniusweb.tk
 
and Please do Share this group with your Friends and Class Fellows so that our Circle would expand and can be more useful for other Students.
 
Thanks, n Best of Luck......
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "vulms" group.
Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
 
 

.::VULMSIT::.eNoxel.com http://groups.google.com/group/SSTPunjab?hl=en please join the least

http://groups.google.com/group/SSTPunjab?hl=en please join the least
news about trcs

--
--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.eNoxel.com
http://www.enoxelit.tk
http://www.geniusweb.tk

and Please do Share this group with your Friends and Class Fellows so that our Circle would expand and can be more useful for other Students.

Thanks, n Best of Luck......


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