CS410 Finalterm Current Paper 2013 File 6 Shared by Muhammed Faisal

No Comments

Today's Paper Summary
March 01, 2013 (4:30 pm to 6:30 pm)
MCQs = 40
Q @ 2Marks = 4
Q @ 3Marks = 4
Q @ 5Marks = 4
Total Q = 52
20 out of 40 MCQs were from past papers.
20 were new.
----------------------------------------------------------------------------------------------------

Q1)      Marks (2)
Structure Employee { char Name[30]; int Grad;};
Declare a variable emp of type Employee and assigned values as
“A” to Name and “17” to Grad.

Answer: (P-33)

Q2) Marks (2)
 Resource Definition Statement.

Answer: (P-212)

Q3) Marks (2)
What is a Process?

Answer: (P-317)

Q4) Marks (2)
            DNS stands for?

Answer: (P-356)
          

Q5) Marks (3)
Three features of DOS programming.

Answer: (P-16)

Q6) Marks (3)
            Write any six types of windows resources.

Answer: (P-212)
          
Q7) Marks (3)
How can my 32 bit program can call a 16 bit library in win NT & win9x ?
          
Answer: (P-305) (DLL versions)
          
Q8) Marks (3)
How a web browser fetches a page. Write step by step procedure to the page in the link below. (http://www.vu.edu.pk/courses/win32.html)

Answer: (P-356) (DNS)
          
Q9) Marks (5)
When “getMessage()” retrieves a “WM_QUIT” message, what it will return and what will be the effect on WinMain() function.

Answer: (P-94) (P-104)
          
Q10) Marks (5)
            If you include “CS_DBLCLKS” in your window class style, the window procedure retrieves which message for a double click. Specify the exact sequence.
          
Answer: (P-207,208)

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



Q11) Marks (5)
            Provide the Description of EDIT Control given below

Answer: (P-276)

EM_CANUNDO                               Returns TRUE if the edit control operation can be undone.
EM_GETLIMITTEXT                        Returns the current text limit, in characters.
EM_GETHANDLE                             Returns a handle identifying the buffer containing the multiline edit control's text. It is not processed by single-line edit controls.

Q12) Marks (5)
            Chunk of code of read/write on the Serial port.

Answer: (P-357) (Windows Socket)

 ------------
Best of luck to all of you.

Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment