Monday, 19 March 2012

Windows And Visual Programming MCQ 07


1.      A________ is an array of bits that specify the color of each pixel in an array of pixels:

a.      Bitmap
b.      Window
c.       Image
d.      All of these

2.      Which windows are used in user interface to display information to the user or to get a response:

a.       Images
b.      Dialogs
c.       Both a and b
d.      None of these

3.      The__________ supports the Windows animation technology:

a.       Windows Ctrl
b.      Windows
c.       Windows Supervisor
d.      Windows animation manager

4.      Windows animation is also known as:

a.      Programmatic interface
b.      User interface
c.       Graphics interface
d.      Network interface

5.       AVI stands for:

a.      Audio-Video Interleaved
b.      Audio-Video Interface
c.       Audio-Video Integration
d.      None of these

6.      To compile all types of Visual graphics programs, which vector and graphics programming interface we need:

a.       Direct2D
b.      Direct3D
c.       GDI+
d.      All of these

7.      The term animation include the series and sequence of:

a.       Graphics
b.      Images
c.       Pictures
d.      All of these

8.      The format supported by Visual Studio:

a.       .dat
b.      .mpg
c.       .avi
d.      .3gp

9.      Which Adobe software is frequently used to animate the graphics:

a.       Photoshop
b.      Flash
c.       PageMaker
d.      MS-Paint

10.   Which statement we use to make the animation in the centered position of the specified area:

a.      ACS_CENTER
b.      ACS_AUTOPLAY
c.       ACS_TRANSPARENT
d.      All of these

11.  In which class the flag ACS_TRANSPARENT is set:

a.      CAnimationCtrl
b.      CAnimationAlt
c.       Both a and b
d.      None of these

12.  Which function makes the animation play from the specified number to the nTo frame:

a.       STOP
b.      SEEK
c.       CLOSE
d.      OPEN

13.  Which ActiveX object is used to play Flash video or clip:

a.       Flash Shockwave Object
b.      Shockwave Object
c.       Shockwave Flash Object
d.      None of these

14.  The font is taken as:

a.      GDI Object
b.      MFC
c.       API
d.      None of these  

15.  Which function is used to select the font:

a.      CDC::SelectObject()
b.      CDC::DeleteObject()
c.       CDC::CreateObject()
d.      None of these

16.  Which is the Base class of font:

a.       CSize
b.      CFont
c.       CString
d.      CView

17.  What the function return if the problem occurs while selecting the font:

a.       TRUE
b.      FALSE
c.       NULL
d.      All of these

18.   How many types of font:

a.       Three
b.      Five
c.       Seven
d.      Two

19.  The type of font that refers to the independent device is known as:

a.      TrueType
b.      FalseType
c.       Both a and b
d.      None of these

20.  The type of font that is device-dependent is known as:
a.      Window display system font
21.  Which function is used to create the font:

a.       CFont::DeleteFont()
b.      CFont::SelectFont()
c.       CFont::CreateFont()
d.      None of these

22.  Which control can be used to display text, drawing or picture:

a.      Static
b.      Edit
c.       Rich Edit
d.      Progress

23.  In Windows Control Which types of controls are used:

a.       Text-based
b.      List-based
c.       Progress control
d.      Rich Edit control
e.        Static control
f.        All of these

24.  Which is the parent class of CButton:

a.       CWin
b.      CWnd
c.       Both a and b
d.      None of these

25.  Which class name is used to create a child window frame for an MDI application:

a.      MDICLIENT
b.      MDISERVER
c.       Both a and b
d.      None of these

26.  Which button is used to display the grids:

a.      Toggle Grid Button
b.      Toggle Guides Button
c.       Both a and b
d.      None of these

27.  Which button is used to hide the grid:

a.       Toggle Grid Button
b.      Toggle Guides Button
c.       Both a and b
d.      None of these

28.  Which function is used to return the value for a rectangle:

a.      GetWindowRect()
b.      GetClientRect()
c.       GetServerRect()
d.      None of these

29.  The object are used to display:

a.       Icons
b.      Bitmap
c.       Text
d.      Geometric shapes
e.       Animated pictures
f.        All of these

30.   Which class is used with static control in VC++  MFC library:

a.      CStatic
b.      _
c.       _
d.      _

31.  Which control in Visual C++ is used to display the text or requested text:

a.       Static control
b.      Rich Edit control
c.       Edit control
d.      Progress

32.   Which variable is used to set the color of text:

a.      crText color
b.      crEdit color
c.       Both a and b
d.      None of these

33.  The prime function of Windows is to the provide the ________, which are based on GUI:

a.       Windows
b.      Icons
c.       Mouse
d.      Pointer
e.       Scroll-bar
f.        All of these

34.  Constants and their Corresponding Values

               Constant
  Value
               Constant
   Value
FW_DONTCARE     
  0
FW_BLACK
   900
FW_EXTRALIGHT          
  200
FW_THIN
   100
FW_LIGHT                       
  300
FW_ULTRALIGHT
   200
FW_NORMAL                 
  400
FW_REGULAR 
   400
EW_MEDIUM
  500
FW_REGULAR 
   600
FW_SEMIBOLD
  600
FW_ULTRABOLD
   800
FW_BOLD
  700
FW_HEAVY 
   900
FW_EXTRABOLD
  800




35.  The WS_EX_DLGMODALFRAME extended style is inserted at:

a        Run-time
b        Compile-time
c         Design-time
d        None of these

36.  Which is not the color setting of static control:

a         SS_BLACKFRAME
b        SS_GRAYFRAME
c         SS_WHITEFRAME
d        SW_WHITEFRAME

37.  Which function is called to change the caption:

a        CWnd::SetWindowText()
b        CWnd::SelWindowText()
c         CWnd::DelWindowText()
d        All of these

38.  A Psychic Window system is based on the phenomenon of:

a         Rekhi
b        Emotions
c         Visual telepathy
d        All of these


39.  Which constant is used to underline the text:
a        bUnderline
40.  The control classes are based on:

a        CWnd
b        WinApp
c         WinAPI
d        All of these

41.  The types of Windows are:

a         Parent
b        Child
c         Both a and b
d        None of these

42.  The types of Border:

a         Raised Border
b        Sunken Border
c         Both a and b
d        None of these

43.  Match the following:
i           CFM_BOLD                     a: Strike out the characters
ii         CFM_ITALIC                    b: Change the size of characters
iii        CFM_STRIKEOUT           c: Make the characters bold
iv       CFM_SIZE                         d:  Italicize the characters

b        i-a, ii-c, iii-d, iv-b
c         i-c, ii-d, iii-a, iv-b
d        i-a, ii-b, iii-c, iv-d
e         i-c, ii-a, iii-d, iv-b

44.  Match the following:
i           CFM_CHARSET              a: Protect the characters
ii         CFM_FACE                       b: Offset the characters
iii        CFM_OFFSET                  c: Set the font name
iv       CFM_PROTECTED         d: Access the character set

b        i-a, ii-c, iii-d, iv-b
c         i-c, ii-d, iii-a, iv-b
d        i-a, ii-b, iii-c, iv-d
e        i-d, ii-c, iii-b, iv-a

45.  Which system display a part of the application for interacting with the computer system:

a        Windows control
b        Edit control
c         Animation control
d        All of these

1 comment :

  1. Interesting Article. Hoping that you will continue posting an article having a useful information. UCAT Questions

    ReplyDelete