Sunday , 24 November 2024

CS410 today Solved Quizs (06 December 2012) before Mid

Question

Specific memory areas where parameters are copied are ______________
Select correct option:

Stacks
Arrays
Queues
Lists

Question

If we pass NULL value to “GetDC” function, it retrieves the DC for the:
Select correct option:

Entire Screen
Parent Window
Client Window
It does not retrieves DC

Question

What will be the entry point to a Windows program?
Select correct option:

WinMain
Main
Java.main
System.main

Question

In Windows every running application is a _______________
Select correct option:

Pointer
Process
Array
List

Question

Struct Person { char name[30]; //30 bytes int age; //4 bytes float height; //4 bytes }; struct Person abc, *ptr; ptr = &abc; ptr = ptr + 1; How many bytes will skip this statement?
Select correct option:

38
40
39
Nothing will skip.

Question

_______ is a technique that allows an application to intercept messages destined for another window.
Select correct option:

Subclassing
SuperClassing
Message Dispatching
None of given options

Question

All threads share the
Select correct option:


Virtual Address space
Global variables
Operating system resources of their respective processes
All of given options

Question

______________ inserts a WM_QUIT message in the program’s message queue.
Select correct option:

PostQuitMessage (0)
WM_TIMER
KillTimer ()
DispatchMessage ()

Question

GDI stands for __________
Select correct option:

Graphics Driver Interface
Graphics Device Interface
Graphics Direct Interface
None of the given options

Question

Which languages are more close to machine language?
Select correct option:

Low Level Languages 
Machine Level Language
C++
Java

Question

________ function is used to invalidate a window or part of it
Select correct option:

InvalidateRect 
InvalidateWindow
InvalidateClient
InvalidateApp

Question

On which machines the scheduler can move individual threads to different processors to “balance” the CPU load.
Select correct option:

Miniprocessor
Multiprocessor 
Doubleprocessor
None of given options

Question

Long chain of keywords in declaration can be shortened. Above line is the advantage of ______.
Select correct option:

Typedef 
Struct
Union
None of given

Question

A Window that has a parent is called a ____ Window
Select correct option:

Parent
Main
Child
Owner Window

Question

Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1)
Select correct option:

OR (I)
XOR
AND (&)
NOR

Question

The first step in creating a window is registering a window class by _________
Select correct option:

Using DispatchMessage API
Filling a WNDCLASS structure and calling RegisterClass
Getting Window Handle
None of given options

Question

__________ handles user inputs and responds to user events independently.
Select correct option:


User-Interface Thread 
Worker Thread
Kernel Thread
None of given options

Question

A thread can not share all of the its resources
Select correct option:

TRUE
FALSE 

Question

A window receives this message when the user chooses a command from the window menu
Select correct option:

WM_MENUSELECT
WM_MENUDRAW
WM_MENUNOTIFY
WM_SYSCOMMAND

 CS410 Solved Quizs (06 December 2012)

Check Also

CS410 Solved Subject Mega Collection form Final Term Papers

QNo.1   Synchronization objects? Answer:- A synchronization object is an object whose handle can be specified …

Leave a Reply

Your email address will not be published. Required fields are marked *

*