26 January, 2014

CS410 Current Midterm Paper Fall 2013 File 1



by Naveed Abbas on December 20, 2013 at 1:25pm
Cs410 PAPER 20/12/2013
1.----------is used to check the predefined identifiers.
1. #include
2. #ifdef ANS
3. #def
4. #elif
Microsoft Windows consists of three important components. These are:
1. Kernel
2. Pointer
3. User
Option
a. I
b. Ii
c. I and iii Ans
d. I AND ii
--------function to convert the message into character messages.
Ans TranslateMessage
If you pass WS_CAPTION style to create window(),-------style will be included automatically in it.
Ans WS_BORDER style
WM_PAINT tells the window procedure that the window's client area has changed and must
be repainted
Short Question
21. Write at least two responsibility of GDI?
22.In 32 bit version of the Microsoft wind ,when a window is created ,which structure is used by operating system?
23.Program executed or not .Give reason .code given below
#include<iostream.h>
#include<conio.h>
Const int z=6
Void sum(int a,int b)
{
Z=a;
Coutz+b;   }
Int main()
{
Sum(5,9);
Getch();
}

Next not remember
5 marks question now
25 .Can we pass argument to Macro?Explain with example?     5 marks

26.5 marks  .Some of given question is not remember by me
Separate the system window class that can be used by the user process from system window classes that only use by the system
i.Button
ii.DDEMLEvent
iii.Mesage
iv.  ScrolBar
v. ComboLBOx
It is correct of me. 

No comments:

Post a Comment