Skip to main content

CS410 Current Final Term Fall 2013 Shared by Waris_Ali File 13



  ______ is/are the type(s) of Logical Brushes.
1. Solid
2. Hatched
3. Pattern
4. All of the given

RFC stands for
Request for comments
Request of connects
Reference for connect
Request for cancels

Who generate a unique handle for each menu?
System
User
Dialog box
Menu Items

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


All bits in high word of a 32-bit pointer are ____________.
Non-zero
Zero
Two
None of the given

An accelerator _____________ to correspond to a menu command.
Needs
Needs not
Is essential
Is necessary

Identify the dll in which the windows common controls are implemented
Select correct option:
Kernel32.dll
Comctl32.dll Ans
Gdi32.dll
User32.dll

When we use PostThreadMessage for a thread that has not message queue then:
Select correct option:
Nothing will happen
It will cause a run time error
Thread will resume processing
Its message queue will be created Ans

We do not need to make the template for Print Dialog because:
Select correct option:
Windows provide their template
They do not need any template at all
We make their template in the code
We actually make their template

When a thread terminates, the thread object attains _______ state
Select correct option:
Signaled Ans
Blocked
Resumed
Non-signaled

____________ Is / are the basic operation(s) performed by both server and client systems.
Select correct option:
Create an unbound socket
Binding Server
Connecting Client
All of the given options Ans

The state of a semaphore object is _______ when its count is greater than zero and ______ when its count is equal to zero
Signaled, non signaled

When a thread terminates, the thread object attains a ______state
Signaled

If we press a normal key from keyboard, the number of byte(s) sent to keyboard buffer are:
Select correct option:
1
2
3
4
To retrieve the identifier of the menu item at a specified position, we can use the
Select correct option:

GetMenuItemID or GetMenuItemInfo function.
Only GetMenuItemID function
We have to use both GetMenuItemID and GetMenuItemInfo
None of the given functins
The _______ function retrieves a handle to one of the stock pens, brushes, fonts, or palettes
Select correct option:

GetStockGDI
GetStockDC
GetStockObject
None of the given options

Who generate a unique handle for each menu?
Select correct option:
System
User
Dialog box
Menu Items

If the load menu function fails so what will be the return value.
Select correct option:

0
False
Null
1
Which of the following is compulsory about a keyboard accelerator?
Select correct option:

Identifier of Keyboard accelerator must start with "ID_".
Accelerator and corresponding menu item must have identical identifiers.
You must not write DISCARDABLE in the resource script of accelerator.
All of the given options
Short ques

What is mutex object 2
When WM_INITLDIALOG message is sent. 2
Define relationship between process and thread 2          5 marks ques
int connect(  SOCKET s,  const struct sockaddr* name,  int namelen);Define the all parameters
Column 1 given match with Column 2
Column 1
Column 2
Bad Request
80
request secceeded
404
Object Moved
200
Not Found
302
HTTP PORT
400
HTTP Version
1.0

#3 marks
 Why .LIB is safe 

This I remember

Please solve personally



Comments

Popular posts from this blog

CS614 Quiz No.4 Shared by Princess (solved), Spring 2014

  “What means What”. The phrase refers to: Select correct option:  Meta data  External data Transformed data Internal representations Question # 2 of 10 Which of the following is NOT one of the activities of “Maintenance and Growth” phase in Kimball’s DWH development approach? Select correct option: Education Technical Education Program Support  Interface Deployment                 Question # 3 of 10 Horizontally wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records Dataset has attribute skews Dataset has partitioning skews                 Question # 4 of 10 Which of the following is NOT one of the top-10 mistakes that should be avoided during DWH development? Select correct option: Not interacting directly with end user Not being an accommodating person Isolating IT support people from business users Training the users with dummy data and considering it success             

CS614 Quiz No.4 Shared by MT Khan (Solved)

Question # 1 of 10 ( Start time: 09:04:39 PM ) Total Marks: 1 A typical cycle of implementing the change in DWH comprises of the sequence: Select correct option: Production -> QA -> Development Development-> QA -> Production(CORRECT) Development -> Production -> QA Production -> Development -> QA Question # 2 of 10 ( Start time: 09:05:16 PM ) Total Marks: 1 Vertically wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records(CORRECT) Dataset has attribute skews Dataset has partitioning skews Question # 3 of 10 ( Start time: 09:05:43 PM ) Total Marks: 1 In ___________ phase of kimballs approach, we identify the components needed now and in future. Select correct option: Requirement definition Architectural design Product development Analytical application development Question # 4 of 10 ( Start time: 09:06:56 PM ) Total Marks: 1 Technical architecture design supports the communicat

CS301 Quiz No.2 Shared by Tayyeba

Binary search algorithm can not be applied to ____ Select correct option: sorted linked list sorted binary trees        ok sorted linear array pointer array During in-order traversal using recursive calls, if we found a node is NULL. It means this node will satisfy following condition. Select correct option: It will not have left child        ok It will not have right child It will not have both left and right children None of given options Identify the data structure which allows deletions at both ends of the list but insertion at only one end. Select correct option: Input-restricted deque Output-restricted deque Priority queues        ok A BST generated from the data in ascending order is ____________. Select correct option: Linear Nonlinear Balanced        ok Un sorted In a program a reference variable, say x, can be declared as Select correct option: int &x ;        ok int *x ; int x ; None of the given options he depth of a complete bina