Thursday , 21 November 2024

CS410 latest solved Quiz for Final By Arslan Ali & Zeeshan

Question:

_________ is the smallest rectangle enclosing the portion of a window or client area affected by recent drawing operations

Select correct option:

 

  1. Invalid Rectangle
  2. Accumulated Bounding Rectangle         C
  3. Accumulated Client Rect
  4. All of the given options

 

Question:

DOS boxes are also called ___________

Select correct option:

 

  1. Main Window
  2. Console Window           C
  3. Dialogue Box
  4. Arrays

 

Question:

________ determines that, which threads should run and when they should run?

Select correct option:

 

  1. Scheduler    C
  2. Thread itself
  3. Messages
  4. None of the given options

 

Question:

There cannot be multiple _________________ messages in message queue.

Select correct option:

 

  1. WM_ PAINT
  2. WM_TIMER
  3. WM_QUIT   C
  4. WParam

 

Question:

The first step in creating a window is registering a window class by _________

Select correct option:

 

  1. Using DispatchMessage API
  2. Filling a WNDCLASS structure and calling RegisterClass  C
  3. Getting Window Handle
  4. None of given options

 

Question:

DNS is an industry-standard protocol used to locate computers on an IP-based networks

Select correct option:

 

  1. TRUE       C
  2. FALSE

 

Question:

___________ defines a class that adds new functionality to a predefined Window class

Select correct option:

 

  1. Sub-Classing
  2. Coupling
  3. Super-Classing       C
  4. None of given options

 

Question:

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

Select correct option:

 

  1. Miniprocessor
  2. Multiprocessor       C
  3. Doubleprocessor
  4. None of given options

 

Question:

“Bind” functions is used to bind to both connection-oriented (stream) and connectionless (datagram) sockets

Select correct option:

 

  1. TRUE    C
  2. FALSE

 

Question:

Identifier is not replaced if it appears

Select correct option:

 

  1. In a comment
  2. With in a string
  3. As a part of a long identifier
  4. All of given     C

 

Question:

When an application receives a keystroke message, ______ code is there in wParam parameter.

Select correct option:

 

  1. ASCII key
  2. Normal key
  3. Extended key      C n s
  4. Virtual key

 

Question:

Static variables are made on ___________ memory location

Select correct option:

 

  1. Fixed
  2. Stack        C
  3. Pointer
  4. Variable

 

Question:

Which one of the following statements is not true?

Select correct option:

 

  1. GDI is responsible for displaying text on the display devices
  2. Kernel is responsible for thread synchronization       2
  3. GDI is device dependent
  4. Kernel is responsible for virtual memory management

 

Question:

______ is/are common MIME type(s)

Select correct option:

 

  1. image/gif
  2. image/jpeg
  3. text/html
  4. All of given options    C

 

Question:

To retrieve the identifier of the menu item at a specified position, we can use the

Select correct option:

 

  1. GetMenuItemID or GetMenuItemInfo function.      C
  2. Only GetMenuItemID function
  3. We have to use both GetMenuItemID and GetMenuItemInfo
  4. None of the given functins

 

Question:

HTTP is a ________

Select correct option:

 

  1. Text Translation Protocol
  2. Text Transport Protocol
  3. Text Transformation Protocol
  4. None of given options   C

 

Question:

In Windows every running application is a _______________

Select correct option:

 

  1. Pointer
  2. Process       C
  3. Array
  4. List

 

Question:

To retrieve the identifier of the menu item at a specified position, we can use the

Select correct option:

 

  1. GetMenuItemID or GetMenuItemInfo function.      C
  2. Only GetMenuItemID function
  3. We have to use both GetMenuItemID and GetMenuItemInfo
  4. None of the given functins

 

Question:

HTTP status code “400” (Bad Request) means:

Select correct option:

 

  1. Request message not understood by server     C
  2. Requested document not found on this server
  3. Requested document has been moved to some other location
  4. All of given options

 

Question:

DNS is an industry-standard protocol used to locate computers on an IP-based networks

Select correct option:

 

  1. TRUE      C
  2. FALSE

 

Question:

______ is/are common MIME type(s)

Select correct option:

 

  1. image/gif
  2. image/jpeg
  3. text/html
  4. All of given options   C

 

Question:

With Winsock, programmers are provided access to advanced Microsoft® Windows® networking capabilities such as _______________.

Select correct option:

 

  1. Independent object access and opaque data transfer
  2. Stateless service call and error free data transfer
  3. Multicast and Quality of Service (QOS)      C
  4. All of the given options

 

Question:

______________ tell the operating system about the characteristics and physical layout of its windows.

Select correct option:

 

  1. Register Class
  2. Object Class
  3. Window Class   C
  4. Common Class

 

Question:

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

Select correct option:

 

  1. Entire Screen      C
  2. Parent Window
  3. Client Window
  4. It does not retrieves DC



 

Question:

The _________ function draws a rectangle

Select correct option:

 

  1. SetRectCoords(…)
  2. ShowRectangle(…)
  3. DrawRectangle(…)
  4. Rectangle(…)      C

 

Question:

The __________ function permits an incoming connection attempt on a socket.

Select correct option:

 

  1. accept        C
  2. receive
  3. acknowledge
  4. none of given options

 

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:

 

  1. 38
  2. 40
  3. 39        N S
  4. Nothing will skip.

 

Question:

DC stands for _________

Select correct option:

 

  1. Direct Context
  2. Driver Context
  3. Device Context
  4. Display Context      C

 

Question:

The _______ function retrieves a handle to one of the stock pens, brushes, fonts, or palettes

Select correct option:

 

  1. GetStockGDI
  2. GetStockDC
  3. GetStockObject     c
  4. None of the given options

 

Question:

A Window that has a parent is called a ____ Window

Select correct option:

 

  1. Parent
  2. Main
  3. Child      c
  4. Owner Window

 

Check Also

CS101 100% Solved MCQS for Final term Papers by Arslan Ali

CS101 105 Important MCQ’s Solved   Question No: 1    ( Marks: 1 )    – Please …

Leave a Reply

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

*