CS410 Finalterm Current Paper 2013 File 5 Shared by Sajidsd

No Comments

I found some current papers from this forum and try to find out the references and solution.
due to short time and final papers i could not put more efforts . A small gift for all



Paper 1

2 Marks Questions
Q. What is Bind Function? (P-363)
Q. What is the purpose of Pager control? (P-304)
Q. What is the Mean by Resource definition Statement? (P-212)
Q. Why static variables are not destroyed when function returns? (P-59)
3 Marks Questions
Q. Some usages of Dialog. (P-120)
Q. How Transfer-Encoding is implemented in Exchange-2000. (P-379) (MIME)
Q. My Application uses impression and user interface show up in a different Language then the current user’s environment. How can I fix the mixed UI? (P-331) (DLL Version)
5 Marks Questions

Q. How do I restrict my windows so it can’t be resized longer or smaller then a certain size?
(P-331) (WM_SIZING) (P-85) (CreateWindow)

Q. If you include CS_DBLCLKS in your window call style, the windows procedure receives which message for double click. (Specify exact sequence). (P-207,208)

  1. WM_LBUTTONDOWN
  2. WM_LBUTTONUP
  3. WM_LBUTTONDBLCLK
  4. WM_LBUTTONUP

Q. Write a recursive function definition for the following function.
Int square (int n);
// Pre condition: n>1
// Return the sum of dqure of number 1 through n
For example square of 3 returns 14 because 12 + 22 + 32 is 14

Paper 2
2 Marks
What are Synchronize object? (P-338) (Synchronization)
What is the purpose of Hot KEY? (P-198) (Hot-key Support)
3 Mark
Unregister the Class function. (P-76)
DLL Version advantages. (P-331) (DLL Version)
What happen if we use DefWindowProc instead of dialog procedure in dialog? (P-105) (Window Procedure)
What is Mutex objet. (P-344) (Mutex Object) / (P-340) (Critical Section)
(P-347) (Checking if the previous application is running)
5marks

Enumeration increase level of abstraction? Justify. (P-35) (Enumeration)
Provide the Description of EDIT Control given below
EM_CANUNDO (P-276)                 Returns TRUE if the edit control operation can be undone.
EM_GETLIMITTEXT (P-276)          Returns the current text limit, in characters.
EM_GETHANDLE (P-276)             Returns a handle identifying the buffer containing the multiline edit control's text. It is not processed by single-line edit controls.

Paper 3
Q#1) How variables can share their resources across multiple process?
(P-328) (Variable Scope in DLL)
Q#2) Scope of variables in DLL file if variables declared as export. (P-328) (Variable Scope in DLL)
Q#3) The column was given about Status code of HTTP, Bad request, Request not found etc we have to match the column according to the correct status code number.. (5)
 (P-382) (HTTP Status codes)
404 Not Found         (Requested document not found on this server)
200 OK                       (Request succeeded, requested object later in this message)
400 Bad Request     (Request message not understood by server)
302 Object Moved    (Requested document has been moved to some other location)
Q#4) Question about keyboard accelerator (5) (P-219) (Keyboard Accelerator)
can macro takes two arguments. Explain it with example. (5) (P-47) (Macro Arguments)


Paper 4
2 Marks Questions

!) There are three types of assertion. Write any two names. (P-49) (Assertions)

Pre conditions:       Specify conditions at the start of a function.
Post conditions:     Specify conditions at the end of a function.
Invariants:              Specify conditions over a defined region of a program.

2) Explain CGI. (P-395)
(CGI is Common Gateway Interface. Win32 executable execute by the server. All browser request data is available at stdin (read using scanf() etc.) and all output sent to stdout (output using printf etc.) is sent to the browser instead of the server screen).

3) Purpose of using of Rebar control. (P-304)
(Rebar controls act as containers for child windows. An application assigns child windows, which are often other controls, to a rebar control band.)

4) Two macro names that can message map functionality. (P-41) (__LINE__)( __FILE__)

3 marks question

Q#1) Difference between shortcut key or system menu.

Shortcut Key (P-219) (Keyboard Accelerator) (WM_COMMAND)
(A keyboard accelerator, also known as a shortcut key, …)
          
System Menu (P-225) (The Window Menu) (WM_SYSCOMMAND)

Q#2) Difference between send message() and post message(). (P-106)
(Posting and Sending Messages)

Q#3) Code required, we write no of connections of no of code is related about socket. (P-365)
(Connect)

Q#4) Two disadvantages of Thread. (P-333) (Thread Disadvantages)

5 marks question

1) DLL uses its applications. They share all these to others applications what we do for this?
          
2) In my application, we are enabled enumeration variable to findRecource but not found? What can I do for this behavior? (P-35) (Enumeration)
          
3)can we send macro by an argument. explain with code. (Repeat) (P-47) (Macro Arguments)

4)we open www.vu.edu.com so write its chunk code. (P-357)
            (Well known host names on the internet) (www.vu.edu.pk   203.215.177.33)

Paper 5

Model dialog why we cannot use the control in parent? (P-243) (Modal Dialog Boxes)
Socket Connection. (Repeat) (P-365) (Connect)
Message loop (P-104) (Message Loop)
Key up event (P-193) (Keystroke Messages)
Send message and post message Syntax. (Repeat) (P-106) (Posting and Sending Messages)
List box styles (P-286) (List Box types and styles)
Pointer Arithmetic (P-21) (Pointers Arithmetic)

Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment