View more random threads:
- MGT501 Human Resource Management Spring 2009 Final Term
- ECO401 Economics midterm paper 2010
- Unsolved Papers ENG201 - Business and Technical English...
- mgt402costmanagementaccounting solved past papers latest...
- MTH302 Business Mathematics & Statistics Spring 2009 Final...
- ENG201 Business and Technical English Writing MIDTERM...
- important Question mid term spring 2011
- MGT411 Money & Banking 2009 Final Term paper
- cs101 final term solve paper july 2011
- CS501- Advance Computer Architecture (Session - 1) fall 2010
FINALTERM EXAMINATION
Spring 2009
CS410- Visual Programming
Time: 120 min
Marks: 75
Question No: 1 ( Marks: 1 ) - Please choose one
Consider the following statements written in a DLL:
__declspec (dllexport) int Factorial(int);
int Average(int, int);
Which of the following statements is true about the above statements?
► 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 does not have any public functions
Question No: 2 ( Marks: 1 ) - Please choose one
Which one of the following operations is common to both client and server sockets:
► Bind
► Listen
► Accept
► Send
Question No: 3 ( Marks: 1 ) - Please choose one
What will happen if we use Post Thread Message for a thread that does not have the message queue?
► Nothing will happen
► It will cause a run time error
► Thread will resume processing
► Its message queue will be created
Question No: 4 ( Marks: 1 ) - Please choose one
To create semaphore objects which function use by thread?
► CreateSemaphore()
► CreateSemaobject()
► CreateObject()
► Create()
Question No: 5 ( Marks: 1 ) - Please choose one
RFC stands for
► Request for comments
► Request of connects
► Reference for connect
► Request for cancels
Question No: 6 ( Marks: 1 ) - Please choose one
When every any GDI function call is made or send message or post message function calls are made then which queuing will create?
► Message Queuing
► Function Queuing
► Process Queuing
► None of the given
Question No: 7 ( Marks: 1 ) - Please choose one
Copy-on-write protection is an optimization that allows multiple processes to map their
virtual address spaces such that they share a physical page until one of the processes
modifies the page. This definition belongs to which technique.
► Lazy evaluation
► Fast evaluation
► Process evaluation
► None of the given
Question No: 8 ( Marks: 1 ) - Please choose one
If the dialog box procedure returns FALSE, then which message handling will be performed?
► Default
► Instance
► Object
► None of the given
Question No: 9 ( Marks: 1 ) - Please choose one
How many parameters take the dialog box procedure?
► 1
► 0
► 6
► 4
Question No: 10 ( Marks: 1 ) - Please choose one
What does hmenu mean?
► Handle to window
► Handle to the menu
► Handle to child window
► Handle to highest menu
Question No: 11 ( Marks: 1 ) - Please choose one
When the 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
Question No: 12 ( Marks: 1 ) - Please choose one
If the load menu function fails so what will be the return value.
► 0
► False
► Null
► 1
Question No: 13 ( Marks: 1 ) - Please choose one
Who generate a unique handle for each menu?
► System
► User
► Dialog box
► Menu Items
Question No: 14 ( Marks: 1 ) - Please choose one
Which message function determined where to send message.
None of the given
Sponsored Links
► DispatchMessage
► MessageDispatch
► GetMessage
► None of the given
Question No: 15 ( Marks: 1 ) - Please choose one
In 32-bit windows programming, we are freed from the curse of 64k segments
► True
► False
Question No: 16 ( Marks: 1 ) - Please choose one
Which function we use to register windows classes in window?
► RegisterClass();
► RegistersClass();
► RegisterWin();
► WinReg();
Question No: 17 ( Marks: 1 ) - Please choose one
Which operator manipulates individual bits?
► Individual Bits
► Linked Bits
► Individual Bytes
► Linked Bytes
Question No: 18 ( Marks: 1 ) - Please choose one
Union Person
{
char name[30]; //30 bytes
int age;
float height;
};
How many bytes will skip after executing ptr = ptr +1.
Union Person abc, *ptr;
Ptr = &abc;
ptr = ptr +1;
► 30 bytes will skip after executing ptr = ptr +1.
► 31 bytes will skip after executing ptr = ptr +1.
► 32 bytes will skip after executing ptr = ptr +1.
► 38 bytes will skip after executing ptr = ptr +1.
Question No: 19 ( Marks: 1 ) - Please choose one
double *ptr is pointer variable which stores double type address.
► True
► False
Question No: 20 ( Marks: 1 ) - Please choose one
____________ is/are type(s) of macro.
► Object-like macro
► Function-like macro
► All of the given
► None of the given
Question No: 21 ( Marks: 1 ) - Please choose one
Which of the following is not true about HTTP?
► It is a protocol
► It is stateless
► It is more difficult to implement than state-aware protocols
► A web browser is HTTP client
Question No: 22 ( Marks: 1 ) - Please choose one
For TCP/IP, if the port is specified as zero, the service provider assigns a unique port to the application with a value between ________________.
► 1 and 1024
► 1 and 4000
► 1024 and 5000
► 1024 and 10240
Question No: 23 ( Marks: 1 ) - Please choose one
All bits in high word of a 32-bit pointer are ____________.
► Non-zero
► Zero
► Two
► None of the given
Question No: 24 ( Marks: 1 ) - Please choose one
An accelerator _____________ to correspond to a menu command.
► Needs
► Needs not
► Is essential
► Is necessary
Question No: 25 ( Marks: 1 ) - Please choose one
CGI stands for:
► Control Graphics Interface
► Common Graphics Interface
► Control Gateway Interface
► Common Gateway Interface
Question No: 26 ( Marks: 1 ) - Please choose one
Which one of the following operations is common to both client and server sockets:
► Send
► Connect
► Accept
► Bind
Question No: 27 ( Marks: 1 ) - Please choose one
DLU is:
► Handle of a dialog
► Handle of a modal dialog only
► Measure of distance within a dialog box
► Name of a dialog
Question No: 28 ( Marks: 1 ) - Please choose one
Neither the user nor the application can make the owner window active until the _______ is destroyed.
► Modeless dialog box
► Modal dialog box
► Child control
► All of the given
Question No: 29 ( Marks: 1 ) - Please choose one
When a menu item is clicked, __________ message is sent.
► WM_MENUITEMCLICKED
► WM_MENUCLICKED
► WM_COMMAND
► WM_PAINT
Question No: 30 ( Marks: 1 ) - Please choose one
How many WM_CHAR messages will be generated when Shift+A key combination is pressed from keyboard and we haven’t called Translate Message() before calling Dispatch Message() function?
► 0
► 1
► 2
► 3
Question No: 31 ( Marks: 2 )
What is a process?
Question No: 32 ( Marks: 2 )
What is HTTP?
Question No: 33 ( Marks: 2 )
Briefly define Modal Loop?
Question No: 34 ( Marks: 3 )
Define briefly Group Box?
Question No: 35 ( Marks: 3 )
Which are the three parts of name when using internet address family?
Question No: 36 ( Marks: 3 )
Define the names of resource-definition statements’ categories?
Question No: 37 ( Marks: 5 )
State three differences between a Window Procedure and a Dialog Procedure?
Question No: 38 ( Marks: 5 )
Define the purpose of connect function with syntax. What does it return?
Question No: 39 ( Marks: 10 )
Define Dynamic Link Libraries in detail? Also explain its relation with memory management?
Question No: 40 ( Marks: 10 )
Show the flow of server and client socket calls using block diagram?
:o:o--------------------------------------------------------------------------------------:o:o
[B]The more knowledge you have, the greater will be your fear of Allah.[/B]
Please Join My [B]Group Vuhelp[/B][B], Birthday Wishing, Daily Hadees[/B] [CODE][B]http://vuhelp.net/groups/vuhelp.html[/B]
[B]http://vuhelp.net/groups/birthday-wishing.html[/B]
[B]http://vuhelp.net/groups/daily-hadees.html[/B][/CODE]
[CENTER][B][COLOR="Red"][SIZE="4"]Email: [email]viki@vuhelp.net[/email][/SIZE][/COLOR][/B][/CENTER]
There are currently 1 users browsing this thread. (0 members and 1 guests)